The shaders for various warp effects become distorted over time when run on the iOS web renderer. For example, when the game starts, the WarpRipple shader is silky smooth on iOS. After two minutes of the shader running, the frame rate of the shader degrades and shader's graphics become pixelated as well.
The degradation of the frame rate is independent of the frame rate of the rest of the engine.
This bug existed in Construct 2 as well and was reported previously here:
Problem description
The shaders for various warp effects become distorted over time when run on the iOS web renderer. For example, when the game starts, the WarpRipple shader is silky smooth on iOS. After two minutes of the shader running, the frame rate of the shader degrades and shader's graphics become pixelated as well.
The degradation of the frame rate is independent of the frame rate of the rest of the engine.
This bug existed in Construct 2 as well and was reported previously here:
https://www.construct.net/en/forum/construct-2/bugs-21/warping-effect-degenerates-93217?kws=shader%2bprecision
I believe it was caused by shaders using mediump instead of highp (i.e. lower precision float for time).
Attach a .c3p
C3P file here:
https://www.dropbox.com/s/q8rhavzn2zh7qq1/warpShaderPrecisionBug.c3p?dl=0
Steps to reproduce
Observed result
The frame rate of the shader degrades and shader's graphics become pixelated as well.
Expected result
The shader animmation should stay smooth.
More details
Tested on iPhone XS and iPad Pro 2018. This bug was present in all versions of iOS and webkit renderers.
This bug does not occur on desktop browsers from what I can tell.
System details
See above for system details.