The new 5.6 feature to have MSAA with HDR is just awesome for Virtual Reality, i tried for weeks to achieve something similar with RGBM compression and custom shaders.
Anyway, i found a problem about this when i activate HDR and MSAA and sample the depth buffer inside an image effect shader. At first it seams to work nicely (no filtering in depthbuffer though) but after baking light the depth buffer is just black. Anyone else observed this problem? Seams weird that when i disable baked GI it works again, and when i reenable it the depth buffer is just black again… maybe some flags are set wrong or wat?
1 Like
That sounds liek a weird bug. Can you please raise an issue?
1 Like
did already last week but with very short description. maybe i can raise another one with more detailed information this week.
You can add info to the old bug.
Also it might be useful to post the case no here so the interested dev can find it ![]()
sorry my fault, it works perfectly fine! i just decoded the wrong depthmap. I used DepthTextureMode.DepthNormals on my camera but decoded the sampler2D _CameraDepthTexture instead of sampler2D _CameraDepthNormalsTexture . Still no idea why the checkbox on the lightbaker influenced it last week though…
![]()