https://playground.babylonjs.com/#EBT3JQ#7
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?
https://playground.babylonjs.com/#EBT3JQ#7
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?
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.