Style Cookbook: Mix Your Own Art Style from Stackable Look Blocks
- ..
- .metadata73 B
- README.md978 B
- module.wgsl16.2 KB
README.md
skCommon (shader module)
The prelude every styleKit block includes. It reads the shared inputs the stack fills each frame (the sk_ properties of the styleKit shared header): one clock (sk_time, sk_held, sk_step), surface data copied once per frame (sk_world, sk_dist, sk_normal, sk_albedo), coordinates that stay on things (sk_surface_coord), the shared ground (sk_ground_at) and wobble (sk_wobble_uv), resolution-independent mark sizes (sk_ref_uv), the block's mask (sk_weight) and the one exit every block returns through (sk_finish: strength, mask, layer mode, and black stays black). Include it with #include "~styleKit.shaders.skCommon" after declaring the shared header.
Known limits
- A pass reads the scene's depth only when it also writes the scene picture (#24550), and an unknown blend name draws as replace (#24551).
- A per-object value cannot reach a geometry pass (#24549).
The package README's Known limits lists the rest.