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

Finalising error, "roughness" #405

Open
Chrysivey opened this issue Mar 23, 2024 · 1 comment
Open

Finalising error, "roughness" #405

Chrysivey opened this issue Mar 23, 2024 · 1 comment

Comments

@Chrysivey
Copy link

Hiya there,

using MB-Lab for the first time, so let me thank you all for the great work continuing this.

I came across an error when finalising a model keyword "roughness", Py trace led to a file in AppData "materialengine.py".
This line was commented out, removed the "#" and it seemed to worked.
"roughness": character_config["texture_roughness"],

Was this intentional?

Logs
I'm afraid I already restarted Blender.

Thanks all!

@animate1978
Copy link
Owner

This bug has been addressed and is in the master branch.

Yes the removal of the Roughness map was intentional, because there is no map for it in the shader, problem was that I did not fully test out the code before publishing. This is why you are getting the error. What you did was acceptable as well it just won't render the map out on the shader. The reason I haven't fully removed the Roughness map from the project is because in the future I may add it back in. I may not. At this point I am not sure because the Roughness doesn't seem to be needed for the skin shader but I am hesitant on purging it just yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants