levere Posted December 6, 2017 Share Posted December 6, 2017 WaterMaterial, when applied to a plane that is rotated -90 degrees about the x-axis, appears to have some trouble rendering correctly. Is this expected behavior? Does the water material expect a specific orientation, or is this a bug?https://www.babylonjs-playground.com/#1SLLOJ#395 The above Playground example is the first demo from the Water Extensions help page (https://doc.babylonjs.com/extensions/water), with the three objects (ground, water and skybox) rotated on their side. Quote Link to comment Share on other sites More sharing options...
julien-moreau Posted December 6, 2017 Share Posted December 6, 2017 @levere, yes, the reflection camera and clip plane are set using the Y value of the normal vector to create the plane: scene.clipPlane = BABYLON.Plane.FromPositionAndNormal(new BABYLON.Vector3(0, positiony + 0.05, 0), new BABYLON.Vector3(0, 1, 0)); }; Let’s add this feature soon thanks for this feedback ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.