Entityalpha = flicker?

Blitz3D Forums/Blitz3D Beginners Area/Entityalpha = flicker?

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've ammended and added the backbuffer and a cls command in the loop to refresh nicely.

Hope it helps mate :)

graphics3d 640,480,0,2
setbuffer backbuffer() ; this is vital if using PAGE FLIPPING

cube = createcube()
entityalpha cube,0.5
positionentity cube,0,0,5
cam = createcamera()

;main loop
while not keydown(1);esc quits
cls ; this'll help too

turnentity cube,1,1,1
updateworld()
renderworld()

Flip ;this is causing the flickering as theres no buffer to flip between 

wend
end