Remove unused mip_bias parameter from apply_normal_mapping (#13752)

Mip bias is no longer used here
This commit is contained in:
JMS55 2024-06-10 06:00:34 -07:00 committed by GitHub
parent 0dfdd87248
commit c50a4d8821
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 5 deletions

View file

@ -49,7 +49,6 @@ fn fragment(
double_sided,
is_front,
Nt,
view.mip_bias,
);
#endif

View file

@ -378,7 +378,6 @@ fn pbr_input_from_standard_material(
double_sided,
is_front,
Nt,
view.mip_bias,
);
#endif // STANDARD_MATERIAL_NORMAL_MAP
@ -408,7 +407,6 @@ fn pbr_input_from_standard_material(
double_sided,
is_front,
clearcoat_Nt,
view.mip_bias,
);
#endif // STANDARD_MATERIAL_CLEARCOAT_NORMAL_MAP

View file

@ -181,7 +181,6 @@ fn apply_normal_mapping(
double_sided: bool,
is_front: bool,
in_Nt: vec3<f32>,
mip_bias: f32,
) -> vec3<f32> {
// Unpack the TBN vectors.
var T = TBN[0];

View file

@ -82,7 +82,6 @@ fn fragment(
double_sided,
is_front,
Nt,
view.mip_bias,
);
#endif // STANDARD_MATERIAL_NORMAL_MAP