I'm trying to write some full screen post process shaders, but they are not working on Android. On the desktop everything is fine (using Ubuntu) but on Android (tried Kindle Fire 7 2019 and Google Pixel 2 XL) both SCREEN_TEXTURE and DEPTH_TEXTURE are blank. SCREEN_UV is working, though. This makes it pretty much impossible to do post-processing on Android currently. I've tried Godot 3.1.2 stable and 3.2 beta 3.
This is an example of the code I am using on a shader_type spatial:
ALBEDO.rgb = texture(SCREEN_TEXTURE, SCREEN_UV).rgb;
or:
float depth = texture(DEPTH_TEXTURE, SCREEN_UV).r;
I do have other Android devices, but I tested on my minimum target (Kindle Fire 7) and also my personal phone which is pretty fast and is fully updated to Android 10. Has anyone else seen this problem or know of some work-around? I'm not sure I know enough at this point to fix it in the source code myself, but hopefully the developers will see the bug reports I made and find a solution.