Anime Looks: Cel Light, Painted Skies and Impact Frames
- ..
- .metadata108 B
- README.md921 B
- module.wgsl6.5 KB
README.md
animeShineCore (shader module)
The anime highlight shapes (hair ring, streak, crescent, star, blade, round glint) as functions: as_cover(uv, litShare, N, sun, params) gives the highlight's coverage at a pixel and as_glint(colour, params) its colour, with AsParams holding a highlight block's settings. The animeShine pass draws them on their own; the anime cel light draws the same shapes inside its own pass when a look folds its highlight part into the light (AnimeBlocks.fold), which saves a full-screen pass. Include it after ~styleKit.shaders.skCommon, ~toonBlocks.shaders.toonLight and ~toonBlocks.shaders.toonFrame with #include "~animeBlocks.blocks.animeShineCore".
Known limits
- Every pass runs every frame (#24548); a folded highlight costs only its maths inside the light pass.
- The package README's Known limits lists the rest.
Used by: animeShine.shader and animeCel.shader.