Skip to content

Commit

Permalink
array_texture example: use new name of pbr function (bevyengine#10168)
Browse files Browse the repository at this point in the history
# Objective

- After bevyengine#7820 example `array_texture` doesn't display anything

## Solution

- Use the new name of the function in the shader
  • Loading branch information
mockersf authored and Ray Redondo committed Jan 9, 2024
1 parent 150edbe commit 940e2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/shaders/array_texture.wgsl
Expand Up @@ -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);
}

0 comments on commit 940e2c8

Please sign in to comment.