About Store Forum Documentation Contact



Post Reply 
water and the clouds do not move
Author Message
Babulesnik Offline
Member

Post: #1
water and the clouds do not move
Why is water and the clouds do not move as in WE ?
06-04-2011 03:29 PM
Find all posts by this user Quote this message in a reply
PRG3D Offline
Member

Post: #2
RE: water and the clouds do not move
in Create:
Code:
Clouds.layered.set(1,Images("Gfx/Sky/cloud.gfx"));

//water
Water.images(Images("Gfx/Water/0.gfx"),Images("Gfx/Water/0.n.gfx"),Images("Gfx/Water/reflection.gfx"));
Water.draw        =true;
Water.wave_scale=0.8f;
Water.plane.pos    =Vec(0,-1.5,0);

In update:
Code:
Clouds.layered.update();
Water.update(Vec2(0.01f,0.01f));
(This post was last modified: 06-04-2011 03:35 PM by PRG3D.)
06-04-2011 03:34 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #3
RE: water and the clouds do not move
(06-04-2011 03:34 PM)PRG3D Wrote:  in Create:
Code:
Clouds.layered.set(1,Images("Gfx/Sky/cloud.gfx"));

//water
Water.images(Images("Gfx/Water/0.gfx"),Images("Gfx/Water/0.n.gfx"),Images("Gfx/Water/reflection.gfx"));
Water.draw        =true;
Water.wave_scale=0.8f;
Water.plane.pos    =Vec(0,-1.5,0);

In update:
Code:
Clouds.layered.update();
Water.update(Vec2(0.01f,0.01f));
Thank you very much. Another question.How to make the water clearer. The settings could not get the result.
06-04-2011 04:03 PM
Find all posts by this user Quote this message in a reply
PRG3D Offline
Member

Post: #4
RE: water and the clouds do not move
Water.density = 0...1;
06-04-2011 04:35 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #5
RE: water and the clouds do not move
(06-04-2011 04:35 PM)PRG3D Wrote:  Water.density = 0...1;
Thank you so much!!!!!



(06-04-2011 04:35 PM)PRG3D Wrote:  Water.density = 0...1;
Thank you very much!!!!!
(This post was last modified: 06-04-2011 05:21 PM by Babulesnik.)
06-04-2011 05:21 PM
Find all posts by this user Quote this message in a reply
Post Reply