0

I need help creating an eyeball for my steve. How do I go about hiding the part of the eyeball that went out of the white area?

I had a guess it's about masks, but I have no idea how to implement it.

enter image description here

Thanks

Elay
  • 65
  • 1
  • 6
  • have you tried with a boolean object? – moonboots Aug 07 '20 at 12:29
  • No. What does it mean? – Elay Aug 07 '20 at 12:30
  • This is getting a little dated now. 2.8xx does things differently. Blender's internal and OpenGL renders may still work. I've included this link in case it helps. - https://blender.stackexchange.com/questions/117572/how-to-put-a-mask-into-3d-space/117941#117941 – Edgel3D Aug 07 '20 at 12:33

1 Answers1

2

You can give your eye cube a Boolean modifier. Create a second cube with a hole in it that is as big as your eye white area, make it invisible in the viewport and in render (Properties panel > Viewport Display > Dsiplay As > Wire and disable the camera icon in the Outliner), give your eye cube a Boolean modifier, mode > Difference, with the hole cube as Object. Now when you move your eyecube, the part that crosses the hole cube will be invisible:

enter image description here

moonboots
  • 155,560
  • 7
  • 105
  • 171