Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (TipmyPip, clint000, Grant, chsmac85, Martin_HH), 5,858 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Differences between shader versions? #54466
09/08/05 17:29
09/08/05 17:29
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline OP
Senior Expert
ulillillia  Offline OP
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
What are the differences between the various shader versions? There's 1.0, 1.1, 2.0 and, recently, 3.0. What are the differences between the shader versions? More features? Faster to render?


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Differences between shader versions? [Re: ulillillia] #54467
09/08/05 18:32
09/08/05 18:32
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
the higher the shader version the more instructions and the more possibilities and faster (because the gpu's are getting faster while higher shaderversions are developed and implemented)

its clear that a ps_1_1 shader with one instruction is faster than a 3.0 shader with 100 instructions.

the precision has changed from 1.4 to 2.0 which gives you softer shades for example

soon, i'll have a gf6800 maybe tomorrow and than there are no more limits

Re: Differences between shader versions? [Re: ello] #54468
09/09/05 13:37
09/09/05 13:37
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Generally lower shader versions will do the same task faster than a higher version, if only a little bit. this is because of certain hardware and driver optimizations. The general rule is, use the lowest shader version possible for the effect you want to achieve.

Re: Differences between shader versions? [Re: Matt_Aufderheide] #54469
09/09/05 13:41
09/09/05 13:41
Joined: Aug 2005
Posts: 1,230
M
MichaelGale Offline
Serious User
MichaelGale  Offline
Serious User
M

Joined: Aug 2005
Posts: 1,230
I'm using in all of my shaders shadermodel 3.0, because it's running faster then 2.0 on my GeForce 6600GT.

And if you're developing now a game, you can be sure that Shadermodel 3.0 is the default in the next year.

And don't forget, only NVidia GeForce 6600GT/6800GT/7800GT/7800GTX supports Shadermodel 3.0.


Your friendly mod is at your service.
Re: Differences between shader versions? [Re: MichaelGale] #54470
09/09/05 13:44
09/09/05 13:44
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Model 3 will not be 'default' next year. You will be lucky if model 2.0 will be.

Re: Differences between shader versions? [Re: Matt_Aufderheide] #54471
09/09/05 13:48
09/09/05 13:48
Joined: Aug 2005
Posts: 1,230
M
MichaelGale Offline
Serious User
MichaelGale  Offline
Serious User
M

Joined: Aug 2005
Posts: 1,230
Shadermodel 3.0 will be the default on NVidia hardware, what is with ATI I cannot say. But games which are supported by NVidia will use Shadermodel 3.0 as their default. Look at Unreal Tournament 2007 which will be realeased next year: The unreal 3 engine is using shadermodel 3.0 as default.


Your friendly mod is at your service.
Re: Differences between shader versions? [Re: MichaelGale] #54472
09/09/05 16:12
09/09/05 16:12
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
Not as default, only as highest of all supported shader versions. But UT2007 will also run with 2.0 and lower cards - hardly anybody would even be able to play it if it only runs with 3.0.

Re: Differences between shader versions? [Re: Sebe] #54473
09/09/05 16:25
09/09/05 16:25
Joined: Aug 2005
Posts: 1,230
M
MichaelGale Offline
Serious User
MichaelGale  Offline
Serious User
M

Joined: Aug 2005
Posts: 1,230
You're right LordSebe, but I mean the default as the highest what is possible, and UT07 will not look as good as with Shadermodel 3.0.
And did you see what UT07 requires at hardware? I think I can't run it at the highest settings. I need a GeForce 7800GTX or better two!


Your friendly mod is at your service.
Re: Differences between shader versions? [Re: MichaelGale] #54474
09/09/05 17:44
09/09/05 17:44
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
It will probably look the same in any shader version. As far as i know, it's not doing anything so amazing.

Re: Differences between shader versions? [Re: Matt_Aufderheide] #54475
09/09/05 18:09
09/09/05 18:09
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Rhuarc Offline
Expert
Rhuarc  Offline
Expert

Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
The only difference between shader versions when you're compiling the same shader for different compile targets is accuracy- and this is mostly between ps1.x and ps2.0. Other than that, there won't be any visual difference. If the shaders don't compile on lower compile targets (due to too many instructions, unsupported instructions etc.), then you will have a possible visual degration because the code had to be simplified to fit in the constraints of the compile target.

-Rhuarc


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog

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