Closed kvark closed 5 years ago
Positive direction rays are almost perfect now:
Debug mode matrix:
Dual layer is here :tada: :
I think the change is basically done. Of course quality/performance improvements are possible here and there, but this will always be the case.
The biggest concern is currently the portability of the change:
sampler2DArray
texture:texelFetch
with non-zero LOD always returns zerotextureLod
with non-zero LOD always returns the data from the base LODWith this in mind, I think we should proceed with the change, considering the follow-ups:
Alright, I did the most reasonable thing for portability - brought back the old ray tracer, just as a fallback option. Time to ship this! bors r+
Algorithm is based on Maximum Mipmaps for Fast, Accurate, and Scalable Dynamic Height Field Rendering.