mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-27 21:34:38 -05:00
Merge pull request #1811 from ousttrue/fix10/version_10
[1.0] update SpecVersion to 1.0
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user