Skip to content

armgit / vork

Public Imported from GitHub
0

Headless 3D and VFX engine for agents. Research preview.

1.2 KB
Raw Blame

Authored compositor looks

Copy this entire directory from PREFIX/lib/vork/examples/compositor-effects/ (or examples/compositor-effects/ in the archive or source checkout) to your project. Keep highlight.slang beside glare.slang: glare imports it.

Use a local program reference in a compositor material:

{"program":{"file":"vignette.slang"},"inputs":{"factor":0.5}}

Program paths are relative to the scene. Preserve the old material inputs. chromatic-dispersion.slang replaces post/lens_distortion: it remaps RGB channels independently, not geometric distortion. glare-*.json are complete, self-contained scenes showing how to save the original image, run additive glare, and merge it with the original. Run, for example:

vork render glare-streaks.json --out glare.png --at 0

For custom Slang imports, copy the required modules next to your program and replace post.vignette with vignette, post.glare with glare, std.highlight with highlight. For post.lens_distortion, copy chromatic-dispersion.slang as lens_distortion.slang and use import lens_distortion;. Update qualified module references too. For shipped bloom, vork help std/bloom shows a two-entry graph; bloom is not an exact replacement for these looks.