This commit is contained in:
RedShip
2025-01-28 18:35:46 +01:00
parent 7b81995724
commit ff9ab9251f
5 changed files with 12 additions and 8 deletions

View File

@ -60,6 +60,10 @@ struct GPUTriangle
vec3 vertex2;
vec3 normal;
vec2 texture_vertex1;
vec2 texture_vertex2;
vec2 texture_vertex3;
int mat_index;
};
layout(std430, binding = 2) buffer TriangleBuffer