Page 1 of 1

Element Not Rendering Behind Slightly-Transparent Texture

Posted: 13 Jul 2017, 18:36
by Elsweyr
Hi all,

I came across an interesting problem yesterday and was wondering if anyone had encountered this or knows how to avoid it. Take a look at this picture:

Image

The front element with the slightly transparent texture seems to turn the sides of the model invisible. It's interesting that it only affects the West/East elements and not the North/South. It also seems that the diamond (a separate entity) disappears behind it as well. I tried using a plane instead - no difference.

Any ideas on how to fix this? Or any technical explanation as to why this happens? I would really like to keep the texture slightly transparent, but obviously need the sides to render.

Thanks,
~ E

Re: Element Not Rendering Behind Slightly-Transparent Texture  [Solved]

Posted: 14 Jul 2017, 06:17
by Sphax
To fix this, try the function "sort transparent elements" button. It basically moves all elements with alpha transparency in their UV to the end of elements list (because it is rendered in that order in game)

Re: Element Not Rendering Behind Slightly-Transparent Texture

Posted: 14 Jul 2017, 17:42
by Elsweyr
Sphax wrote: 14 Jul 2017, 06:17 To fix this, try the function "sort transparent elements" button. It basically moves all elements with alpha transparency in their UV to the end of elements list (because it is rendered in that order in game)
It does move it towards the bottom, but as the two sides also have transparency, they are still placed below it. Is there a way to manually move the elements up or down in the list? Or should I just edit the .json?

Thanks Spax!

EDIT: I just duplicated the element which put it at the bottom and everything seems to be in order and rendering correctly! Thanks again Sphax!

Re: Element Not Rendering Behind Slightly-Transparent Texture

Posted: 16 Jul 2017, 07:28
by Sphax
I'll add a way to move selected elements to bottom/too of list