Author Topic: VolumetricLights - A way to cut the beginning of a light/volume  (Read 43 times)

Colton Ramos

  • Guest
Hi! Please reference this rectangular area light we created using the VolumetricLights asset. I'm looking for a way or suggestion for how to cut the part outside the windows, while still maintaining the rays inside (the player in this game can leave the building).

Front view: https://drive.google.com/file/d/1wqxy2jSJ-wTLRfH4v4lKD4aW5aTLLiQ9/view?usp=sharing
Side view (see how the bit sticks out): https://drive.google.com/file/d/1TV3NQ2lXH1UdnySnVPZLqpGbokKEYiWv/view?usp=sharing

Thanks for your help!
Colton

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 6345
    • View Profile
Re: VolumetricLights - A way to cut the beginning of a light/volume
« Reply #1 on: November 10, 2020, 11:07:09 PM »
Hi Colton,

Volumetric Lights include an option to specify Custom Bounds at the bottom of the inspector. When used, the lighting effect is effectively clamped within the defined bounds:

Check out this video at 3:30:
https://youtu.be/-f7GUXJ-nKs?t=212

Regards

Colton Ramos

  • Guest
Re: VolumetricLights - A way to cut the beginning of a light/volume
« Reply #2 on: November 11, 2020, 01:31:18 AM »
Thanks for the help, that worked out well!