Skip to content

Commit

Permalink
Make wireframe appear darker
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Nov 20, 2024
1 parent 922b3cd commit 1220871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/Graphics/Scene/SceneRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class osc::SceneRenderer::Impl final {
[](const auto&) { return Color::white(); },
}, dec.shading);

wireframe_prop_block.set(c_diffuse_color_propname, multiply_luminance(wireframe_color, 0.5f));
wireframe_prop_block.set(c_diffuse_color_propname, multiply_luminance(wireframe_color, 0.25f));
graphics::draw(dec.mesh, dec.transform, wireframe_material_, camera_, wireframe_prop_block);
}

Expand Down

0 comments on commit 1220871

Please sign in to comment.