Closed CodeCodeCodeCodeCodeCodeCode closed 3 years ago
Oh that must be a regression. What version of Maya are you using?
I can't reproduce this with the latest release
So I need more information. E.g. what version of Maya, version of this plugin, and maybe you could share your texture files with me?
Hi, thanks for the quick response! I'm using v1.3.1 and Maya 2019.2. I can't share my textures but they were created in Painter and exported as Redshift Roughness maps. I see the same thing though when I just use a .jpg from Google.
Here is an example of what I'm seeing (selecting just the color texture "Test_BaseColor.jpg" with the "assign PBR to selection")
I guess this previously reported issue will solve the problem:
https://github.com/iimachines/Maya2glTF/issues/146
Basically make sure that you are using OpenGL for hardware rendering.
My preferences were already set to OpenGL. I tried resetting my Preferences completely too but didn't fix it. I can keep messing around and can let you know if I discover anything.
Interesting. Because the error you got No object matches name: GLSLShader1.u_BaseColorTexture
is exactly the same as in that issue.
Can you share your texture privately?
Woop, I figured it out. Even though my Maya Preferences were showing that I was using OpenGL, I was remoting into my computer which Maya doesn't support for OpenGL. Maya's Output Window clued me in (and your helpful comments about the error message being the same from Issue #146). Thanks!
I was exporting .gltfs just fine yesterday and today when I try "assign PBR shader to selection" and select my texture files, the texture files don't show up in the Parameters section and the model looks green.
I tried reinstalling and turning on the Plugin. Any other suggestions? A chocolatey doughnut for the fix.