From acd89cf669a5fb18668f5cb5762a971b0ba42801 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 25 Jan 2019 08:46:05 +0500 Subject: Added Framebuffer class --- cwd/shaders/fbo.fs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cwd/shaders/fbo.fs (limited to 'cwd/shaders/fbo.fs') diff --git a/cwd/shaders/fbo.fs b/cwd/shaders/fbo.fs new file mode 100644 index 0000000..df624b3 --- /dev/null +++ b/cwd/shaders/fbo.fs @@ -0,0 +1,11 @@ +#version 330 core + +out vec4 FragColor; +in vec2 TexCoords; + +uniform sampler2D inputTexture; + +void main() +{ + FragColor = texture(inputTexture, TexCoords); +} \ No newline at end of file -- cgit v1.2.3