vfx_bake
Renders a VFX node into a final PNG still or flipbook sheet at up to 1024 px with supersampling and clean alpha, plus a recipe JSON, ready for upload to Roblox.
Instructions
Renders a node into its final PNG: grid 1 (a still) or a 2x2, 4x4 or 8x8 flipbook sheet at size 256, 512 or 1024, or a still sharper than Roblox's 1024 cap as tiles x tiles PNGs of size px (bakes/--), to lay out in one gui, supersampled, straight alpha with the colour spread into transparent pixels (no dark halos). Writes bakes/.png and bakes/.json (the recipe: node, hash, values, grid, mode, duration, stats, warnings, uploads). Answers the paths, the flipbook settings, the warnings and a preview over the dark backdrop. Upload it with vfx_upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ss | No | Samples per pixel axis (1..4); default 3 for render, 4 for bake | |
| out | No | Bake name, default the node name | |
| grid | No | Cells per side: 1 still, 2, 4 (default) or 8 | |
| mode | No | oneshot (default): frames span phase 0..1 inclusive; loop: phase 1 wraps to frame 0 | |
| name | Yes | Node name in the library, like ring/shock (letters, digits, _ and -) | |
| size | No | Sheet px, default 1024 (with tiles: each tile's px) | |
| tiles | No | Still only: render tiles x size px and split it into tiles x tiles PNGs, <out>-<row>-<col> (row 1 at the top). Default 1 | |
| margin | No | Empty border inside each cell, as a share of the cell (0..0.25), default 0.02; 0 for tiling textures | |
| values | No | Parameter values for this call only: { glow: 2, tint: "#ffaa33", tilt: [0.2, 0] } | |
| duration | No | Clip length in seconds (vfx.time = phase * duration), default 1 |