diff options
| author | realtradam <[email protected]> | 2023-03-26 00:52:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-03-26 00:52:13 -0400 |
| commit | 4670ac42a773ea97157f71d78687f79d6ba3c1d9 (patch) | |
| tree | 3c70b7d4073d48ff3c5066c9cf7ab812031a3551 /src/shaders/simple.vertex.sc | |
| parent | 2577adf913e292a4a515e7dfc4023e37e8177f46 (diff) | |
| download | RodeoKit-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.sc | 5 |
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; } |
