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 Oct 18, 2023
1 parent c99351f commit f6003c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/shaders/array_texture.wgsl
Original file line number Diff line number Diff line change
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 f6003c3

Please sign in to comment.