Simple video filter...

Blitz3D Forums/Blitz3D Programming/Simple video filter...

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.

I haven't tried your code yet....but this is what I use to make rain or scanlines.... (excerpt from my program-"Nautilus") ->

rain=CreateCube(camera)
EntityParent rain,camera
raintex=LoadTexture("scanl.png") ;or rain.png bitmap
ScaleEntity rain,.1,10,10
ScaleTexture raintex,.2,.2
EntityAlpha rain,.7 ;or set texture to mask ie. "2"
EntityTexture rain,raintex
TurnEntity rain,0,90,0
PositionEntity rain,0,0,2 ;in front of camera

set rainpos=0.0 before Main loop, then after UpdateWorld in prog: ->

PositionTexture raintex,0,rainpos ;rotates texture!!!
rainpos=rainpos+.1

So simple, and yet so cool!

gpete