Page MenuHome

Collada Exporter: Specular value was exported as greenish color

Authored by Gaia Clary (gaiaclary) on Mar 7 2019, 9:10 PM.


Daniel (bestdani)
Group Reviewers

The specular value of the Principled BSDF Node was exported as a greenish color which was shown like that in some rendering engines by default.

I changed it so that the specular level is applied as a greyscale color with alpha fixed to 1.

Diff Detail

Event Timeline

Gaia Clary (gaiaclary) commandeered this revision.

hi, Daniel;

thanks for the patch. I took a look at this and i found that actually the shader value is not a color but a factor, so the function returns completely wrong data. So actually Collada should not export a specular color but a specular factor. I will add a fix for this.

Hi, @Daniel (bestdani)

This patch now has been replaced with a more complete fix for blender 2.80.
Thanks again for reporting this issue! This was truly a good find!