|
Last change
on this file since 12078 was
7708,
checked in by dafrick, 15 years ago
|
|
Merging cleanup branch. You will need to update your data repository as well as your local copy of the code.
|
-
Property svn:eol-style set to
native
|
|
File size:
288 bytes
|
| Line | |
|---|
| 1 | uniform sampler2D tex0; |
|---|
| 2 | |
|---|
| 3 | varying vec2 texCoord[5]; |
|---|
| 4 | |
|---|
| 5 | void main() |
|---|
| 6 | { |
|---|
| 7 | vec4 sum = texture2D(tex0, texCoord[0]) + |
|---|
| 8 | texture2D(tex0, texCoord[1]) + |
|---|
| 9 | texture2D(tex0, texCoord[2]) + |
|---|
| 10 | texture2D(tex0, texCoord[3]) + |
|---|
| 11 | texture2D(tex0, texCoord[4]); |
|---|
| 12 | gl_FragColor = sum / 5.0; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.