Babulesnik
Member
|
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 |
|
PRG3D
Member
|
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 |
|
Babulesnik
Member
|
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 |
|
PRG3D
Member
|
RE: water and the clouds do not move
Water.density = 0...1;
|
|
06-04-2011 04:35 PM |
|
Babulesnik
Member
|
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 |
|