mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-30 00:34:32 +00:00
fix indenting
This commit is contained in:
parent
13f1b76a25
commit
c89b2b0c60
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ void main(void)
|
||||||
|
|
||||||
// specular
|
// specular
|
||||||
vec3 R = reflect(viewDir, normalize(vec3(normal.x * SPEC_BUMPINESS, normal.y * SPEC_BUMPINESS, normal.z)));
|
vec3 R = reflect(viewDir, normalize(vec3(normal.x * SPEC_BUMPINESS, normal.y * SPEC_BUMPINESS, normal.z)));
|
||||||
float specular = clamp(pow(atan(max(dot(R, sunWorldDir), 0.0) * 1.55), SPEC_HARDNESS) * SPEC_BRIGHTNESS, 0.0, 1.0) * shadow * sunSpec.a;
|
float specular = clamp(pow(atan(max(dot(R, sunWorldDir), 0.0) * 1.55), SPEC_HARDNESS) * SPEC_BRIGHTNESS, 0.0, 1.0) * shadow * sunSpec.a;
|
||||||
|
|
||||||
// artificial specularity to make rain ripples more noticeable
|
// artificial specularity to make rain ripples more noticeable
|
||||||
vec3 skyColorEstimate = vec3(max(0.0, mix(-0.3, 1.0, sunFade)));
|
vec3 skyColorEstimate = vec3(max(0.0, mix(-0.3, 1.0, sunFade)));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue