Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, TipmyPip, AndrewAMD), 1,209 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to get vertex shader version of the videocard? #407246
09/10/12 08:06
09/10/12 08:06
Joined: Aug 2012
Posts: 14
Aquilis Offline OP
Newbie
Aquilis  Offline OP
Newbie

Joined: Aug 2012
Posts: 14
I'm using some shaders from the mtlFx library (escpecially the terrain multi-texturing), but video adapters that don't support Pixel/vertex shader 2.0 or newer, can't display them and the terrain and models become rly ugly on the older PCs. frown

So, I think to make the game recognize the shader model when it starts, and if it's not supported, an error message will appear. But how the game could get that system parameter? I checked sys_metrics() , but there isn't shader model parameter at all. Any ideas?

Re: How to get vertex shader version of the videocard? [Re: Aquilis] #407247
09/10/12 08:11
09/10/12 08:11
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
d3d_shaderversion can help


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: How to get vertex shader version of the videocard? [Re: Aquilis] #407248
09/10/12 08:14
09/10/12 08:14
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Look up "d3d_shaderversion" in the manual...

[EDIT] GAH! Ive been ninja'ed!

Last edited by EvilSOB; 09/10/12 08:15.

"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: How to get vertex shader version of the videocard? [Re: sivan] #407249
09/10/12 08:17
09/10/12 08:17
Joined: Aug 2012
Posts: 14
Aquilis Offline OP
Newbie
Aquilis  Offline OP
Newbie

Joined: Aug 2012
Posts: 14
Exactly what i need. Thx.


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