For this update I primarily worked on letting you define a `Shader Feature` via the new Static Switch node.
Static Switch nodes have two modes `Create` and `Reference` . As the initial name suggests it will create and register a shader feature and combo. While the later will "reference" an already registered shader feature.
Inner Switches
You can of course have static switches within a static switch but the compile time can increase in length when doing so.
In order to get the Texture Sampler nodes to play nice and not register more than once while in a subgraph that is bound to a Switch node or instanced within a regular graph or within another subgraph, I had to change how Texture Sampler nodes work in subgraphs. You can no longer define a Texture Input while in a Subgraph. You must now pass in a Texture 2D Object input from a Texture 2D Object node. Unfortunately manual changes will be need to any of your pre existing subgraphs that you may have that use Texture Sampler nodes.
Get Dimensions Node
Added a node to let you fetch the dimensions of a Texture 2D Object in the x and y. Image Formats
Added 5 additional image formats to choose from in the Texture Input Data when a Texture 2D Object or Texture Sampler node is selected.
DXT3
ATI1N
ATI2N
BC6H
RGBA16161616F
Texture Object
Renamed the Texture Object dummy type from TextureObject to Texture2DObject. So as to be differentiated from TextureCubeObject.
Static Switch Update
20 July 2025
🎁 Added
Static Switch Node.
Get Dimensions Node.
Texture Cube Object node.
Ability for Sampler node result to be input into subgraphs.
Ability for TextureObject node result to be input into subgraphs.
Texture Object input to Texture Sampler node.
Texture Object input to Texture Triplanar node.
Texture Object input to Normal Map Triplanar node.
Texture Cube Object input to Texture Cube node.
Added DXT3, ATI1N, ATI2N, BC6H, & RGBA16161616F to the enum of available to Image formats to choose from in the TextureInput property to the Texture Object node and Texture Sampler nodes.
Exposed bool toggle on the Branch node as an Node input ( When left unconnected the Branch Node will revert to the old behavior ).
`CanPreview` virtual bool to the `BaseNode` class so a node can tell the editor that it can be previewed or not.
🧼 Improved
TextureObject ---> Texture2DObject
Texture 2D Object Nodes with the same name will sync their Texture Input data between each other. Even the Image path is synced.
🚯 Removed
The ability to define Texture inputs in Subgraphs
⚠️ Known Issues
Texture 2D Object & Sampler Node inputs of a subgraph are required no matter what.
Texture Cube Node is a bit buggy may or may not throw exceptions