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:
François 2023-10-18 03:19:28 +02:00 committed by GitHub
parent c99351f7c2
commit f6003c3553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}