shader里部分float变量改为highp float,保证丝滑

(需要同时配合apk配置更新的gles版本为3.0)
This commit is contained in:
MrZ_26
2022-09-11 05:42:54 +08:00
parent 76d985cc0f
commit 0fc7178589
10 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
uniform float phase;
uniform highp float phase;
vec4 effect(vec4 color,sampler2D tex,vec2 texCoord,vec2 scrCoord){
float x=scrCoord.x/love_ScreenSize.x;
float y=scrCoord.y/love_ScreenSize.y;