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

Render styles

What this example shows

A showroom of chrome and plastic in the computer-graphics style of the era, lit by useStudio and reflecting a photo made round with sphereFromPanorama. A render style is how a whole scene is drawn: useRenderStyle(RENDER.STYLES.cgi) lights every material at every pixel and adds a soft bloom, at its own 640 × 480, smooth.

Space switches to RENDER.STYLES.ps1 while it runs: pictures that swim, corners that shiver, colours dithered down, and 320 × 240 with no smoothing. One call changes how every material is drawn, the effects over the frame and the resolution; what the game itself sets afterwards still wins.

Starting
Starting
—