Skip to content

Commit

Permalink
Explicitly disable sRGB in HDR framebuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
rdb authored and Moguri committed Mar 19, 2024
1 parent 902e7db commit a3c5a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simplepbr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a3c5a07

Please sign in to comment.