source: opengl-game/explosion.frag@ db06984

feature/imgui-sdl points-test
Last change on this file since db06984 was db06984, checked in by Dmitry Portnoy <dmp1488@…>, 6 years ago

Create a particle system that will later be used to render exploding asteroids

  • Property mode set to 100644
File size: 193 bytes
RevLine 
[db06984]1#version 410 core
2
3in float opacity;
4
5out vec4 frag_color;
6
7vec4 particle_color = vec4 (0.5, 0.5, 0.8, 0.8);
8
9void main() {
10 frag_color.a = opacity;
11 frag_color.rgb = particle_color.rgb;
12}
Note: See TracBrowser for help on using the repository browser.