- Home /
Question by
hpjohn · Feb 20, 2013 at 01:35 AM ·
shadercoordinatesprojectorcookie
Can you supply texture co-ordinates for projector cookies?
Using this shadow projector shader as a base
http://en.wikibooks.org/wiki/Cg_Programming/Unity/Projectors
Is it possible to adjust it so that the texture lookup takes into account some arbitrary uv coordinate, or the material tiling & offset; the end result being that I can use an atlas or some small part of a larger image for the cookie
So this should only be using the circle or the triangle.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613093023im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Custom lightmaps? 1 Answer
Draw a light projector before a shadow projector? 0 Answers
blob shadow z-fighting on iphone 3 Answers
How to make projector shaders override each other? 0 Answers
Cutting holes with projectors 0 Answers