Leadwerks Game Engine

Leadwerks Game Engine

Not enough ratings
Inexpensive Water
   
Award
Favorite
Favorited
Unfavorite
Type: Material
File Size
Posted
411.700 KB
7 Jun, 2016 @ 11:02am
1 Change Note ( view )

Subscribe to download
Inexpensive Water

Description
A water material used for CSG brushes. Apply it to the top face of a brush, and add the CheapWater.lua script to it. Make sure the material matches the material you applied on the face is the same. The script is so the normal animates.

Reflections are done using the new probes in 4.1!

I modded a script that Shadmar wrote a while ago, so some script credit goes to him...
3 Comments
Kimi40 13 Apr, 2017 @ 10:33pm 
Hi Reepblue and everybody. Is this still works with latest leadwerks 4.3 ? I got this strange result
https://www.dropbox.com/s/vn1wau04wv5qucg/Cheapwater%20bug.jpg?dl=0
[RUS] NeneroG 10 Jun, 2016 @ 9:41am 
Thx
Leadwerks Software 7 Jun, 2016 @ 5:52pm 
One idea I have in the future is for materials to actually have a script you can set. It would have an enable and a disable function that would be called before and after rendering.