mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
array_texture example: use new name of pbr function (#10168)
# Objective - After #7820 example `array_texture` doesn't display anything ## Solution - Use the new name of the function in the shader
This commit is contained in:
parent
c99351f7c2
commit
f6003c3553
1 changed files with 1 additions and 1 deletions
|
@ -46,5 +46,5 @@ fn fragment(
|
|||
);
|
||||
pbr_input.V = fns::calculate_view(mesh.world_position, pbr_input.is_orthographic);
|
||||
|
||||
return tone_mapping(fns::pbr(pbr_input), view.color_grading);
|
||||
return tone_mapping(fns::apply_pbr_lighting(pbr_input), view.color_grading);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue