Skip to content

Commit 9519fb8

Browse files
committed
fix(starfield): fix clip instead of gamut compress for photomode
1 parent 3a2704c commit 9519fb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/games/starfield/screenshot_blit_pixel_shader.ps_6_6.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Texture2D<float4> hdr_source : register(t0);
44

55
float4 main(float4 position: SV_Position) : SV_Target {
66
float4 source = hdr_source.Load(int3(int2(position.xy), 0));
7-
float3 color = max(0.f, renodx::draw::InvertIntermediatePass(source.rgb));
7+
float3 color = renodx::draw::InvertIntermediatePass(source.rgb);
88
color = renodx::color::gamut::GamutCompressBT709(color);
99
color = renodx::tonemap::neutwo::MaxChannel(color);
1010
color = saturate(color);
11-
return float4(renodx::color::srgb::Encode(saturate(color)), source.a);
11+
return float4(renodx::color::srgb::Encode(color), source.a);
1212
}

0 commit comments

Comments
 (0)