mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] egl: add linear downscale filter shader
This commit is contained in:
parent
94de061587
commit
2c02e6c4a0
2 changed files with 13 additions and 0 deletions
|
@ -65,6 +65,7 @@ build_shaders(
|
|||
shader/ffx_fsr1_rcas.frag
|
||||
shader/downscale.frag
|
||||
shader/downscale_lanczos2.frag
|
||||
shader/downscale_linear.frag
|
||||
)
|
||||
|
||||
make_defines(
|
||||
|
|
12
client/renderers/EGL/shader/downscale_linear.frag
Normal file
12
client/renderers/EGL/shader/downscale_linear.frag
Normal file
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue