One more default shader small bug fix

master
phkb 2018-09-25 17:49:40 +10:00
parent 8570ecf793
commit 65306062fd
1 changed files with 2 additions and 1 deletions

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