Hello ZGE community,
I tried to use the RenderTarget component so that I can implement some effects such as bloom but I couldn't get it to work on Android.
So my question is: Does the current beta version of ZGE support using the RenderTarget component with Android GLES 2.0?
Attached here is a zgeproj example. The example worked fine on my PC while on Android I only received "blank" output/texture.
Thanks in advance.
RenderTarget with Android GLES 2.0
Moderator: Moderators
RenderTarget with Android GLES 2.0
- Attachments
-
- GLES20-RenderTarget.zgeproj
- (4.94 KiB) Downloaded 495 times
Last edited by Kgm on Thu Oct 23, 2014 3:51 pm, edited 1 time in total.
Re: RenderTarget with Android GLES 2.0
Hi Kgm,
K
Same here .. the RenderTarget sampler is completely blank on Android. It doesn't even contain the ClearColor, so there's probably a bug in the implementation somewhere.Kgm wrote:I tried to use the RenderTarget component so that I can implement some effects such as bloom but I couldn't get it to work on Android.
K
Hi Kgm,
I noticed that I tried to bind the 'EXT' version of the GL-functions, i.e. glIsRenderbufferEXT instead of glIsRenderbuffer. The EXT functions do not exist on Android so no FBO-functionality was enabled.
However I still don't get good results yet.
Can you please try the version below and see if it makes any difference for you?
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
I noticed that I tried to bind the 'EXT' version of the GL-functions, i.e. glIsRenderbufferEXT instead of glIsRenderbuffer. The EXT functions do not exist on Android so no FBO-functionality was enabled.
However I still don't get good results yet.
Can you please try the version below and see if it makes any difference for you?
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
Found some other things to fix. Works on my phone now.
Please try it out:
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
Please try it out:
http://www.zgameeditor.org/files/ZGameEditor_beta.zip