Log inGet started
Package

animeFinishClean.shader

README.md

The full-frame pass of the finishClean block (animeBlocks): the anime finish with the same settings as animeFinish, but reading no styleKit soft field. Where it needs a softened picture (sharpening, softness, bloom, halation) it blurs the frame itself with five taps, so a look whose only soft reader is this finish pays none of the soft field's two passes.

Every finish block runs the one animeFinish shader with its own defaults, so any finish swaps for another with StyleKit.swap("finish", "<block>") and works under any look, anime or not. Settings: bloom, bloomRadius, bloomThreshold, bloomColour, halation, halationColour, grain, grainSize, chromaBleed, softness, sharpen, lift, liftColour, tint, saturation, contrast, vignette. The bloom and halation are read from styleKit's soft field (one half-resolution blur shared with every block that reads it), so they cost twelve taps of an already smooth image. finishClean runs its own copy of the shader, animeFinishClean, with the same settings: it reads no soft field and softens against a five-tap blur of the frame itself, which saves the field's two passes.

What it gives up in motion

Bloom and halation follow bright things as they move. Grain is film grain: it lives on the screen, not on things, and is renewed on the stack's held clock (holdRate drawings a second, 8 by default), so it boils like projected film at a low, even contrast that never flashes; the whole frame's brightness does not change from one held step to the next. Colour bleed is a fixed sideways smear.

How it treats content

  • Opaque things: graded, bloomed and grained as a whole picture.
  • Transparent things (glass, water): treated as the picture they are part of.
  • Particles and smoke: bright particles bloom; nothing else changes.
  • Sky: graded and bloomed like everything else, so a bright sky glows softly at the horizon.
  • Fog: graded with the picture.
  • Skinned characters: no difference from anything else.
  • Foliage: no difference from anything else.
  • World text: graded; exclude labels a player must read from the stack if the grade or grain gets in the way.
  • Black stays black: grain is scaled by brightness and every change returns through styleKit's sk_finish, so unlit pixels stay black; lift raises only the frame's dark tones, never an unlit pixel.
  • Dim rooms: bloom needs bright pixels and grain is scaled by brightness, so a dim room stays dim.