default.vert (393B)
1 /* 2 Copyright (c) 2019 The Khronos Group Inc. 3 Use of this source code is governed by an MIT-style license that can be 4 found in the LICENSE.txt file. 5 */ 6 7 8 attribute vec4 gtf_Color; 9 attribute vec4 gtf_Vertex; 10 uniform mat4 gtf_ModelViewProjectionMatrix; 11 varying vec4 color; 12 13 void main (void) 14 { 15 color = gtf_Color; 16 gl_Position = gtf_ModelViewProjectionMatrix * gtf_Vertex; 17 gl_PointSize = 1.0; 18 }