renderer/opengl: Extract shaders from source (#9600)
--------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
parent
a46576afc3
commit
7374a023ef
35 changed files with 1533 additions and 1059 deletions
7
src/render/shaders/glsl/passthru.frag
Normal file
7
src/render/shaders/glsl/passthru.frag
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
precision highp float;
|
||||
varying vec2 v_texcoord; // is in 0-1
|
||||
uniform sampler2D tex;
|
||||
|
||||
void main() {
|
||||
gl_FragColor = texture2D(tex, v_texcoord);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue