Back to smode.fr
You are here: UI > Shader Editor

Shader Editor

You want to code some Shader inside of Smode? Here it is.


This part of the documentations remains to be completed
This editor will allow you to edit and code shaders of: When the shader is modified, type CTRL+ENTER to re-generate it.
Here is the way to expose variables inside of your shaders:
  • uniform bool booleanOption;
  • uniform bool booleanOptionWithDefault = True;
  • uniform int integer;
  • uniform int integerWithDefault= 51;
  • uniform int typeInteger = StrictlyPositiveInteger;
  • uniform int typeIntegerwithDefault = StrictlyPositiveInteger(1664);
  • uniform float number;
  • uniform float numberWithDefault = 8.6;
  • uniform float typeNumber = Percentage;
  • uniform float typeNumberWithdefault = Percentage(0.33);
  • uniform vec2 vector2d = vector2d(0.5,0.9);
  • uniform vec2 position2d = Canvas2dPosition (0.5,0.5);
  • uniform vec3 position3d = Position3d(0,0,0.0,0.0);
  • uniform vec3 color = Color(0.6,0.7,0.8);
  • uniform vec4 colorwithAlpha = ColorWithAlpha(0.6,0.7,0.8,0.5);
  • uniform float transport = StandalonePlayableCueTransport;

SEE ALSO

In same group: Function Editor, Timeline Editor, Pipeline Editor, File Editor, Reference Editor, Fixture Bank Editor, Media Table and Parameter Bank Editor.