Include the following details while filing a bug report (edit as applicable):
Issue category : ARDK
Device type & OS version : Android 12
Host machine & OS version : Windows 10
Issue Environment : On Device
ARDK version : 1.3
Unity version : 2021.3.0f1
Bug reproduction steps:
Make URP ARDK scene
Enable post processing and bloom
In the URP asset put Grading Mode to HDR
Made a previous post thinking it was the post processing itself, but found out it is color grading:
Having Bloom set to 1 isnt a nice way of doing bloom anyway.
I recommend increasing the threshold.
The Camera Feed is not an HDR source so putting the threshold over 1 should stop blooming the image.
If you want to exclude it completely you wouldnt get the blooimg blur on top of the camera feed, only on top of objects
Using the shaders from:
So when switching to linear color space the camera background gets washed out.
I modified the background shaders so the camera image gets transformed correctly back to Gamma Space and looks correct.
The Shaders are located under ARDK/Rendering/Ressources
ARKitFrame and ARCoreFrame are the ones that need to be replaced with the version below.
ARCoreFrame.shader (5.4 KB)
ARKitFrame.shader (5.2 KB)
The Camera Image now should be looking correct again and you still can use all the Post Process…
I know the camera feed is SDR, but post processing should not be able to mess this up this much
Hey Dylan,
Could you send us any more information you might have? Specifically, some screenshots would be great. I would like to see what you are seeing. Even a video would work. Also have there been any changes in your code at all? Please let us know so we can assist you further.
1 Like
Here are 2 images comparing both post processing grading mode. There is no actual post processing applied, it’s just enabled on the camera with an empty volume.
I changed no code related to rendering.
My device is a Sony Xperia 1 II
If you need any more info let me know
Here is a project with the bug active for me (color grading on HDR)
@Dylan_Smit thank you! We’re following up on this internally.
1 Like