I am curious if anyone has a shader laying around that they wouldn’t mind sharing that produces water that looks like this http://www.battlemaze.com/?p=153 I am very new with shaders so any help would be appreciated. Or some direction on how to convert the unity shader in the link into a jmonkey shader would be awesome.
The linked post shows already the whole shader. You only have to convert it to the jme format:
The frag-function becomes the fragment shader file, the geom-function the geometry shader and the vert-function the vertex shader. The needed material properties are listed in the first 10 lines.
Thanks for your help @shamanDevel, I didn’t end up using that linked shader I wasn’t able to get the geometry shader to work (I assume due to my inexperience with shaders) but with @Empire_Phoenix’s help on the irc channel I got it working. https://i.sli.mg/HBdhRe.png