Discussion:
Pixel shaders: question
(too old to reply)
Tomasz Raźniewski
2009-03-30 15:28:44 UTC
Permalink
Hi there,

I've started programming in MDX in C# recently, trying to display some
simple 3D objects and rotate them, scale, etc. I'm definitely new in
shaders, having read a few articles and haven't already decided on any book
on that topic. But as I'm reading these articles, one question remains. Do
pixel shaders allow to filter (e.g. blur or make noisy) the output image -
rendered scene? I mean - when the scene is rendered and presented as a final
image, can it be post-processed (like normal bitmap), using pixel shader?
I'm sorry if the question is trivial, but an answer would be very useful for
such beginner as me.

Regards,
Tom
legalize+ (Richard [Microsoft Direct3D MVP])
2009-03-30 18:39:46 UTC
Permalink
[Please do not mail me a copy of your followup]

First, I suggest you use SlimDX instead of MDX. There is no future in
MDX and SlimDX fixes the stupid "loader-lock" issue of MDX.

Second, yes, using a pixel shader to do postprocessing is a common
technique.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>

Legalize Adulthood! <http://blogs.xmission.com/legalize/>
Loading...