Skeletal animation example shaders, code cleanup, etc.

This commit is contained in:
saschawillems 2016-10-30 18:13:49 +01:00
parent 54ddca7c08
commit 1359058d24
11 changed files with 65 additions and 121 deletions

View file

@ -29,7 +29,7 @@ out gl_PerVertex
void main()
{
outUV = inUV * 2.0 + ubo.uvOffset;
outUV = inUV + ubo.uvOffset;
vec4 pos = vec4(inPos, 1.0);
gl_Position = ubo.projection * ubo.view * ubo.model * vec4(pos);