Commit fae978f
committed
Enable and apply HVS to baseColor in RDCharacter shader
- Added support for , ensuring proper non-Lambert flashlight behavior.
- Reordered shader flow so HVS is applied at the start as a modifier of baseColor, affecting the base texture rather than post-processed colors.
- PBR shader still requires adjustments due to different flashlight implementation.1 parent d77f6c3 commit fae978f
File tree
2 files changed
+10
-8
lines changed- src/materialsystem/stdshaders
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
844 | 846 | | |
845 | 847 | | |
846 | 848 | | |
847 | | - | |
| 849 | + | |
848 | 850 | | |
849 | 851 | | |
850 | 852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
207 | 214 | | |
208 | 215 | | |
209 | 216 | | |
| |||
379 | 386 | | |
380 | 387 | | |
381 | 388 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
0 commit comments