This will make code simpler because game code will never explicitly unload assets or retain runtime asset handles!
8 lines
117 B
GLSL
8 lines
117 B
GLSL
#version 330 core
|
|
|
|
layout(location = 0) in vec3 aPos;
|
|
|
|
void main() {
|
|
gl_Position = vec4(aPos.xyz, 1.0);
|
|
}
|