• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 400
2
3in vec4 bigColor;
4in vec4 BaseColor;
5in float d;
6
7float bar = 2.0;
8
9void foo()
10{
11    bar++;
12
13	return;
14}
15
16void foo2()
17{
18    bar++;
19}
20
21void main()
22{
23	vec4 outColor = bigColor;
24
25	foo();
26
27	foo2();
28
29	outColor.x += bar;
30
31    gl_FragColor = outColor;
32
33	return;
34}
35