Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/26/24 12:45
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 9 1 2 3 4 5 6 7 8 9
Realtime water reflections shader #40438
02/03/05 10:32
02/03/05 10:32
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline OP
Expert
XNASorcerer  Offline OP
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
How can I do that?

Re: Realtime water reflections shader [Re: XNASorcerer] #40439
02/03/05 11:40
02/03/05 11:40
Joined: Aug 2004
Posts: 2,215
I
ISG Offline

Expert
ISG  Offline

Expert
I

Joined: Aug 2004
Posts: 2,215
You should really get use to using the 'Search' feature with these forums. Steempipe has recently released his source of his Water Shader you can find here:
http://www.conitecserver.com/ubbthreads/showflat.php?Cat=&Board=SHADER&Number=446910&page=0&view=collapsed&sb=5&o=&fpart=1
And I am sure there have been at least one or two other releases in the past, but you shouldn't post without looking.

Hope that helps though.


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE
Re: Realtime water reflections shader [Re: ISG] #40440
02/03/05 11:51
02/03/05 11:51
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline OP
Expert
XNASorcerer  Offline OP
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Thanks, but this is not a Realtime water reflection shader.

Re: Realtime water reflections shader [Re: XNASorcerer] #40441
02/03/05 11:59
02/03/05 11:59
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
To do realtime reflections, you must render the scence to a texture using a clipping plane at the surface of the water, this must be done in a DLL i think.
Then you map the result projectively on the water.

Re: Realtime water reflections shader [Re: Matt_Aufderheide] #40442
02/04/05 03:17
02/04/05 03:17
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline OP
Expert
XNASorcerer  Offline OP
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Why in a dll?

Re: Realtime water reflections shader [Re: Matt_Aufderheide] #40443
02/04/05 03:30
02/04/05 03:30
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
In Antwort auf:

using a clipping plane at the surface of the water, this must be done in a DLL i think.




This can be done in the pixelshader (2.0) with the "clip()" instruction. I use this in my contest entry "Water Shader Demo".

Re: Realtime water reflections shader [Re: oliver2s] #40444
02/04/05 04:01
02/04/05 04:01
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline OP
Expert
XNASorcerer  Offline OP
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Could please, post the code?

Re: Realtime water reflections shader [Re: XNASorcerer] #40445
02/04/05 04:49
02/04/05 04:49
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
The code is unpacked in the demo: water_shader.zip.
I will post the code with a "how to implement" text soon. But at the moment I have no time.

Re: Realtime water reflections shader [Re: oliver2s] #40446
02/04/05 07:06
02/04/05 07:06
Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
XNASorcerer Offline OP
Expert
XNASorcerer  Offline OP
Expert

Joined: Dec 2001
Posts: 2,172
Portugal - Brazil
Quote:

I will post the code with a "how to implement" text soon.




Thank you. I will wait eagerly!

Re: Realtime water reflections shader [Re: XNASorcerer] #40447
02/04/05 08:48
02/04/05 08:48
Joined: Jul 2003
Posts: 893
Melbourne, Australia
Matt_Coles Offline

User
Matt_Coles  Offline

User

Joined: Jul 2003
Posts: 893
Melbourne, Australia
You'll have to use Render To Texture only available in the pro demo to get realtime reflection in the water in your open source demo. Right Oliver?

Or have you got an dll like the zeraphine x3 engine plugin to do this?

Page 1 of 9 1 2 3 4 5 6 7 8 9

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