Jump to content
  • Advertisement
Sign in to follow this  
evanofsky

HLSL tex2DBias()

This topic is 4948 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Kind of a side track question: what is the range of tex2DBias? I mean, how can I bias the MIP level to be the minimum size, set the second argument to -1? Then to set it to the max size I'd set it to 1?

Share this post


Link to post
Share on other sites
Advertisement
I don't imagine there's a real specific range. Set it to some high positive number, and see what you get. Of course, it's better if you know how many mip levels you have, or can discern it and set it into a pshader constant.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!