• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 450
2
3layout(location = 0) in vec4 samp;
4layout(location = 0) out vec4 color;
5
6void main()
7{
8    if (gl_SampleID < 3)
9        color = samp;
10    else
11        color = 2 * samp;
12}