Rendering out 32bit EXR frames with Recorder?

Hi! I'm trying to render out some 32 bit frames with the Recorder, and the output images do become 32bit EXR's, but the information in them is still in the bottom 0-255 (8 bit).

How can I render out 32 bit frames with all the values intact?

Looks like it's broken. I would submit a bug report.

1 Like

Ah okay, so it IS at least supposed to work like I'm imagining? I have found no information at all about rendering EXR's in Unity, besides that the option exists.

If you use the post processing stack there’s a button to export the current camera view to an EXR. This outputs a perfect image with all of the original HDR information. So it’s possible to have it work like you expect, but whatever the recorder is doing isn’t doing the same thing.

It might be possible to look at the two implementations and fix it yourself if you’re code savvy, but you should report a bug either way.

1 Like

Hi @Spoonfishlee ,
For unclamped values with the HDR option you need to:
• Disable any "Tonemapping" post-processes
• Disable "Dithering" on the render camera (it's enabled by default and compresses data to 8-bits)
Tell us it that works for you.
We will add this to the documentation.

1 Like

My test case was with a scene w/o any post processing at all. Just a camera set to render with HDR and a material outputting a known HDR value (2.0). Recorder's EXR output was clamped.

We've turned off tonemapping on all our volumes, but with no results. Is there any default tonemapping hidden in preferences or the HDRP asset or anything like that?

Have you checked the HDR checkbox? (HDR option is only available in the latest Recorder package)

Considering that option doesn't exist in any of the versions of the Recorder package I can find, no.

The changelog notes that HDR recording only works with the HDRP. I'm using the built in rendering paths & LWRP/URP, not HDRP, which would explain why I can't find it.

For anyone else that comes across this issue in the future: I'm using Universal Render Pipeline so results may vary for you, but I worked around it by forcing the method ImageRecorderSettings.CanCaptureHDRFrames to return true and making sure my camera had post processing turned off, Camera's HDR set to UsePipelineSettings, and HDR option is on in pipeline settings asset.

Yes, HDR recording only works with HDRP currently, as we developed this with Animation and Film pipeline in mind. @AA-Matt and @bgolus what are your use cases for HDR recording from URP? (thanks @aA -Mat for sharing your work around).

I don't actually have a use case for it, just confirming what others are seeing.

My use case was to render the background of a scene to a high resolution skybox but I also wanted to be able to use it for lighting the scene and so needed it to be an HDR panorama.

Hi there, we're running into the same issue: using HDRP (2019.3), trying to export 32 bit EXRs, but no success.

We've disabled tonemapping and dithering, but the option to Capture Frames in HDR is greyed out in the recorder.

1 Like

URP and HDR are possible so there is a case for youtube gameplay videos and trailers to use HDR