Skip to content

Commit ff933f5

Browse files
committed
Minorly update alpha threshold for scene rendering
1 parent aa452d8 commit ff933f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liboscar/Graphics/Scene/SceneRenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ class osc::SceneRenderer::Impl final {
614614
previous_color = color;
615615
}
616616

617-
if (color.a > 0.99f) {
617+
if (color.a > 254.0f/255.0f) {
618618
graphics::draw(dec.mesh, dec.transform, scene_main_material_, camera_, prop_block);
619619
}
620620
else {

0 commit comments

Comments
 (0)