0
$\begingroup$

i need to repeat the gradient texture for each polygonal face an object has, it's possible?

$\endgroup$
  • $\begingroup$ Please provide more context. What is it for? You can repeat a gradient texture by plugging Parametric output of the Geometry node to it's vector input. That would technically answer your question as it is now, because it is repeating and you did not specify how you need it to repeat, but I get a feelling that's not what you are after... $\endgroup$ – Martynas Žiemys Nov 7 '19 at 14:30
  • $\begingroup$ Thanks, that is exactly what i was looking for!!! $\endgroup$ – mike Nov 7 '19 at 17:44
3
$\begingroup$

One way to make that is by creating a special UV unwraping which will basically take every face of your model and unwrap them all on top of each other and taking the entire UV space.

If you have other UV maps already, make sure to first create a new UV map in your object so you don't lose your previous UV maps:

enter image description here

Then select the new UV Map, go to edit mode, select everything with A then press U → Reset. This will result to something like this in your UV Editor:

enter image description here

Once you've got that, you will need to call that specific UV map in your shader. Go to the shader editor, hit ⇧ ShiftA → Input → UV Map. Specify the UV Map you want in that node, then do whatever you want with that:

enter image description here

$\endgroup$
  • $\begingroup$ Thanks, i really appreciate it. It's a good alternative to map each face by uv. I did not knew this good trick. $\endgroup$ – mike Nov 7 '19 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.