HomeGuidesChangelogDiscussions
Hire a ReactVision Expert 🛠️Launch Studio 🖥️Sponsor on GitHub ❤️Log In
Guides

ViroShaderModifier

ViroShaderModifier represents an individual code injection "snippet."

PropertyTypesDescriptionRequired
bodystringThe actual GLSL-style code to be executed. Inside this string, you can access built-in Viro structures (like _geometry, _surface, or _vertex) depending on which entry point is used.optional
uniformsstringA string containing the declarations for any custom uniforms your body code requires (e.g., uniform float myCustomFactor;).optional