Archived

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

AN_D_K

Blurring textures

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