~vladh/peony

peony/src_shaders/debugdraw.frag -rw-r--r-- 208 bytes
7fc9922bVlad-Stefan Harbuz changes shaders namespace into class a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
  Peony Game Engine
  Copyright (C) 2020 Vlad-Stefan Harbuz <vlad@vladh.net>
  All rights reserved.
*/

in BLOCK {
  vec4 color;
} fs_in;

out vec4 frag_color;

void main() {
  frag_color = fs_in.color;
}