feature/imgui-sdl
points-test
|
Last change
on this file since e5d4aca was adb104f, checked in by Dmitry Portnoy <dmp1488@…>, 7 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.