source:
opengl-game/shaders/overlay.frag@
6fc24c7
Last change on this file since 6fc24c7 was f00ee54, checked in by , 5 years ago | |
---|---|
|
|
File size: 269 bytes |
Rev | Line | |
---|---|---|
[4befb76] | 1 | #version 450 |
2 | #extension GL_ARB_separate_shader_objects : enable | |
3 | ||
[e5d4aca] | 4 | layout(binding = 0) uniform sampler2D uiTexSampler; |
[fba08f2] | 5 | |
[f00ee54] | 6 | layout(location = 0) in vec2 fragTexCoord; |
[4befb76] | 7 | |
8 | layout(location = 0) out vec4 outColor; | |
9 | ||
10 | void main() { | |
[e5d4aca] | 11 | outColor = texture(uiTexSampler, fragTexCoord); |
[4befb76] | 12 | } |
Note:
See TracBrowser
for help on using the repository browser.