Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualkauna

Posted 17 October 2012 - 06:18 AM

Well, choosing the right shader model may not be that easy, since not all the shaders can be compiled with a lower level shader model.

And if they can be compiled with a lower level model, why not use it then? It used to be recommeded to use the lowest shader model level which works.

However, you'll need to see which shader models are supported by your friends machine and if they are too low, then you may either say "sorry, my program won't support that shader model level" or you may write an alternative shader for low level hardware.

Programs won't typically crash if error's are handled correctly. So add error handling to your shader loading code and see what is the exact error. Shader compiling functions give very very precise information on the error.

Otherwise, if you and your friends are using Windows Vista or later, you should be ok with Shader Model 4 which is pretty good already.

Cheers!

#1kauna

Posted 17 October 2012 - 06:17 AM

Well, choosing the right shader model may not be that easy, since not all the shaders can be compiled with a lower level shader model.

And if they can be compiled with a lower level model, why not use it then? It used to be recommeded to use the lowest shader model level which works.

However, you'll need to see which shader models are supported by your friends machine and if they are too low, then you may either say "sorry, my program won't support that level" or you may write an alternative shader for low level hardware.

Programs won't typically crash if error's are handled correctly. So add error handling to your shader loading code and see what is the exact error. Shader compiling functions give very very precise information on the error.

Otherwise, if you and your friends are using Windows Vista or later, you should be ok with Shader Model 4 which is pretty good already.

Cheers!

PARTNERS