vfx_shader_write
Creates or replaces WGSL VFX shader nodes for Roblox. Uses a hash check to prevent overwriting changed files and returns validation results.
Instructions
Creates a node, or replaces one whole. Replacing needs replaces: the hash from vfx_shader_read or your last write or edit; if the file changed since, nothing is written and the current hash comes back. Answers the new hash and the verdict (state, problems with line:column in your source, parameters). Read vfx_guide node first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Node name in the library, like ring/shock (letters, digits, _ and -) | |
| source | Yes | WGSL that defines fn effect(uv: vec2f) -> vec4f | |
| replaces | No |