]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
compile separate index lists for each cubemap shadowmap side
[xonotic/darkplaces.git] / client.h
index 38b6f2682c5a1953ffbe846413b0dd9518b7a810..32348dc4904ab808576cbbc40822b43f0715c0c1 100644 (file)
--- a/client.h
+++ b/client.h
@@ -122,9 +122,12 @@ typedef struct rtlight_s
        int isstatic;
        /// true if this is a compiled world light, cleared if the light changes
        int compiled;
+       /// the shadowing mode used to compile this light
+       int shadowmode;
        /// premade shadow volumes to render for world entity
        shadowmesh_t *static_meshchain_shadow_zpass;
        shadowmesh_t *static_meshchain_shadow_zfail;
+       shadowmesh_t *static_meshchain_shadow_shadowmap;
        /// used for visibility testing (more exact than bbox)
        int static_numleafs;
        int static_numleafpvsbytes;