Porting Goldsrc water to Unity Created 2 weeks ago2020-11-19 21:14:55 UTC by sindikatas sindikatas

Created 2 weeks ago2020-11-19 21:14:55 UTC by sindikatas sindikatas

Posted 2 weeks ago2020-11-19 21:14:55 UTC Post #344894
I want to create Goldsrc water in Unity, the one that waves up and down vertically. I know I could create an inimation of the water with other means, but I want the water to move exactly as it does in Goldsrc. I suppose Xash3D would help with this, but I could not find any code that does with rendering water in the codebase. Does anyone have any ideas?
Posted 2 weeks ago2020-11-20 07:33:58 UTC Post #344898
OpenGL does the wavy water rendering. All water within goldsrc is divided into 64x64 units (wave effects repeat throught all units). How far I know the water rendering is defined within other dlls. But you might want to check XashXT for water rendering code.
You must be logged in to post a response.