- Home /
How to stop the repetition of a projector
Hello,
I'm a a quite new with Unity, and I my question is: How to stop the repetition of a projector?
I saw some answers on other post, but it didn't work. Look what I got:
My texture is just the borders of a square (normally black borders, but in order to be more visual, I put pink ones in this image). The problem is that the projector repeats the material in all the world. I just want to draw the square around my object (here the temple-like).
I read that I have to change the Wrap mode to Clamp (instead of Repeat), but I got that:
Now all the word is filled by the border's color :/
How can I do to just draw my border around my object?
Thanks in advance,
DarkPatate.
Does your projection texture (selectionbox4) have alpha transparency around the outside of the texture?
you need a transparent outline of at least one pixel around the image. A little more won't hurt :)
It's working! It was so simple, sorry!
Why Unity needs a transparent border ?
Thank you very much!
Answer by Hikinghack · Feb 16, 2019 at 04:13 PM
I am also trying to figure this out!,I am trying to figure this out too!
Your answer
Follow this Question
Related Questions
Projector displays tiled texture across entire scene 9 Answers
Mirrors of a car? 1 Answer
Projector LookAt Player 2 Answers
Projector and (ignoring) layers 0 Answers
Spritesheet animation from a projector 0 Answers