Skip to reading
Cameras, Lighting & Rendering

42 Advanced fields through Raw JSON

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page

Some supported rendering fields are stored in the record but do not have individual controls in the current unified Inspector. Use Raw JSON (Advanced) for those fields. This is optional; ordinary lights and shadows work from the main tabs.

1. Select the exact light or object. Save the project before an advanced edit.

2. Open Raw JSON (Advanced). Find the existing light, shadow or glow dictionary inside that record.

3. Add or change the named fields. Keep all other record fields and use valid JSON: double quotes, commas between entries and no trailing comma.

4. Apply the raw record using Apply Changes. Reopen the tab to confirm the values survived.

5. Restart Test Scene. A stored property change does not guarantee that an already-created light, material or capture has rebuilt itself.

Code example
"light": {
    "kind": "spot", "enabled": true,
    "color": "#ffe5b4", "intensity": 2.0,
    "distance": 10.0, "spotAngle": 35.0,
    "spotAngleAttenuation": 1.0,
    "castShadow": true, "shadowBias": 0.05,
    "normalBias": 0.6, "shadowOpacity": 0.8
}

This is a fragment inside a light record, not a replacement for the entire record or project. Do not paste it over the ID, type and transform.

Page 48 of 109Permalink
Go to page