materialsystem/shaderapidx9: restore shaders from source-sdk-2013

This commit is contained in:
nillerusr
2022-03-26 03:26:53 +03:00
parent 24366ef9a8
commit cca56d5a6f
32 changed files with 2373 additions and 3940 deletions
+3 -4
View File
@@ -12784,11 +12784,10 @@ void CShaderAPIDx8::GetDX9LightState( LightState_t *state ) const
state->m_nNumLights = MIN(MAX_NUM_LIGHTS,m_DynamicState.m_NumLights);
#else
state->m_nNumLights = m_DynamicState.m_NumLights;
#endif
#endif
state->m_nNumLights = m_DynamicState.m_NumLights;
state->m_bStaticLightVertex = m_pRenderMesh->HasColorMesh();
state->m_bStaticLightTexel = false; // For now
state->m_bStaticLight = m_pRenderMesh->HasColorMesh();
state->m_bStaticLightVertex = false;
}
MaterialFogMode_t CShaderAPIDx8::GetCurrentFogType( void ) const