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.

Newcomers DBPro Corner / Testing for Vertex Shader Support

Author
Message
FoxBlitzz
20
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 18th Jan 2004 05:31
Hi, I'm trying to make a tech demo in DBPro, and I need to test to see if the computer's hardware supports vertex shaders. If they aren't supported, the program should tell the user that his hardware doesn't support vertex shaders. However, it's not working.



There is no availability expression that tests for this, so I thought that testing for the maximum vertex shader constants would work, but it doesn't. On the computer I tested it on, it says "Please Wait." and it loads the scene, except the cube that should have a reflection doesn't have one. Does anyone know how to do this?

HP Pavilion | Intel Pentium 4 CPU 2.40 GHz
512 MB Ram | NVIDIA GeForceFX 5600 AGP, with 256 MB Ram
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 18th Jan 2004 11:34 Edited at: 18th Jan 2004 11:34
Have you tried using GET MAXIMUM VERTEX SHADER VERSION() instead?
FoxBlitzz
20
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 18th Jan 2004 17:31
No, I haven't. I'll try that one. Thanks!

HP Pavilion | Intel Pentium 4 CPU 2.40 GHz
512 MB Ram | NVIDIA GeForceFX 5600 AGP, with 256 MB Ram

Login to post a reply

Server time is: 2024-09-21 15:55:42
Your offset time is: 2024-09-21 15:55:42