mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-09 04:19:42 -05:00
Remove conditions for WEBGL when exporting normal map textures
This commit is contained in:
@@ -121,10 +121,6 @@ namespace UniGLTF
|
||||
|
||||
public Texture2D GetExportTexture(Texture2D texture)
|
||||
{
|
||||
|
||||
#if UNITY_WEBGL && !UNITY_EDITOR
|
||||
return texture;
|
||||
#endif
|
||||
var mat = GetDecoder();
|
||||
var converted = TextureConverter.Convert(texture, glTFTextureTypes.Normal, null, mat);
|
||||
TextureConverter.RemoveTextureExtension(converted, m_extension);
|
||||
|
||||
Reference in New Issue
Block a user