Water shader
12 December 2014 18:50
12 December 2014 19:55
09 October 2015 03:14
Hi Pavel. Thanks very much. I downloaded it and I will check it out. I have a slightly different question, which may also help Shamusboy in his quest for liquid glory. The documentation speaks of normal maps - but how do I bake these? Shore map I found easily, but is there a secret button to bake the waves based on the settings in the materials tab? I could bake from an ocean modifier, but that seems to defeat the purpose. Also, I am making a scene with a patch of ocean and everything looks like it is underwater. I flipped the water plane's normals (although it was fine) and still the same.
09 October 2015 10:56
Hi robstawithlove! :)
Did I understand you correctly - you have some dynamic waves set up (with B4W) and you want to bake it to the texture? Or like vertex animation? Anyway, if I got it right, then nope, because waves are generated in the engine, not in Blender![slightly-frowning]()
Can you show the screenshot please? Or the file - it will be even better :)
Did I understand you correctly - you have some dynamic waves set up (with B4W) and you want to bake it to the texture? Or like vertex animation? Anyway, if I got it right, then nope, because waves are generated in the engine, not in Blender

and everything looks like it is underwateNow I'm curious

09 October 2015 15:47
Hi Pavel. Thank you for the reply. The files are attached. I see the generated waves, which is great, but I think my confusion comes from this image in the documentation - https://www.blend4web.com/doc/en/_images/water_texture_setup_foam.png
As you can see in my example, the world is filled with water, has a weird texture and discolours everything :)
As you can see in my example, the world is filled with water, has a weird texture and discolours everything :)
09 October 2015 17:01
09 October 2015 17:07