13 lines
175 B
GLSL
13 lines
175 B
GLSL
|
#version 120
|
||
|
|
||
|
uniform sampler2D texture;
|
||
|
|
||
|
varying vec3 vertex;
|
||
|
varying vec2 uv;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec3 color = texture2D(texture, uv).rgb;
|
||
|
|
||
|
gl_FragColor = vec4(color, 1.0);
|
||
|
}
|