diff options
author | phil <[email protected]> | 2016-11-05 10:14:21 +1300 |
---|---|---|
committer | phil <[email protected]> | 2016-11-05 10:14:21 +1300 |
commit | 12a22c6b29117737549231cd0aa3034f9acd3c83 (patch) | |
tree | 05cbe66645e6c196dd224ad8b2b889603bb9aa6b | |
parent | 3fd1a67b8ebb7fe6380be1dba61ec268d4cb8c4c (diff) |
shader struct comments improved for gl2es2
-rw-r--r-- | src/main/java/org/jogamp/java3d/Jogl2es2Context.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/jogamp/java3d/Jogl2es2Context.java b/src/main/java/org/jogamp/java3d/Jogl2es2Context.java index a7b87c6..143f556 100644 --- a/src/main/java/org/jogamp/java3d/Jogl2es2Context.java +++ b/src/main/java/org/jogamp/java3d/Jogl2es2Context.java @@ -362,7 +362,7 @@ public class Jogl2es2Context extends JoglContext // int lightEnabled;
// vec4 ambient;
// vec4 diffuse;
- // vec4 emission;// note vec4 extra 1.0 sent through for ease
+ // vec4 emission;
// vec3 specular;
// float shininess;
// };
@@ -524,16 +524,16 @@ public class Jogl2es2Context extends JoglContext }
// in the shader as follows
- // struct fogData
+ // struct fogDataStruct
// {
- // int fogEnabled = -1;
- // vec3 expColor = new Vector3f();
+ // int fogEnabled;
+ // vec4 expColor;
// float expDensity;
- // vec3 linearColor = new Vector3f();
+ // vec4 linearColor;
// float linearStart;
// float linearEnd;
// };
- // uniform fogData fogData;
+ // uniform fogDataStruct fogData;
public static class fogData
{
public int fogEnabled = -1;
|