Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Dark shader shaders will run on SM 2.0 onboard GPUS ?

Author
Message
Juggernaut
14
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 21st Jul 2013 13:39
Hello,

Can anybody please confirm whether the shaders that come with Dark Shaders will run on SM 2.0 supported onboard GPUs / Graphics chips ?

What that the community contributed shader bundle ? Do they run on
SM 2.0 supported onboard GPUs / Graphics chips ?

Please confirm.

Thanks,
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 21st Jul 2013 15:32
Yes.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 21st Jul 2013 20:02
Not quite - a few require somewhat higher versions such as PS2.x. Whether that counts as SM2 I'm not sure.
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 21st Jul 2013 20:26
Really? I learned something new today.

Juggernaut
14
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 21st Jul 2013 21:26
Quote: "Not quite - a few require somewhat higher versions such as PS2.x. Whether that counts as SM2 I'm not sure. "


Which ones does not work on shader model 2.0 GPUs ?
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 22nd Jul 2013 03:06
Quote: "Which ones does not work on shader model 2.0 GPUs ?"


Depends on which SM2 GPU you are talking about. For example, PS2a is associated with nVidia GPUs and PS2b with ATI. The main reason for those pixel shader variations is that they allow slightly larger instruction counts than minimal SM2. I can only suggest you check out the specific GPUs you are interested in. I'm not aware of any GPUs that only support pure SM2 - but then I haven't looked for them.

Examples of shaders which are affected are:

Full-Screen
-----------
ColorHighlight.dbs (has two techniques - one for PS2a and one for PS2b)

DepthOfField.dbs (uses PS2a - no idea why there isn't a technique for PS2b)

Object Shaders
--------------

CartoonObject.dbs (uses PS2a)

Relief.fx (uses PS2a)


Some of those shaders could probably be rewritten using pure PS2 by using more passes.
Juggernaut
14
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 22nd Jul 2013 07:22
Green Gandalf: Thank you for the explanation. Is there any update of the community contributed Ultimate Shader Pack that was released in
2006, not considering the ones available from Evolved ?

Chris Tate: Thank you for the confirmation.
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 23rd Jul 2013 22:14
You're welcome.

I second Green Gandalf's last point.

Login to post a reply

Server time is: 2026-07-07 00:49:30
Your offset time is: 2026-07-07 00:49:30