feature/imgui-sdl
points-test
Last change
on this file since eea05dd was adb104f, checked in by Dmitry Portnoy <dmp1488@…>, 6 years ago |
Make the explosion shader only emit particles for a short time instead of forever and make it look more like an explosion
|
-
Property mode
set to
100644
|
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.