Jump to content

[SOLVED] How is s_water_time implemented


photo

Recommended Posts

Posted

Hello,

I would like to ask how the s_water_time shader parameter is implemented. As far as I can tell it is a seconds based timer.

If my assumption is correct, my question would be, if that timer is resetted to zero after a certain amount of time ?

I'm asking this, because I'm working on a displacement map based wave implementation and I know that a seconds based timer which is never resetted is running into precision problems after 2-4 weeks or so.

Thanks

Helmut

Posted

Hello Silent,

thank you for that piece information. I'm indeed using a ObjectWaterMesh but I can easily implement a timer for my use case. Just wanted to know how s_water_time behaves :-)

Cheers,

 Helmut

  • silent changed the title to [SOLVED] How is s_water_time implemented
×
×
  • Create New...