I'm new in babylon.js and trying to create a dynamic water surface.
I succeeded in creating waves on a flat surface (using a ground and updateVerticesData).
What i need know is doing reflections (thought about reflection textures) and refractions (tought about mirrors). Both are done by babylon by using planes but my surface is not flat but dynamic.
Can I apply the correct reflections and refractions to the vertices or to the triangles componing my ground ?
Is it ok to do that in a realtime rendering ?
Thanks for any suggestions !
Aucun commentaire:
Enregistrer un commentaire