source:
opengl-game/gl-shaders/explosion.frag@
5a0242e
| Last change on this file since 5a0242e was 4d84c72, checked in by , 6 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.
![(please configure the [header_logo] section in trac.ini)](/medieval/chrome/site/your_project_logo.png)