Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: TeoRossi93 on 2022-12-28, 21:50:03

Title: Excluding light from volume environment
Post by: TeoRossi93 on 2022-12-28, 21:50:03
Hi guys, is there any way to exclude a light from volume environment?
In the image attached I have the red light set to include the sphere, I would like it not to affect the volume.
I know I could render the scene without volume and then turn the light off and volume on, but everything would be messed.
Cheers guys
Title: Re: Excluding light from volume environment
Post by: TomG on 2023-01-02, 14:03:34
Is it a global volume? If so, switching to an object with a Volume Material should work, as then you can exclude that object from the light?
Title: Re: Excluding light from volume environment
Post by: ingemar on 2023-01-02, 15:20:47
That’s how I usually do it as well. Drop a cube into the scene, add the volume material to it and exclude it from the light. Just make sure to keep the camera outside the cube volume and everything should be fine.
Title: Re: Excluding light from volume environment
Post by: TomG on 2023-01-02, 17:05:18
If using Corona 10 daily builds, the camera wouldn't even need to be outside of the cube with the volume material ;)
Title: Re: Excluding light from volume environment
Post by: TeoRossi93 on 2023-01-02, 18:02:14
Hey guys!

Thank you, using the cube as volume source works like a charm, I haven't thought about this :D
Title: Re: Excluding light from volume environment
Post by: TomG on 2023-01-02, 18:28:38
You're welcome, glad it helped!