Jump to content
  • Advertisement

Archived

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

AN_D_K

Blurring textures

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

Is there any way to blur textures in DirectX?I have a skybox running (the DirextX example one) but it''s looking very pixellated. I''ve seen it done in other peoples examples so is there some method I can use?

Share this post


Link to post
Share on other sites
Advertisement
Cheers for that. Knowing that I found a few things on the SDK help files about it so I should be able to do it now.

Share this post


Link to post
Share on other sites
The problem with using linear texture blending on skyboxes is that the pixels at the end of your texture become dark. This is because it's trying to blend with pixels outside the texture, which by default must then be 0. So in result, when you use a skybox with linear textures you see darker areas around the edjes.

To fix this, You should extend your quads in all directions for each side so that the user doesn't see the bordering. You can also enlarge your texture and copy the outlining pixels to create a border of them.

Edit: It's possible you won't have this problem. This was just with my experiences...

---
Brent Gunning | My Site

[edited by - RapidStunna on August 10, 2003 11:25:50 AM]

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!