summaryrefslogtreecommitdiff
path: root/examples/shadow_maps/ex_shadow_maps.c
diff options
context:
space:
mode:
authorOmni <omniscient.oce@gmail.com>2024-06-22 16:27:42 +1000
committerOmni <omniscient.oce@gmail.com>2024-06-22 16:27:42 +1000
commit434d7387fe0dda917d3a9f1df7f1c5fd113d6188 (patch)
treeb1817f7b7aed3587ca0851960f20e106083fc90d /examples/shadow_maps/ex_shadow_maps.c
parenta40a52ab3c827ff08f502f8163358d0faacf9b13 (diff)
fix compilation. shadows still WIP
Diffstat (limited to 'examples/shadow_maps/ex_shadow_maps.c')
-rw-r--r--examples/shadow_maps/ex_shadow_maps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shadow_maps/ex_shadow_maps.c b/examples/shadow_maps/ex_shadow_maps.c
index 1d40128..e4f7f8a 100644
--- a/examples/shadow_maps/ex_shadow_maps.c
+++ b/examples/shadow_maps/ex_shadow_maps.c
@@ -26,7 +26,7 @@ int main() {
camera cam = camera_create(camera_pos, camera_front, VEC3_Y, deg_to_rad(45.0));
ren_shadowmaps shadows = { .width = 1000, .height = 1000 };
- ren_shadowmaps_init(&shadows);
+ // ren_shadowmaps_init(&shadows);
// Meshes
mesh cubes[4];
@@ -54,7 +54,7 @@ int main() {
gpu_cmd_encoder_end_render(enc);
- gpu_cmd_encoder_begin_render(enc, static_opaque_rpass);
+ // gpu_cmd_encoder_begin_render(enc, static_opaque_rpass);
gpu_cmd_encoder_end_render(enc);
/*