f26e329c47
Draw 25000 cubes while doing a uniform buffer update for each. Change-Id: I2216641c8bf7c6ea147fe3edd679317b472e1f04 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
10 lines
144 B
GLSL
10 lines
144 B
GLSL
#version 440
|
|
|
|
layout(location = 0) in vec3 vColor;
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
void main()
|
|
{
|
|
fragColor = vec4(vColor, 1.0);
|
|
}
|