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??
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)
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.
Ah, cheers thanks for the answer!