Shaders/textureRect.fsh
#version 150 |
in vec2 textureCoord; |
out vec4 fragColor; |
uniform sampler2DRect tex; |
void main() |
{ |
fragColor = texture(tex, textureCoord); |
} |
|
Spec-Zone .ru
спецификации, руководства, описания, API
|
#version 150 |
in vec2 textureCoord; |
out vec4 fragColor; |
uniform sampler2DRect tex; |
void main() |
{ |
fragColor = texture(tex, textureCoord); |
} |