KlassischeKeplerKriege/game/renderer_polygon_3d/simple.frag

8 lines
125 B
JavaScript

R"raw_string(
#version 120
varying vec3 vertex;
void main()
{
gl_FragColor = vec4(0.5+0.5*vertex.xyz, 1.0);
}
)raw_string"