Bugfix - clear tint color before drawing skybox

This commit is contained in:
parax0 2015-11-26 04:09:33 -07:00
parent 2adddad4b6
commit 0cc018c23f
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ void CRenderer::RenderSky(CModel *pSkyboxModel, const SViewInfo& ViewInfo)
CGraphics::sMVPBlock.ModelMatrix = CMatrix4f::skIdentity;
CGraphics::sVertexBlock.COLOR0_Amb = CVector4f(1.f, 1.f, 1.f, 1.f);
CGraphics::sPixelBlock.TevColor = CVector4f(1.f, 1.f, 1.f, 1.f);
CGraphics::sPixelBlock.TintColor = CColor::skWhite.ToVector4f();
CGraphics::sNumLights = 0;
CGraphics::UpdateVertexBlock();
CGraphics::UpdatePixelBlock();