Added dynamic uniform buffer example

This commit is contained in:
saschawillems 2016-12-22 20:16:44 +01:00
parent fa3e11153a
commit 6985eab017
8 changed files with 723 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#version 450
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
layout (location = 0) in vec3 inColor;
layout (location = 0) out vec4 outFragColor;
void main()
{
outFragColor = vec4(inColor, 1.0);
}