Film Grain

Blitz3D Forums/Blitz3D Beginners Area/Film Grain

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Very large texture fills, textures filling 70+% of the screen, take a huge performance hit on Blitz. A full screen textured sprite will scale according to screen but be quite a slowdown, which on older cards could be a killer. The alternative is to randomly 2D draw grain particles on the backbuffer. You'd only need to draw to some 5% or the screen which should be a lot faster. If you want every pixel to have a variation, like a random alpha on a black texture, the sprite method might well be no slower than full-screen per pixel processing.