if you program involve a skybox, you’d better render it first, since other object may need blending, if you render these objects before the skybox, you object will not show

the correct order like codes below:

   1: g_SkyBox->Render(g_Camera) ;
   2: g_Bullet->Render(g_Camera) ;

相关文章: