Gamestudio Links
Zorro Links
Newest Posts
freewhyblogelsewhere
by 9489cpjf. 06/03/24 06:06
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,321 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 1
Page 3 of 4 1 2 3 4
Re: Probleme mit Wassershader [Re: JeremyB] #31696
08/19/04 04:41
08/19/04 04:41
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
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: Steempipe] #31697
08/19/04 20:03
08/19/04 20:03
Joined: Jun 2003
Posts: 1,017
Germany
T
Thomas_Nitschke Offline
Senior Developer
Thomas_Nitschke  Offline
Senior Developer
T

Joined: Jun 2003
Posts: 1,017
Germany
In Antwort auf:

Try this version water and you *may* see other than black. Good luck!
web page




Just tried this compilation on my geForce 4 ti card - it worked perfectly! I thought this needed ps 1.4? As far as I'm concerned here, it doesn't! It would be great if you could post the code for this example here because this one seems very usable!


Formerly known as The Matrix - ICQ 170408644 I've been here for much longer than most people think. So where's my "Expert" status?
Re: Probleme mit Wassershader [Re: Thomas_Nitschke] #31698
08/20/04 05:07
08/20/04 05:07
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Here's the thread where I put all the water effects I played with.
web page

You will want to look at "water test 5" post.

Eric

Re: Probleme mit Wassershader [Re: Steempipe] #31699
08/20/04 19:24
08/20/04 19:24
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
So the Tga map has an alpha channel, and its not necessary to assign my.transparent=on;

But it look great, the final effect is this:


Re: Probleme mit Wassershader [Re: Sebe] #31700
08/20/04 23:16
08/20/04 23:16
Joined: Jul 2004
Posts: 22
D
doggie96 Offline
Newbie
doggie96  Offline
Newbie
D

Joined: Jul 2004
Posts: 22
gj looks good for an ocean

Re: Probleme mit Wassershader [Re: doggie96] #31701
08/21/04 00:44
08/21/04 00:44
Joined: Jun 2003
Posts: 1,017
Germany
T
Thomas_Nitschke Offline
Senior Developer
Thomas_Nitschke  Offline
Senior Developer
T

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?
Re: Probleme mit Wassershader [Re: Thomas_Nitschke] #31702
08/21/04 03:56
08/21/04 03:56
Joined: May 2004
Posts: 43
J
JeremyB Offline
Newbie
JeremyB  Offline
Newbie
J

Joined: May 2004
Posts: 43
Are you sure you aren't just loading the noise map as the base map and the base map as the noise?

Re: Probleme mit Wassershader [Re: JeremyB] #31703
08/21/04 21:02
08/21/04 21:02
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
Jeremy ur talking to who?

Re: Probleme mit Wassershader [Re: MMike] #31704
08/22/04 10:08
08/22/04 10:08
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
A blood pool



Re: Probleme mit Wassershader [Re: JeremyB] #31705
08/22/04 19:37
08/22/04 19:37
Joined: Jun 2003
Posts: 1,017
Germany
T
Thomas_Nitschke Offline
Senior Developer
Thomas_Nitschke  Offline
Senior Developer
T

Joined: Jun 2003
Posts: 1,017
Germany
In Antwort auf:

Are you sure you aren't just loading the noise map as the base map and the base map as the noise?



I guess that was meant for me
No, I don't, I'm sure I load the bitmaps correctly. I found out that this was more a scaling issue though. My second questions would be of interest much more now I think because I need the shader in a game with day- and night change so it would look a bit crappy having a dark world with completely li water in it


Formerly known as The Matrix - ICQ 170408644 I've been here for much longer than most people think. So where's my "Expert" status?
Page 3 of 4 1 2 3 4

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1