Is it possible to have a projector that projects say, a tiling texture, like a directional light? infinitely far away and hitting everything in the scene?
Isn’t projector exactly that? Maybe not, I never used it so I don’t know.
Nah, a unity projector is more like the spotlight, it just projects a circle (unless you use a cookie) whose size is determined by the distance of the project from the surface.
It doesn’t have an “infinite” checkbox? Hmm weird.
A projector doesn’t project a circle, it projects whatever texture you use, and if the texture is set to repeat rather than clamp, then it tiles over everything. See the grid projector from the standard projector package.
–Eric
Don’t projectors have an ‘orthogonal’ mode, like cameras do?
If so, flagging a projector as orthogonal would make it behave in much the same way as a directional light does.
Cheers
Ohhh I forgot about the grid projector! I’m retarded. Thanks!
Sorry, I don’t have unity at work so I just ask random things that pop in my head sometimes, that could easily be figured out in the editor
Yup! Just use the additive projector shader with the texture marked as ‘repeat’, as opposed to ‘clamp’. You won’t get shadows though, but set it to orthographic and you’ll achieve similar results to a directional light. Same goes for spotlights, just clamp it instead.