Various miscelaneous changes (#6496)

This commit is contained in:
Vitor K
2023-05-03 12:24:10 -03:00
committed by GitHub
parent 41f13456c0
commit 34de77d429
74 changed files with 44 additions and 81 deletions

View File

@@ -35,8 +35,8 @@ std::tuple<Common::Vec4<u8>, Common::Vec4<u8>> ComputeFragmentsColors(
shadow = Common::MakeVec(1.0f, 1.0f, 1.0f, 1.0f);
}
Common::Vec3<float> surface_normal;
Common::Vec3<float> surface_tangent;
Common::Vec3<float> surface_normal{};
Common::Vec3<float> surface_tangent{};
if (lighting.config0.bump_mode != LightingRegs::LightingBumpMode::None) {
Common::Vec3<float> perturbation =