There were 3 issues with the code. Issue #1: The normal calculation was wrong v_Normal = normalize(vec3(u_NormalMatrix * a_Normal));.
確定! 回上一頁