diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 00:43:49 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 00:43:49 +0100 |
| commit | bbc08986d48f1c6dd88022a06f4c5ca2e651876d (patch) | |
| tree | ed0a6871b421d9b327393586caec813ca4488188 /docs | |
| parent | Skybox image: power-of-two resize; upload at FRAME_RENDER_START (diff) | |
| download | hl2h-bbc08986d48f1c6dd88022a06f4c5ca2e651876d.tar.gz hl2h-bbc08986d48f1c6dd88022a06f4c5ca2e651876d.zip | |
Skybox image: drop Refresh/SetUndefined (crash after apply)
The last crash happened after "applied", in materialsystem while the renderer
walked a shader-parameter list that contained a null vtable entry. That points
at the Refresh()/SetUndefined experiment: undefining $hdrcompressedtexture
while the sky shader's static combo still expected it (and rebuilding state
mid-level) left a broken material.
Set the texture on $basetexture/$hdrbasetexture/$hdrcompressedtexture (and the
0/1/2 variants) and do neither SetUndefined nor Refresh: the visible-path
material binds its base texture dynamically, which is what made the earlier
black sky (empty 798x798 VTF) appear black at all. Log the first sky
material's shader name so we know whether this map uses the LDR (UnlitGeneric)
or HDR (sky) path.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
