-
[request]Effect on layer
I've tried to put the monochrome effect on a layer for my xna project i had set for Display Mode : Direct3D 9, when i run the application from mmf it's all right the image goes monochrome but when i have built the project in the content the effect has been exported as mono.fx file but when i run the project the effect seems not to be applied on layer, it would be really nice also that a effect could be used on all the frame to include all the layers to got the same effect.
-
No : XHNA does noàt allow global effects to be applied to a frame, or layer.
The effects can only work on one object each time.
-
why not? xna run on directx 9 like the application that run on windows for mmf2.
on xna you got the rendertotexture object that allow you to get the image drawed on screen and redraw on another spritebatch with an effect applied to it this could be used to apply a postproduction effect on the entire frame.
-
I have not tried this method. As you say, it could work, but using a temporary texture and redrawing it (meaning sending it back every loop to the graphic card) would be certainly time consuming.