Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
Popov72 committed Nov 15, 2024
1 parent 147f3c2 commit 691b289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var fragData: array<vec4<f32>, SCENE_MRT_COUNT>;
#ifdef PREPASS_COLOR
fragData[PREPASS_COLOR_INDEX] = finalColor; // No split lighting
#endif
fragData[PREPASS_IRRADIANCE_INDEX] = vec4f(clamp(irradiance, vec3f(0.), vec3f(1.)), writeGeometryInfo * 1.); // Irradiance + SS diffusion profile
fragData[PREPASS_IRRADIANCE_INDEX] = vec4f(clamp(irradiance, vec3f(0.), vec3f(1.)), writeGeometryInfo); // Irradiance + SS diffusion profile
#endif
#elif defined(PREPASS_COLOR)
fragData[PREPASS_COLOR_INDEX] = vec4f(finalColor.rgb, finalColor.a);
Expand Down

0 comments on commit 691b289

Please sign in to comment.