ugh... blur...

Blitz3D Forums/Blitz3D Beginners Area/ugh... blur...

ingenium(Posted 2007) [#1]
I didn't really understand how to achieve this effect... Yes... I have found many codes in the code archieves section... but I din't understand them... some can explain me?


b32(Posted 2007) [#2]
Normally, for each pixel of the screen, you take all pixels that are directly around it, and calculate their average color. This is the new color for the pixel.
In Blitz however, this would be too slow, so I think that is why this method is used more often: the rendered scene is copied onto a texture. Then a rectangle is placed in front of the camera and that texture is applied to it. Because the texture has a low resolution, and it is smoothened by default, the scene appears to be blurred.


ingenium(Posted 2007) [#3]
thnx...