Added textures/common/black material to block light behind walls

This commit is contained in:
Robert Beckebans 2024-12-19 19:50:55 +01:00
parent 375039c57c
commit e88d3bb10e
2 changed files with 15 additions and 2 deletions

View file

@ -12,8 +12,8 @@ bind "F2" "toggle r_showTris 1 2 0"
bind "F3" "toggle r_forceAmbient 0.3 0.5 1.0 0"
bind "F4" "toggle r_skipInteractions"
bind "F5" "savegame quick"
// bind "F6" "toggle r_showLightGrid 1 3 4 0"
bind "F6" "toggle r_renderMode 0 1 3 5 7 9 11"
bind "F6" "toggle r_showLightGrid 1 3 4 0"
//bind "F6" "toggle r_renderMode 0 1 3 5 7 9 11"
bind "F7" "toggle r_renderMode 0 1 2 3 4 5 6 7 8 9 10 11"
bind "F8" "toggle r_useCRTPostFX 0 1 2 3"
bind "F9" "loadgame quick"

View file

@ -442,4 +442,17 @@ textures/common/occlusion
noshadows
occlusion
}
// this one is not invisible and like textures/sfx/black but will also cast shadows
// so it works as a blocker for the lightgrid
textures/common/black
{
qer_editorimage textures/common/shadow.tga
nonsolid
forceshadows
forceOpaque
noselfshadow
basecolormap _blackDiffuse
}
// RB end