Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Changed folder structure, deletet some unused files and cleaned up code

File size: 258 bytes
Line 
1#version 150
2
3in block {
4    vec4 pos;
5    vec4 colour;
6    vec2 texcoord;
7} Firework;
8
9out vec4 fragColour;
10
11uniform sampler2D diffuseTex;
12
13// Colours the fireworks.
14void main()
15{
16    fragColour = texture(diffuseTex, Firework.texcoord) * Firework.colour;
17}
Note: See TracBrowser for help on using the repository browser.