Skip to content

Commit 98e8dbe

Browse files
committed
This adds samplerCube and sampler2DArray to the shadernode definitions drop down
1 parent afe4b88 commit 98e8dbe

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)