File: depth.vert

package info (click to toggle)
glmark2 2023.01%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,380 kB
  • sloc: cpp: 20,680; python: 13,052; ansic: 8,595; java: 1,246; xml: 383; makefile: 42; sh: 39
file content (12 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
attribute vec3 position;
attribute vec3 normal;

uniform mat4 ModelViewProjectionMatrix;

varying vec3 Normal;

void main(void)
{
    Normal = normal;
    gl_Position = ModelViewProjectionMatrix * vec4(position, 1.0);
}