source: opengl-game/shaders/overlay.frag

feature/imgui-sdl
Last change on this file was f00ee54, checked in by Dmitry Portnoy <dmp1488@…>, 5 years ago

Refactor the code to allow different graphics pipelines to use different Vertex structs and different uniform and vertex attributes

  • Property mode set to 100644
File size: 269 bytes
Line 
1#version 450
2#extension GL_ARB_separate_shader_objects : enable
3
4layout(binding = 0) uniform sampler2D uiTexSampler;
5
6layout(location = 0) in vec2 fragTexCoord;
7
8layout(location = 0) out vec4 outColor;
9
10void main() {
11 outColor = texture(uiTexSampler, fragTexCoord);
12}
Note: See TracBrowser for help on using the repository browser.