LibGDX fbx-conv from Blender not passing specular color to G3DJ

196 Views Asked by At

I have a model in blender 2.8 with a specular value of 0 using the Pricipled BSDF node. I export as an fbx file and then convert it using fbx-conv (https://github.com/libgdx/fbx-conv). When looking at the g3dj file, the material always has a specular color of .800000. I'm using the latest fbx-conv

Blender Set up

fbx-conv inacurate G3DJ results

In Blender 2.76 I was able to set the specular color of a model, and after running the fbx-conv, it would have an appropriate specular color in the G3DJ file.

Blender 2.76 setup (note specular color is black)

G3DJ results from blender 2.7

I'm guessing I'm setting something up incorrectly in Blender 2.8 or the fbx-conv needs to be updated. I'd really appreciate any help with why the specular value is not being converted correctly.

*Note - After playing around with Blender 2.8 a bit more I discovered that by setting the base color before setting the texture will set the diffuse and specular color in the g3dj file (even though applying a texture looks like it overwrites the color). I'm still trying to figure it out, but I'd appreciate any help!

0

There are 0 best solutions below