3d_viewer: Fix bottom view image being too dark when floor+shadows are enabled
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2083
This commit is contained in:
parent
e800c47406
commit
b1ac504fcd
|
@ -185,6 +185,7 @@ void C3D_RENDER_RAYTRACING::setupMaterials()
|
|||
0.10f * 128.0f, // shiness
|
||||
0.0f, // transparency
|
||||
0.50f ); // reflection
|
||||
m_materials.m_Floor.SetCastShadows( false );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue