Skip to content

Commit

Permalink
Fix default normal scale
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Oct 8, 2024
1 parent c51e491 commit 06af90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blade-render/src/model/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ impl blade_asset::Baker for Baker {
},
..Default::default()
},
normal_scale: g_material.normal_texture().map_or(1.0, |info| info.scale()),
normal_scale: g_material.normal_texture().map_or(0.0, |info| info.scale()),
transparent: g_material.alpha_mode() != gltf::material::AlphaMode::Opaque,
});
}
Expand Down

0 comments on commit 06af90a

Please sign in to comment.