View of /trunk/bin/media/opengl.frag
Parent Directory
|
Revision Log
Revision 2 -
(download)
(annotate)
Sun Oct 26 17:08:20 2008 UTC (4 years, 7 months ago) by teravus
File size: 168 byte(s)
Sun Oct 26 17:08:20 2008 UTC (4 years, 7 months ago) by teravus
File size: 168 byte(s)
* Initial commit, moved from /gf/project/idealistviewer/scmsvn/?action=browse&path=svn%3A%2F%2Fteravus.wmcv.com%3A9001%2FIdealistViewer
uniform sampler2D myTexture;
void main (void)
{
vec4 col = texture2D(myTexture, vec2(gl_TexCoord[0]));
col *= gl_Color;
gl_FragColor = col * 4.0;
}
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

