]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.h
implemented r_shadow_bouncegrid_blur, this tremendously improves
[xonotic/darkplaces.git] / r_shadow.h
index 9c74aed120eb3a0184df4915e49184d58e4488de..74de1205813fc60c3b4644b5d9a5b89ca0c79515 100644 (file)
@@ -51,7 +51,7 @@ typedef struct r_shadow_bouncegrid_settings_s
        float particlebounceintensity;
        float particleintensity;
        int maxphotons;
-       float intensityperphoton;
+       float energyperphoton;
        float spacing[3];
        int stablerandom;
 }
@@ -80,6 +80,11 @@ typedef struct r_shadow_bouncegrid_state_s
        vec3_t mins;
        vec3_t maxs;
        vec3_t size;
+       int maxsplatpaths;
+
+       // per-frame data that is very temporary
+       int numsplatpaths;
+       struct r_shadow_bouncegrid_splatpath_s *splatpaths;
 }
 r_shadow_bouncegrid_state_t;