mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2025-01-22 00:41:21 +00:00
weapons may cast shadows now
Player weapons can now cast shadows. Materials might need to be updated as well to fully work.
This commit is contained in:
parent
c793d85bcb
commit
8d0cbcc054
1 changed files with 3 additions and 2 deletions
|
@ -921,8 +921,9 @@ void idWeapon::Clear( void ) {
|
|||
memset( &renderEntity, 0, sizeof( renderEntity ) );
|
||||
renderEntity.entityNum = entityNumber;
|
||||
|
||||
renderEntity.noShadow = true;
|
||||
renderEntity.noSelfShadow = true;
|
||||
//rev 2020 enable weapons to cast shadows
|
||||
renderEntity.noShadow = false; //true;
|
||||
renderEntity.noSelfShadow = false; //true;
|
||||
renderEntity.customSkin = NULL;
|
||||
|
||||
// set default shader parms
|
||||
|
|
Loading…
Reference in a new issue