Creates and applies a customizable and editable Shader to a 3D Node.
The Model Shader loads a customizable and editable 3D shader. The Shader Editor allows direct modifications of the shader code and exposition of Shader parameters.
A Shader may have multiple techniques, each one representing a function handling a specific case of rendering. Commonly, a Shader contains a basic technique and the instancing version of that technique. Techniques defined in the Model 3D and the Primitive Mesh Box must always be present in the selected Shader.
To avoid mismatches, the Technique Override parameters overrides all technique names set in previous boxes.
This is an advanced feature and shader language knowledge is recommended to use that box. Currently, the language used is HLSL.
As Shader variables are created by the shader and they are unique to each shader. Shader variables are an important customizable allowing usage of dynamic variables.
To learn more about HLSL, look at the Microsoft Programming Guide for HLSL
In order to learn shaders, we highly recommend seeing the Shadertoy website . ShaderToys is an online community of people sharing their work in GLSL. ShaderToys uses only Vertex Shader, while Pixels and Geometry shaders are also accessible by the Shader Editor in RealMotion. However, GLSL to HLSL need conversion.
|Node||Node||Receives the node to be processed.|
|Node||Node||Outputs the shader node with the inputted node as children.|
|Shader||Uri||Allows loading, viewing and editing of a Shader.|
|Override Technique||Toggle||Enables the override of the technique of all inputted nodes.|
|Technique||String||Chooses the technique used to render the inputted nodes.|
Current documentation version: 2.1.0.