c55457bb6d2a08c78974764ca3b26e09ad09951e
[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 colorFace;
25         vec4 colorFaceSelect;
26         vec4 colorNormal;
27         vec4 colorVNormal;
28         vec4 colorLNormal;
29         vec4 colorFaceDot;
30
31         vec4 colorDeselect;
32         vec4 colorOutline;
33         vec4 colorLampNoAlpha;
34
35         vec4 colorBackground;
36
37         vec4 colorHandleFree;
38         vec4 colorHandleAuto;
39         vec4 colorHandleVect;
40         vec4 colorHandleAlign;
41         vec4 colorHandleAutoclamp;
42         vec4 colorHandleSelFree;
43         vec4 colorHandleSelAuto;
44         vec4 colorHandleSelVect;
45         vec4 colorHandleSelAlign;
46         vec4 colorHandleSelAutoclamp;
47         vec4 colorNurbUline;
48         vec4 colorNurbSelUline;
49         vec4 colorActiveSpline;
50
51         vec4 colorBonePose;
52
53         vec4 colorCurrentFrame;
54
55         vec4 colorGrid;
56         vec4 colorGridEmphasise;
57         vec4 colorGridAxisX;
58         vec4 colorGridAxisY;
59         vec4 colorGridAxisZ;
60
61         float sizeLampCenter;
62         float sizeLampCircle;
63         float sizeLampCircleShadow;
64         float sizeVertex;
65         float sizeEdge;
66         float sizeEdgeFix;
67         float sizeFaceDot;
68
69         float gridDistance;
70         float gridResolution;
71         float gridSubdivisions;
72         float gridScale;
73 };