shaders/first.frag
author František Kučera <franta-hg@frantovo.cz>
Wed, 29 Nov 2023 01:21:17 +0100 (16 months ago)
branchv_0
changeset 3 48dc4ae894b0
parent 2 3faef2f5128e
child 4 9aba96f0b001
permissions -rw-r--r--
clear screen / paint background before loading textures
#version 330 core

uniform  sampler2D  uTexture;
in       vec2       vTextureXY;
out      vec3       fColor;

void main(){
	fColor = texture(uTexture, vTextureXY).rgb;
	// fColor *= vec3(0.8, 1., 0.2);
}