diff options
-rw-r--r-- | src/classes/org/jdesktop/j3d/examples/gl2es2pipeline/envmap.vert | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/org/jdesktop/j3d/examples/gl2es2pipeline/envmap.vert b/src/classes/org/jdesktop/j3d/examples/gl2es2pipeline/envmap.vert index 2cae4ab..2296c83 100644 --- a/src/classes/org/jdesktop/j3d/examples/gl2es2pipeline/envmap.vert +++ b/src/classes/org/jdesktop/j3d/examples/gl2es2pipeline/envmap.vert @@ -35,7 +35,7 @@ void main(void) // compute the transformed normal // GL2ES2: swap built-in variable for Java3d built-in uniforms and attributes gl_* = gl* + declaration (at top) //vec3 Normal = normalize(gl_NormalMatrix * gl_Normal); - vec3 Normal = normalize(glNormalMatrix * glNormal); + Normal = normalize(glNormalMatrix * glNormal); // GL2ES2: swap built-in variable for Java3d built-in uniforms and attributes gl_* = gl* + declaration (at top) //vec4 pos = gl_ModelViewMatrix * gl_Vertex; |