TestShaderNodes: fix build error

experimental^2^2
Kirill Vainer 9 years ago
parent 6a47319dbb
commit 47bae5af59
  1. 6
      jme3-examples/src/main/java/jme3test/material/TestShaderNodes.java

@ -30,9 +30,9 @@ public class TestShaderNodes extends SimpleApplication {
mat.selectTechnique("Default", renderManager); mat.selectTechnique("Default", renderManager);
Technique t = mat.getActiveTechnique(); Technique t = mat.getActiveTechnique();
for (Shader.ShaderSource shaderSource : t.getShader().getSources()) { // for (Shader.ShaderSource shaderSource : t.getShader().getSources()) {
System.out.println(shaderSource.getSource()); // System.out.println(shaderSource.getSource());
} // }
mat.setColor("Color", ColorRGBA.Yellow); mat.setColor("Color", ColorRGBA.Yellow);

Loading…
Cancel
Save