One more default shader small bug fix

This commit is contained in:
phkb 2018-09-25 17:49:40 +10:00
parent 8570ecf793
commit 65306062fd

View File

@ -272,8 +272,9 @@ void main(void)
vec4 totalColor = vec4(0);
// Get eye vector
vec3 eyeVector = vec3(0.0);
#if NEED_EYE_VECTOR
vec3 eyeVector = normalize(vEyeVector);
eyeVector = normalize(vEyeVector);
#endif
// Get texture coords, using parallax mapping if appropriate