]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
improved shadowmap side culling
[xonotic/darkplaces.git] / client.h
index c6a347fa1b64bd653d01723dd78e652f34e327b0..d9fb6ab51362ec9b36cf0939c943735baccd88d7 100644 (file)
--- a/client.h
+++ b/client.h
@@ -149,6 +149,9 @@ typedef struct rtlight_s
        /// (important on big surfaces such as terrain)
        int static_numlighttrispvsbytes;
        unsigned char *static_lighttrispvs;
+       /// masks of all shadowmap sides that have any potential static receivers or casters
+       int static_shadowmap_receivers;
+       int static_shadowmap_casters;
 }
 rtlight_t;