We need a water shader for a mobile project and - later on - for a high quality PC project.
All we need are simple/plain shaders that allow us to easily create different settings. We’re not looking for a complex water system! The mobile one has the highest priority.
The Unity water packages do not meet our requirements. The simple water shader doesn’t support a cubemap.
We didn’t have any luck in the Asset Store either so far. Most of the time our technical requirements and our visual needs weren’t fulfilled.
Mobile:
Fast(!)
Easy to tweak
Cubemap support
Fresnel reflections
Multiple lights
High-End:
Pretty
Realistic waves (That do not tile visibly on large areas)
Visible depth
Edge fade-out
DirectX 9 compatible
Easy to tweak
Any suggestions and experience reports are much appreciated!
Edit: We came up with our own solution for the mobile water. (continue here).
Well, we can only hope we’re pretty close to that with our shader.
Still work-in-progress though. We made sure to keep it as simple as possible for mobile and low-end devices.
Currently supports up to 8 lights with almost no drop in performance!
@
Thanks! We’re still working on the high-end version. That will feature mesh deformation and probably foam.
@Dustin-Horne
Actually the Terrain is unwrapped by hand. A bit more work-intensive, but it gave us more control.
Edit: Thanks to everybody who looked into this matter. I think we found our solution.
I’ll put more pictures into the showcase sub-forum, where they belong.
Hi! We’re done with the High-End water for our project now. Next thing is to make it more flexible for future projects. Maybe add a few features. We still have a bunch of options to improve the current version.
wave cap foam, edge foam + splash particles, smooth beach edge, and caustics for underneath - other than that it looks great. If it’s still low load after all of that, it’ll be a winner
I should add, LOVE the colour drop as the water gets deeper.
Since the terrain was not intended for a closer view, we have not been adding foam to the coastline yet. As for the water surface the main goal was open but kind of calm water. Foam would not work that good on this type of water. But as said before, if there is an interest for this water we may think about a further development including your suggestions.