This project is read-only.

Transparent Skinned Model

Mar 23, 2013 at 5:46 PM
Hello again~

I'm trying to set some transpanrent texture to a skinned model. Once I set the IsTransparent property to ture, some weird things happned that some back parts of the model rendered over the front parts.

But the AlphaTestMaterial just threshold the alpha channel.

Can I solve this just by combining some materialparts or I have to do more complex jobs such as writting my own shader.
Mar 24, 2013 at 4:28 AM
Welcome to the world of 3D graphics!

Things gets complicated when it comes to transparency. It isn't possible to draw a transparent model with each triangle correctly sorted in a single pass. This typically isn't a problem when objects are far away.

One possible solution is to write the depth of the model before actually drawing the object. But the rendering pipeline in 1.4 is not flexible enough to plugin this depth only pass without modifying the engine code. I'm making this discussion a work item and hopefully we'll come up with a better solution in the upcoming versions.

Thanks for reporting this.
Mar 24, 2013 at 4:28 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Mar 24, 2013 at 4:30 AM
Thank you so much for you reply~