source:
data/branches/Shader_HS18/programs/Example/GLSL150/ParticleGS_DisplayPS.glsl
@
12083
Last change on this file since 12083 was 12083, checked in by wiesep, 6 years ago | |
---|---|
File size: 287 bytes |
Line | |
---|---|
1 | #version 150 |
2 | |
3 | in block { |
4 | vec4 pos; |
5 | vec4 color; |
6 | vec2 texcoord; |
7 | } Firework; |
8 | |
9 | out vec4 fragColour; |
10 | |
11 | uniform sampler2D diffuseTex; |
12 | |
13 | //The pixels shaders that colors the fireworks |
14 | void main() |
15 | { |
16 | fragColour = texture(diffuseTex, Firework.texcoord) * Firework.color; |
17 | } |
Note: See TracBrowser
for help on using the repository browser.