Debug draw for normals is wrong
The code in debug.omwfx for displaying normals is omw_FragColor.rgb = omw_GetNormals(omw_TexCoord);
, but it should be something like omw_FragColor.rgb = omw_GetNormals(omw_TexCoord)*0.5 + vec3(0.5);
instead because the normals returned by omw_GetNormals
are -1.0 to 1.0 normalized, not 0.0 to 1.0 normalized.