diff options
author | enricoturri1966 <enricoturri@seznam.cz> | 2020-06-01 10:11:16 +0300 |
---|---|---|
committer | enricoturri1966 <enricoturri@seznam.cz> | 2020-06-01 10:11:16 +0300 |
commit | 7b33e780a2cf86b819dd6839844142111904efad (patch) | |
tree | 49cae7c71fbde5c2b9533157087171093c58f411 /resources | |
parent | 707268d41dc737a1aa621ba0ad2cbc1cf63da3d1 (diff) |
Follow-up of 707268d41dc737a1aa621ba0ad2cbc1cf63da3d1 -> Fixed typo
Diffstat (limited to 'resources')
-rw-r--r-- | resources/shaders/options_120_solid.fs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/shaders/options_120_solid.fs b/resources/shaders/options_120_solid.fs index ebe713527..912b809e0 100644 --- a/resources/shaders/options_120_solid.fs +++ b/resources/shaders/options_120_solid.fs @@ -65,7 +65,7 @@ vec4 on_sphere_color(vec3 eye_on_sphere_position) NdotL = max(dot(eye_normal, LIGHT_FRONT_DIR), 0.0); intensity.x += NdotL * LIGHT_FRONT_DIFFUSE; - return vec4(intensity + uniform_color.rgb * intensity.x, 1.0); + return vec4(intensity.y + uniform_color.rgb * intensity.x, 1.0); // return vec4(vec3(intensity.y) + uniform_color.rgb * intensity.x, 1.0); } |