Making water which distorts what is below Topic is solved

Problems building or running the engine, queries about how to use features etc.
slapin
Bronze Sponsor
Bronze Sponsor
Posts: 146
Joined: Fri May 23, 2025 5:04 pm
x 5

Making water which distorts what is below

Post by slapin »

Ogre Version: master branch
Operating System: Ubuntu 22.04
Render System: OpenGL ES 2.0

Hi, all!
I need to implement stylized water for Open GL ES 2.0. This water should allow stuff below/submerged to be visible and distorted by moving water.
So it should read previous pass pixel data and distort these. In Godot that is "screen reading shader". Is there similar tech in Ogre or some better way?

rpgplayerrobin
Orc Shaman
Posts: 752
Joined: Wed Mar 18, 2009 3:03 am
x 421

Re: Making water which distorts what is below

Post by rpgplayerrobin »

There is a Fresnel sample regarding this.

slapin
Bronze Sponsor
Bronze Sponsor
Posts: 146
Joined: Fri May 23, 2025 5:04 pm
x 5

Re: Making water which distorts what is below

Post by slapin »

Thanks a lot!