update SpecVersion to 1.0

This commit is contained in:
ousttrue
2022-09-21 15:16:04 +09:00
parent ed291eaf0f
commit 4a5cf395bb
2 changed files with 5 additions and 7 deletions

View File

@@ -10,8 +10,6 @@ namespace UniVRM10
{
public static class Vrm10MToonMaterialExporter
{
const string MTOON_SPEC_VERSION = "1.0-beta";
public static bool TryExportMaterialAsMToon(Material src, ITextureExporter textureExporter, out glTFMaterial dst)
{
if (src.shader.name != MToon10Meta.UnityShaderName)
@@ -30,7 +28,7 @@ namespace UniVRM10
// vrmc_materials_mtoon ext
var mtoon = new UniGLTF.Extensions.VRMC_materials_mtoon.VRMC_materials_mtoon();
mtoon.SpecVersion = MTOON_SPEC_VERSION;
mtoon.SpecVersion = Vrm10Exporter.MTOON_SPEC_VERSION;
// Rendering
dst.alphaMode = ExportAlphaMode(context.AlphaMode);

View File

@@ -11,10 +11,10 @@ namespace UniVRM10
{
public class Vrm10Exporter : IDisposable
{
public const string VRM_SPEC_VERSION = "1.0-beta";
public const string SPRINGBONE_SPEC_VERSION = "1.0-beta";
public const string NODE_CONSTRAINT_SPEC_VERSION = "1.0-beta";
public const string MTOON_SPEC_VERSION = "1.0-beta";
public const string VRM_SPEC_VERSION = "1.0";
public const string SPRINGBONE_SPEC_VERSION = "1.0";
public const string NODE_CONSTRAINT_SPEC_VERSION = "1.0";
public const string MTOON_SPEC_VERSION = "1.0";
public const string LICENSE_URL_JA = "https://vrm.dev/licenses/1.0/";
public const string LICENSE_URL_EN = "https://vrm.dev/licenses/1.0/en/";