Skip to content

Commit

Permalink
This adds samplerCube and sampler2DArray to the shadernode definition…
Browse files Browse the repository at this point in the history
…s drop down
  • Loading branch information
neph1 committed Sep 25, 2023
1 parent afe4b88 commit 98e8dbe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public final class SNDefVisualPanel2 extends JPanel {
private final Object[] emptyObj = {"float", "", ""};
private final String type;
private final String[] varTypes = new String[]{"bool", "int", "float", "vec2",
"vec3", "vec4", "sampler", "sampler2D", "sampler3D", "mat3", "mat4"};
"vec3", "vec4", "sampler", "sampler2D", "sampler3D", "mat3", "mat4",
"samplerCube", "sampler2DArray"};

/**
* Creates new form SNDefVisualPanel2
Expand Down

0 comments on commit 98e8dbe

Please sign in to comment.