All examples · Meshes and 3D · As Markdown, for AIs

Per-pixel light

What this example shows

The same glossy ball twice, with few triangles. The left one is lit at its corners and the colour is spread between them, as the consoles of the era did it: its shine flickers and is lost when it falls between two corners. The right one has perPixel: true and is lit at every pixel, as the computer graphics of the era did it: its shine is a round spot that slides smoothly across it.

perPixel is per material, and a render style can give it to every material that does not say (RENDER.STYLES.cgi). Space turns it on and off.

Starting
Starting
—