summaryrefslogtreecommitdiffhomepage
path: root/src/shaders/simple.vertex.sc
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-03-26 00:52:13 -0400
committerrealtradam <[email protected]>2023-03-26 00:52:13 -0400
commit4670ac42a773ea97157f71d78687f79d6ba3c1d9 (patch)
tree3c70b7d4073d48ff3c5066c9cf7ab812031a3551 /src/shaders/simple.vertex.sc
parent2577adf913e292a4a515e7dfc4023e37e8177f46 (diff)
downloadRodeoKit-4670ac42a773ea97157f71d78687f79d6ba3c1d9.tar.gz
RodeoKit-4670ac42a773ea97157f71d78687f79d6ba3c1d9.zip
added loading images as well as loding textures
Diffstat (limited to 'src/shaders/simple.vertex.sc')
-rw-r--r--src/shaders/simple.vertex.sc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shaders/simple.vertex.sc b/src/shaders/simple.vertex.sc
index b90a0c7..cda89a9 100644
--- a/src/shaders/simple.vertex.sc
+++ b/src/shaders/simple.vertex.sc
@@ -1,5 +1,5 @@
-$input a_position, a_color0, a_texcoord0
-$output v_color0, v_texcoord0
+$input a_position, a_color0, a_texcoord0, a_texcoord1
+$output v_color0, v_texcoord0, v_texcoord1
#include <bgfx_shader.sh>
@@ -8,4 +8,5 @@ void main()
gl_Position = mul(u_modelViewProj, vec4(a_position, 1.0));
v_color0 = a_color0;
v_texcoord0 = a_texcoord0;
+ v_texcoord1 = a_texcoord1;
}