Skip to content

Commit 48dfc0a

Browse files
authored
Merge pull request #535 from neph1/Issue-533-Missing-ShaderNodeDefinition-options
This adds samplerCube and sampler2DArray to the shadernode definition…
2 parents 4d5fcd6 + 98e8dbe commit 48dfc0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jme3-materialeditor/src/com/jme3/gde/shadernodedefinition/wizard/SNDefVisualPanel2.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public final class SNDefVisualPanel2 extends JPanel {
4646
private final Object[] emptyObj = {"float", "", ""};
4747
private final String type;
4848
private final String[] varTypes = new String[]{"bool", "int", "float", "vec2",
49-
"vec3", "vec4", "sampler", "sampler2D", "sampler3D", "mat3", "mat4"};
49+
"vec3", "vec4", "sampler", "sampler2D", "sampler3D", "mat3", "mat4",
50+
"samplerCube", "sampler2DArray"};
5051

5152
/**
5253
* Creates new form SNDefVisualPanel2

0 commit comments

Comments
 (0)