iimachines / Maya2glTF

Maya to glTF 2.0 exporter
MIT License
325 stars 49 forks source link

Unable to assign a PBR shader #62

Open j-conrad opened 6 years ago

j-conrad commented 6 years ago

Object starts with a Stingray shader with several maps on it.

Tried to assign the GLSL shader using the 'assign PBR shader to selection' and after selecting the textures, the following picture shows the result:

image

ziriax commented 6 years ago

Thanks for reporting.

We never tried that scenario, we always start from Lambert or Phong, but I don't immediately see a reason why it wouldn't work with any existing shader.

Could you maybe copy/paste all the text in the script history window? Because the real error must have happened before the line you pasted.

BigRoy commented 5 years ago

@j-conrad Did you end up getting this to work by first assigning a Lambert as a replacement? If not, are you still able to produce those full logs?