Last change
on this file since 12181 was
12115,
checked in by wiesep, 6 years ago
|
Changed folder structure, deletet some unused files and cleaned up code
|
File size:
258 bytes
|
Rev | Line | |
---|
[12115] | 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.