Shadow fixes

This commit is contained in:
2025-07-06 01:49:17 +02:00
parent eb5121802f
commit c3a1686325
4 changed files with 74 additions and 7 deletions

View File

@@ -131,7 +131,7 @@ Editor :: struct {
init_editor :: () {
aspect_ratio := cast(float)engine.renderer.render_target_width / cast(float)engine.renderer.render_target_height;
engine.editor.camera = create_perspective_camera(.{0, 10, -10}, yaw=0, pitch=-40, roll=0.0, fov=40, aspect=aspect_ratio);
engine.editor.camera = create_perspective_camera(.{0, 10, -10}, yaw=0, pitch=-40, roll=0.0, fov=40, z_far=100.0, aspect=aspect_ratio);
init_transform_gizmo();