Fuse
Otillräckligt med betyg
Better Transparency in Unity3D
Av mouxe
Unity3D's transparency shaders are single-pass, so they introduce draw-order issues, or must simplify things by using "cut-out" alpha, leaving jagged edges. This guide will direct you toward a shader that fixes these issues, and show you how to connect it in Unity3D.
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
A Better Transparency Shader
Here is a shader I wrote for Mixamo that is a two-pass shader, to support things like poly-strip hair, and the style of eyelashes that Fuse creates. There are other niceties, including support for glow maps, normal maps, specular maps, and a fresnel-based rim highlight.

https://gist.github.com/charlespina/7418744

Setting up in Unity3D
1. Download the shader. You should name it Shadier.shader.
2. Place it in your Assets folder in a place that makes sense for your project. (I like Assets/Shaders).
3. Import your character into Unity3D.
4. Find the Materials/BodyParts_diffuse material that is created on import.
5. Change the shader of BodyParts_diffuse to "Mixamo/Shadier" by finding it in material's Shader drop-down menu.
6. You may wish to connect the specular, and normal maps included with the import.
7. Repeat as necessary if your character's clothes have transparency.

You can tweak the rim color, and rim amount to increase the rim lighting, or remove it, as needed.

Enjoy!

Charles
10 kommentarer
ШКУРА МЕДВЕДЯ 4 nov, 2019 @ 7:11 
Есть
DeLeTeD_UsEr_228 10 jun, 2019 @ 9:09 
Нет здесь русских
ты неверный
DjyPhantom 23 jan, 2018 @ 18:57 
This shader makes the players have nice colors, but have some problems. In Unity the hair and eyeslashes not render the same as on fuse, also when using this shader the shadows of the game engine not affect the player. If you create a player that walk from on the scenario from the dark to the light, you will not see the effects of realtime light and shadows.
MetalMatayus 30 dec, 2016 @ 8:17 
Thank you so much! I've been reading a lot of texts on the internet and I never found any solution simple and efficient like this one.I'll recommend for every Game Developer that I know. Congratulations!
Gua 1 mar, 2015 @ 2:36 
The doctor is in 25 jul, 2014 @ 20:42 
sweet really nice job, thanks!
99th Monkey 29 jun, 2014 @ 3:40 
thanks :dealwithit:
Homer 31 maj, 2014 @ 1:15 
Александр Пушкин, я ищу тоже русского с кем обсудить Mixamo Fuse, отправил тебе приглашение на друзья
МАЗАФАКА 3 apr, 2014 @ 6:50 
кто тут русский?
ElectroMantis 6 jan, 2014 @ 14:32 
Should prove to be useful, thanks!