| Field | Type | Offset | Description | Notes |
|---|---|---|---|---|
| enabled | u8 | 0x0 | If ON, then raytracing is enabled. | This field is a boolean. |
| dirLightShadowEnabled | u8 | 0x1 | If ON, then parallel light shadows are enabled. | This field is a boolean. |
| aoEnabled | u8 | 0x2 | If ON, then ambient occlusion is enabled. | This field is a boolean. |
| pad1 | dummy8 | 0x3 | This field is padding. | |
| dirLightShadowRaySampleScale | f32 | 0x4 | The scale to apply to the ray sample count for directional light shadows. | |
| dirLightShadowRaySampleOffset | f32 | 0x8 | The offset to apply to the ray sample count for directional light shadows. | |
| aoRaySampleScale | f32 | 0xc | The scale to apply to the ray sample count for ambient occlusion shadows. | |
| aoRaySampleOffset | f32 | 0x10 | The offset to apply to the ray sample count for ambient occlusion shadows. | |
| dirLightShadowConeScale | f32 | 0x14 | The scale of the shadow cone used for directional lighting. In the range of 0 to 1.0. If you set it to 0, the number of samples will automatically become 1. |