Use tone mapping in array_texture example (#5131)
# Objective The array_texture example does not currently apply tone mapping:  ## Solution Use tone mapping: 
This commit is contained in:
parent
7a42f7b3f9
commit
7d55414652
@ -59,5 +59,5 @@ fn fragment(in: FragmentInput) -> [[location(0)]] vec4<f32> {
|
|||||||
);
|
);
|
||||||
pbr_input.V = calculate_view(in.world_position, pbr_input.is_orthographic);
|
pbr_input.V = calculate_view(in.world_position, pbr_input.is_orthographic);
|
||||||
|
|
||||||
return pbr(pbr_input);
|
return tone_mapping(pbr(pbr_input));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user