Jump to content
Sign in to follow this  
Cirevam

Transparency Sorting

Recommended Posts

Cirevam

Recently, I've been struggling with a transparency sorting issue that sometimes comes up in my models. It doesn't happen all the time. I first noticed it with a glow effect I've been using where, sometimes, the bright glow would appear very dull. Here's what it looks like:

 

large.TransparencySorting.png.88b2980136

 

 

I thought I messed up the texture properties, but I realized that the texture is actually not modified. It's appearing under the 1x1 round stud, which has its own transparency. You can notice a slight halo of the glow texture. The two lasers in this picture have the exact same textures and surface properties, so the only thing left was the geometry. I found the problem and fixed it.

 

large.TransparencyFixed.png.805cb36468c7

 

 

The problem is the order of groups in the geometry itself. I use Milkshape to make stuff, and you can change the group order. I never understood why I would ever do this, but now I realize it's how the program sorts things when using Simple transparency (this is an option in Milkshape's 3D viewport). I think LRR must use this same sort of transparency. I moved the glow's group to the end of the list, exported as LWO, and it fixed the problem. Here's where you can check this yourself:

 

large.GroupSorting.png.0e763741bffef9ce7

 

 

Here, "eyes" is the 1x1 stud, and "eyeglow1" is the glow effect. I confirmed that Milkshape sorts groups from back to front, starting with the first group in the list. If you want something to appear in front of something else, move it lower in the list. You can probably use Milkshape to preview this effect as well. It seems to be accurate to the game.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.