Shadow fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user