Update #37 - Touch support without userscript, many other feats

This commit is contained in:
lax1dude
2024-09-21 20:17:42 -07:00
parent 173727c8c4
commit ec1ab8ece3
683 changed files with 62074 additions and 8996 deletions

View File

@ -1,7 +1,7 @@
#line 2
/*
* Copyright (c) 2022-2023 lax1dude. All Rights Reserved.
* Copyright (c) 2022-2024 lax1dude. All Rights Reserved.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@ -16,13 +16,9 @@
*
*/
precision lowp int;
precision highp float;
precision highp sampler2D;
EAGLER_IN(vec2, v_position2f)
in vec2 v_position2f;
layout(location = 0) out vec4 output4f;
EAGLER_FRAG_OUT()
uniform sampler2D u_inputTexture;
uniform float u_textureLod1f;
@ -32,6 +28,6 @@ uniform mat3 u_matrixTransform;
void main() {
vec3 coords = u_matrixTransform * vec3(v_position2f, 1.0);
vec4 color4f = textureLod(u_inputTexture, coords.xy, u_textureLod1f);
output4f = color4f * u_blendFactor4f + u_blendBias4f;
vec4 color4f = EAGLER_TEXTURE_2D_LOD(u_inputTexture, coords.xy, u_textureLod1f);
EAGLER_FRAG_COLOR = color4f * u_blendFactor4f + u_blendBias4f;
}