0 registered members (),
1,321
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Probleme mit Wassershader
[Re: JeremyB]
#31696
08/19/04 04:41
08/19/04 04:41
|
Joined: Jul 2004
Posts: 1,710
MMike
Serious User
|
Serious User
Joined: Jul 2004
Posts: 1,710
|
okay thax..it help .. But What does the :
eg:
1st var does and the 3.0f and the 0.0f and then 0.0f ..They correspond to what?
VertexShaderConstant[15]={3.0f, 3.0f, 0.0f, 0.0f};
Another thing.. Can i get the water slower! it goes too fast!
Changed to this but stills fast:
VertexShaderConstant[11]={0.0001f, 0.001f, 0.0f, 0.0f};
VertexShaderConstant[12]={0.0001f, -0.0002f, 0.0f, 0.0f};
VertexShaderConstant[13]={0.0002f, 0.0030f, 0.0f, 0.0f};
And How can I put the water transparent!?? Tryed with alpha map ..but i didn't work!
Thax For your help again :P
Last edited by Unknot; 08/19/04 04:49.
|
|
|
Re: Probleme mit Wassershader
[Re: doggie96]
#31701
08/21/04 00:44
08/21/04 00:44
|
Joined: Jun 2003
Posts: 1,017 Germany
Thomas_Nitschke
Senior Developer
|
Senior Developer
Joined: Jun 2003
Posts: 1,017
Germany
|
Allright thanks a lot Steempipe it looks great!
Just one more question: It seems that, although the colormap is moved, the bummap stays absolutely static, which does look good in screenshots but makes it seem unreal in the game itself because the water alwas has the same wave-shape. What would I have to add to the effect if I wanted to scroll the bumpmap as well, preferably in the opposite direction as the colormap?
EDIT:
Oh and something else coming to my mind: What would I have to modify if I whant the water to be influenced by camera.ambient or, if that isn't possible, by sun_light?
Last edited by The Matrix; 08/21/04 02:44.
Formerly known as The Matrix - ICQ 170408644
I've been here for much longer than most people think. So where's my "Expert" status?
|
|
|
|