|
|
@ -4982,9 +4982,6 @@ Shadow_Volume_Params calculate_shadow_volume_params(Vec3 light_dir)
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "debug_helpers.c"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void frame(void)
|
|
|
|
void frame(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
static float speed_factor = 1.0f;
|
|
|
|
static float speed_factor = 1.0f;
|
|
|
@ -5021,8 +5018,6 @@ void frame(void)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
debug_draw_img(state.shadows.color_img, 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PROFILE_SCOPE("frame")
|
|
|
|
PROFILE_SCOPE("frame")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
uint64_t time_start_frame = stm_now();
|
|
|
|
uint64_t time_start_frame = stm_now();
|
|
|
|