Improve anti aliasing

This commit is contained in:
Hugo Mårdbrink 2025-08-27 20:55:04 +02:00
parent e1e480daf2
commit db75a10f2b
4 changed files with 7 additions and 6 deletions

View file

@ -70,6 +70,7 @@ init_outline_material :: proc(render_system: ^RenderSystem) {
bias_slope_scale = 1.0,
compare = .LESS_EQUAL,
},
sample_count = 4,
})
sampler := sg.make_sampler({})
@ -102,6 +103,7 @@ init_cube_material :: proc(render_system: ^RenderSystem) {
bias_slope_scale = 1.0,
compare = .LESS_EQUAL,
},
sample_count = 4,
})
w, h: i32
@ -122,7 +124,7 @@ init_cube_material :: proc(render_system: ^RenderSystem) {
}
}
}
}
},
})
sampler := sg.make_sampler({})