Qpalzmx
Member
|
Questions about Water
Hello,
I created a lake in World Editor.
In the rendering tutorial 23, the Water class is used.
Is it possible to access the lake in code?
When I run the app, the lake is quiet like frozen.
How to make it waved?
Thanks!
(This post was last modified: 01-26-2010 05:11 AM by Qpalzmx.)
|
|
01-26-2010 05:07 AM |
|
zyzix
Member
|
RE: Problems about Water
Be sure to have all the correct materials applied, in the Update() Section you should have
Code:
// update water waves movement
Water.update(Vec2(0.01,0.01));
|
|
01-26-2010 05:12 AM |
|