Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Scaling the detail on Detail Textures

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

What''s up with this subject? What does exactly concerns me is how do you set the detail on detail textures. You can scale them by working out the distance between the camera and the triangle being drawn (wouldn''t doing this be too slow if you check on every triangle every frame? if it''s slow, what other technique would you use?) And about the "detail"... Do you change the detail by reducing the alpha value? Closer, more opaque detail textures, farther more transparent. I really think I''m wrong with this idea since if it''s close enough, the blending between the detail and the actual texture would be lost. It''s just I can''t find an article about this!

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
your looking for a technique called mipmapping.

one of the first steps a renderer does is transform
a given polygon into screen space. from there a simple
check against the z value (or in some cases the 1/z)
can determine which mipmap level to use. most hardwares,
well everyone that ive ever worked with at least,
provide a scaling factor to adjust when mipmap levels

Share this post

Link to post
Share on other sites

  • 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!