mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 03:39:02 +08:00
Follow-up of 707268d41dc737a1aa621ba0ad2cbc1cf63da3d1 -> Fixed typo
This commit is contained in:
parent
707268d41d
commit
7b33e780a2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user