hack to get scrolling coords and env mapping working at the same time
This commit is contained in:
@@ -430,6 +430,10 @@ void Model::DrawPrimitives()
|
||||
else
|
||||
{
|
||||
DISPLAY->SetTexture( 1, NULL );
|
||||
|
||||
// set current texture back to 0 or else texture transform applied above
|
||||
// isn't used. Why?!?
|
||||
DISPLAY->SetTexture( 0, mat.diffuse.GetCurrentTexture() );
|
||||
}
|
||||
|
||||
/* go */
|
||||
|
||||
Reference in New Issue
Block a user