From 44e517339dd52489b8b49f1e723946de30c7e3a3 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 7 Nov 2005 03:58:14 +0000 Subject: [PATCH] make env mapping match OpenGL's "sphere map" tex coord gen --- stepmania/src/RageDisplay_D3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay_D3D.cpp b/stepmania/src/RageDisplay_D3D.cpp index ba7b406287..4a14da4d9e 100644 --- a/stepmania/src/RageDisplay_D3D.cpp +++ b/stepmania/src/RageDisplay_D3D.cpp @@ -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 {