diff options
Diffstat (limited to 'src')
-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;
|