File: test.frag

package info (click to toggle)
globjects 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 8,932 kB
  • sloc: cpp: 60,418; python: 6,620; sh: 596; makefile: 497
file content (16 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 140
#extension GL_ARB_explicit_attrib_location : require
#extension GL_ARB_shading_language_include : require

layout (location = 0) out vec4 fragColor;

in vec2 v_uv;

void main()
{
	vec4 color = vec4(0.6, 0.3, 0.3, 1.0);
	
	#include </color.glsl>
	
	fragColor = color;
}