• Gmod Water Lua Help
    3 replies, posted
Hello guys, I recently made a bit of code the can detect when your enclosed in an object when your underwater(For underwater submarines/So you do not drown). But even know I can detect this I do not know how to stop Gmod from rendering the ugly wavy effect. Is there a way in lua code to stop this? If so than how?
Bump?
Not sure if it's possible to stop it with LUA. It looks like the water overlay is actually applied based on the water material itself. [url]https://developer.valvesoftware.com/wiki/Water_%28shader%29[/url] Wish I could be of more help. :\
Thanks this gives me the floats for changing that texture. Once I figure out how to disable /enable it through lua. I know you can with the render library somehow because I have seen it before. Thanks!
Sorry, you need to Log In to post a reply to this thread.