diff options
author | jada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300> | 2005-05-19 01:22:07 +0000 |
---|---|---|
committer | jada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300> | 2005-05-19 01:22:07 +0000 |
commit | 263495275ef2c93b650ca5380a69a3b1b71f7abc (patch) | |
tree | 16aa7bbb33fd4e60a9e96d3bb9e5713ee0222a0b /src/GLSLShaderTest/ObjLoadGLSL.java | |
parent | 0086e34e72627922a56093732027bd6b601bcd63 (diff) |
Removed the hack that enable programmable shader via texture object.
Diffstat (limited to 'src/GLSLShaderTest/ObjLoadGLSL.java')
-rw-r--r-- | src/GLSLShaderTest/ObjLoadGLSL.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/GLSLShaderTest/ObjLoadGLSL.java b/src/GLSLShaderTest/ObjLoadGLSL.java index 3abfbae..92b1cb2 100644 --- a/src/GLSLShaderTest/ObjLoadGLSL.java +++ b/src/GLSLShaderTest/ObjLoadGLSL.java @@ -256,11 +256,8 @@ public class ObjLoadGLSL extends Applet { private void setShaderProgram(BranchGroup g, ShaderProgram shaderProgram) { ShaderAppearance myApp = new ShaderAppearance(); Material mat = new Material(); - Texture2D tex2d = new Texture2D(); - myApp.setCapability(Appearance.ALLOW_TEXTURE_WRITE); myApp.setShaderProgram(shaderProgram); myApp.setMaterial(mat); - myApp.setTexture(tex2d); setShaderProgram(g, myApp); } |