aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphil <[email protected]>2016-11-02 18:17:29 +1300
committerphil <[email protected]>2016-11-02 18:17:29 +1300
commit3a573d43a87978741d03d7aecc2bf638a43d77c3 (patch)
tree9b56b85203eb450871a541414654f2560e42a92b
parentbccb115a9ed9995a88eee94a3b1e641bd567c8be (diff)
envmap vert shader bug fix
-rw-r--r--src/classes/org/jdesktop/j3d/examples/gl2es2pipeline/envmap.vert2
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;