Jump to content
  • Advertisement
Sign in to follow this  
chronos

When does MaxTextureRepeat become an issue?

This topic is 3536 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

Do the limits on texture coordinates imposed by MaxTextureRepeat only become an issue during calls to texture lookup functions such as Tex2D, or do the limits come into play even before the sampling instruction is executed? I wish to know whether it's possible to avoid the MaxTextureRepeat limitation by calling frac() on the texture coordinates before passing them on to the texture lookup function.

Share this post


Link to post
Share on other sites
Advertisement
Using frac should solve the problem, though I'm not sure if it'd have an effect on interpolation (e.g., 0.9 to 1.1 vs. 0.9 to 0.1).

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!