The iPhone Standard Assets comes with a folder full of assets for an “Additive-Projector” shader. When I set up a projector using the provided Additive material, it works in the Unity Editor and the remote control (ie the Mac’s NVidia card renders it just fine) but it doesn’t work on the iPhone. Is this expected? Is there some known bug in those additive-projector assets?
I just found another thread on this, but it looks unresolved.
http://forum.unity3d.com/viewtopic.php?t=31285&highlight=additiveprojector
As i understand it, a projector requires shaders, which means it doesn’t actually exist ![]()
The same goes with shadows and render-to-texture shenanigans.
If i’m wrong, I’d love to be corrected ![]()
EDIT - I was corrected… It is a great day, I have learned something ![]()
You’re wrong.
–Eric
It would be a pretty silly thing to include in their iPhone Standard Assets if it wasn’t supported. The Penelope iPhone sample actually uses a projector with a multiply shader to draw a “blob shadow” for the main character.
I think you’re right about the iPhone not supporting pixel shaders (and probably vertex shaders too?) The way they do a projector on the iPhone is probably by rendering another pass of everything the projector touches and applying the projection as a texture.
I’m using the blob shadow prefab from the iPhone Standard Assets in HyperBowl, and it seems to be working fine (although there certainly is a performance impact)
All shader bugs have been resolved. Please wait for next Unity iPhone release.
Those fixes as well as renaming issue have been resolved for the beta available to our beta testers.
Thats great news. Did you guys fix the build problems too?
Yes, Snow Leopard experience is now great.
The only issue left is with Xcode available for OS 10.6. As I simultaneously use 10.5 and 10.6, SDK 3.2 for 10.6 seems less stable for me as Xcode likes to hang up.
Thats awesome news. I can’t wait to start using real builds instead of the “remote”. ![]()