Supply shaders with essential data such as constants, mesh attributes, gradients, matrices, deformation, PBR parameters, scene details, and texture sampling options.
Basic
Topic |
Description |
Boolean |
Defines a constant Boolean value in the shader. |
Color |
Defines a constant Vector 4 value in the shader using a Color field. |
Constant |
Defines a Float of a mathematical constant value in the shader. |
Integer |
Defines a constant Float value in the shader using an Integer field. |
Slider |
Defines a constant Float value in the shader using a Slider field. |
Time |
Provides access to various Time parameters in the shader. |
Float |
Defines a Float value in the shader. |
Vector 2 |
Defines a Vector 2 value in the shader. |
Vector 3 |
Defines a Vector 3 value in the shader. |
Vector 4 |
Defines a Vector 4 value in the shader. |
Geometry
Topic |
Description |
Bitangent Vector |
Provides access to the mesh vertex or fragment's Bitangent Vector. |
Normal Vector |
Provides access to the mesh vertex or fragment's Normal Vector. |
Position |
Provides access to the mesh vertex or fragment's Position. |
Screen Position |
Provides access to the mesh vertex or fragment's Screen Position. |
Tangent Vector |
Provides access to the mesh vertex or fragment's Tangent Vector. |
UV |
Provides access to the mesh vertex or fragment's UV coordinates. |
Vertex Color |
Provides access to the mesh vertex or fragment's Vertex Color value. |
View Direction |
Provides access to the mesh vertex or fragment's View Direction vector. |
Vertex ID |
Provides access to the mesh vertex or fragment's Vertex ID value. |
Gradient
Topic |
Description |
Blackbody |
Samples a radiation based gradient from temperature input (in Kelvin). |
Gradient |
Defines a constant Gradient in the shader. |
Sample Gradient |
Samples a Gradient given the input of Time. |
Matrix
Topic |
Description |
Matrix 2x2 |
Defines a constant Matrix 2x2 value in the shader. |
Matrix 3x3 |
Defines a constant Matrix 3x3 value in the shader. |
Matrix 4x4 |
Defines a constant Matrix 4x4 value in the shader. |
Transformation Matrix |
Defines a constant Matrix 4x4 value for a default Unity Transformation Matrix in the shader. |
PBR
Topic |
Description |
Dielectric Specular |
Returns a Dielectric Specular F0 value for a physically based material. |
Metal Reflectance |
Returns a Metal Reflectance value for a physically based material. |
Scene
Topic |
Description |
Ambient |
Provides access to the Scene's Ambient color values. |
Camera |
Provides access to various parameters of the current Camera. |
Fog |
Provides access to the Scene's Fog parameters. |
Baked GI |
Provides access to the Baked GI values at the vertex or fragment's position. |
Object |
Provides access to various parameters of the Object. |
Reflection Probe |
Provides access to the nearest Reflection Probe to the object. |
Scene Color |
Provides access to the current Camera's color buffer. |
Scene Depth |
Provides access to the current Camera's depth buffer. |
Screen |
Provides access to parameters of the screen. |
Eye Index |
Provides access to the Eye Index when stereo rendering. |
Texture
Topic |
Description |
Cubemap Asset |
Defines a constant Cubemap Asset for use in the shader. |
Sample Cubemap |
Samples a Cubemap and returns a Vector 4 color value for use in the shader. |
Sample Reflected Cubemap Node |
Samples a Cubemap with reflected vector and returns a Vector 4 color value for use in the shader. |
Sample Texture 2D |
Samples a Texture 2D and returns a color value for use in the shader. |
Sample Texture 2D Array |
Samples a Texture 2D Array at an Index and returns a color value for use in the shader. |
Sample Texture 2D LOD |
Samples a Texture 2D at a specific LOD and returns a color value for use in the shader. |
Sample Texture 3D |
Samples a Texture 3D and returns a color value for use in the shader. |
Sample Virtual Texture |
Samples a Virtual Texture and returns color values for use in the shader. |
Sampler State |
Defines a Sampler State for sampling textures. |
Texture Size |
Returns the Width and Height of the texel size of Texture 2D input. |
Texture 2D Array Asset |
Defines a constant Texture 2D Array Asset for use in the shader. |
Texture 2D Asset |
Defines a constant Texture 2D Asset for use in the shader. |
Texture 3D Asset |
Defines a constant Texture 3D Asset for use in the shader. |