Clearing the screen

Started by
3 comments, last by Asia 20 years ago
Usually, before draw a frame you clear the screen, but, if you render all the screen every frame (for example in an FPS indoor level, you draw all polys, draw the sky, ...) is needed to clear the screen? I ask this in general, can be opengl,d3d,ddraw,vesa,mode13 ...
Advertisement
No, you don''t need to clear the screen if you are going to fill it anyway, you would just be wasting time.
Thanks, the perfect answer, sort and clear
Maybe i''m all wrong here, but if you''re doing 3D, you''ll need to clear the depth buffer or else it won''t render correctly

hope that helps !
Matt
Matt
yes it help! thanks!

This topic is closed to new replies.

Advertisement