Original Post
Hi, I need to filter my shadowmap textures to make the shadows blury. I got two filters the user can select from. The first is a simple linear filter, using a shader of version 1.1. The second one is a gaussian filter which uses PS 2.0. The user can also select the size of the shadowmaps. I think the engine will support sizes of 768, 1024, 1536 and 2048 pixels. Now the problem is that the gaussian filter (PS 2.0) doesn't work on rendertagets which are not power of 2 (1536 for example). The resulting image has some vertical stripes in it, but nothing that looks like the expected picture. However, It works perfectly on textures which are power of two. The linear filter (PS 1.1) works on every texture size. My graphics device is a Radeon 9800. Is this behaviour documented somewhere? Is there any Direct3D flag I can check? [Edited by - vokuhila on August 21, 2006 5:08:04 PM]