Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 1,498 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Water and Terrain Shader #26636
04/24/04 00:17
04/24/04 00:17
Joined: Sep 2003
Posts: 547
Bavaria, Germany
R
robertternes Offline OP
Developer
robertternes  Offline OP
Developer
R

Joined: Sep 2003
Posts: 547
Bavaria, Germany
Hallo!

I read many posts about differnt shaders here, but never found something like this:

I'm searching for a...
  • MultiTexturing Shader, where two textures are blended and are used, of course, like a detailmap, so it looks really nice and realistic.
  • Water Shader, that looks like a river.


Both shader should be able to be used with terrains and sould have (important!) a "fallback" function, so the terrains are shown normally if the player's video card doesn't support Shaders.

Does anybody know something like this? You can answer in English and German
Thank you a lot!

Re: Water and Terrain Shader [Re: robertternes] #26637
04/24/04 03:13
04/24/04 03:13
Joined: Nov 2003
Posts: 1,380
Switzerland; Zurich
S
Sebe Offline
Serious User
Sebe  Offline
Serious User
S

Joined: Nov 2003
Posts: 1,380
Switzerland; Zurich
Hier im Forum gibt es durchaus etwas über Flüsse:
Rivershader

Wahrscheinlich ist gleich auch noch ein Terrain Shader dabei (hat 2 Dateien; Shader_River und Shader_Terrain), womit du also gleich ein Komplettpaket bekommen würdest

Re: Water and Terrain Shader [Re: robertternes] #26638
04/24/04 05:57
04/24/04 05:57
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Between all the vertex/pixel shaders, and the fixed-function terrain multitexturing threads, it would be easy to make an effect with all the fallback support. I have done that on my test project.
It goes....
Material
{
technique pixelshader 1.4
technique pixelshader 1.1-1.3
technique Fixed-function multitexture (3 stages/pass)
technique Fixed-function multitexture (2 stages/pass)
technique Fixed-function a colormap and a simple detailmap.
}
So... in my effect it should fallback as needed.

Now... the water thing. Thats easier said than done.
great water would be nice if we could get the environment reflection map to work correctly on entities other than spheres. It would also be nice to have a few more user-defined matrices at our disposal.
To have a great water effect with pixelshader 1.4, for example, it is going to be hard to replicate a that in lesser version or FFP. FFP BumpEnvMap can do a good job, but then there may be a fair amount of cards that don't support that effect.
I am working on fallback water stuff currently. Just trying to make the best with what is at hand.

I think when everything gets hammered out, the Wiki will have a very good supply of ready to use effects and whatnot. When it is all said and done, I will post my code with all the fallbacks and hopefully simple instructions for those who care less how the effects work but just care that they work.

Eric


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