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
|
@ -2919,6 +2919,7 @@ void CLQ1_AddVisibleBBoxes(void)
|
||||||
s = R_RegisterShader("bboxshader", SUF_NONE,
|
s = R_RegisterShader("bboxshader", SUF_NONE,
|
||||||
"{\n"
|
"{\n"
|
||||||
"polygonoffset\n"
|
"polygonoffset\n"
|
||||||
|
"sort additive\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"map $whiteimage\n"
|
"map $whiteimage\n"
|
||||||
"blendfunc add\n"
|
"blendfunc add\n"
|
||||||
|
@ -2975,6 +2976,7 @@ void CLQ1_AddVisibleBBoxes(void)
|
||||||
s = R_RegisterShader("bboxshader", SUF_NONE,
|
s = R_RegisterShader("bboxshader", SUF_NONE,
|
||||||
"{\n"
|
"{\n"
|
||||||
"polygonoffset\n"
|
"polygonoffset\n"
|
||||||
|
"sort additive\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"map $whiteimage\n"
|
"map $whiteimage\n"
|
||||||
"blendfunc add\n"
|
"blendfunc add\n"
|
||||||
|
|
Loading…
Reference in New Issue