🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DirectX dwMaxTextureRepeat=0????

Started by
0 comments, last by NightShade 24 years, 6 months ago
Hi, I have a STB Velocity 4400 card. The caps are: dwMaxTextureRepeat = 0 D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE = false. Does this mean my texture coordinate values are limited to the great range of zero through (and including?) zero??! The D3D docs would have me believe that. Does anyone know if they just forgot to say "If dwMaxTextureRepeat is zero, then you''re stuck with values from 0 to 1, (or maybe -1 to 1)??? Bah at bugs and omissions in documentation! -ns-
-ns-
Advertisement
Ok, I kind of answered this for myself today:
Zero must mean the only valid values are 0.0 to 1.0.
I changed all values to fall within this range (and adjusted the textures to fit) and it fixed it.


-ns-
-ns-

This topic is closed to new replies.

Advertisement