source:
framspy/gui/visual/shaders/SkyboxFragmentShader.glsl
@
1271
Last change on this file since 1271 was 1198, checked in by , 22 months ago | |
---|---|
File size: 246 bytes |
Rev | Line | |
---|---|---|
[1198] | 1 | #version 330 |
2 | ||
3 | in vec3 textureCoords; | |
4 | out vec4 out_Color; | |
5 | ||
6 | uniform samplerCube modelTexture; | |
7 | ||
8 | void main(void){ | |
9 | vec4 textureColor = texture(modelTexture, textureCoords); | |
10 | ||
11 | out_Color = textureColor; | |
12 | //out_Color = vec4(1, 0, 0, 1); | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.