Skip to main content
GameDev.net gamedev.net
🔒 Locked

Strange artifacts on my blur shader

Started by M4573R Nov 20, 2009 at 5:53 PM 1 replies 500+ views
Original Post
M4573R
M4573R
When I render a texture with my blur shader, there are artifacts all over the place in a grid-like pattern. The only thing I can think of is that it's pulling it garbage values from somewhere. The blur shader worked fine for other things.
MJP
MJP
I would suggest that you capture a frame with PIX and analyze it. You can...

-Inspect the contents of your render target textures
-Inspect the device state at the time of your Draw call (to make sure your render states and sampler states are what you expect them to be)
-Inspect your draw call and vertex data
-Step through your pixel and vertex shaders line by line
Jason Z
Jason Z
If you know the shader works, then it must be either the input data or the state of the device when you execute the calls. I agree with Matt - PIX is your friend!
Jason Zink :: DirectX MVP   Direct3D 11 engine on CodePlex: Hieroglyph 3 Direct3D Books: 

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.