
Shader is taken from violence 4.2. I've modified it slightly just to make it draw underneath water instead of on top of it.
Lava shader/gadget: http://pastebin.com/GrDNLyFn
I've tried it with texture sizes 1024 and 512, neither have any effect.
Moderator: Moderators
Code: Select all
DrawGroundHuggingSquare(1,1,1,1, -4*Game.mapX*256, -4*Game.mapY*256, 5*Game.mapX*256, 5*Game.mapY*256 ,SYNCED.lavaLevel) --***map.width bla