summaryrefslogtreecommitdiffstats
path: root/o3d/compiler/glsl_validator/shaders/teapot-per-vertex.frag
blob: 973eddb58193efa0885d4e897a361861dc595f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
uniform sampler2D u_sampler2d;

varying vec4 v_diffuse, v_specular;
varying vec2 v_texCoord;

void main()
{
    vec4 color = v_diffuse;

    gl_FragColor = color + v_specular;
}