About water effects

Hello, how can i make a water effect for a river? Why material specular reflect just skybox and not other entities? I have made a temporary test but don’t like it much https://launch.playcanvas.com/898756?debug=true

Hi @ayrin! I can’t answer your questions, but earlier today I saw the project below. Maybe it will help you.

https://developer.playcanvas.com/en/tutorials/simple-water-surface/

3 Likes

Hi @ayrin,

IMO this would be done best with a shader. You can find a blog that discusses a GLSL water ripple effect shader here. The tutorial on how to integrate a custom shader into PlayCanvas can be found [here].(https://developer.playcanvas.com/en/tutorials/custom-shaders/)

Hope this helps!

1 Like

@Albertos that project show exactly what i mean. it reflect just the cubemap
@DevilZ thanks already went through that tutorial

1 Like

I just found this as well, not sure if you’ve gone through it, but it’s a very well developed water effect - https://www.fabiensanglard.net/fluide/.

1 Like

Real time reflections can be expensive. We do now have a render to cubemap texture feature that you can try: http://playcanvas.github.io/#graphics/render-to-cubemap.html

2 Likes

Ok @yaustar, since it’s expensive i will skip on that.
And i guess i have found a way to make river waves more realistic…bit expensive too :stuck_out_tongue:
Thanks to everybody

1 Like

Given up in the end, and made a basic water flow, not very realistic but it can do for now.