source:
opengl-game/explosion.frag@
4762301
Last change on this file since 4762301 was adb104f, checked in by , 6 years ago | |
---|---|
|
|
File size: 136 bytes |
Rev | Line | |
---|---|---|
[db06984] | 1 | #version 410 core |
2 | ||
3 | in float opacity; | |
4 | ||
5 | out vec4 frag_color; | |
6 | ||
7 | void main() { | |
[adb104f] | 8 | frag_color = vec4(1.0, opacity * opacity, 0.0, opacity); |
[db06984] | 9 | } |
Note:
See TracBrowser
for help on using the repository browser.