source: opengl-game/shaders/overlay.frag@ 34bdf3a

feature/imgui-sdl points-test
Last change on this file since 34bdf3a 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
RevLine 
[4befb76]1#version 450
2#extension GL_ARB_separate_shader_objects : enable
3
[e5d4aca]4layout(binding = 0) uniform sampler2D uiTexSampler;
[fba08f2]5
[f00ee54]6layout(location = 0) in vec2 fragTexCoord;
[4befb76]7
8layout(location = 0) out vec4 outColor;
9
10void main() {
[e5d4aca]11 outColor = texture(uiTexSampler, fragTexCoord);
[4befb76]12}
Note: See TracBrowser for help on using the repository browser.