No realtime shadows in unity 4 for mobile

hey,

im using unity 4 pro, in editor i see shadows but when i export it to my android there are no shadows :confused:

and help??

Oh and does occlusion effect this?

I wonder if anyone is able to get shadows to work even on the alleged Tegra devices Unity 4 profiler works on

Does the device you are installing to support shadows? Now all android devices handle shadows and when that occurs I suggestion using the tha shadow projector in the projector package.

The realtime shadows are currently not supported on Tegra2/3 based devices.

wasn’t shadows on mobile one of the upgrade features of unity 4?

Yes, and they work, just not on Tegra2/3 devices.

–Eric

Is there any progress on this? Wasn’t that one of the projects at Ninja Camp?

There’s not much you can do with Tegra2/3 devices. You need to use a GPU that has GL_OES_depth_texture, which the Tegras do not, and it would probably be too slow to implement a workaround.

–Eric

is there a way to find out a list of devices that support GPUs with OL_OES_depth_texture

also, why are they offering gpu profiling only on tegra devices then and not on adreno and others - especially because shadows aren’t supported!! :open_mouth:

@Eric5h5: It is not too slow, as Nvidia demonstrates realtime shadows with their Glowball demo.
It’s just too much hassle for Unity to implement a workaround, which is sad.
Not implementing a solution for Tegra devices was the first sign to me, that Unity is getting lazy on android.

Seriously??? Even the Nexus 7 I bought this Summer can’t have real time shadows then? That just blows my mind, in a bad way :frowning:

Shadows work with nexus 7 - just use directional light…

Even deferred lighting works…

The other posts are over a year old

I can’t get them to work on the Nexus 7 without significant hacks. Are you saying this works straight out of the box?

I’m using Unity Pro 4.3.4. Just building a scene with a plane and a box with a directional light set to hard shadows shows a shadow in the editor, but upon export to Android there is no shadow. What are your build settings? What type of shadow method are you using? What are your directional light shadow settings?

you are confusing each other. there are two nexus7: one (older) with tegra (wont support shadows) and another one (newer) with adreno (shadows work like magic)

Since you’re using Unity Pro you could try Sunshine! asset:
http://forum.unity3d.com/threads/193956-Sunshine!-Official-Thread
There is a demo apk that you could install on your target device to determine if the solution works for you.