Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alphaMode not set on transparent materials #105

Closed
donmccurdy opened this issue Nov 29, 2018 · 4 comments · Fixed by #128
Closed

alphaMode not set on transparent materials #105

donmccurdy opened this issue Nov 29, 2018 · 4 comments · Fixed by #128
Assignees
Labels
bug Something isn't working exporter This involves or affects the export process
Milestone

Comments

@donmccurdy
Copy link
Contributor

When setting the alpha value of a material's baseColor to <1, I think we should default to alphaMode=BLEND. Currently the opacity value is written, but alphaMode is left blank, and defaults to OPAQUE. I can't see any equivalent to MASK on the Principled BSDF node, so I guess we can ignore that for now.

@donmccurdy
Copy link
Contributor Author

Oops I missed the dropdown heh. Presumably this is what we should be using. 😅

screen shot 2018-11-28 at 9 38 05 pm

@donmccurdy donmccurdy added bug Something isn't working exporter This involves or affects the export process labels Nov 29, 2018
@UX3D-nopper UX3D-nopper added this to the MS VI milestone Nov 29, 2018
@UX3D-nopper
Copy link
Contributor

Did have a look at it. The entry exists in both versions, maybe assigned to different objects.

@donmccurdy
Copy link
Contributor Author

Looks like a couple material properties currently not implemented:

def __gather_alpha_cutoff(blender_material, export_settings):
return None
def __gather_alpha_mode(blender_material, export_settings):
return None
def __gather_double_sided(blender_material, export_settings):
return None

  • alpha_mode
  • alpha_cutoff
  • double_sided
  • extras
  • name

@julienduroure
Copy link
Collaborator

Is now merged with blender 2.8 repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter This involves or affects the export process
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants