Log inGet started
Package

mote.shader

Newest version

README.md

mote

The one surface every fleck in this game is drawn with: a small soft additive card, lit warm at the centre and falling to nothing at the rim, so a burst reads as sawdust or shards catching the sodium lamps and never as a solid shape.

propertywhat it does
intensityhow hot the core burns. Raised for ice, which should read brighter and cooler than sawdust.
softnesshow far the fall-off reaches toward the rim. Higher is a softer, hazier fleck.
corethe share of the card held at full brightness before the fall-off starts.

Drawn with blend = "additive", cull = "none" and depthWrite = "false" at queue 3040, so a fleck adds light rather than covering what is behind it and never writes depth into the scene.

The card's real size matters. The mesh is built at 12-14 mm. It was originally built at 1 m and scaled down by a per-point attribute that was never applied, so every fleck drew a metre across. If this effect ever starts rendering enormous flat panels again, check mesh.plane({ size = ... }) in parts/motes.procGraph and graphs/dust.procGraph before touching anything here.