I’ve been really enjoying the awesome new powerful tools in Unity5. Especially the real time GI but this morning I noticed issues in low light conditions, I get severe banding and artifacts.
A partial solution to this is make sure your camera is HDR-enabled. This smooths out a lot of the banding because of the larger range of light values permitted. I’m not sure, however, that the banding apparent in a non-HDR scene is avoidable. We need Unity tech person or somebody with more knowledge than I who could shed some light on this to help explain this issue.
I can also confirm the bug. I also reported it last December (case 657956 ). I had gotten a confirmation for the QA back then.
From what I can tell, since the early 5.0 beta, they have fixed a lot of bugs with the integration of enlighten with Unity, but the tech itself remains exactly the same. That’s why I think most of these bugs will be solved when Unity upgrades to a newer version of Enlighten (3.02) which is supposed to happen eventually.
If you aren’t using linear + hdr, then banding is unavoidable in low light situations because there aren’t enough colours for the resolution to display. Does using the cinematic tone mapping and color grading on bitbucket with “Dithering” option enabled fix this for you?
If you are talking about spaghetti lines then these are not banding, and banding is the wrong term for it. Those are artefacts and any bug reports may help more there.
The scene uses linear (always do) and HDR. Cinematic and tone mapping does nothing, as you can see it happens in camera and directly in editor.
I think the video example clearly demonstrates the banding, or spaghetti lines, however it should be phrased. It can really break any attempt at realistic lighting.
I’m getting the exact same banding pattern shown in your second video. The only thing that seems to help is setting the general GI default parameters to high, I’m guessing you’ve probably tried that though. Would be nice if a Unity person could say what’s going on.
Banding in really dark scenes is unfortunately unavoidable and is usually worked around in post, but this artifact going from dark to bright to dark is unexpected. We seen this snaking/spaghetti artifact before and we’re looking into it. Thanks for putting together the reproducers.
Is it because of RGBM encoding (I mean the banding)? Have you seen the encoding “fix” that Ignacio Castagno did for the witness? I believe he was using max(r,g,b,1). Aras and Robert rejected the approach based on this : Unity Web Player | "Sample"
But that was specific to DXT5 and I believe max(r,g,b,1) has better results if it’s uncompressed. (or maybe I remember it wrong, it’s been years, and maybe with enlighten it’s not relevant at all any more, sooo… whatever )