// squared cullradius
//vec_t cullradius2;
+ // rendering properties, updated each time a light is rendered
+ // this is rtlight->color * d_lightstylevalue
+ vec3_t currentcolor;
+ // this is R_Shadow_Cubemap(rtlight->cubemapname)
+ rtexture_t *currentcubemap;
+
// lightmap renderer stuff (remove someday!)
// the size of the light
vec_t lightmap_cullradius;
{
// area to render in
int x, y, width, height;
- float fov_x, fov_y;
+ float frustum_x, frustum_y;
// these are set for water warping before
- // fov_x/fov_y are calculated
- float fovscale_x, fovscale_y;
+ // frustum_x/frustum_y are calculated
+ float frustumscale_x, frustumscale_y;
// view transform
matrix4x4_t viewentitymatrix;