- Home /
Weird visual idea: Where do I start?
I'm looking to do something like this (on the right):
But I'm not really sure where to get started! I'm guessing I should write a custom shader, but I don't know much about that and what I'm trying to do is really weird. I want to basically ignore the UVs, only use the vertices to get an outline of the model, and just render the texture right on top of that outline. (I think.)
Any suggestions? Anyone else tried implementing something like this, or know where I might start looking?
Answer by tanoshimi · May 26, 2014 at 07:50 PM
The effect you're describing is called "unmoving plaid" and you're right - you can achieve it quite simply in a custom shader by mapping a texture in screen space rather than using uv coordinates of the model. For a simple example, look at the "Detail Texture in Screen Space" code at http://docs.unity3d.com/Documentation/Components/SL-SurfaceShaderExamples.html
If you want further examples, I use this technique to apply textures in some of the shaders in the Hand-Drawn Shader Pack, such as the pencil shading in this image:
Thank you! This sounds like exactly what I was looking for.
Your answer
Follow this Question
Related Questions
How to make Standard Shader _Color property be Per Instance Data? 0 Answers
Alpha Texture Deserves a Separate File? 1 Answer
Low Poly Art 0 Answers
How can i paint texture on Mesh Runtime? 0 Answers
How to force the compilation of a shader in Unity? 5 Answers