Edit Mode : Bias Face dot position

This commit is contained in:
2017-09-22 00:40:31 +02:00
parent 4bfa3f4f9b
commit 02cd48a087

View File

@@ -9,6 +9,8 @@ flat out int isSelected;
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
/* Bias Facedot Z position in clipspace. */
gl_Position.z -= 0.0002;
gl_PointSize = sizeFaceDot;
isSelected = int(norAndFlag.w);
}