Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 04/24/26 17:48
ZorroGPT
by TipmyPip. 04/23/26 14:23
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,379 guests, and 15 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Double Siding Using Shader or Geometry? #24471
03/22/04 11:36
03/22/04 11:36
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan


Would a model render faster if it has the double sided polygons made using geometry, or by applying a shader?



Re: Double Siding Using Shader or Geometry? [Re: A.Russell] #24472
03/22/04 16:24
03/22/04 16:24
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
remember that your targetmachine must have shaders if u use the cullmode thing

i prefer doing it with shaders, its pretty fast


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Double Siding Using Shader or Geometry? [Re: A.Russell] #24473
03/23/04 02:26
03/23/04 02:26
Joined: Aug 2003
Posts: 183
BionicHero Offline
Member
BionicHero  Offline
Member

Joined: Aug 2003
Posts: 183
I'm not 100% sure but I really think that just setting cullmode to NONE (it was NONE, right?) would be the fastest (and also easiest) way.

Re: Double Siding Using Shader or Geometry? [Re: BionicHero] #24474
03/23/04 03:44
03/23/04 03:44
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
If I understand you right, you want to switch off backface culling (Cullmode = none). This will reduce the frame rate, and only makes sense for a 'flat' model, like a billboard, when you want both sides of the model polygons to be seen.

This has nothing to do with shaders and thus the target machine does not matter.

Re: Double Siding Using Shader or Geometry? [Re: jcl] #24475
03/23/04 04:34
03/23/04 04:34
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
thanx for clearing this up. but i dont share your opinion on the use of cullmode. think of crystals or water, or did u have a look at my little demo, without cullmode=0 it wouldnt look how it looks


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Double Siding Using Shader or Geometry? [Re: ello] #24476
03/23/04 05:11
03/23/04 05:11
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
Sure it makes a difference for transparent objects aswell.


Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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