What is an half4 and half for Xoliulshader? gonna use it in D3D9?
Crossbones+ - Reputation: 2550
Posted 09 November 2012 - 09:59 PM
Software Engineer - Skybox Labs
Moderators - Reputation: 19263
Crossbones+ - Reputation: 2302
Posted 10 November 2012 - 12:34 PM
But beware that if you're using new hardware, you may miss a few bugs. I've had a case where a half was overflowing it's 16-bit precision, but on new HW it worked correctly because it was just being calculated in 32-bit precision.
When we tried it on old HW (an nForce 6150 & an Intel Mobile 4 Series to be exact), all hell break loose; and had to change a few variables from half to float (and add a clamp statement for a few halfs).
Members - Reputation: 454
Posted 11 November 2012 - 04:49 AM
Edited by lucky6969b, 11 November 2012 - 04:50 AM.