diff --git a/Runtime/GLTFastWrappers/DecentralandMaterialGenerator.cs b/Runtime/GLTFastWrappers/DecentralandMaterialGenerator.cs index 3ed8d0b..dc18109 100644 --- a/Runtime/GLTFastWrappers/DecentralandMaterialGenerator.cs +++ b/Runtime/GLTFastWrappers/DecentralandMaterialGenerator.cs @@ -112,8 +112,8 @@ private void SetEmissiveTexture(TextureInfoBase emissiveTexture, IGltfReadable g material, gltf, ShaderUtils.EmissionMap, - ShaderUtils.EmissionMapRotation, ShaderUtils.EmissionMapScaleTransform, + ShaderUtils.EmissionMapRotation, ShaderUtils.EmissionMapUVChannel )) { @@ -129,8 +129,8 @@ private void SetOcclusionTexture(OcclusionTextureInfoBase occlusionTexture, IGlt material, gltf, ShaderUtils.OcclusionMap, - ShaderUtils.OcclusionMapRotation, ShaderUtils.OcclusionMapScaleTransform, + ShaderUtils.OcclusionMapRotation, ShaderUtils.OcclusionMapUVChannel )) { @@ -209,8 +209,8 @@ private void SetBaseMapTexture(TextureInfoBase textureInfo, IGltfReadable gltf) material, gltf, ShaderUtils.BaseMap, - ShaderUtils.BaseMapRotation, ShaderUtils.BaseMapScaleTransform, + ShaderUtils.BaseMapRotation, ShaderUtils.BaseMapUVs ); } diff --git a/package.json b/package.json index 6459232..3454e68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.decentraland.unity-shared-dependencies", - "version": "1.1.7", + "version": "1.1.8", "displayName": "Decentraland.SharedDependencies", "description": "This package contains shared dependencies between unity-renderer, aang-renderer and asset-bundle-converter repositories, this includes gltf importer wrappers, shaders and wearable utils", "unity": "2021.3",