Support interleaved buffers

This commit is contained in:
bloeys
2022-01-26 08:04:50 +04:00
parent e1e617e4e4
commit 1109caef43
8 changed files with 199 additions and 199 deletions

View File

@ -1,8 +1,8 @@
#version 410
in vec3 vertPosIn;
in vec3 vertColorIn;
in vec3 vertNormalIn;
layout(location=0) in vec3 vertPosIn;
layout(location=1) in vec3 vertNormalIn;
layout(location=2) in vec3 vertColorIn;
out vec3 vertColor;
out vec3 vertNormal;