Follow-up of 707268d41d -> Fixed typo

This commit is contained in:
enricoturri1966 2020-06-01 09:11:16 +02:00
parent 707268d41d
commit 7b33e780a2

View File

@ -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);
}