The Blob light shader is visible on Unity iPhone editor 1.5, but once compiled and running the game ( on the iPhone/iPod Touch devices )is not visible at all.
I havent changed anything on the Additive-Projector, just added the prefabs onto the hierarchy…
Can someone make a test and see if still working?
Do this have something to do with the main camera field of view?
Btw, i changed the projector field of view to 160, but again i dont think this is the cause of UVs problems…
Are this an Advance feature? :\
nope, I feel this is a bug, same as with FX/Projector-Multiply. Please file a bugreport on this. I’ll double check this case.
Thanks.
Ok, i summited the bug.
To reproduce the bug, make a new scene, add few meshes ( the one ho will receive the projection ), add the Additive-Projection, then compile it and run it on any device.
I made few tests with iPhone 3G/3GS and iPod Touch 2G, same results, theres no texture projection.
Thanks for the support. ![]()
sure your texture is correct.
the most common error with the projector is that people use textures with the incorrect import settings which results in them just beeing ignored and the projector beeing disabled
I am using 1.5.1 and put the Additive Projector prefab in the scene. It is visible in the Game View but invisible after the build on my iPodTouch.
… Still doing something wrong?
EDIT:
OK, I changed something in the Projector/Additive shader - setting the constantColor of the FallOff Texture from (0,0,0,0) to (1,1,1,0) seems to solve the problem:
SetTexture [_FalloffTex] {
constantColor (1,1,1,0)
combine previous lerp (texture) constant
Matrix [_ProjectorClip]
Still curious why this doesn’t affect the Game View …
Please try Additive Projector that comes with Unity iPhone 1.5.1. I tested it before releasing to public.
Thank you, this looks much better.
(I didn’t realize I had to reimport Standard Assets as
I assumed that the shaders had been replaced during the update.)
I know-- annnncient thread-- but I stumbled across this trying to figure out why my projector wasn’t working in my game view. It worked fine in the editor.
Turns out for me the projector had to be in the same layer as the object you’re projecting on… Even if you’ve checked the projector inspector boxes for what layers to ‘skip.’ Not entirely intuitive. Works now!