source:
opengl-game/shaders/overlay.frag@
90a424f
| Last change on this file since 90a424f was f00ee54, checked in by , 6 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.
![(please configure the [header_logo] section in trac.ini)](/medieval/chrome/site/your_project_logo.png)