From a3c5a075492094e50be4fa26eb138534dbc9952a Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 18 Mar 2024 18:42:18 +0100 Subject: [PATCH] Explicitly disable sRGB in HDR framebuffer --- simplepbr/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/simplepbr/__init__.py b/simplepbr/__init__.py index d553ef0..10cebe1 100644 --- a/simplepbr/__init__.py +++ b/simplepbr/__init__.py @@ -308,6 +308,7 @@ def _setup_tonemapping(self) -> None: fbprops = p3d.FrameBufferProperties() fbprops.float_color = True + fbprops.srgb_color = False fbprops.set_rgba_bits(16, 16, 16, 16) fbprops.set_depth_bits(24) fbprops.set_multisamples(self.msaa_samples)