Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2020-06-01 10:11:16 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2020-06-01 10:11:16 +0300
commit7b33e780a2cf86b819dd6839844142111904efad (patch)
tree49cae7c71fbde5c2b9533157087171093c58f411 /resources
parent707268d41dc737a1aa621ba0ad2cbc1cf63da3d1 (diff)
Follow-up of 707268d41dc737a1aa621ba0ad2cbc1cf63da3d1 -> Fixed typo
Diffstat (limited to 'resources')
-rw-r--r--resources/shaders/options_120_solid.fs2
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);
}