Screen Aligned UV + Camera Offset on mobile
I am using an unlit material with both nodes for mobile (android). It is applied on a 10m. sphere around the camera, to use it as background still image. I need to move the camera around and have always a still image on the background, behind any object in the scene.
On the editor it works ok, but on the mobile it doesn't work when both nodes are connected. The surprising thing is that ScreenAlignedUVs works fine on its own, the CameraOffset works fine too on its own, but when I use both at the same time only the offset works. Then the mesh doesn't show the texture but a plain color, taken probably from the texture.
Is this a limitation of Mobile rendering? Any workaround?
Thanks a lot,
asked Oct 25 '16 at 10:16 PM in Packaging & Deployment
No worries, thanks for investigate!
answered Nov 21 '16 at 09:52 PM
When I try this in 4.13, since I no longer have 4.12 installed, everything is working correctly for these nodes. The only issue I had was having to use a lower offset value. With a negative 50000 you're likely seeing a limitation of mobile here. Try smaller values, as that worked for me. If it's still a problem in 4.12 try 4.13 and see.
I used your same setup with an offset amount of -500 and also trying an offset value of 500. Also, depending on the device you're deploying to, it could also be a limitation there, as I'm using a Nexus5 phone running Android 6.0.1.
answered Oct 26 '16 at 05:58 PM
Tim Hobson ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here