14 lines
221 B
Forth
14 lines
221 B
Forth
|
#version 330 core
|
||
|
|
||
|
out vec4 FragColor;
|
||
|
|
||
|
in vec2 outUv;
|
||
|
|
||
|
uniform sampler2D rayTexture;
|
||
|
|
||
|
void main() {
|
||
|
vec4 textureColor = texture(rayTexture, outUv);
|
||
|
|
||
|
// textureColor.rgb
|
||
|
FragColor = vec4(textureColor.rgb, 1.0f);
|
||
|
}
|