KP3Dii/Data/resources/shaders/.kp3d/wireframe_f.glsl

13 lines
224 B
GLSL
Raw Permalink Normal View History

2024-07-22 07:48:42 +00:00
#version 330 core
out vec4 v_output;
uniform vec3 u_wireframe_color;
uniform float u_wireframe_alpha = 1.0;
void main()
{
v_output = vec4(u_wireframe_color, u_wireframe_alpha);
// v_output = vec4(1.0, 1.0, 1.0, 0.4);
}