clementlandrin Posted June 15, 2018 Share Posted June 15, 2018 Hi everyone ! I'm new in Babylon and I'm trying to do an interactive water surface. What I want is not the waterMaterial provided by Babylon because this one only causes periodic waves and I want to create a wave impact on a flat water surface. I used a ground and UpdateVerticesData to create the wave (you can find a demo of my current project here). My problem is that water is supposed to reflect and do refraction, and i think Babylon's refraction and reflection can't be apply to a non flat surface (I found this playground showing that refraction can be done by a refraction plane apply to a refraction texture). Can I apply mirrors (for reflection) and refraction textures (for refraction) on the triangles (which are flat) componing my ground and how ? Is this way to do ok for a realtime rendering ? Thanks for any answers ! Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 15, 2018 Share Posted June 15, 2018 You need a shader to dissipate over surfaces . and caustics would carry allot with a good amount of bubbles. DB 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.