mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-25 23:13:39 +00:00
[client] egl: add linear downscale filter shader
This commit is contained in:
parent
94de061587
commit
2c02e6c4a0
@ -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 New Issue
Block a user