SeExpr, OSL, and WGSL
Description
The SeExpr (Shared Expression), OSL (Open Shading Language), and WGSL (WebGPU Shading Language) nodes let you create image generators and image-processing effects by writing code directly in a node. You can edit the code while working, see the result without building a plug-in or restarting Silhouette, and turn declarations in the code into ordinary node properties. Those properties can then be edited, animated, and exposed to artists who do not need to edit the code.
Use these nodes for procedural textures, mattes, gradients, color treatments, compositing operations, and other custom pixel effects. All three nodes can work without an image input, so they are equally suitable for generators and filters. Their input ports are derived from the code rather than fixed in advance.
Note: These nodes are not intended to replace the SeExpr, Open Shading Language, or WGSL specifications.
To see how the languages are integrated with Silhouette and the conventions that make code interact with node properties and image ports, go to: SeExpr, OSL, and WGSL
Node Group
Image.
Controls
Presets
To select a preset, choose one in the Presets tab, then press Generate Properties to build the parameters the preset requires.