- // Compute the other lights that exist in the map, not effected by the sun
- // shadow
- total_light += newlight_compute_quadratic
- (
- wnormal, halfview,
- g_point_light_positions[ aLights.x ].xyz,
- g_point_light_colours[ aLights.x ].rgb
- );
- total_light += newlight_compute_quadratic
- (
- wnormal, halfview,
- g_point_light_positions[ aLights.y ].xyz,
- g_point_light_colours[ aLights.y ].rgb
- );
- total_light += newlight_compute_quadratic
- (
- wnormal, halfview,
- g_point_light_positions[ aLights.z ].xyz,
- g_point_light_colours[ aLights.z ].rgb
- );