Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit61a33237e0

README.md

pp

Layer screen-space post-processing on the scene's final image — add, remove, toggle, and inspect effects.

Add an effect by naming a .shader asset — a shipped short name, an identity, a path, a guid, or a scene-authored .shader asset. Every property the shader declares is settable by its own name in the add call that registers the effect, and the shader's schema is what decides which option keys the call takes. A shipped effect may own several passes, drawn in order through its own scratch targets — the shader itself declares them, so add needs no pass-shaped option to register one. postprocess.describe(name) names that schema and the value each property holds once the effect is registered, and asset.resolve(shader, "shader"):getProperties() names it before. Every name pp.presets returns is one add accepts and one whose schema is readable at @builtin::shaders.post.<name>, the identity it returns beside each name. List the currently-active effects or every shipped short name with pp.presets, remove an effect by name, or enable and disable one without removing it.