mirror of
https://github.com/Kugelschieber/go-game.git
synced 2026-01-18 06:40:28 +00:00
Rendering now works! Added shaders for reference.
This commit is contained in:
12
shader/basic3D.fs
Normal file
12
shader/basic3D.fs
Normal file
@@ -0,0 +1,12 @@
|
||||
#version 130
|
||||
precision highp float;
|
||||
|
||||
uniform sampler2D tex;
|
||||
|
||||
in vec2 tc;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
void main(){
|
||||
color = texture(tex, tc);
|
||||
}
|
||||
Reference in New Issue
Block a user