unsigned int corona_queryindex_allpixels;
/// this is R_Shadow_Cubemap(rtlight->cubemapname)
rtexture_t *currentcubemap;
unsigned int corona_queryindex_allpixels;
/// this is R_Shadow_Cubemap(rtlight->cubemapname)
rtexture_t *currentcubemap;
int cached_numlightentities;
int cached_numlightentities_noselfshadow;
int cached_numshadowentities;
int cached_numlightentities;
int cached_numlightentities_noselfshadow;
int cached_numshadowentities;
entityframe_database_t *entitydatabase;
entityframe4_database_t *entitydatabase4;
entityframeqw_database_t *entitydatabaseqw;
entityframe_database_t *entitydatabase;
entityframe4_database_t *entitydatabase4;
entityframeqw_database_t *entitydatabaseqw;
matrix4x4_t cameramatrix; // from entity (transforms from camera entity to world)
matrix4x4_t viewmatrix; // actual matrix for rendering (transforms to viewspace)
matrix4x4_t projectmatrix; // actual projection matrix (transforms from viewspace to screen)
matrix4x4_t cameramatrix; // from entity (transforms from camera entity to world)
matrix4x4_t viewmatrix; // actual matrix for rendering (transforms to viewspace)
matrix4x4_t projectmatrix; // actual projection matrix (transforms from viewspace to screen)