Skip to content

Commit

Permalink
Eyelashes and Normal Fix
Browse files Browse the repository at this point in the history
Small Updated for 2.2.2
  • Loading branch information
samjay3d committed Mar 3, 2021
1 parent 304ffb7 commit beac83c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,11 @@ def get_mat_type(self,mat_data):
return "DefaultMaterial"

def set_eevee_alpha(self,mat):
if mat.name == "Eyelashes":
if mat.name in [
"Eyelashes",
"Hair"
]:

Versions.eevee_alpha(mat, 'BLEND', 0)
if mat.name in [
"Cornea",
Expand Down Expand Up @@ -473,8 +477,10 @@ def wardrobe_texture(self):
tex_node_output,
shader_node.inputs[input_key]
)
# Set the cycles displacement method
# Set Alpha Modes
self.set_eevee_alpha(mat)

# Set the cycles displacement method
if node_group == "IrayUberSkin":
mat_links.new(
shader_node.outputs['Displacement'],
Expand Down Expand Up @@ -551,6 +557,10 @@ def env_textures(self,obj):
tex_node_output,
shader_node.inputs[input_key]
)
# Set Alpha Modes
self.set_eevee_alpha(mat)


# Set the cycles displacement method
mat.cycles.displacement_method = 'BUMP'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bl_info = {
"name": "DazToBlender",
"author": "Daz 3D | https://www.daz3d.com",
"version": (2, 2, 0),
"version": (2, 2, 2),
"blender": (2, 80, 0),
"location": "3DView > ToolShelf",
"description": "Daz 3D Genesis 3/8 transfer to Blender",
Expand Down
Binary file not shown.

0 comments on commit beac83c

Please sign in to comment.