mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Add PBR support (#91)
* Add PBR support * Fix physics props turning black
This commit is contained in:
@@ -20,11 +20,17 @@
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
#define PBR_CHANGE
|
||||
|
||||
IMPLEMENT_CLIENTCLASS_DT(C_PhysicsProp, DT_PhysicsProp, CPhysicsProp)
|
||||
RecvPropBool( RECVINFO( m_bAwake ) ),
|
||||
END_RECV_TABLE()
|
||||
|
||||
ConVar r_PhysPropStaticLighting( "r_PhysPropStaticLighting", "1" );
|
||||
#ifdef PBR_CHANGE
|
||||
ConVar r_PhysPropStaticLighting( "r_PhysPropStaticLighting", "0" );
|
||||
#else
|
||||
ConVar r_PhysPropStaticLighting( "r_PhysPropStaticLighting", "1" );
|
||||
#endif
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user