Last change
on this file since 12206 was
12115,
checked in by wiesep, 6 years ago
|
Changed folder structure, deletet some unused files and cleaned up code
|
File size:
307 bytes
|
Rev | Line | |
---|
[12115] | 1 | #version 150 |
---|
| 2 | |
---|
| 3 | uniform sampler2D tex0; |
---|
| 4 | |
---|
| 5 | in vec2 texCoord[5]; |
---|
| 6 | |
---|
| 7 | out vec4 fragColour; |
---|
| 8 | |
---|
| 9 | void main() |
---|
| 10 | { |
---|
| 11 | vec4 sum = texture(tex0, texCoord[0]) + |
---|
| 12 | texture(tex0, texCoord[1]) + |
---|
| 13 | texture(tex0, texCoord[2]) + |
---|
| 14 | texture(tex0, texCoord[3]) + |
---|
| 15 | texture(tex0, texCoord[4]); |
---|
| 16 | fragColour = sum / 5.0; |
---|
| 17 | } |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.