make env mapping match OpenGL's "sphere map" tex coord gen

This commit is contained in:
Chris Danford
2005-11-07 03:58:14 +00:00
parent 37d06f63c2
commit 44e517339d
+1 -1
View File
@@ -811,7 +811,7 @@ void RageDisplay_D3D::SendCurrentMatrices()
// Tell D3D to use transformed reflection vectors as texture co-ordinate 0
// and then transform this coordinate by the specified texture matrix.
g_pd3dDevice->SetTextureStageState( tu, D3DTSS_TEXCOORDINDEX, D3DTSS_TCI_CAMERASPACENORMAL );
g_pd3dDevice->SetTextureStageState( tu, D3DTSS_TEXCOORDINDEX, D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR );
}
else
{