Skip to content

Commit

Permalink
Merge pull request jMonkeyEngine#535 from neph1/Issue-533-Missing-Sha…
Browse files Browse the repository at this point in the history
…derNodeDefinition-options

This adds samplerCube and sampler2DArray to the shadernode definition…
  • Loading branch information
neph1 authored Oct 17, 2023
2 parents 4d5fcd6 + 98e8dbe commit 48dfc0a
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 48dfc0a

Please sign in to comment.