Fading

Blitz3D Forums/Blitz3D Beginners Area/Fading

Mr. Slat(Posted 2006) [#1]
Hi Everybody =P. I've Bought Blitz3D, and found that SetGamma and UpDateGamma Functions Only exist in the Blitz3D Demo version. with a For loop its possible to fade the screen to black and return it to normal colors. but without those functions, I'm not sure how to overcome this problem. ReadPixelFast, and WritePixelFast Are really slow, so its not a very good choice....Anyway...Sometimes I just want to fade parts of the screen, for instance. A BackGround Image is drawn And I want to make a square a little darker I know its possible with WritepixelFast and ReadPixelFast, but insīt there any other way??? Thanks

And Excuse my English eigh??? =P

Mr. Slat


Mr. Slat(Posted 2006) [#2]
Guest what...I'm so stupid (Who cares =P)....SetGamma and UpDateGamma exits on blitz3D updates. But I'll still be needing help on fading parts of the screens...take care


Dreamora(Posted 2006) [#3]
draw the stuff to a texture you apply to a sprite. Then you can fade that sprite, which allow you to fade any part of the screen as long it was an own sprite.

SetGamma is meant for gamma, not for fading, actually.