I'd like to draw 3D directly to Screen. And I tried using WIN32 API - Layered Window with FBO.
It succeeded in creating transparency enabled window . But a problem has occurred in essential Drawing 3D .
Drawing surfaces of Cube was incorrectly . It seems that Depth buffer couldn't work well .
Could you tell me where a mistake is ?