Skip to main content
GameDev.net gamedev.net
🔒 Locked

When does MaxTextureRepeat become an issue?

Started by chronos Oct 11, 2008 at 4:54 PM 0 replies 1.4k views
Original Post
chronos
chronos
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.
ET3D
ET3D
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).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.