{"repo":"Neopallium/bevy_water","free":true,"listed":false,"github":"https://github.com/Neopallium/bevy_water","clone":"git clone https://github.com/Neopallium/bevy_water.git","description":"Dynamic ocean material for Bevy.","language":"Rust","stars":183,"topics":["bevy","shader","ocean","water","waves"],"license":null,"category":"game-templates","readme_excerpt":"bevy water Dynamic water material (with waves) for Bevy. Example A fleet of pirate ships moving with the waves. Dutch ship model from polyhaven (CC0) WASM examples See the WebGPU and WebGL versions online here Setup Build & Run Following is an example for pirates . For other examples, change the pirates in the following commands. WebGPU: WebGL2: Then serve examples/wasm directory to browser. i.e. Features - Moving 3d waves (vertex height offset). - Get the wave height using get wave point to dynamically move objects based on the water height. - Tileable - allows for adding/removing tiles of water for endless ocean. - Normals calculated based on wave height for lighting. - Imports bevy pbr:: shader for lighting/shadow support. Ideas/Improvements - [ ] Improve water color/texture. - [ ] Heightmap support to adjust waves based on water depth. - [ ] Mask texture to remove water from areas that shouldn't have water. - [ ] Volumetic water below the surface. - [ ] Dynamic depth buffer for objects partially below the surface (boats, peers). Render pass? Versions - Bevy 0.18: bevy water = \"0.18\" - Bevy 0.17: bevy water = \"0.17.2\" - Bevy 0.16: bevy water = \"0.16\" - Bevy 0.15: bevy water = \"0.15\" - Bevy 0.14: bevy water = \"0.14\" - Bevy 0.13.1: bevy water = \"0.13\" - Bevy 0.12: bevy water = \"0.12\" - Bevy 0.11: bevy water = \"0.11\" - Bevy 0.10: bevy water = \"0.10\" - Bevy 0.9: bevy water = \"0.9\" - Bevy 0.8: bevy water = \"0.8\"","default_branch":null,"files":null,"tree":[],"storefront":"/r/Neopallium","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Neopallium/bevy_water/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}