Edit Mode : Bias Face dot position
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user