blob: d4ef3e6142f51320e3bfc17b95ab50c0aa5c5042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
#ifndef UNIFORM
interp.color = color;
#endif
#ifdef CLIP
interp.clip = dot(ModelMatrix * vec4(pos, 1.0), ClipPlane);
#endif
}
|