This is a rough 1 sprite one script OpenGL implementation within Scratch. It has lighting, filled faces (the highlight) and a not-so-accurate face culling mechanism. Face culling is the determination of which triangle is in front of another, so that faces are drawn in the right order, covering the right faces. I basically need to determine which triangle occludes the other given xyz coordinates of both of them. I need a good algorithm, so if you can think of one, post it here. Thanks! Thanks to LS97 who tried to give me an algorithm (sadly it didn't work) and Dawgles for inspiration. Now with no blinking! :D