File: geometry_gl3.frag

package info (click to toggle)
qt3d-opensource-src 5.15.17%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 119,360 kB
  • sloc: cpp: 220,927; ansic: 904; python: 467; objc: 244; javascript: 158; pascal: 155; xml: 28; makefile: 25
file content (16 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 140

in vec4 color0;
in vec3 position0;
in vec3 normal0;

out vec4 color;
out vec4 position;
out vec4 normal;

void main()
{
    color = color0;
    position = vec4(position0, 0.0);
    normal = vec4(normal0, 0.0);
}