]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Don't set MATERIALFLAG_NOSHADOW on SKY materials. They need to cast shadows to preve...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2018 19:04:22 +0000 (19:04 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 3 Apr 2018 13:36:24 +0000 (06:36 -0700)
commit7cdf95616b0a93faa3873f561f990f3bdf1e79df
treee59fdac579fd43ea62b60215fd597e31524675d1
parent6eaee3a4fc5ed57d1a36208226c6c1f891179a35
Don't set MATERIALFLAG_NOSHADOW on SKY materials.  They need to cast shadows to prevent issues in e1m7 and other cases where sky occludes light bleed into other areas.

But when loading Q1BSP, set MATERIALFLAG_NOSHADOW on SKY if it has non-SOLID contents behind it, this supports the e1m5 logo shadow trick.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12346 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=bc190818e5b0a723ed94f270334acb7325f4684e
model_brush.c
model_shared.c
model_shared.h