diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 11:46:40 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 11:46:40 +0100 |
| commit | 0adb4eba090dfa5684b661a01ea9d67244fede75 (patch) | |
| tree | 67e6ace7a981ad3a182a720bf0bc1fb231f39ac9 /src/overlay.cpp | |
| parent | Props: install the studio hooks again (diff) | |
| download | hl2h-0adb4eba090dfa5684b661a01ea9d67244fede75.tar.gz hl2h-0adb4eba090dfa5684b661a01ea9d67244fede75.zip | |
Props: force colour inside prop DrawModel; no prop material tint
The engine calls SetColorModulation(1,1,1) immediately before DrawModel, so
the in-draw flag never sees it. Set the prop colour at the start of the prop
DrawModel hook instead (colour only, not alpha), and stop applying
ColorModulate to prop materials so only one mechanism touches props.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
