RadialBlur - how to apply?
Moderator: Moderators
RadialBlur - how to apply?
I've found this cool RadialBlur shader online: http://www.gamerendering.com/2008/12/20 ... ur-filter/ - but I don't know how to apply it to whole screen. Can you help me?
Hi darkhog,
You need to render your scene to a RenderTarget component and then apply the shader to that. Attached is a simple example ( the shader isn't all that cool though ).
K
You need to render your scene to a RenderTarget component and then apply the shader to that. Attached is a simple example ( the shader isn't all that cool though ).
K
- Attachments
-
- FBO.zgeproj
- (2.73 KiB) Downloaded 522 times
Hi darkhog,
There are a number of ways you can do that. You can for instance put the SetRenderTarget located in OnBeginRenderPass in a Condition component, or change the RenderTarget property of SetRenderTarget at run-time. Attached is a example using the second method.
K
There are a number of ways you can do that. You can for instance put the SetRenderTarget located in OnBeginRenderPass in a Condition component, or change the RenderTarget property of SetRenderTarget at run-time. Attached is a example using the second method.
K
- Attachments
-
- FBO.zgeproj
- (7.08 KiB) Downloaded 518 times