File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
crates/bevy_pbr/src/render Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change 11
11
struct FragmentInput {
12
12
@builtin (front_facing ) is_front : bool ,
13
13
@builtin (position ) frag_coord : vec4 <f32 >,
14
- @builtin (sample_index ) sample_index : u32 ,
15
14
#import bevy_pbr ::mesh_vertex_output
16
15
};
17
16
@@ -77,7 +76,6 @@ fn fragment(in: FragmentInput) -> @location(0) vec4<f32> {
77
76
pbr_input . N = prepare_normal (
78
77
material . flags,
79
78
in . world_normal,
80
- // prepass_normal(in.frag_coord, in.sample_index),
81
79
#ifdef VERTEX_TANGENTS
82
80
#ifdef STANDARDMATERIAL_NORMAL_MAP
83
81
in . world_tangent,
Original file line number Diff line number Diff line change 14
14
struct FragmentInput {
15
15
@builtin (front_facing ) is_front : bool ,
16
16
@builtin (position ) frag_coord : vec4 <f32 >,
17
- @builtin (sample_index ) sample_index : u32 ,
18
17
#ifdef OUTPUT_NORMALS
19
18
@location (0 ) world_normal : vec3 <f32 >,
20
19
#ifdef VERTEX_UVS
You can’t perform that action at this time.
0 commit comments