1
0
Fork 0
forked from fte/fteqw

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

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"