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:
revility 2020-05-30 22:01:11 -04:00 committed by Daniel Gibson
parent c793d85bcb
commit 8d0cbcc054

View file

@ -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