diff options
Diffstat (limited to '')
| -rw-r--r-- | CONTEXT.md | 21 |
1 files changed, 10 insertions, 11 deletions
| @@ -295,17 +295,16 @@ vocabulary / decisions. | |||
| 295 | `IMaterial::SetMaterialVarFlag` (slot 29); colours use `$color`/`$color2` | 295 | `IMaterial::SetMaterialVarFlag` (slot 29); colours use `$color`/`$color2` |
| 296 | (IMaterialVar slot 11, SetVecValue 3-float slot 11) and `ColorModulate` | 296 | (IMaterialVar slot 11, SetVecValue 3-float slot 11) and `ColorModulate` |
| 297 | (slot 28). Shared materials are restored after each draw. | 297 | (slot 28). Shared materials are restored after each draw. |
| 298 | - Styles are built from the resident materials and material flags: | 298 | - Styles are built from `debug/debugtranslucentsinglecolor` (UnlitGeneric, |
| 299 | 0 Flat (`vgui/white` with FLAT on NPCs; the solid model shader with FLAT on | 299 | `$color`) and material flags: |
| 300 | the viewmodel, because VGUI materials do not draw skinned models), | 300 | 0 Flat (solid + FLAT), 1 Wireframe (`debug/debugwireframe`), 2 Additive |
| 301 | 1 Wireframe (`debug/debugwireframe`), 2 Additive | 301 | (+ ADDITIVE), 3 Solid, 4 White (colour forced white), 5 Fullbright |
| 302 | (`debug/debugtranslucentsinglecolor` + ADDITIVE), 3 Solid, 4 White (solid, | 302 | (ADDITIVE|SELFILLUM with the colour lifted toward white), 6 Glow outline |
| 303 | colour forced white), 5 Fullbright (solid + ADDITIVE|SELFILLUM with the | 303 | (solid plus a `debug/debugwireframe` contour pass drawn with ZNEARER |
| 304 | colour lifted toward white), 6 Glow outline (solid plus a | 304 | (1 << 10) and a brightened colour so the base cannot bury it). |
| 305 | `debug/debugwireframe` contour pass drawn with ZNEARER (1 << 10) and a | 305 | `vgui/white` is vertex-colour based and has no `$model`/`$basetexture`, so it |
| 306 | brightened colour so the base cannot bury it). `models/debug/debugwhite` is | 306 | is never used for chams; `models/debug/debugwhite` is EP2-only and the old |
| 307 | EP2-only and the old VGUI additive material is invisible on NPCs; the styles | 307 | VGUI additive material was invisible on NPCs. |
| 308 | no longer depend on them. | ||
| 309 | - Style materials are preloaded from `outer_draw` (throttled) and cached; the | 308 | - Style materials are preloaded from `outer_draw` (throttled) and cached; the |
| 310 | render hook never calls FindMaterial itself. A missing style uses solid. | 309 | render hook never calls FindMaterial itself. A missing style uses solid. |
| 311 | - Feature is off by default. Config sections: `[chams]` (active/bind), | 310 | - Feature is off by default. Config sections: `[chams]` (active/bind), |
