Author Topic: Excluding light from volume environment  (Read 1187 times)

2022-12-28, 21:50:03

TeoRossi93

  • Active Users
  • **
  • Posts: 129
    • View Profile
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
Matteo Rossi 3D - https://www.teorossi.it/

2023-01-02, 14:03:34
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5468
    • View Profile
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?
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-01-02, 15:20:47
Reply #2

ingemar

  • Active Users
  • **
  • Posts: 62
    • View Profile
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.

2023-01-02, 17:05:18
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5468
    • View Profile
If using Corona 10 daily builds, the camera wouldn't even need to be outside of the cube with the volume material ;)
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-01-02, 18:02:14
Reply #4

TeoRossi93

  • Active Users
  • **
  • Posts: 129
    • View Profile
Hey guys!

Thank you, using the cube as volume source works like a charm, I haven't thought about this :D
Matteo Rossi 3D - https://www.teorossi.it/

2023-01-02, 18:28:38
Reply #5

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5468
    • View Profile
You're welcome, glad it helped!
Tom Grimes | chaos-corona.com
Product Manager | contact us