COSC-3P93-Project/Step 3/resources/shaders/basic.fs

14 lines
221 B
GLSL

#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);
}