]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
Added lightgrid texture based lighting in q3bsp maps by uploading it as a 3D texture...
[xonotic/darkplaces.git] / client.h
index 45312d96fcd95d53f97f7fbf5a4754823af9d423..b1dbac0e0c6d64b4b99f9bec616c8d6189a40f22 100644 (file)
--- a/client.h
+++ b/client.h
@@ -585,10 +585,12 @@ typedef struct entity_render_s
        // rtlights use these colors for the materials on this entity
        float render_rtlight_diffuse[3];
        float render_rtlight_specular[3];
-       // ignore lightmap and use lightgrid on this entity (e.g. FULLBRIGHT)
+       // ignore lightmap and use fixed lighting settings on this entity (e.g. FULLBRIGHT)
        qboolean render_modellight_forced;
        // do not process per pixel lights on this entity at all (like MATERIALFLAG_NORTLIGHT)
        qboolean render_rtlight_disabled;
+       // use the 3D lightmap from q3bsp on this entity
+       qboolean render_lightgrid;
 
        // storage of decals on this entity
        // (note: if allowdecals is set, be sure to call R_DecalSystem_Reset on removal!)