Volumetric Light with RTT


I pushed some meshes to RTT’s renderList for applying VLS Effect.

I’m not sure it is right way…

And i’m struggling with hiding meshes that not affected with VLS from scene.

What should I do?

cc @Evgeni_Popov

You can use the vls.excludedMeshes array to exclude some meshes from the effect.

And since 5.38.0 you also have vls.includedMeshes if you have a lot of meshes but only want a small subset to be part of the effect.


Thank you!
It works well.