Skip to content

Commit

Permalink
Test special Kal code
Browse files Browse the repository at this point in the history
  • Loading branch information
audaki committed Apr 18, 2024
1 parent 24a1f13 commit 419343e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resource/shaders/HDR/basic_hdr_shader_ps.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,12 @@ main (PS_INPUT input) : SV_TARGET
);


//color_out.rgba = 0.0f;
//color_out.g = 1.0f / color_out.r;
color_out.a = 1;
color_out.r *= (orig_color.r >= FLT_EPSILON);
color_out.g *= (orig_color.g >= FLT_EPSILON);
color_out.b *= (orig_color.b >= FLT_EPSILON);
color_out.rgba = float4(0.0f, 0.0f, 0.0f, 0.0f);
color_out.g = 1.0f / color_out.r;
//color_out.a = 1;
//color_out.r *= (orig_color.r >= FLT_EPSILON);
//color_out.g *= (orig_color.g >= FLT_EPSILON);
//color_out.b *= (orig_color.b >= FLT_EPSILON);

return
FinalOutput (color_out);
Expand Down

0 comments on commit 419343e

Please sign in to comment.