17 lines
308 B
Plaintext
17 lines
308 B
Plaintext
|
#version 450
|
||
|
#extension GL_ARB_separate_shader_objects : enable
|
||
|
#extension GL_ARB_shading_language_420pack : enable
|
||
|
#extension GL_EXT_nonuniform_qualifier : require
|
||
|
|
||
|
layout(location = 0) in struct
|
||
|
{
|
||
|
vec4 vertColor;
|
||
|
} In;
|
||
|
|
||
|
|
||
|
layout(location = 0) out vec4 outColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
outColor = In.vertColor;
|
||
|
}
|