From a6f7445079ee5b8b24e48c456dff31ff70e1b5b1 Mon Sep 17 00:00:00 2001 From: kcr Date: Tue, 6 Dec 2005 19:46:01 +0000 Subject: Issue 198 : Need more shader example programs 1) Added Phong shading example 2) Minor mod to SphereGLSL 3) Added toon shader --- src/GLSLShaderTest/SphereGLSL.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/GLSLShaderTest/SphereGLSL.java') diff --git a/src/GLSLShaderTest/SphereGLSL.java b/src/GLSLShaderTest/SphereGLSL.java index a96dca6..8b7f5c6 100644 --- a/src/GLSLShaderTest/SphereGLSL.java +++ b/src/GLSLShaderTest/SphereGLSL.java @@ -156,7 +156,6 @@ public class SphereGLSL extends Applet { TransformGroup l2Trans = new TransformGroup(t); l2RotTrans.addChild(l2Trans); - /* // Create Geometry for point lights ColoringAttributes caL1 = new ColoringAttributes(); ColoringAttributes caL2 = new ColoringAttributes(); @@ -168,7 +167,6 @@ public class SphereGLSL extends Applet { appL2.setColoringAttributes(caL2); l1Trans.addChild(new Sphere(0.05f, appL1)); l2Trans.addChild(new Sphere(0.05f, appL2)); - */ // Create lights AmbientLight aLgt = new AmbientLight(alColor); -- cgit v1.2.3