setup_lighting
Replace a Blender scene's lights with a calibrated, subject-scaled rig using presets or HDRI, so renders are well exposed and repeatable.
Instructions
Replace the lighting with a calibrated rig scaled to the subject (AgX-friendly energies, colour temperatures, HDRI reflections). Run it again any time; previous Roxy lights are removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hdri | No | Environment: .hdr/.exr path or built-in studio, city, courtyard, forest, interior, night, sunrise, sunset. | |
| preset | No | studio: 3-point softboxes, dark bg. product: big top softbox + strip lights, light bg. outdoor: sun + sky. sunset: low warm sun. overcast: soft sky. interior: window light. night: moon + warm practical. dramatic: hard spot + rim. hdri: environment only (hdri=). | studio |
| target | No | What to light (sizes/positions the rig). Default: all geometry. | |
| rotation | No | Rotate the whole rig/environment around Z (degrees). | |
| strength | No | Overall light multiplier (calibrated so 1.0 is well exposed). | |
| background | No | Colour the camera sees instead of the environment (lighting/reflections unchanged). | |
| hdri_strength | No |