Log inGet started
Package

ukiyoeBlocks.package

This package holds more than this page lists. See all of its files in its world.

README.md

WoodblockLight (component)

The cast-shadow switch behind ukiyoeBlocks' Light slot. A post effect cannot remove a cast shadow from a frame that carries no base colour (the forward render path), so the ukiyo-e light (lightUkiyoe, castShadows = 0) asks the scene's sun to cast none instead.

  • Runs on every player's machine from a synced holder entity named WoodblockLight, which Woodblock.apply and Woodblock.useLight place, so late joiners get it with the scene.
  • While the style stack holds an enabled Light entry with castShadows below 0.5, the sun casts no shadows on this machine; when the entry goes, the sun gets back the setting it had. It changes nothing else.
  • switchSun = false leaves the sun alone. Deleting the holder restores the sun.
  • steadyLines (on by default): while a look is on, the engine's temporal antialiasing stands aside on every machine, because its per-frame sub-pixel jitter makes lines found in the frame shimmer by a pixel on a still camera. It is handed back unchanged when the look is cleared or the holder is deleted. Set it false to keep TAA (lines then shimmer slightly).
  • tier: the stack resolution every machine draws at (low by default).
  • holding() says whether it has the sun's shadows switched off now.

Only the sun (the scene's directional light) is switched; lanterns and other local lights keep theirs.