Commit initial
This commit is contained in:
8
test/shader/render1.frag
Normal file
8
test/shader/render1.frag
Normal file
@@ -0,0 +1,8 @@
|
||||
uniform sampler2D texture;
|
||||
varying float lum;
|
||||
|
||||
void main()
|
||||
{
|
||||
//gl_FragColor = texture2D(texture, vec2(gl_TexCoord[0])) * lum;
|
||||
gl_FragColor = vec4(lum, lum, lum, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user