eo/shaders/fs_basic.sc

9 lines
131 B
Scala

$input f_position
#include <bgfx_shader.sh>
#include <shaderlib.sh>
void main() {
gl_FragColor = vec4(f_position.xyz, 1.0f);
}