CPU
A rasterizer on the processor that works in any browser.
The CPU renderer computes the image on the processor, split into blocks that several workers solve at the same time. It works in any browser, and it is what the editor uses when there is no WebGPU.
Each effect is a group turned on separately: shadows, ambient occlusion and global illumination. Indirect light does not go through glass or reflections.
Performance
In the Renderer section, with the CPU chosen, two more settings show up, which are also in Settings, Renderer tab:
- Workers: How many parts of the image are computed at the same time. On automatic, the editor chooses based on your processor.
- Bucket size: The size of each part. The default works well on most computers.
Open source
The renderer is the @tinypoly/cpu-renderer package, under the MIT license.
In this section
- QualityImage size and samples.
- EnvironmentThe image that lights, reflects and can become the background.
- Depth of fieldLens blur from the active camera.
- ShadowsShadows from a sharp edge to a soft penumbra.
- Global illuminationLight that bounces between surfaces.
- Ambient occlusionDarkens corners and gaps where ambient light reaches less.
- FogTints distant things with a color, creating depth.
- VignetteDarkens the edges and draws the eye to the center.
- GrainFine film grain over the final image.
- ColorColor curve and exposure of the final image.