Problem with 3D and fill

Hi,

I’ve been trying to do boxes inside boxes, but for some reason can’t get the fill to work the way I want. (transparent fill with the stroke color).

What am I missing??

Try reversing the order the boxes are drawn starting with the smallest (innermost) and going to the largest (outermost)

1 Like

Cheers! It works, but why =)

If you draw the biggest first then WEBGL will not draw anything behind it due to hidden surface removal even if the bigger object has a translucent colour.

2 Likes

Ah, cheers thanks for the answer!

1 Like