Make BBox shader sort additive. This makes them work with RTLights (#196)

Fix given by @Shpoike
This commit is contained in:
fhomolka 2023-07-10 23:26:52 +02:00 committed by GitHub
parent d293a2021a
commit 71fb7da526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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"