diff options
Diffstat (limited to 'Master/texmf-dist/asymptote/shaders/vertex.glsl')
-rwxr-xr-x | Master/texmf-dist/asymptote/shaders/vertex.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/shaders/vertex.glsl b/Master/texmf-dist/asymptote/shaders/vertex.glsl index 9a54d3211ca..4b2a54b9897 100755 --- a/Master/texmf-dist/asymptote/shaders/vertex.glsl +++ b/Master/texmf-dist/asymptote/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 |