Framework pour utliser les shaders sur du texte

This commit is contained in:
Antoine
2021-06-14 14:47:05 +02:00
parent f93f801e0b
commit ae4a332eaf
5 changed files with 49 additions and 6 deletions

View File

@ -7,6 +7,7 @@ in vec2 fragCoord;
in vec2 texCoord;
uniform sampler2D texture1;
uniform int index;
void main(){
vec3 black = vec3(0.0f, 0.0f , 0.0f);