source: trunk/tests/objload_test/obj.frag @ 137

Last change on this file since 137 was 137, checked in by epyon, 12 years ago
  • objload test added ( to be expanded )
File size: 201 bytes
Line 
1#version 120
2varying vec2 f_texcoord;
3varying float f_diffuse_value;
4uniform sampler2D tex;
5 
6void main(void) {
7        gl_FragColor = vec4( texture2D( tex, f_texcoord ).rgb * f_diffuse_value, 1.0 );
8}
Note: See TracBrowser for help on using the repository browser.