]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.h
fixed GL_Scissor call in rtlight code (apparently I need to feed it a top to bottom...
[xonotic/darkplaces.git] / r_shadow.h
index 953c883cc7f3a391a11083a41fa37bdaf6076d46..4e1349a34071fa9fa290280dfeddf20326327f61 100644 (file)
@@ -76,6 +76,10 @@ typedef struct worldlight_s
        // premade shadow volumes and lit surfaces to render
        shadowmesh_t *meshchain_shadow;
        shadowmesh_t *meshchain_light;
+       
+       // used for visibility testing
+       int numclusters;
+       int *clusterindices;
 }
 worldlight_t;