Anomalies with parenting 3d model to aspect2d

I’m trying to use a 3D model as a button, and as part of a test, I parented ‘smiley’ to aspect2d. There is some distortion with the image that’s not apparent when smiley is parented to render. Some of the yellow paint on smiley is covered with triangular white paint.
At first, I thought it might be a depth buffer issue as base.cam2d’s near and far planes are set to -1000, 1000 to begin with. I changed the near/far planes to 0, 5 respectively, but the problem still remains.

Any ideas?


You should try to enable z-buffering:


Ah, ok. Thanks for the hint.