Improve anti aliasing
This commit is contained in:
parent
e1e480daf2
commit
db75a10f2b
4 changed files with 7 additions and 6 deletions
|
|
@ -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({})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue