[client] egl: add linear downscale filter shader
This commit is contained in:
1 parent
94de061587
commit
2c02e6c4a0
2 files changed
+13
No files matched your search
@@ -65,6 +65,7 @@ build_shaders(
|
||||
shader/ffx_fsr1_rcas.frag
|
||||
shader/downscale.frag
|
||||
shader/downscale_lanczos2.frag
|
||||
shader/downscale_linear.frag
|
||||
)
|
||||
|
||||
make_defines(
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user