Bloom problem
Blitz3D Forums/Blitz3D Beginners Area/Bloom problem
| ||
I'm using bouncers excellent Bloom code, but I'm having a slight problem. It seems to be displaying my image in letterbox format with strange images at the top. I tried this at both 640x480 and 800x600. Any idea what the problem is? Thanks in advance! |
| ||
Without looking at the code I would guess cameraviewport. |
| ||
CameraViewport wasn't defined (oops!), but defining doesn't seem to have made any diffence. Hmm. |
| ||
Hmm... playing around with this but still not having much joy. It's a bit of a headache as this uses an old version of SSwift's blurtexture function, but the shadow system uses a new version! I realise the new one ought to be up to the task, but it doesn't seem to want to play ball. Hmm. |
| ||
I broke the blur function in my shadow system for a long time. This version of the blur function is up to date and should work: http://www.blitzbasic.com/codearcs/codearcs.php?code=754 |
| ||
Playing around with the bloom code I have, it seems that even the demo I have suffers the exact same problem. I don't think it is sswift's blur code to blame. Does anyone have a working copy of Bouncer's bloom code that they could share? |
| ||
Aha - I found a working version of the bloom code, so I seem to be alright now. Using this combined with SSwift's new blur routine will work perfectly. |
| ||
It's probably just a scale issue! Good work, nice screenshot dude! |