1
$\begingroup$

I have an outer eye and an inner eye. I'd like the blue iris to show through the outer eye. In my source files shown below, I've got a couple masks.

I suspect the answer is an image texture node with the mask file, but I'm not sure how to set that up.

If another solution seems better, I'm open to suggestions.

For reference, the .blend is here.
Thanks!

eye

enter image description here

enter image description here

$\endgroup$
0
2
$\begingroup$

Generally, you would combine the 2 images using a mix shader, and use the mask image as the mix factor. See Below:

ImageMask

$\endgroup$
6
  • $\begingroup$ This works if I want to use two images on ONE object, but I'm looking to have the iris be a separate object. Is there a way to mask the eye and have the iris show through? $\endgroup$ – Trey Harper Jun 8 '20 at 4:56
  • $\begingroup$ Oh, 2 objects you say? That's interesting... I'm not sure I've ever done anything like that. Hang on, let me try some things.. $\endgroup$ – Christopher Bennett Jun 8 '20 at 5:02
  • $\begingroup$ Ok, In case I don't manage to replicate your issue tonight, here's my thinking - For the outer eye (the one you want to have a see through portion), use the mask as the alpha for that material (remember to set the blend mode to anything but opaque in the material properties tab). This should make a "hole" that can be seen through. For the other material (iris), use the mask (again as alpha) to "cut away" the black from around the circle (if necessary). Once you place the objects together, you SHOULD be able to see one through the other. I will have a better description once I can test it. $\endgroup$ – Christopher Bennett Jun 8 '20 at 5:22
  • $\begingroup$ Upon further inspection, you can probably omit the second part of my suggestion regarding the iris, as it seems you already have that set up just fine. $\endgroup$ – Christopher Bennett Jun 8 '20 at 5:30
  • $\begingroup$ Its entirely possible I'm making it more difficult than it needs to be. I got a great result with your original suggestion. The tutorial that suggested a two object eye is here youtube.com/watch?v=n0r0UnaIK_Y $\endgroup$ – Trey Harper Jun 8 '20 at 5:33

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.