summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/shaders/vertex.glsl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-03 22:35:09 +0000
committerKarl Berry <karl@freefriends.org>2020-03-03 22:35:09 +0000
commitf6bb2b5974c9dc15a4530842100d30fe1981b973 (patch)
tree62ef95efa54d91b6eafb6df99f330dc136f77f29 /Build/source/utils/asymptote/base/shaders/vertex.glsl
parent24dbc0b1802756862bedad6a4088f50aad68b51b (diff)
asy 2.63 sources
git-svn-id: svn://tug.org/texlive/trunk@54034 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/base/shaders/vertex.glsl')
-rw-r--r--Build/source/utils/asymptote/base/shaders/vertex.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/base/shaders/vertex.glsl b/Build/source/utils/asymptote/base/shaders/vertex.glsl
index 9a54d3211ca..4b2a54b9897 100644
--- a/Build/source/utils/asymptote/base/shaders/vertex.glsl
+++ b/Build/source/utils/asymptote/base/shaders/vertex.glsl
@@ -34,7 +34,7 @@ void main()
#ifndef ORTHOGRAPHIC
ViewPosition=(viewMat*v).xyz;
#endif
- Normal=normal*normMat;
+ Normal=normalize(normal*normMat);
#endif
#ifdef COLOR