src/glcompiler.cpp

changeset 1237
40bb00d82e2b
parent 1173
6cd85b28f43b
child 1239
f1cf9d2d463a
--- a/src/glcompiler.cpp	Fri Jan 12 00:55:31 2018 +0200
+++ b/src/glcompiler.cpp	Sat Jan 13 00:04:54 2018 +0200
@@ -421,6 +421,12 @@
 				        << -normals[vert].y()
 				        << -normals[vert].z();
 			}
+			else if (complement == VboSubclass::InvertedNormals)
+			{
+				vbodata << -normals[vert].x();
+				vbodata << +normals[vert].y();
+				vbodata << +normals[vert].z();
+			}
 			else
 			{
 				vbodata	<< ((GLfloat) color.red()) / 255.0f

mercurial