0
$\begingroup$

I know that there's "Alpha sort" option to sort faces in the suppossedly correct way. But it doesn't work well sometimes. Now is that sometime.

I have some faces from an object that I need then to be rendered in front of other objects... and they appear behind. Faces to be in front are from a different object that the one (well, two) that are behind.

I know that OpenGL sort well faces... that are not translucent. Mines are all PNGs with alpha, Z-Transparency at 0.

Is there any workaround to achieve that?

This is in 3D View:

enter image description here

BGE (before EDIT1):

enter image description here

BGE (text solved with Alpha Clip but problems with ADD blend):

enter image description here

In fact, there are 5 layers that have to be in order: OSD, a plane with ADD blend type (hidden in screenshots), a plane with the red character (video), a rigged puppet (green jacket) and the background. Well... the dinosaur too :D.

EDIT1: I found that Alpha Clip is good for my needs, because those letters have 1bit alpha depth. But what about 8bits alpha depth images?

EDIT2: The plane with ADD blend is not rendering well. The problem now is with this object :/.

$\endgroup$
  • $\begingroup$ Just a heads up, I believe the game engine is going away in 2.8. What are you using it for? Could the new EEVEE engine work for you? $\endgroup$ – SilverWolf Dec 5 '18 at 17:27
  • $\begingroup$ I know that GE won't be in 2.8 and no, EEVEE is not for my work (maybe not yet). Also, I had so many errors by trying UPBGE. That's why on 2.79, looking for "workarounds". $\endgroup$ – Mario Mey Dec 5 '18 at 17:40
  • 1
    $\begingroup$ Hm. If you're trying to make something interactive, and you're worried about the discontinuation of the BGE, there's always Blend4Web. $\endgroup$ – SilverWolf Dec 5 '18 at 17:47
  • $\begingroup$ As for the sorting thing, does the BGE support compositing multiple scenes together? $\endgroup$ – SilverWolf Dec 5 '18 at 17:47
  • $\begingroup$ Yes, I know Blend4Web, but I can't migrate to it or to UBPBG or to Armory. Now, I need to stay in BGE. Oh... multiple scenes, I forgot about that! It can be the solution, thanks! $\endgroup$ – Mario Mey Dec 5 '18 at 18:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.