Leadwerks Game Engine

Leadwerks Game Engine

评价数不足
Inexpensive Water
   
奖励
收藏
已收藏
取消收藏
Type: Material
文件大小
发表于
411.700 KB
2016 年 6 月 7 日 上午 11:02
1 项改动说明 ( 查看 )

订阅以下载
Inexpensive Water

描述
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 条留言
Kimi40 2017 年 4 月 13 日 下午 10:33 
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 2016 年 6 月 10 日 上午 9:41 
Thx
Leadwerks Software 2016 年 6 月 7 日 下午 5:52 
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.