摘要:
GLSL TutorialNormalization Issues Vertex Shader The dot product is commonly used to compute the cosine of the angle between two vectors. As we know this will only hold if both vectors are normalized. ... 阅读全文
posted @ 2009-08-10 22:38
lizhengjin
阅读(877)
评论(0)
推荐(0)
摘要:
GLSL TutorialThe gl_NormalMatrix The gl_NormalMatrix is present in many vertex shaders. In here some light is shed on what is this matrix and what is it for. This section was inspired by the excellent... 阅读全文
posted @ 2009-08-10 21:56
lizhengjin
阅读(1243)
评论(0)
推荐(0)
浙公网安备 33010602011771号