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.

Any chance to see the offending code ?

Anyway, I guess you're missing a Flip command in your main loop.

It should look like this:
graphics3d 640,480,0,2
cube = createcube()
entityalpha cube,0.5
positionentity cube,0,0,5
cam = createcamera()

;main loop
while not keydown(1);esc quits

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

Flip ;this is the command you are perhaps missing ?

wend
end


Do you still get flickering with the code above ?

If your entity flickers, and it's a 3Dsprite, then try to put it a bit far away from the camera.

Hope this helps,
Sergio.