Skip to content

Commit

Permalink
fix: make experimental texture-from-disk export default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Apr 19, 2021
1 parent 776c5da commit 46ac3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnityGLTF/Assets/UnityGLTF/Runtime/Scripts/GLTFSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public class GLTFSettings : ScriptableObject
[SerializeField]
private bool requireExtensions = false;
[SerializeField]
[Tooltip("Exports PNG/JPEG directly from disk instead of re-encoding from Unity's import result. Textures in other formats (PSD, TGA etc) not supported by glTF and in-memory textures (e.g. RenderTextures) are always re-encoded.")]
private bool tryExportTexturesFromDisk = true;
[Tooltip("(Experimental) Exports PNG/JPEG directly from disk instead of re-encoding from Unity's import result. No channel repacking will happen for these textures. Textures in other formats (PSD, TGA etc) not supported by glTF and in-memory textures (e.g. RenderTextures) are always re-encoded.")]
private bool tryExportTexturesFromDisk = false;
[SerializeField]
[Tooltip("glTF does not support visibility state. If this setting is true, disabled GameObjects will still be exported and be visible in the glTF file.")]
private bool exportDisabledGameObjects = false;
Expand Down

0 comments on commit 46ac3f7

Please sign in to comment.