Project

General

Profile

« Previous | Next » 

Revision 58513823

Added by skyjake over 8 years ago

Model Renderer: Exclude player's own light when rendering weapon model

When a player is flagged full-bright, this is usually because the
player sprite is showing a muzzle flash. However, when rendering
weapon models, the weapon model itself should be considered the
source of the light so don't cast light from the player onto the
weapon.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences