]> gitweb.ps.run Git - subsurface_scattering/blob - shaders/fbo_frag.glsl
cf1fafa6e6aa01b5ee0d36241b7c06e87cfbe3b6
[subsurface_scattering] / shaders / fbo_frag.glsl
1 #version 330 core\r
2 out vec4 FragColor;\r
3   \r
4 in vec2 TexCoords;\r
5 \r
6 uniform sampler2D screenTexture;\r
7 \r
8 void main()\r
9\r
10     FragColor = vec4(\r
11         texture(screenTexture, TexCoords).rgb,\r
12         1.0);\r
13 }\r