2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 09:47:43 +00:00

Various CAutoMapper fixes

This commit is contained in:
Jack Andersen
2017-11-16 13:49:25 -10:00
parent a914e121ea
commit 0edac28ed4
14 changed files with 52 additions and 49 deletions

View File

@@ -82,9 +82,10 @@ BOO_GLSL_BINDING_HEAD
"SBINDING(0) out VertToFrag vtf;\n"
"void main()\n"
"{\n"
" vtf.color = color * colorIn;\n"
" vec3 pos = posIn[gl_VertexID].xyz;\n"
" vtf.uv = uvIn[gl_VertexID];\n"
" gl_Position = mtx * vec4(posIn[gl_VertexID].xyz, 1.0);\n"
" vtf.color = color * colorIn;\n"
" gl_Position = mtx * vec4(pos, 1.0);\n"
"}\n";
static const char* ImgFS =