Question by
IGameArt · Dec 28, 2016 at 07:25 PM ·
shaderstexturesuv coordinates
How can I add a uv independant detail texture?
I'm trying to add detail textures into my game, but I don't want to use the objects uvmap to rely on. Instead I want to use the world space coordinates of each point, after scaling and before rotating/translating the object, multiplied by a detail size variable. Essentially I want a large sword and a smaller version of the same sword to have this detail texture wrapped around them with the same texel size ( meaning large sword has higher texel density ) but I dont want the texture to move about the model when i'm swinging the swords. I'm not sure how to do that with the standard unity 5+ material. Is there an example of this anywhere?
Comment