We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d31c6 commit 2fedba4Copy full SHA for 2fedba4
crates/bevy_pbr/src/deferred/pbr_deferred_functions.wgsl
@@ -96,7 +96,6 @@ fn pbr_input_from_deferred_gbuffer(frag_coord: vec4<f32>, gbuffer: vec4<u32>) ->
96
pbr.material.base_color = vec4(pow(base_rough.rgb, vec3(2.2)), 1.0);
97
pbr.material.emissive = vec4(emissive, 1.0);
98
}
99
-
100
#ifdef WEBGL2 // More crunched for webgl so we can also fit depth.
101
let props = deferred_types::unpack_unorm3x4_plus_unorm_20_(gbuffer.b);
102
// Bias to 0.5 since that's the value for almost all materials.
0 commit comments