Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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
3 registered members (7th_zorro, AndrewAMD, TedMar), 1,306 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 3
terrain-shader like farcry... #36494
11/19/04 02:06
11/19/04 02:06
Joined: Sep 2003
Posts: 48
germany
sane Offline OP
Newbie
sane  Offline OP
Newbie

Joined: Sep 2003
Posts: 48
germany
hi,

my biggest problem when i am using a multi-terrain-shader is the framerate and the distant parts of the terrain.

the framerate is about 10 frames per second and the distance doesn't look good at all...



because you all seem to have good experience with shader-programming, what about this:



a shader that only shows the detail-textures when the camera-position is at a specific distance.

beyond this distance (the grey area in the example) you would only see something like a ground texture for example:



and for the detail-stuff:



just as example.

the a6 engine uses a very similar system with a command like "detail_size=32", but only one detail-texture can be used and without the blending in the distance.

Has anybody an idea, how to build a awesome shader like this?


---------------------------------- www.xiron.de
Re: terrain-shader like farcry... [Re: sane] #36495
11/19/04 03:32
11/19/04 03:32
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
your terrain would have another lighteness in the distance. i think it'll look kinda ugly
but why do you use 4 (!) detail textures? one or two are far enough to my experience.

Re: terrain-shader like farcry... [Re: Joey] #36496
11/20/04 08:54
11/20/04 08:54
Joined: Sep 2003
Posts: 48
germany
sane Offline OP
Newbie
sane  Offline OP
Newbie

Joined: Sep 2003
Posts: 48
germany
the first textur of the hmp should cover the whole hmp once.
beaches or paths are already on this skin.
the others are detail-textures which turn the background-color of the first texture more dark or more light.
like the old detail-stuff from a6 (or maybe already a5 i am not sure anymore).
in the distance the detail-textures should dissappear to lift up the framerate...


---------------------------------- www.xiron.de
Re: terrain-shader like farcry... [Re: sane] #36497
11/21/04 11:50
11/21/04 11:50
Joined: Sep 2003
Posts: 48
germany
sane Offline OP
Newbie
sane  Offline OP
Newbie

Joined: Sep 2003
Posts: 48
germany
i think a shader like this would help a lot of people who have got problems with the framerate when they number up the camera.clip_far and i hope this shader can lift the framerate.


---------------------------------- www.xiron.de
Re: terrain-shader like farcry... [Re: sane] #36498
11/30/04 17:39
11/30/04 17:39
Joined: Dec 2003
Posts: 266
Celle
task1 Offline
Member
task1  Offline
Member

Joined: Dec 2003
Posts: 266
Celle
have no idea.sorry man


visit my pages: www.xiron.de ICQ: 335016379 Messenger: lalimited@hotmail.com

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