filament
filament copied to clipboard
turn FILAMENT_DISABLE_MATOPT off cause SSR's rendering result error
when i turn FILAMENT_DISABLE_MATOPT off in cmakelist, i got a error rendering with screen space reflection which is right when i open FILAMENT_DISABLE_MATOPT.
FILAMENT_DISABLE_MATOPT off:
FILAMENT_DISABLE_MATOPT on:
Which backend (OpenGL, Metal, Vulkan) / platform (macOS, Windows, etc) are you using?
Which backend (OpenGL, Metal, Vulkan) / platform (macOS, Windows, etc) are you using?
OpenGL with Nvidia GTX 2060, i found it is a similar case as issue, scaleMatrix in light_reflections.fs cause a bad optimization by SPIR-V tool.
highp mat4 uvFromViewMatrix = scaleMatrix(res.x, res.y) * frameUniforms.ssrUvFromViewMatrix;
Isn't this also similar to this issue ?
I'm going to assume this is fixed because the spirv matrix assignment issue has been fixed.