Log in or register to post comments

Android + RenderTextures (e.g. ImageEffects)

August 10, 2011 - 5:26pm #1

Hello all,

I tried to use some simple ImageEffects (like FishEye, which is normally working without problems on Android devices) together with the QCAR. I understand that QCAR may do some strange things to the graphics buffer internally (if I am right, there is the unity view on top of an camera view), but even then the image effects should work with the Unity scene. I only get a black screen. On the other hand, making a screenshot by calling GetPixels on a Texture2D object works - so, the pixels are in the buffer and ready to be copied...

The problem seems to be that there cannot be a RenderTexture from a QCAR-enabled camera. Is there some way around that? It would be great if I could use the QCAR camera as a RenderTexture.

Best regards

Android + RenderTextures (e.g. ImageEffects)

July 3, 2016 - 10:19am #8

Nevermind. It works perfectly. You recive a black screen when the effect is attached to AR camera gameobject. You have to attach the script (effect) directly to the "camera" itself.

-AR Camera
 -------------------> Camera (The effect must be attached to this camera)


Hi all!


Any update about this?

Im running newer unity version Pro 5.3.5f1 and also last vuforia... and still have a black screen when attach to Ar camera each image effect on unity.

Thank you.




Android + RenderTextures (e.g. ImageEffects)

April 11, 2013 - 8:09am #7

Thanks - I'll do some tests. Had you been able to use this effect w/ Vuforia on any other devices?

Android + RenderTextures (e.g. ImageEffects)

April 10, 2013 - 1:01am #6


I'm using Unity 4.0.1f2 and I'm using the default background rendering. What I would also like to add is that I build my application to Andoid version 2.2.3 'Gingerbread'. Maybe that has something to do with it?


Android + RenderTextures (e.g. ImageEffects)

April 9, 2013 - 8:15am #5

Let me look into this. Can you tell me which Unity version you're using, and whether you're utilizing a background texture or the default background rendering?

Android + RenderTextures (e.g. ImageEffects)

April 9, 2013 - 6:39am #4



I've got the same problem when I'm trying to add a BlurEffect to the camera when the ImageTartget isn't found.

The Camera simply seems to freeze when the ImageTarget isn't found, but when I aim my device(Android) to the ImageTarget again everyting works as it should.


Does anyone have a solution for this?


Thx !

Android + RenderTextures (e.g. ImageEffects)

July 3, 2012 - 9:41am #3


Did anyone find a solution for this? I'm also trying to use Image Effects (Glow) and getting a black screen...



Re: Android + RenderTextures (e.g. ImageEffects)

August 16, 2011 - 3:53pm #2

Strangely enough this seems to be an issue with the camera clear flags. The TrackerBehaviour script sets the camera clear flag to "Depth only" at runtime. Unity's Image Effects scripts don't seem to work on Android with this setting. You can test a bare bones scene without QCAR and see that the Depth only setting breaks the image effects.

Interestingly, this doesn't seem to be an issue for iOS. I just tested the FishEye effect with QCAR on iOS and it works as expected. It does come with a pretty hefty performance hit, however.

- Kim

Log in or register to post comments