[5.1] Issues with global distance field max distance while using lumen

I get that, in terms of the actual lumen traces, but it shouldn’t be breaking the entire distance field. If I have the distance field max distance set to like 1km, Lumen should still cap to 200m default, but the rest of the things that use distance fields should NOT be getting broken. I did test out the lumen scene view distance setting and it gives me control over the the range again, which is nice, but obviously comes at a price. But again, it should not be overriding the entire system like that.

Also, the entire distance field system gets broken with lumen GI. Even when you’re in range, it looks like something out of an 8bit game when you use distancetonearestsurface materials:

Imgur

Which is leading to issues like this(debug material while working on shoreline stuff using a single layer water material and lerping between absorption coefficents based on the distance to nearest surface):
Imgur

EDIT: I did read in the lumen details page that it doesn’t support single layer water, so I made a new material and changed the shading model and this is still what I get:

Imgur

2 Likes