- Home /
Projector displays tiled texture across entire scene
I have seen people with this problem, so I thought I'd post it and answer it, too. I'm trying to get my score up, so please vote for it!
Projectors will sometimes display a tiled texture across the entire scene, even when the exact same setting as the included Blob Shadow projector are used. Additive shader, multiply shader, it makes little difference, the problem lies elsewhere. What is going on?
I second that... I am currently trying to solve the exact same issue...
Answer by CJCurrie · Jan 16, 2010 at 07:07 PM
The answer is quite simple:
The problem lies in the settings of the individual texture. Changing the import setting to have the texture "clamp" instead of "wrap" solves things quite nicely.
Also, if someone could be nice and create the "projector" tag and add it to this, that would be great. I can't because I'm a new user.
That's weird. They tell you how to do it on the light cookie page, but not on the projector page.
http://unity3d.com/support/documentation/$$anonymous$$anual/HOWTO-LightCookie.html
I tried changing wrap to clamp but it didn't help. What else could I be missing?
I'm not really sure, because the problem has been inconsistent.The projector has been dealing me headaches for months now.
I thank you sir. I can't upvote you because of my reputation, but i wish I could! You are a savior.
Unfortunately, this doesn't work for me. The only way to change tiling, I've found, is by changing the FOV. This is problematic because my projector then can't project onto multiple objects.
Answer by MPink · Aug 09, 2011 at 10:06 AM
Iv seen 2 additional problems with projectors not mentioned hear yet.
1) Clamping: clamping will only work if the outer edge of the texture your trying to use is transparent.
2) Mipmaping: disable mipmaping for the texture your using or when you reduce the resolution of the texture you will recreate the the clamping problem again.
(Can't upvote no reputation.. but agree with mpink).. For 2). Go to texture type, select advanced, turn border mip maps on.
Answer by sybixsus · Jan 30, 2010 at 08:59 PM
Unfortunately, setting the texture settings to "Clamp" instead of "wrap" does not solve things quite nicely, or indeed, at all. It may be true that this can sometimes be the problem, but this is not the only time it happens.
Answer by Tiago Melo · Nov 12, 2010 at 11:42 PM
I'm having this problem too. it seems that the Projector don't limit itself to the correct area. It affects everything on the scene below the projector.
This happens, when the Border of your texture is black (or white) depending on the shader you're using
Answer by crol · Jun 12, 2011 at 03:00 PM
Opened project from Unity 2.* in 3.3 - blob shadows works fine. Created my own clear project and tried to make projector works without filling everything and not in right position - failed. Matched first and second project after that and find out that textures for projector must be prepared with set of options, not only a clamp mode needed :)
So the best way is to create test project with default Projectors asset and look there how it works.
Your answer
Follow this Question
Related Questions
would it be possible to project a Scene on a plane 1 Answer
how to create 2d and pseudo 2d lines and shapes in 3d space? 3 Answers
How is this effect achieved (newbie question)? 1 Answer
Is there any way to make projector with another direction of projection 0 Answers
Project a mesh on ground 0 Answers