diff --git a/Assets/VRM10_Samples/MToon10Showcase.meta b/Assets/VRM10_Samples/MToon10Showcase.meta new file mode 100644 index 000000000..15f75383f --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e3a44a3008e806e45b3b12ca8432b1d3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor.meta b/Assets/VRM10_Samples/MToon10Showcase/Editor.meta new file mode 100644 index 000000000..84b3b6c1a --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8b5bbe9fd7fd8a04685d72db3a7c7f40 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor.meta b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor.meta new file mode 100644 index 000000000..d15adade3 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: a3a0c6fa562b4be3998b33b32627bbe1 +timeCreated: 1738862006 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/LitEntryDrawer.cs b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/LitEntryDrawer.cs new file mode 100644 index 000000000..a851d7b97 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/LitEntryDrawer.cs @@ -0,0 +1,15 @@ +using UnityEditor; +using UnityEngine; + +namespace VRM10.Samples.MToon10Showcase +{ + [CustomPropertyDrawer(typeof(LitShowcase.LitEntry))] + public sealed class LitEntryDrawer : PropertyDrawer + { + public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) + { + EditorGUILayout.PropertyField(property.FindPropertyRelative(nameof(LitShowcase.LitEntry.litColor))); + EditorGUILayout.PropertyField(property.FindPropertyRelative(nameof(LitShowcase.LitEntry.litTexture))); + } + } +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/LitEntryDrawer.cs.meta b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/LitEntryDrawer.cs.meta new file mode 100644 index 000000000..d211d9940 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/LitEntryDrawer.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 4bc17a32bc7742498008ff0c6b248544 +timeCreated: 1738861957 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/ShadeEntryDrawer.cs b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/ShadeEntryDrawer.cs new file mode 100644 index 000000000..fc87308a3 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/ShadeEntryDrawer.cs @@ -0,0 +1,15 @@ +using UnityEditor; +using UnityEngine; + +namespace VRM10.Samples.MToon10Showcase +{ + [CustomPropertyDrawer(typeof(ShadeShowcase.ShadeEntry))] + public sealed class ShadeEntryDrawer : PropertyDrawer + { + public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) + { + EditorGUILayout.PropertyField(property.FindPropertyRelative(nameof(ShadeShowcase.ShadeEntry.shadeColor))); + EditorGUILayout.PropertyField(property.FindPropertyRelative(nameof(ShadeShowcase.ShadeEntry.shadeTexture))); + } + } +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/ShadeEntryDrawer.cs.meta b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/ShadeEntryDrawer.cs.meta new file mode 100644 index 000000000..c4df17bd4 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/CustomEditor/ShadeEntryDrawer.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 552714f012354debb2e8f93dfe867c57 +timeCreated: 1738862279 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/VRM10.Samples.MToon10Showcase.Editor.asmdef b/Assets/VRM10_Samples/MToon10Showcase/Editor/VRM10.Samples.MToon10Showcase.Editor.asmdef new file mode 100644 index 000000000..8c9266b01 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/VRM10.Samples.MToon10Showcase.Editor.asmdef @@ -0,0 +1,18 @@ +{ + "name": "VRM10.Samples.MToon10Showcase.Editor", + "rootNamespace": "", + "references": [ + "GUID:151799a9fa5ec7e44bc6c5293df4b6b3" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": false, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Editor/VRM10.Samples.MToon10Showcase.Editor.asmdef.meta b/Assets/VRM10_Samples/MToon10Showcase/Editor/VRM10.Samples.MToon10Showcase.Editor.asmdef.meta new file mode 100644 index 000000000..f62ce0b32 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Editor/VRM10.Samples.MToon10Showcase.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 792f152e790bba543813636d73813a03 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/MToon10Showcase.unity b/Assets/VRM10_Samples/MToon10Showcase/MToon10Showcase.unity new file mode 100644 index 000000000..bf62768cc --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/MToon10Showcase.unity @@ -0,0 +1,540 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &203844586 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 203844589} + - component: {fileID: 203844588} + - component: {fileID: 203844587} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &203844587 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 203844586} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Version: 3 + m_UsePipelineSettings: 1 + m_AdditionalLightsShadowResolutionTier: 2 + m_LightLayerMask: 1 + m_RenderingLayers: 1 + m_CustomShadowLayers: 0 + m_ShadowLayerMask: 1 + m_ShadowRenderingLayers: 1 + m_LightCookieSize: {x: 1, y: 1} + m_LightCookieOffset: {x: 0, y: 0} + m_SoftShadowQuality: 0 +--- !u!108 &203844588 +Light: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 203844586} + m_Enabled: 1 + serializedVersion: 10 + m_Type: 1 + m_Shape: 0 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_InnerSpotAngle: 21.80208 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_CullingMatrixOverride: + e00: 1 + e01: 0 + e02: 0 + e03: 0 + e10: 0 + e11: 1 + e12: 0 + e13: 0 + e20: 0 + e21: 0 + e22: 1 + e23: 0 + e30: 0 + e31: 0 + e32: 0 + e33: 1 + m_UseCullingMatrixOverride: 0 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingLayerMask: 1 + m_Lightmapping: 4 + m_LightShadowCasterMode: 0 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_UseBoundingSphereOverride: 0 + m_UseViewFrustumForShadowCasterCull: 1 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &203844589 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 203844586} + serializedVersion: 2 + m_LocalRotation: {x: 0.72158664, y: -0.47243497, z: 0.112443455, w: 0.49343142} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 54.92, y: -148.071, z: -96.661} +--- !u!1 &345281093 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 345281097} + - component: {fileID: 345281096} + - component: {fileID: 345281095} + - component: {fileID: 345281094} + m_Layer: 0 + m_Name: Floor + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!64 &345281094 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 345281093} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 5 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &345281095 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 345281093} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 53fb05c39fb90924c8b84a662f771205, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &345281096 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 345281093} + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &345281097 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 345281093} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.6, y: 1.6, z: 1.6} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &738203505 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 738203507} + - component: {fileID: 738203506} + m_Layer: 0 + m_Name: EntryPoint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &738203506 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 738203505} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1f3510c69d3c7547b80446e05ca3f10, type: 3} + m_Name: + m_EditorClassIdentifier: + dependencies: {fileID: 11400000, guid: 21a44348ad7e90744a8e320392d6a0b6, type: 2} + litShowcase: {fileID: 11400000, guid: eda310b3d75b2634ca76dccda495985e, type: 2} + shadeShowcase: {fileID: 11400000, guid: 7f12d1836965ca247be4bbb314f94b23, type: 2} +--- !u!4 &738203507 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 738203505} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &961739749 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 961739753} + - component: {fileID: 961739752} + - component: {fileID: 961739751} + - component: {fileID: 961739750} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &961739750 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961739749} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_RenderShadows: 1 + m_RequiresDepthTextureOption: 2 + m_RequiresOpaqueTextureOption: 2 + m_CameraType: 0 + m_Cameras: [] + m_RendererIndex: -1 + m_VolumeLayerMask: + serializedVersion: 2 + m_Bits: 1 + m_VolumeTrigger: {fileID: 0} + m_VolumeFrameworkUpdateModeOption: 2 + m_RenderPostProcessing: 0 + m_Antialiasing: 0 + m_AntialiasingQuality: 2 + m_StopNaN: 0 + m_Dithering: 0 + m_ClearDepth: 1 + m_AllowXRRendering: 1 + m_AllowHDROutput: 1 + m_UseScreenCoordOverride: 0 + m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0} + m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0} + m_RequiresDepthTexture: 0 + m_RequiresColorTexture: 0 + m_Version: 2 + m_TaaSettings: + m_Quality: 3 + m_FrameInfluence: 0.1 + m_JitterScale: 1 + m_MipBias: 0 + m_VarianceClampScale: 0.9 + m_ContrastAdaptiveSharpening: 0 +--- !u!81 &961739751 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961739749} + m_Enabled: 1 +--- !u!20 &961739752 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961739749} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &961739753 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 961739749} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 961739753} + - {fileID: 203844589} + - {fileID: 345281097} + - {fileID: 738203507} diff --git a/Assets/VRM10_Samples/MToon10Showcase/MToon10Showcase.unity.meta b/Assets/VRM10_Samples/MToon10Showcase/MToon10Showcase.unity.meta new file mode 100644 index 000000000..27d1f0f4a --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/MToon10Showcase.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ea2cbcfff0cf69645b1170fd5c4c15d5 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Materials.meta b/Assets/VRM10_Samples/MToon10Showcase/Materials.meta new file mode 100644 index 000000000..e102a725a --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Materials.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 01a8962aa8665134a98c689e59bfd012 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Materials/0_Floor.mat b/Assets/VRM10_Samples/MToon10Showcase/Materials/0_Floor.mat new file mode 100644 index 000000000..af669b74b --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Materials/0_Floor.mat @@ -0,0 +1,185 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5077581053916780727 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: 0_Floor + m_Shader: {fileID: 4800000, guid: 0781c64b7f2a1604ea6aa7e252080372, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 517d4a74c74ce8643bff9f69fa581a20, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MatcapTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OutlineWidthTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _RimTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ShadeTex: + m_Texture: {fileID: 2800000, guid: 517d4a74c74ce8643bff9f69fa581a20, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ShadingShiftTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _UvAnimMaskTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 0 + - _AlphaMode: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DoubleSided: 0 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GiEqualization: 0.9 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _M_AlphaToMask: 0 + - _M_CullMode: 2 + - _M_DebugMode: 0 + - _M_DstBlend: 0 + - _M_EditMode: 0 + - _M_SrcBlend: 1 + - _M_ZWrite: 1 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _OutlineLightingMix: 1 + - _OutlineWidth: 0 + - _OutlineWidthMode: 0 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _RenderQueueOffset: 0 + - _RimFresnelPower: 5 + - _RimLift: 0 + - _RimLightingMix: 1 + - _ShadingShiftFactor: -0.05 + - _ShadingShiftTexScale: 1 + - _ShadingToonyFactor: 0.95 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _TransparentWithZWrite: 0 + - _UvAnimRotationSpeed: 0 + - _UvAnimScrollXSpeed: 0 + - _UvAnimScrollYSpeed: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _MatcapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineColor: {r: 0, g: 0, b: 0, a: 1} + - _RimColor: {r: 0, g: 0, b: 0, a: 1} + - _ShadeColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/VRM10_Samples/MToon10Showcase/Materials/0_Floor.mat.meta b/Assets/VRM10_Samples/MToon10Showcase/Materials/0_Floor.mat.meta new file mode 100644 index 000000000..9faf14317 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Materials/0_Floor.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 53fb05c39fb90924c8b84a662f771205 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Materials/Base.mat b/Assets/VRM10_Samples/MToon10Showcase/Materials/Base.mat new file mode 100644 index 000000000..c783aed92 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Materials/Base.mat @@ -0,0 +1,185 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-5077581053916780727 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base + m_Shader: {fileID: 4800000, guid: 0781c64b7f2a1604ea6aa7e252080372, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MatcapTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OutlineWidthTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _RimTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ShadeTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ShadingShiftTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _UvAnimMaskTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 0 + - _AlphaMode: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DoubleSided: 0 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _GiEqualization: 0.9 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _M_AlphaToMask: 0 + - _M_CullMode: 2 + - _M_DebugMode: 0 + - _M_DstBlend: 0 + - _M_EditMode: 0 + - _M_SrcBlend: 1 + - _M_ZWrite: 1 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _OutlineLightingMix: 1 + - _OutlineWidth: 0 + - _OutlineWidthMode: 0 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _RenderQueueOffset: 0 + - _RimFresnelPower: 5 + - _RimLift: 0 + - _RimLightingMix: 1 + - _ShadingShiftFactor: -0.05 + - _ShadingShiftTexScale: 1 + - _ShadingToonyFactor: 0.95 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _TransparentWithZWrite: 0 + - _UvAnimRotationSpeed: 0 + - _UvAnimScrollXSpeed: 0 + - _UvAnimScrollYSpeed: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 0, g: 0, b: 0, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _MatcapColor: {r: 1, g: 1, b: 1, a: 1} + - _OutlineColor: {r: 0, g: 0, b: 0, a: 1} + - _RimColor: {r: 0, g: 0, b: 0, a: 1} + - _ShadeColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/VRM10_Samples/MToon10Showcase/Materials/Base.mat.meta b/Assets/VRM10_Samples/MToon10Showcase/Materials/Base.mat.meta new file mode 100644 index 000000000..9e6aee1c6 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Materials/Base.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 81f544d870b76884382d3365eff048b2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime.meta new file mode 100644 index 000000000..d4c13c7d5 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9d7de95388e4f074b9788603eaf35a95 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseDependencies.cs b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseDependencies.cs new file mode 100644 index 000000000..7a58ddfcb --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseDependencies.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace VRM10.Samples.MToon10Showcase +{ +#if VRM_DEVELOP + [CreateAssetMenu(menuName = "VRM10/Samples/MToon10Showcase/MToon10ShowcaseDependencies")] +#endif + public sealed class MToon10ShowcaseDependencies : ScriptableObject + { + public Texture2D checkerTexture; + public Texture2D litCheckerTexture; + public Texture2D shadeCheckerTexture; + + public Shader mtoon10Shader; + } +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseDependencies.cs.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseDependencies.cs.meta new file mode 100644 index 000000000..dbe40d4f8 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseDependencies.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: a132aec60a624bfebcae8ebfc5474b61 +timeCreated: 1738854634 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs new file mode 100644 index 000000000..5b0bf473c --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using UnityEngine; +using VRM10.MToon10; + +namespace VRM10.Samples.MToon10Showcase +{ + public class MToon10ShowcaseEntryPoint : MonoBehaviour + { + [SerializeField] private MToon10ShowcaseDependencies dependencies; + [SerializeField] private LitShowcase litShowcase; + [SerializeField] private ShadeShowcase shadeShowcase; + + private void Start() + { + CreateShowcase(litShowcase.entries, litShowcase.baseMaterial, (entry, context) => + { + context.BaseColorFactorSrgb = entry.litColor; + context.BaseColorTexture = entry.litTexture; + }); + CreateShowcase(shadeShowcase.entries, shadeShowcase.baseMaterial, (entry, context) => + { + context.ShadeColorFactorSrgb = entry.shadeColor; + context.ShadeColorTexture = entry.shadeTexture; + }); + } + + private Transform CreateShowcase(T[] entries, Material baseMaterial, Action setup) where T : class + { + const int columnCount = 4; + + var root = new GameObject(typeof(T).Name); + for (var idx = 0; idx < entries.Length; idx++) + { + var obj = GameObject.CreatePrimitive(PrimitiveType.Sphere); + obj.transform.SetParent(root.transform); + obj.transform.localPosition = new Vector3(idx % columnCount, 0.5f, idx / columnCount); + obj.transform.localScale = new Vector3(0.6f, 0.6f, 0.6f); + var mat = new Material(baseMaterial); + obj.GetComponent().sharedMaterial = mat; + setup(entries[idx], new MToon10Context(mat)); + } + + return root.transform; + } + } +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs.meta new file mode 100644 index 000000000..40af44626 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e1f3510c69d3c7547b80446e05ca3f10 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates.meta new file mode 100644 index 000000000..4ba4cb723 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: edf9c3bc2dc34b8f8add9b88fd6e4c91 +timeCreated: 1738860388 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/LitShowcase.cs b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/LitShowcase.cs new file mode 100644 index 000000000..c7716f80e --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/LitShowcase.cs @@ -0,0 +1,22 @@ +using System; +using UnityEngine; +using UnityEngine.Serialization; + +namespace VRM10.Samples.MToon10Showcase +{ +#if VRM_DEVELOP + [CreateAssetMenu(menuName = "VRM10/Samples/MToon10Showcase/" + nameof(LitShowcase))] +#endif + public sealed class LitShowcase : ScriptableObject + { + public Material baseMaterial; + public LitEntry[] entries; + + [Serializable] + public sealed class LitEntry + { + public Color litColor; + public Texture2D litTexture; + } + } +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/LitShowcase.cs.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/LitShowcase.cs.meta new file mode 100644 index 000000000..c63e9e1bd --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/LitShowcase.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 89b0928de1ba43879abaf2a5eef01290 +timeCreated: 1738860448 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/ShadeShowcase.cs b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/ShadeShowcase.cs new file mode 100644 index 000000000..e67bbe4b5 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/ShadeShowcase.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; + +namespace VRM10.Samples.MToon10Showcase +{ +#if VRM_DEVELOP + [CreateAssetMenu(menuName = "VRM10/Samples/MToon10Showcase/" + nameof(ShadeShowcase))] +#endif + public sealed class ShadeShowcase : ScriptableObject + { + public Material baseMaterial; + public ShadeEntry[] entries; + + [Serializable] + public sealed class ShadeEntry + { + public Color shadeColor; + public Texture2D shadeTexture; + } + } +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/ShadeShowcase.cs.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/ShadeShowcase.cs.meta new file mode 100644 index 000000000..3d525b2a9 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/ShowcaseTemplates/ShadeShowcase.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: df2cef426747462a9a795626e9012e8a +timeCreated: 1738862142 \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/VRM10.Samples.MToon10Showcase.asmdef b/Assets/VRM10_Samples/MToon10Showcase/Runtime/VRM10.Samples.MToon10Showcase.asmdef new file mode 100644 index 000000000..bc5764474 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/VRM10.Samples.MToon10Showcase.asmdef @@ -0,0 +1,17 @@ +{ + "name": "VRM10.Samples.MToon10Showcase", + "rootNamespace": "", + "references": [ + "GUID:e47c917724578cc43b5506c17a27e9a0", + "GUID:0aaf403bd13871a44b7127aef2695ff8" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/VRM10.Samples.MToon10Showcase.asmdef.meta b/Assets/VRM10_Samples/MToon10Showcase/Runtime/VRM10.Samples.MToon10Showcase.asmdef.meta new file mode 100644 index 000000000..dd8d4d09a --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/VRM10.Samples.MToon10Showcase.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 151799a9fa5ec7e44bc6c5293df4b6b3 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings.meta b/Assets/VRM10_Samples/MToon10Showcase/Settings.meta new file mode 100644 index 000000000..0a9eb1a67 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6761b9ad1c689e24f93afe6f332508d9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings/Lit Template.asset b/Assets/VRM10_Samples/MToon10Showcase/Settings/Lit Template.asset new file mode 100644 index 000000000..1d95c76e1 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings/Lit Template.asset @@ -0,0 +1,48 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 89b0928de1ba43879abaf2a5eef01290, type: 3} + m_Name: Lit Template + m_EditorClassIdentifier: + baseMaterial: {fileID: 2100000, guid: 81f544d870b76884382d3365eff048b2, type: 2} + entries: + - litColor: {r: 1, g: 1, b: 1, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 0.5, g: 0.5, b: 0.5, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 0.25, g: 0.25, b: 0.25, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 0, g: 0, b: 0, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 1, g: 1, b: 1, a: 0} + litTexture: {fileID: 2800000, guid: 1de801c8b8e0d6544b5ebb56ea8bfe60, type: 3} + - litColor: {r: 0.5, g: 0.5, b: 0.5, a: 0} + litTexture: {fileID: 2800000, guid: 1de801c8b8e0d6544b5ebb56ea8bfe60, type: 3} + - litColor: {r: 0.25, g: 0.25, b: 0.25, a: 0} + litTexture: {fileID: 2800000, guid: 1de801c8b8e0d6544b5ebb56ea8bfe60, type: 3} + - litColor: {r: 0, g: 0, b: 0, a: 0} + litTexture: {fileID: 2800000, guid: 1de801c8b8e0d6544b5ebb56ea8bfe60, type: 3} + - litColor: {r: 1, g: 0.42452818, b: 0.47526672, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 0.8589416, g: 1, b: 0.57547164, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 0.49371064, g: 0.8800645, b: 1, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 0.8427959, g: 0.6901961, b: 1, a: 0} + litTexture: {fileID: 0} + - litColor: {r: 1, g: 0.42352942, b: 0.4745098, a: 0} + litTexture: {fileID: 2800000, guid: b027980c13869224da922e209b9d822a, type: 3} + - litColor: {r: 0.85882354, g: 1, b: 0.5764706, a: 0} + litTexture: {fileID: 2800000, guid: b027980c13869224da922e209b9d822a, type: 3} + - litColor: {r: 0.49411765, g: 0.8784314, b: 1, a: 0} + litTexture: {fileID: 2800000, guid: b027980c13869224da922e209b9d822a, type: 3} + - litColor: {r: 0.84313726, g: 0.6901961, b: 1, a: 0} + litTexture: {fileID: 2800000, guid: b027980c13869224da922e209b9d822a, type: 3} diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings/Lit Template.asset.meta b/Assets/VRM10_Samples/MToon10Showcase/Settings/Lit Template.asset.meta new file mode 100644 index 000000000..86a7b51be --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings/Lit Template.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: eda310b3d75b2634ca76dccda495985e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings/MToon10Showcase Dependencies.asset b/Assets/VRM10_Samples/MToon10Showcase/Settings/MToon10Showcase Dependencies.asset new file mode 100644 index 000000000..653ce8166 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings/MToon10Showcase Dependencies.asset @@ -0,0 +1,18 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a132aec60a624bfebcae8ebfc5474b61, type: 3} + m_Name: MToon10Showcase Dependencies + m_EditorClassIdentifier: + checkerTexture: {fileID: 2800000, guid: 517d4a74c74ce8643bff9f69fa581a20, type: 3} + litCheckerTexture: {fileID: 2800000, guid: 1de801c8b8e0d6544b5ebb56ea8bfe60, type: 3} + shadeCheckerTexture: {fileID: 2800000, guid: 8d6a11ae5e99a5b47b59746810a26b46, type: 3} + mtoon10Shader: {fileID: 4800000, guid: 0781c64b7f2a1604ea6aa7e252080372, type: 3} diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings/MToon10Showcase Dependencies.asset.meta b/Assets/VRM10_Samples/MToon10Showcase/Settings/MToon10Showcase Dependencies.asset.meta new file mode 100644 index 000000000..54b4fff37 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings/MToon10Showcase Dependencies.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 21a44348ad7e90744a8e320392d6a0b6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings/Shade Template.asset b/Assets/VRM10_Samples/MToon10Showcase/Settings/Shade Template.asset new file mode 100644 index 000000000..e193f238c --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings/Shade Template.asset @@ -0,0 +1,24 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: df2cef426747462a9a795626e9012e8a, type: 3} + m_Name: Shade Template + m_EditorClassIdentifier: + baseMaterial: {fileID: 2100000, guid: 81f544d870b76884382d3365eff048b2, type: 2} + entries: + - shadeColor: {r: 1, g: 1, b: 1, a: 0} + shadeTexture: {fileID: 0} + - shadeColor: {r: 0.5, g: 0.5, b: 0.5, a: 0} + shadeTexture: {fileID: 0} + - shadeColor: {r: 0.25, g: 0.25, b: 0.25, a: 0} + shadeTexture: {fileID: 0} + - shadeColor: {r: 0, g: 0, b: 0, a: 0} + shadeTexture: {fileID: 0} diff --git a/Assets/VRM10_Samples/MToon10Showcase/Settings/Shade Template.asset.meta b/Assets/VRM10_Samples/MToon10Showcase/Settings/Shade Template.asset.meta new file mode 100644 index 000000000..b6eec660b --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Settings/Shade Template.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7f12d1836965ca247be4bbb314f94b23 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures.meta b/Assets/VRM10_Samples/MToon10Showcase/Textures.meta new file mode 100644 index 000000000..0eb40a447 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Textures.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 01bffe83fe0f82a40942a7bc4a050129 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128.png b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128.png new file mode 100644 index 000000000..2310d4982 Binary files /dev/null and b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128.png differ diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128.png.meta b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128.png.meta new file mode 100644 index 000000000..6aeeb1240 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 517d4a74c74ce8643bff9f69fa581a20 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Lit.png b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Lit.png new file mode 100644 index 000000000..e2142cf45 Binary files /dev/null and b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Lit.png differ diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Lit.png.meta b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Lit.png.meta new file mode 100644 index 000000000..5b4bcf7c3 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Lit.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 1de801c8b8e0d6544b5ebb56ea8bfe60 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Pastel.png b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Pastel.png new file mode 100644 index 000000000..f218a3357 Binary files /dev/null and b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Pastel.png differ diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Pastel.png.meta b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Pastel.png.meta new file mode 100644 index 000000000..c980a75d4 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Pastel.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: b027980c13869224da922e209b9d822a +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Shade.png b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Shade.png new file mode 100644 index 000000000..023b98022 Binary files /dev/null and b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Shade.png differ diff --git a/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Shade.png.meta b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Shade.png.meta new file mode 100644 index 000000000..a793a4c56 --- /dev/null +++ b/Assets/VRM10_Samples/MToon10Showcase/Textures/Checker128_Shade.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 8d6a11ae5e99a5b47b59746810a26b46 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: