]> gitweb.ps.run Git - subsurface_scattering/blob - shaders/fbo_vert.glsl
change defaults
[subsurface_scattering] / shaders / fbo_vert.glsl
1 #version 330 core\r
2 layout (location = 0) in vec2 aPos;\r
3 layout (location = 1) in vec2 aTexCoords;\r
4 \r
5 out vec2 TexCoords;\r
6 \r
7 void main()\r
8 {\r
9     // this is just a plane that covers the screen\r
10     gl_Position = vec4(aPos.x, aPos.y, 0.0, 1.0); \r
11     TexCoords = aTexCoords;\r
12 }\r