Hi. I'm hoping for a little guidance of shaders which, I must confess, I've never really understood. I'm trying to achieve a bloom shader across my 2D game. At the moment, I have a system set up where the sprites are all pasted onto an image that is, in turn, used as a texture on a plane. This works OK but is very slow so I was hoping to use ImageKit's pixel shader commands to shade and then paste the image instead. However in my initial experiments, I've had no luck. I've attached the full project with dba, dbpro, shader and image. I'm using a random png I made for testing and Bond1's bloom shader. The code I'm using is this:
load image "shadertest.png",1
ik load effect "post-bloom.fx",1
ik set effect float 1,"PreBloomBoost",2.0
ik set effect float 1,"BloomThreshold",0.4
ik set effect float 1,"PostBloomBoost",2.0
do
ik paste image 1,0,0,1
loop
The result I get is the image pasted as normal with no shader applied. I'm fairly sure I've got something wrong as this code is much simpler than the code I use for the 3D shader, but as that is mostly copied from these forums, I've not been able to figure out what's missing. Any help with getting this shading would be greatly appreciated. Thanks in advance.