@@ -357,14 +357,17 @@ void CVideoMaterial::CreateVideoMaterial( const char *pMaterialName )
357357 pVMTKeyValues->SetString ( " $ytexture" , ytexture );
358358 pVMTKeyValues->SetString ( " $cbtexture" , cbtexture );
359359 pVMTKeyValues->SetString ( " $crtexture" , crtexture );
360+ pVMTKeyValues->SetString ( " $basetexture" , m_yTexture->GetName () );
360361 pVMTKeyValues->SetInt ( " $nobasetexture" , 1 );
361- pVMTKeyValues->SetInt ( " $nofog" , 1 );
362- pVMTKeyValues->SetInt ( " $spriteorientation" , 3 );
363- pVMTKeyValues->SetInt ( " $translucent" , 1 );
364362 pVMTKeyValues->SetInt ( " $nolod" , 1 );
365363 pVMTKeyValues->SetInt ( " $nomip" , 1 );
364+ pVMTKeyValues->SetInt ( " $nofog" , 1 );
365+ pVMTKeyValues->SetInt ( " $translucent" , 1 );
366366 pVMTKeyValues->SetInt ( " $vertexcolor" , 1 );
367367 pVMTKeyValues->SetInt ( " $vertexalpha" , 1 );
368+ pVMTKeyValues->SetInt ( " $gammacolorread" , 0 );
369+ pVMTKeyValues->SetInt ( " $spriteorientation" , 3 );
370+
368371 m_videoMaterial.Init ( pMaterialName, pVMTKeyValues );
369372 // Refresh the material vars because apparently init doesn't do this
370373 // and retains the previous video's frame
0 commit comments