Fix T56692: The edges are not highlighted in Mark Freestyle Edge
[blender.git] / source / blender / draw / modes / shaders / common_globals_lib.glsl
1
2 /* keep in sync with GlobalsUboStorage */
3 layout(std140) uniform globalsBlock {
4         vec4 colorWire;
5         vec4 colorWireEdit;
6         vec4 colorActive;
7         vec4 colorSelect;
8         vec4 colorTransform;
9         vec4 colorLibrarySelect;
10         vec4 colorLibrary;
11         vec4 colorLamp;
12         vec4 colorSpeaker;
13         vec4 colorCamera;
14         vec4 colorEmpty;
15         vec4 colorVertex;
16         vec4 colorVertexSelect;
17         vec4 colorEditMeshActive;
18         vec4 colorEdgeSelect;
19         vec4 colorEdgeSeam;
20         vec4 colorEdgeSharp;
21         vec4 colorEdgeCrease;
22         vec4 colorEdgeBWeight;
23         vec4 colorEdgeFaceSelect;
24         vec4 colorEdgeFreestyle;
25         vec4 colorFace;
26         vec4 colorFaceSelect;
27         vec4 colorFaceFreestyle;
28         vec4 colorNormal;
29         vec4 colorVNormal;
30         vec4 colorLNormal;
31         vec4 colorFaceDot;
32         vec4 colorDeselect;
33         vec4 colorOutline;
34         vec4 colorLampNoAlpha;
35
36         vec4 colorBackground;
37
38         vec4 colorHandleFree;
39         vec4 colorHandleAuto;
40         vec4 colorHandleVect;
41         vec4 colorHandleAlign;
42         vec4 colorHandleAutoclamp;
43         vec4 colorHandleSelFree;
44         vec4 colorHandleSelAuto;
45         vec4 colorHandleSelVect;
46         vec4 colorHandleSelAlign;
47         vec4 colorHandleSelAutoclamp;
48         vec4 colorNurbUline;
49         vec4 colorNurbSelUline;
50         vec4 colorActiveSpline;
51
52         vec4 colorBonePose;
53
54         vec4 colorCurrentFrame;
55
56         vec4 colorGrid;
57         vec4 colorGridEmphasise;
58         vec4 colorGridAxisX;
59         vec4 colorGridAxisY;
60         vec4 colorGridAxisZ;
61
62         float sizeLampCenter;
63         float sizeLampCircle;
64         float sizeLampCircleShadow;
65         float sizeVertex;
66         float sizeEdge;
67         float sizeEdgeFix;
68         float sizeFaceDot;
69
70         float gridDistance;
71         float gridResolution;
72         float gridSubdivisions;
73         float gridScale;
74 };