mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
Remove unused mip_bias parameter from apply_normal_mapping (#13752)
Mip bias is no longer used here
This commit is contained in:
parent
0dfdd87248
commit
c50a4d8821
4 changed files with 0 additions and 5 deletions
|
@ -49,7 +49,6 @@ fn fragment(
|
||||||
double_sided,
|
double_sided,
|
||||||
is_front,
|
is_front,
|
||||||
Nt,
|
Nt,
|
||||||
view.mip_bias,
|
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -378,7 +378,6 @@ fn pbr_input_from_standard_material(
|
||||||
double_sided,
|
double_sided,
|
||||||
is_front,
|
is_front,
|
||||||
Nt,
|
Nt,
|
||||||
view.mip_bias,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif // STANDARD_MATERIAL_NORMAL_MAP
|
#endif // STANDARD_MATERIAL_NORMAL_MAP
|
||||||
|
@ -408,7 +407,6 @@ fn pbr_input_from_standard_material(
|
||||||
double_sided,
|
double_sided,
|
||||||
is_front,
|
is_front,
|
||||||
clearcoat_Nt,
|
clearcoat_Nt,
|
||||||
view.mip_bias,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif // STANDARD_MATERIAL_CLEARCOAT_NORMAL_MAP
|
#endif // STANDARD_MATERIAL_CLEARCOAT_NORMAL_MAP
|
||||||
|
|
|
@ -181,7 +181,6 @@ fn apply_normal_mapping(
|
||||||
double_sided: bool,
|
double_sided: bool,
|
||||||
is_front: bool,
|
is_front: bool,
|
||||||
in_Nt: vec3<f32>,
|
in_Nt: vec3<f32>,
|
||||||
mip_bias: f32,
|
|
||||||
) -> vec3<f32> {
|
) -> vec3<f32> {
|
||||||
// Unpack the TBN vectors.
|
// Unpack the TBN vectors.
|
||||||
var T = TBN[0];
|
var T = TBN[0];
|
||||||
|
|
|
@ -82,7 +82,6 @@ fn fragment(
|
||||||
double_sided,
|
double_sided,
|
||||||
is_front,
|
is_front,
|
||||||
Nt,
|
Nt,
|
||||||
view.mip_bias,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif // STANDARD_MATERIAL_NORMAL_MAP
|
#endif // STANDARD_MATERIAL_NORMAL_MAP
|
||||||
|
|
Loading…
Reference in a new issue