12 lines
227 B
GLSL
12 lines
227 B
GLSL
|
R"raw_string(
|
||
|
#version 120
|
||
|
varying vec3 vertex;
|
||
|
uniform vec3 color;
|
||
|
void main()
|
||
|
{
|
||
|
//gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
|
||
|
//gl_FragColor = vec4(0.5+0.5*vertex.xyz, 1.0);
|
||
|
gl_FragColor = vec4(color, 1.0);
|
||
|
}
|
||
|
)raw_string"
|