/// culling
vec3_t cullmins;
vec3_t cullmaxs;
- // culling
- //vec_t cullradius;
- // squared cullradius
- //vec_t cullradius2;
+ /// when r_shadow_culllights_trace is set, this is refreshed by each successful trace.
+ double trace_timer;
// rendering properties, updated each time a light is rendered
// this is rtlight->color * d_lightstylevalue
rtlight_particle_t *particlecache_particles;
/// bouncegrid light info
- float photoncolor[3];
- float photons;
+ float bouncegrid_photoncolor[3];
+ float bouncegrid_photons;
+ int bouncegrid_hits;
+ int bouncegrid_traces;
+ float bouncegrid_effectiveradius;
}
rtlight_t;