diff --git a/client/renderers/EGL/CMakeLists.txt b/client/renderers/EGL/CMakeLists.txt index 9c6c4a09..790408ee 100644 --- a/client/renderers/EGL/CMakeLists.txt +++ b/client/renderers/EGL/CMakeLists.txt @@ -65,6 +65,7 @@ build_shaders( shader/ffx_fsr1_rcas.frag shader/downscale.frag shader/downscale_lanczos2.frag + shader/downscale_linear.frag ) make_defines( diff --git a/client/renderers/EGL/shader/downscale_linear.frag b/client/renderers/EGL/shader/downscale_linear.frag new file mode 100644 index 00000000..c68c39f0 --- /dev/null +++ b/client/renderers/EGL/shader/downscale_linear.frag @@ -0,0 +1,12 @@ +#version 300 es +precision mediump float; + +in vec2 fragCoord; +out vec4 fragColor; + +uniform sampler2D texture; + +void main() +{ + fragColor = texture2D(texture, fragCoord); +}