atteneder / KtxUnity

Load KTX and Basis Universal textures at runtime
Apache License 2.0
215 stars 42 forks source link

Shader 'glTF/PbrMetallicRoughness' doesn't have a texture property '_MainTex' #83

Closed Gulfick closed 1 year ago

Gulfick commented 1 year ago

Built-In shaders don't have that property so unity spam error messages in console. image

I made a local package and added the _MainTex property to the shader and the errors stopped. If I understand correctly, these errors occur on materials whose Blend Mode is not Opaque

Gulfick commented 1 year ago

Wrong repo