rendering order of skybox
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) ;
The incorrect order is:
1: g_Bullet->Render(g_Camera) ;
2: g_SkyBox->Render(g_Camera) ;
作者:zdd
出处:http://www.cnblogs.com/graphics/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.