From 6558dbb0da0d8fa1eba665c75a1eb3664a36207e Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Tue, 26 Sep 2023 01:00:55 -0300 Subject: [PATCH] Remove outdated TODO comment --- crates/bevy_pbr/src/render/pbr_lighting.wgsl | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/bevy_pbr/src/render/pbr_lighting.wgsl b/crates/bevy_pbr/src/render/pbr_lighting.wgsl index af669c9fd0..884858cfed 100644 --- a/crates/bevy_pbr/src/render/pbr_lighting.wgsl +++ b/crates/bevy_pbr/src/render/pbr_lighting.wgsl @@ -311,7 +311,6 @@ fn specular_transmissive_light(world_position: vec4, frag_coord: vec3, let background_color = fetch_transmissive_background(offset_position, frag_coord, view_z, perceptual_roughness); // Calculate final color by applying specular transmissive color to a mix of background color and transmitted specular environment light - // TODO: Add support for attenuationColor and attenuationDistance return specular_transmissive_color * mix(transmitted_environment_light_specular, background_color.rgb, background_color.a); }