There was an error while loading. Please reload this page.
1 parent 3a2704c commit 9519fb8Copy full SHA for 9519fb8
1 file changed
src/games/starfield/screenshot_blit_pixel_shader.ps_6_6.hlsl
@@ -4,9 +4,9 @@ Texture2D<float4> hdr_source : register(t0);
4
5
float4 main(float4 position: SV_Position) : SV_Target {
6
float4 source = hdr_source.Load(int3(int2(position.xy), 0));
7
- float3 color = max(0.f, renodx::draw::InvertIntermediatePass(source.rgb));
+ float3 color = renodx::draw::InvertIntermediatePass(source.rgb);
8
color = renodx::color::gamut::GamutCompressBT709(color);
9
color = renodx::tonemap::neutwo::MaxChannel(color);
10
color = saturate(color);
11
- return float4(renodx::color::srgb::Encode(saturate(color)), source.a);
+ return float4(renodx::color::srgb::Encode(color), source.a);
12
}
0 commit comments