- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #1
Few more information what I am actually trying to do:I implemented for s test a gradient blur shader in MP2, but removed it again bacsuse I saw there is already a blur effect....
If you like I can readd it next week and post the updated skin engine for a test
Direct2D is an interface to do hardware based modification on images/textures. There are many effects included that we need in skinning as well. See the MSDN page for a list and examples:
http://msdn.microsoft.com/en-us/library/windows/desktop/hh706334(v=vs.85).aspx
Now the idea is to use "Shared Resources" (texture) between Direct3D9Ex and Direct2D (10.1) to directly render from both worlds on the same shared texture (to avoid copies). Related posts are http://answer.techwikihow.com/1122068/apply-id2d1effect-above-direct3d-render-target.html and there are SharpDX examples for a combination on D3D11 and D3D101 (but not D3D9Ex ).
If someone of our @Developers or @Plugin-and-Skin-Creators is able to help me in this task, please let me know!