Add support for 8 vertex colors. Set up binding for all 8 texcoords.
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-06-03 22:44:34 -07:00
parent dbc21d5a5b
commit 8ae009cf92
11 changed files with 157 additions and 45 deletions

View File

@@ -33,12 +33,12 @@
layout(location = 0) out mediump vec2 textureCoordinate;
layout(location = 0) in vec3 vertex_position;
layout(location = 1) in lowp vec2 vertex_uv;
layout(location = 1) in lowp vec2 vertex_texcoord0;
void main()
{
gl_Position = vec4(vertex_position, 1.0);
textureCoordinate = vertex_uv;
textureCoordinate = vertex_texcoord0;
}