Looooong / Unity-SRP-VXGI

Voxel-based Global Illumination using Unity Scriptable Render Pipeline
MIT License
774 stars 63 forks source link

How to hide the emissive object but remain the lighting effect? #22

Closed Wenzy-- closed 4 years ago

Wenzy-- commented 5 years ago

Hi,Looooog.I am not sure is there any way I can hide the emissive object,and at the same time ,it can keep illuminate the object around it.Sometime this can help to do some environmental lighting

Looooong commented 5 years ago

You can set the object on a separate layer, then remove that layer from the culling mask of the main camera.

Wenzy-- commented 5 years ago

thanks,that works