Skip to content

Commit

Permalink
test11
Browse files Browse the repository at this point in the history
  • Loading branch information
audaki committed Apr 18, 2024
1 parent 2ed502a commit b85cbf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resource/shaders/HDR/basic_hdr_shader_ps.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,13 @@ main (PS_INPUT input) : SV_TARGET
);

if (orig_color.r < FLT_EPSILON) {
color_out.r *= 0;
color_out.r = 0;
}
if (orig_color.g < FLT_EPSILON) {
color_out.g *= 0;
color_out.g = 0;
}
if (orig_color.b < FLT_EPSILON) {
color_out.b *= 0;
color_out.b = 0;
}

return
Expand Down

0 comments on commit b85cbf1

Please sign in to comment.