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