float max value

Started by
0 comments, last by clb 11 years, 6 months ago
In C++ to make a float be the max value, I have to write:
float a =FLT_MAX;
how do I do this in HLSL?
Advertisement
I see FLT_MAX defined to 3.402823466e+38F. Perhaps you can try setting a variable to that value directly?

This topic is closed to new replies.

Advertisement