Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active September 5, 2022 03:31
Show Gist options
  • Save Morfly/987d36d35b6d626d85a01178b7aa6810 to your computer and use it in GitHub Desktop.
Save Morfly/987d36d35b6d626d85a01178b7aa6810 to your computer and use it in GitHub Desktop.
// triangle/shaders/shader.frag
#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(fragColor, 1.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment