Make BBox shader sort additive. This makes them work with RTLights (#196)
Fix given by @Shpoike
This commit is contained in:
parent
d293a2021a
commit
71fb7da526
1 changed files with 2 additions and 0 deletions
|
@ -2919,6 +2919,7 @@ void CLQ1_AddVisibleBBoxes(void)
|
|||
s = R_RegisterShader("bboxshader", SUF_NONE,
|
||||
"{\n"
|
||||
"polygonoffset\n"
|
||||
"sort additive\n"
|
||||
"{\n"
|
||||
"map $whiteimage\n"
|
||||
"blendfunc add\n"
|
||||
|
@ -2975,6 +2976,7 @@ void CLQ1_AddVisibleBBoxes(void)
|
|||
s = R_RegisterShader("bboxshader", SUF_NONE,
|
||||
"{\n"
|
||||
"polygonoffset\n"
|
||||
"sort additive\n"
|
||||
"{\n"
|
||||
"map $whiteimage\n"
|
||||
"blendfunc add\n"
|
||||
|
|
Loading…
Reference in a new issue