ukiyoeBlocks.package
- ..
- .metadata163 B
- README.md2.8 KB
- block.yaml3.6 KB
This package holds more than this page lists. See all of its files in its world.
README.md
Shin-hanga light blocks (styleBlock, Fill)
Real light, shadow and mood kept and then flattened into a few colour blocks, shadows printed in cool indigo: the later shin-hanga woodblock style with its dusk glow, lamplight and rain.
Runs the shared flat woodblock colour pass (hangiFlat.shader) with its own defaults, so it swaps with the other woodblock fills with one change: StyleKit.swap("fill", "flatShinHanga"). Settings: light, snap, flatten, flatPx, dayLevel, nightLevel, keepDark, glow, bands, bandSoft, litLevel, shadowDepth, shadowTint, setShadow, saturation, lift, air, airNear, airFar, skySnap. Every tier averages the surface colour over twelve taps in two rings before it is printed in its ink, so textured ground reads as one flat colour.
The shin-hanga fill: the scene's light is kept and cut into three blocks, so a dusk street, a lantern and a rain-dark wall keep their mood.
It reads the scene's woodblock palette (a pigment set such as classicPrint, picked with StyleKit.setPigments or by a whole look) and pulls every colour to its nearest paints. With no palette picked it keeps the scene's own colours, flattened. It is the first block of the Fill chain (rank 10): bokashi, patterns, snow and the registration offset build on it.
What it gives up in motion
Nothing slides: each pixel's colour comes from the surface colour under it, read again every frame. Texture detail inside a surface is evened out over a few reference pixels on the same surface, so a brick wall reads as one red that stays put as you walk. The day or night level follows the sun and moves only as fast as the sun does. Where the scene has no surface colour copy (forward path), the colour is estimated from the rendered frame and keeps a little of the shading.
How it treats content
- Opaque things: flat palette colour; ukiyo-e has no shading or cast shadow, shin-hanga prints light in a few blocks.
- Transparent things (glass, water): not in the surface copy, so what is seen through them is printed; water is repainted by a bokashi block.
- Particles and smoke: kept as rendered over the flat colour behind them.
- Sky: only pulled a little toward the palette (
skySnap); a bokashi block paints it. - Fog: far things pale toward the palette's air colour (
air), the printed version of fog. - Skinned characters: flat colour from their surface colour, steady while they walk.
- Foliage: leaves flatten into the palette's greens; dense foliage reads as a mass.
- World text: its colours are pulled to the palette; exclude labels a player must read.
- Black stays black:
sk_finishnever lifts a pixel the scene left black. - Dim rooms:
keepDarkkeeps unlit interiors dark in the ukiyo-e mode; shin-hanga keeps the scene's own light.