git-svn-id: svn://db.shs.com.ru/libs@673 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -7,8 +7,7 @@ void main(void) {
|
|||||||
qgl_FragTexture = qgl_Texture;
|
qgl_FragTexture = qgl_Texture;
|
||||||
gl_Position = qgl_ftransform();
|
gl_Position = qgl_ftransform();
|
||||||
|
|
||||||
mat3 nmat = qgl_getNormalMatrix();
|
geom_normal = normalize(qgl_Normal * qgl_getNormalMatrix());
|
||||||
geom_normal = normalize(nmat * qgl_Normal);
|
|
||||||
object_color = qgl_ObjectColor;
|
object_color = qgl_ObjectColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user