pencilShade.shader
- .metadata17 B
- README.md964 B
- properties.yaml3.8 KB
- shader.wgsl22.2 KB
This package holds more than this page lists. See all of its files in its world.
README.md
pencilShade (shader)
The full-frame pass every pencilBlocks shade block runs (Tone slot): strokes that build up stroke by stroke as the picture darkens, laid on surfaces with styleKit's skStrokes and drawn in a medium by pencilCore.
In a dim scene the sheet is drawn no brighter than the brightest parts of the frame as rendered (read on a fixed 5 x 5 grid), and whatever the strokes are laid over is held to it, so a dark room stays dark; when most of the screen would carry strokes they give way to rubbed tone of the same value, so the screen never fills with stripes. The package README's "Dim scenes and dark rooms" has the numbers.
Known limits
- A post-process shader has no surface preview image.
- 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.