|
-
January 15th, 2010, 11:35 AM
#1
EVR and Pixel Shaders
Hey guys,
I'm relatively new to the whole DirectShow thing. I've written a small video player application for my own purposes (it uses EVR under Vista/Win7) and now I'd like to use simple pixel shaders for post processing.
I've been googling for quite some time now. From what I understand, I basically need to compile the code via DX3DCompileShader(), then IDirect3DDevice9::CreatePixelShader() and IDirect3DDevice9::SetPixelShader().
However, I have no idea how to get from my built graph (SourceFilter -> VideoDecoder -> EVR Renderer) to that. I guess I somehow have to create my own IDirect3DDevice9 (or get it from the EVRRenderer?), set it up with the shader calls and make the EVR Renderer somehow use that device 
Like I said, I have no real clue what to do and any help would be really great
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|