Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
12 lines
115 B
GLSL
12 lines
115 B
GLSL
|
|
in vec3 pos;
|
|
|
|
out vec4 vPos;
|
|
flat out int face;
|
|
|
|
void main()
|
|
{
|
|
vPos = vec4(pos, 1.0);
|
|
face = gl_InstanceID;
|
|
}
|