Search the Community
Showing results for tags 'volumetriclightscatteringpostprocess'.
-
Is it possible to remove the effect? Is it possible to check if the effect has been applied to a mesh (other than an independent variable)? I have an onClick event that adds the effect to the clicked mesh, but it seems to multiply the effect every time the mesh is clicked and it starts to look crazy. I'd like to remove the effect from non-targeted meshes to save gpu cycles, and be able to check if the effect even needs to be applied. Thanks for any tips. Here is an old playground I made if someone wants to play with it. http://babylonjs-playground.com/#AX6IZ#3
-
Hello friends. Long time no see. I have returned and updated to 2.5 (from 2.4) and it seems something has changed with godrays (aka VolumetricLightScatteringPostProcess). I get this error. "VolumetricLightScatteringPostProcess.useDiffuseColor is no longer used, use the mesh material directly instead" Any clues about that? I had some rather dandy looking stars in 2.4! I can't make a playground either ... gives me an error Compilation error Line 4:16942 - Cannot read property 'precision' of null I blame myself for not playing with this for a while but any help is appreciated. -- George
-
Hi everyone ! I'm using bGUI in my scene, very nice to make a user interface ! I've used the approach demonstrated by official demos, thus the bGUI is launched after every other BABYLON script, with a setTimeout function. Everything works so well, I had to manually set the layerMask=1 on the lensFlareSystem though, it took me some time to understand that >_< I want to use a VolumetricLightScatteringPostProcess on my scene, but bGUI seems to make it disappear:/ Since there is no layerMask class for the VolumetricLightScatteringPostProcess, I wonder how can I make it visible ? Thx for your help !