Skip to content

Commit ccd78c6

Browse files
mockersfameknite
authored andcommitted
array_texture example: use new name of pbr function (bevyengine#10168)
# Objective - After bevyengine#7820 example `array_texture` doesn't display anything ## Solution - Use the new name of the function in the shader
1 parent 00ad987 commit ccd78c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/shaders/array_texture.wgsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ fn fragment(
4646
);
4747
pbr_input.V = fns::calculate_view(mesh.world_position, pbr_input.is_orthographic);
4848

49-
return tone_mapping(fns::pbr(pbr_input), view.color_grading);
49+
return tone_mapping(fns::apply_pbr_lighting(pbr_input), view.color_grading);
5050
}

0 commit comments

Comments
 (0)