One more default shader small bug fix
This commit is contained in:
parent
8570ecf793
commit
65306062fd
@ -272,8 +272,9 @@ void main(void)
|
|||||||
vec4 totalColor = vec4(0);
|
vec4 totalColor = vec4(0);
|
||||||
|
|
||||||
// Get eye vector
|
// Get eye vector
|
||||||
|
vec3 eyeVector = vec3(0.0);
|
||||||
#if NEED_EYE_VECTOR
|
#if NEED_EYE_VECTOR
|
||||||
vec3 eyeVector = normalize(vEyeVector);
|
eyeVector = normalize(vEyeVector);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Get texture coords, using parallax mapping if appropriate
|
// Get texture coords, using parallax mapping if appropriate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user