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