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.
IF GET MAXIMUM VERTEX SHADER CONSTANTS() <= 0
CENTER TEXT 400,300,"Sorry. Your hardware does not support Vertex Shaders! Press any key to exit." : WAIT KEY : END
ENDIF
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