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

14 lines
221 B
Forth
Raw Permalink Normal View History

2022-10-28 01:44:23 -04:00
#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);
}