Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sampler.frag « frag « shaders « opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a4e440421346d3f663ad612b9dab886d250936c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#version 310 es
precision mediump float;
precision highp int;

layout(binding = 0) uniform mediump sampler2D uTex;

layout(location = 0) out vec4 FragColor;
layout(location = 0) in vec4 vColor;
layout(location = 1) in vec2 vTex;

void main()
{
    FragColor = vColor * texture(uTex, vTex);
}