Search the Community
Showing results for tags 'converting'.
Found 1 result
Hi there, I just started learning BabylonJS some days ago (and I love it so far), but I'm having an issue. I am loading scenes, with a plane called WaterPlane, which is... The water plane. I am using some shaders to simulate water surface on it, however, as it only has 4 vertices, the vertex shader is not really useful... So I decided to convert it to a GroundMesh (which has more vertices), the only issue I am getting is regarding the size of the WaterPlane, I can't use the scaling data as it makes a huge water surface... I've spent some time looking on the internet, how I could get the scale of a plane after importing it from a scene, but I can't find a way to do it... I can't set the Ground mesh manually as the water plane will change size over different scenes, and I can't modify the plane to add more vertices before importing... Thanls in advance for your help guys !