set_renderer
Adjust live Three.js renderer settings such as tone mapping, exposure, color space, pixel ratio, and shadows; changes are tracked for undo and code edits but not saved on reload.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Change renderer settings: tone mapping, exposure, color space, pixel ratio, shadows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixelRatio | No | ||
| sortObjects | No | ||
| toneMapping | No | 0=None 1=Linear 2=Reinhard 3=Cineon 4=ACESFilmic 6=AgX 7=Neutral | |
| shadowMapType | No | 0=Basic 1=PCF 2=PCFSoft 3=VSM | |
| outputColorSpace | No | srgb, srgb-linear | |
| shadowMapEnabled | No | ||
| toneMappingExposure | No | ||
| localClippingEnabled | No |