---
url: /api/kiln/interfaces/RenderOptions.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / RenderOptions

# Interface: RenderOptions

## Properties

| Property | Type | Description |
| ------ | ------ | ------ |
|  `background?` | `ColorRepresentation` | `null` | Clear colour. Default 0x1a1d23. |
|  `lights?` | `boolean` | Ambient + directional light in 3D. Default true. |
|  `antialias?` | `boolean` | - |
|  `fov?` | `number` | Perspective field of view in degrees. Default 60. |
|  `cameraPosition?` | \[`number`, `number`, `number`] | Initial camera position in 3D. Default \[0, 10, 14], looking at the origin. |
|  `viewHeight?` | `number` | World units visible vertically in 2D. Default 20. |
|  `maxPixelRatio?` | `number` | Cap on devicePixelRatio. Default 2. |
|  `forceWebGL?` | `boolean` | Force the WebGL2 backend (kiln shot uses this when WebGPU is unavailable). |
