Bring a material's shading defines in line with mode.
Third in the family, and the one whose stale-flag case is worst: a stranded
LUXAR_MESH_NO_SHADING alongside LUXAR_MESH_FLAT_NORMAL gives a shader that
computes a derivative normal and then discards it, so the mesh renders FLATLY
LIT — which looks like a deliberate unlit style rather than a bug.
Bring a material's shading defines in line with
mode.Third in the family, and the one whose stale-flag case is worst: a stranded
LUXAR_MESH_NO_SHADINGalongsideLUXAR_MESH_FLAT_NORMALgives a shader that computes a derivative normal and then discards it, so the mesh renders FLATLY LIT — which looks like a deliberate unlit style rather than a bug.