Merge pull request #37 from croakfang/master

Render Pipeline Update
This commit is contained in:
katboi01
2023-11-05 19:42:27 +01:00
committed by GitHub
34 changed files with 1147 additions and 121 deletions
@@ -1,5 +1,18 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-626534011884211321
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: 4
--- !u!21 &2100000
Material:
serializedVersion: 6
@@ -8,22 +21,83 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Prototype Black Grid
m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: c32a0b1f62ac42e4399935ffff09c099, type: 3}
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: c32a0b1f62ac42e4399935ffff09c099, type: 3}
m_Scale: {x: 10, y: 10}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats: []
- _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}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _SampleGI: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
@@ -299,7 +299,7 @@ AnimatorController:
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_DefaultWeight: 1
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
@@ -8,7 +8,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: InvisibleStandard
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords: _ALPHATEST_ON
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
@@ -20,6 +20,10 @@ Material:
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}
@@ -56,11 +60,34 @@ Material:
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}
- 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_Floats:
- _AlphaClip: 1
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
@@ -68,12 +95,32 @@ Material:
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []
--- !u!114 &4218439434018952979
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: 4
+51 -3
View File
@@ -8,17 +8,22 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New Material 1
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
m_CustomRenderQueue: 2000
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 10309, guid: 0000000000000000f000000000000000, type: 0}
m_Scale: {x: 20, y: 20}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -55,11 +60,34 @@ Material:
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}
- 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_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
@@ -67,12 +95,32 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.2735849, g: 0.2735849, b: 0.2735849, a: 1}
- _Color: {r: 0.2735849, g: 0.2735849, b: 0.2735849, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []
--- !u!114 &1462203690353219493
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: 4
+50 -2
View File
@@ -1,5 +1,18 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-920117762517378301
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: 4
--- !u!21 &2100000
Material:
serializedVersion: 6
@@ -8,7 +21,7 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New Material
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
@@ -16,10 +29,15 @@ Material:
m_CustomRenderQueue: 3000
stringTagMap:
RenderType: Transparent
disabledShaderPasses: []
disabledShaderPasses:
- SHADOWCASTER
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}
@@ -56,11 +74,34 @@ Material:
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}
- 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_Floats:
- _AlphaClip: 0
- _Blend: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
@@ -68,12 +109,19 @@ Material:
- _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 1
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 1, g: 0, b: 0, a: 0.14901961}
- _Color: {r: 1, g: 0, b: 0, a: 0.14901961}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []
+137
View File
@@ -90,6 +90,7 @@ MonoBehaviour:
UI: {fileID: 0}
totalTime: 0
sliderControl: {fileID: 0}
IsRecordVMD: 0
--- !u!1 &1865328019154612007
GameObject:
m_ObjectHideFlags: 0
@@ -131,6 +132,7 @@ GameObject:
- component: {fileID: 2450869250720268632}
- component: {fileID: 6330558547629765058}
- component: {fileID: 4255285708983627416}
- component: {fileID: 8546559765443149047}
m_Layer: 0
m_Name: CameraTimeline3
m_TagString: Untagged
@@ -213,6 +215,39 @@ MonoBehaviour:
rotationAmount: 3
positionComponents: {x: 1, y: 1, z: 1}
rotationComponents: {x: 1, y: 1, z: 0}
--- !u!114 &8546559765443149047
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2097627094367379998}
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_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &3003233695131412903
GameObject:
m_ObjectHideFlags: 0
@@ -284,6 +319,7 @@ GameObject:
- component: {fileID: 3542667354398119871}
- component: {fileID: 8597940521609398784}
- component: {fileID: 798685759687451556}
- component: {fileID: 9090805481175056037}
m_Layer: 0
m_Name: CameraTimeline1
m_TagString: Untagged
@@ -366,6 +402,39 @@ MonoBehaviour:
rotationAmount: 3
positionComponents: {x: 1, y: 1, z: 1}
rotationComponents: {x: 1, y: 1, z: 0}
--- !u!114 &9090805481175056037
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4140460281425956302}
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_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &4785394279812813554
GameObject:
m_ObjectHideFlags: 0
@@ -430,6 +499,7 @@ GameObject:
m_Component:
- component: {fileID: 377769306748577889}
- component: {fileID: 2702537835415320580}
- component: {fileID: 2930975352788724111}
m_Layer: 0
m_Name: MotionCamera
m_TagString: Untagged
@@ -494,6 +564,39 @@ Camera:
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!114 &2930975352788724111
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4816052047297315680}
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_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &6380076730332281044
GameObject:
m_ObjectHideFlags: 0
@@ -559,6 +662,7 @@ GameObject:
- component: {fileID: 8555819741671670628}
- component: {fileID: 514624559944582317}
- component: {fileID: 6126872266139889760}
- component: {fileID: 7101937841020282597}
m_Layer: 0
m_Name: CameraTimeline2
m_TagString: Untagged
@@ -641,6 +745,39 @@ MonoBehaviour:
rotationAmount: 3
positionComponents: {x: 1, y: 1, z: 1}
rotationComponents: {x: 1, y: 1, z: 0}
--- !u!114 &7101937841020282597
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6851394962599434009}
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_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &7905873867216034822
GameObject:
m_ObjectHideFlags: 0
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 89bb745ec7662bc44ba7146ae76b339d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,38 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!84 &8400000
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New Render Texture
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
m_IsAlphaChannelOptional: 0
serializedVersion: 3
m_Width: 256
m_Height: 256
m_AntiAliasing: 1
m_MipCount: -1
m_DepthFormat: 2
m_ColorFormat: 8
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 0
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b477824ce76ecac4ba9da6034f4994e0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 8400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,58 @@
%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: bf2edee5c58d82540a51f03df9d42094, type: 3}
m_Name: UMAUniversalRenderPipelineAsset
m_EditorClassIdentifier:
k_AssetVersion: 6
k_AssetPreviousVersion: 5
m_RendererType: 1
m_RendererData: {fileID: 0}
m_RendererDataList:
- {fileID: 11400000, guid: 4f8c5d0b81b4504419b0d6335567efde, type: 2}
m_DefaultRendererIndex: 0
m_RequireDepthTexture: 1
m_RequireOpaqueTexture: 1
m_OpaqueDownsampling: 0
m_SupportsTerrainHoles: 0
m_SupportsHDR: 0
m_MSAA: 8
m_RenderScale: 1
m_MainLightRenderingMode: 1
m_MainLightShadowsSupported: 1
m_MainLightShadowmapResolution: 2048
m_AdditionalLightsRenderingMode: 1
m_AdditionalLightsPerObjectLimit: 4
m_AdditionalLightShadowsSupported: 0
m_AdditionalLightsShadowmapResolution: 512
m_ShadowDistance: 50
m_ShadowCascadeCount: 1
m_Cascade2Split: 0.25
m_Cascade3Split: {x: 0.1, y: 0.3}
m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467}
m_ShadowDepthBias: 1
m_ShadowNormalBias: 1
m_SoftShadowsSupported: 0
m_UseSRPBatcher: 0
m_SupportsDynamicBatching: 1
m_MixedLightingSupported: 1
m_DebugLevel: 0
m_UseAdaptivePerformance: 1
m_ColorGradingMode: 0
m_ColorGradingLutSize: 32
m_ShadowType: 1
m_LocalShadowsSupported: 0
m_LocalShadowsAtlasResolution: 256
m_MaxPixelLights: 0
m_ShadowAtlasResolution: 256
m_ShaderVariantLogLevel: 0
m_VolumeFrameworkUpdateMode: 0
m_ShadowCascades: 0
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: be7a0efb84976e141aca289da4fd7832
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,86 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-53754397225917022
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: 6b3d386ba5cd94485973aee1479b272e, type: 3}
m_Name: UmaCharacter
m_EditorClassIdentifier:
m_Active: 1
settings:
passTag: UmaCharacter
Event: 300
filterSettings:
RenderQueueType: 0
LayerMask:
serializedVersion: 2
m_Bits: 4294967295
PassNames:
- Outline
overrideMaterial: {fileID: 0}
overrideMaterialPassIndex: 0
overrideDepthState: 0
depthCompareFunction: 4
enableWrite: 1
stencilSettings:
overrideStencilState: 0
stencilReference: 0
stencilCompareFunction: 8
passOperation: 0
failOperation: 0
zFailOperation: 0
cameraSettings:
overrideCamera: 0
restoreCamera: 1
offset: {x: 0, y: 0, z: 0, w: 0}
cameraFieldOfView: 60
--- !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: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
m_Name: UMAUniversalRenderPipelineAsset_Renderer
m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: -53754397225917022}
m_RendererFeatureMap: a2e53b18a90641ff
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2}
shaders:
blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}
copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3}
screenSpaceShadowPS: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd,
type: 3}
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
tileDepthInfoPS: {fileID: 0}
tileDeferredPS: {fileID: 0}
stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
m_OpaqueLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_TransparentLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_DefaultStencilState:
overrideStencilState: 0
stencilReference: 0
stencilCompareFunction: 8
passOperation: 2
failOperation: 0
zFailOperation: 0
m_ShadowTransparentReceive: 1
m_RenderingMode: 0
m_AccurateGbufferNormals: 0
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4f8c5d0b81b4504419b0d6335567efde
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+107 -29
View File
@@ -2241,7 +2241,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 255, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &92965282
@@ -5161,17 +5161,23 @@ MonoBehaviour:
m_Value: 0
m_Options:
m_Options:
- m_Text: None AA
m_Image: {fileID: 0}
- m_Text: FXAA
m_Image: {fileID: 0}
- m_Text: SMAA
m_Image: {fileID: 0}
- m_Text: TAA
- m_Text: MSAA (Default)
m_Image: {fileID: 0}
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 1564959565}
m_TargetAssemblyTypeName: UmaViewerMain, umamusume
m_MethodName: ChangeAA
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_AlphaFadeSpeed: 0.15
--- !u!114 &212377234
MonoBehaviour:
@@ -6798,7 +6804,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 255, y: -45.000305}
m_AnchoredPosition: {x: 255, y: -45.000366}
m_SizeDelta: {x: 270, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &270183827
@@ -9283,7 +9289,7 @@ PrefabInstance:
- target: {fileID: 1608283224055752807, guid: 14d034506760e5049a12fd1cf057a8b3,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -0.98999023
value: -0.9902344
objectReference: {fileID: 0}
- target: {fileID: 1608283224055752807, guid: 14d034506760e5049a12fd1cf057a8b3,
type: 3}
@@ -9320,6 +9326,11 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.x
value: -0.0009918213
objectReference: {fileID: 0}
- target: {fileID: 5533725806274544247, guid: 14d034506760e5049a12fd1cf057a8b3,
type: 3}
propertyPath: m_SizeDelta.x
value: 150
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 14d034506760e5049a12fd1cf057a8b3, type: 3}
--- !u!1 &357312446
@@ -15777,7 +15788,8 @@ MonoBehaviour:
m_text: 'Quality: 10 (default: 10)'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 309c10a796fa90746889302436dac032, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 1876532955194943090, guid: 309c10a796fa90746889302436dac032,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@@ -22788,6 +22800,7 @@ GameObject:
- component: {fileID: 790387848}
- component: {fileID: 790387849}
- component: {fileID: 790387850}
- component: {fileID: 790387851}
m_Layer: 0
m_Name: AnimationCamera
m_TagString: Untagged
@@ -22912,6 +22925,39 @@ MonoBehaviour:
m_BeforeTransparentBundles: []
m_BeforeStackBundles: []
m_AfterStackBundles: []
--- !u!114 &790387851
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 790387847}
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_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &793664715
GameObject:
m_ObjectHideFlags: 0
@@ -25781,7 +25827,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: None AA
m_Text: MSAA (Default)
--- !u!222 &871489078
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -27335,7 +27381,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 380, y: -45.000305}
m_AnchoredPosition: {x: 380, y: -45.000366}
m_SizeDelta: {x: 255, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &931406427
@@ -27569,7 +27615,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 255, y: -45.000305}
m_AnchoredPosition: {x: 255, y: -45.000366}
m_SizeDelta: {x: 270, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &952551665
@@ -29888,7 +29934,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 255, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &1040294592
@@ -40443,7 +40489,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -29.999817}
m_AnchoredPosition: {x: 0, y: -29.999878}
m_SizeDelta: {x: 300, y: -60.000233}
m_Pivot: {x: 1, y: 0.5}
--- !u!114 &1453791885
@@ -41780,7 +41826,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 380, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!224 &1525688469 stripped
@@ -42495,7 +42541,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 255, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &1558324558
@@ -42695,7 +42741,7 @@ MonoBehaviour:
GifTransparent: {fileID: 2094069102}
GifQuality: {fileID: 864436236}
GifQualityLabel: {fileID: 542685198}
GifSlider: {fileID: 0}
GifSlider: {fileID: 864436236}
GifButton: {fileID: 964213177}
VMDButton: {fileID: 668484488}
UpdateDBButton: {fileID: 1516377151}
@@ -45960,7 +46006,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 380, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &1678768231
@@ -46294,7 +46340,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 380, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &1684693616
@@ -46664,7 +46710,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 380, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &1699478760
@@ -48698,7 +48744,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 255, y: -45.000305}
m_AnchoredPosition: {x: 255, y: -45.000366}
m_SizeDelta: {x: 270, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &1765749874
@@ -53737,7 +53783,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 400, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &1970310175
@@ -58741,7 +58787,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 400, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &2129326814
@@ -59963,7 +60009,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -45.000305}
m_AnchoredPosition: {x: 0, y: -45.000366}
m_SizeDelta: {x: 255, y: -90}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &2146564492
@@ -64461,10 +64507,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
CameraMode: 0
AAMode: 0
Light: {fileID: 926505643}
CameraModeDropdown: {fileID: 6878219667632297374}
AAModeDropdown: {fileID: 212377233}
CameraTargetHelper: {fileID: 1174230681}
TargetCenter: {x: 0, y: 0, z: 0}
OrbitCamSettingsTab: {fileID: 6878219667498913899}
@@ -66804,6 +66848,7 @@ GameObject:
- component: {fileID: 8918259399633999299}
- component: {fileID: 6878219667401439304}
- component: {fileID: 8918259399633999297}
- component: {fileID: 8918259399633999300}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -66922,6 +66967,39 @@ AudioListener:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8918259399633999296}
m_Enabled: 1
--- !u!114 &8918259399633999300
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8918259399633999296}
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_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!4 &8918259399633999301
Transform:
m_ObjectHideFlags: 0
-12
View File
@@ -10,15 +10,12 @@ public class CameraOrbit : MonoBehaviour
{
public static CameraOrbit instance;
public int CameraMode = 0;
public int AAMode = 0;
[Header("Light")]
public GameObject Light;
public Dropdown CameraModeDropdown;
public Dropdown AAModeDropdown;
public GameObject CameraTargetHelper;
public Vector3 TargetCenter;
@@ -84,14 +81,6 @@ public class CameraOrbit : MonoBehaviour
CameraMode = CameraModeDropdown.value;
}
if (AAMode != AAModeDropdown.value)
{
var postprocessLayerMain = Camera.main.GetComponent<PostProcessLayer>();
var postprocessLayerPreview = UmaViewerBuilder.Instance.AnimationCamera.GetComponent<PostProcessLayer>();
postprocessLayerMain.antialiasingMode = postprocessLayerPreview.antialiasingMode = (PostProcessLayer.Antialiasing)AAModeDropdown.value;
Debug.Log($"Switched AntiAliasing to {(PostProcessLayer.Antialiasing)AAModeDropdown.value}");
AAMode = AAModeDropdown.value;
}
switch (CameraModeDropdown.value)
{
case 0:
@@ -102,7 +91,6 @@ public class CameraOrbit : MonoBehaviour
}
}
#region PC controls
/// <summary>
/// Rotate Light Source
+16 -10
View File
@@ -123,16 +123,22 @@ public class ModelExporter
}
};
Mesh basefaceMesh = new Mesh();
faceMesh.BakeMesh(basefaceMesh);
Mesh baseEyeBrowMesh = new Mesh();
eyebrowMesh.BakeMesh(baseEyeBrowMesh);
addBlendShapePart(faceMesh, facial.EyeBrowMorphs, basefaceMesh);
addBlendShapePart(faceMesh, facial.EyeMorphs, basefaceMesh);
addBlendShapePart(faceMesh, facial.MouthMorphs, basefaceMesh);
addBlendShapePart(eyebrowMesh, facial.EyeBrowMorphs, baseEyeBrowMesh);
if (faceMesh)
{
Mesh basefaceMesh = new Mesh();
faceMesh.BakeMesh(basefaceMesh);
addBlendShapePart(faceMesh, facial.EyeBrowMorphs, basefaceMesh);
addBlendShapePart(faceMesh, facial.EyeMorphs, basefaceMesh);
addBlendShapePart(faceMesh, facial.MouthMorphs, basefaceMesh);
}
if (eyebrowMesh)
{
Mesh baseEyeBrowMesh = new Mesh();
eyebrowMesh.BakeMesh(baseEyeBrowMesh);
addBlendShapePart(eyebrowMesh, facial.EyeBrowMorphs, baseEyeBrowMesh);
}
facial.ClearAllWeights();
facial.ChangeMorph();
}
+4 -3
View File
@@ -29,8 +29,9 @@ public class Screenshot : MonoBehaviour
string fileName = Application.dataPath + "/../Screenshots/" + string.Format("UmaViewer_{0}", DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss-fff"));
byte[] pngShot = ImageConversion.EncodeToPNG(image);
Directory.CreateDirectory(Application.dataPath + "/../Screenshots");
File.WriteAllBytes(fileName + ".png", pngShot);
var fullpath = $"{fileName}.png";
File.WriteAllBytes(fullpath, pngShot);
UmaViewerUI.Instance.ShowMessage($"Screenshot saved: {fullpath}", UIMessageType.Success);
Destroy(image);
}
@@ -106,7 +107,7 @@ public class Screenshot : MonoBehaviour
}
var tex_color = new Texture2D(width, height, TextureFormat.ARGB32, false);
var render_texture = RenderTexture.GetTemporary(width, height, 24, RenderTextureFormat.ARGB32);
var render_texture = RenderTexture.GetTemporary(width, height, 24, RenderTextureFormat.ARGB32,RenderTextureReadWrite.Default,8);
var grab_area = new Rect(0, 0, width, height);
RenderTexture.active = render_texture;
+5 -4
View File
@@ -20,7 +20,8 @@ public class UmaContainer : MonoBehaviour
public LiveTimelineCharaLocator LiveLocator;
[Header("Other")]
public CharaShaderEffectData ShaderEffectData;
public CharaShaderEffectData HeadShaderEffectData;
public CharaShaderEffectData BodyShaderEffectData;
public List<MaterialHelper> Materials = new List<MaterialHelper>();
protected UmaViewerBuilder Builder => UmaViewerBuilder.Instance;
@@ -38,16 +39,16 @@ public class UmaContainer : MonoBehaviour
foreach(var rend in Renderers)
{
Debug.Log(rend.Key.name);
Material[] mat = new Material[rend.Key.materials.Length];
Material[] mat = new Material[rend.Key.sharedMaterials.Length];
for(int i = 0; i < mat.Length; i++)
{
//if material slot is not in list, keep current material
//if material slot in list and toggle is on - assign original
//if material slot in list and toggle is off - assign invisible
mat[i] = rend.Value.Contains(i) ? (value? Mat : UmaViewerBuilder.Instance.TransMaterialCharas ): rend.Key.materials[i];
mat[i] = rend.Value.Contains(i) ? (value? Mat : UmaViewerBuilder.Instance.TransMaterialCharas ): rend.Key.sharedMaterials[i];
}
rend.Key.materials = mat;
rend.Key.sharedMaterials = mat;
}
}
}
+29 -5
View File
@@ -159,9 +159,9 @@ public class UmaContainerCharacter : UmaContainer
//Materials
foreach (var rend in gameObject.GetComponentsInChildren<Renderer>())
{
for (int i = 0; i < rend.materials.Length; i++)
for (int i = 0; i < rend.sharedMaterials.Length; i++)
{
Material mat = rend.materials[i];
Material mat = rend.sharedMaterials[i];
var matHlp = Materials.FirstOrDefault(m => m.Mat == mat);
if (matHlp == null)
@@ -401,6 +401,18 @@ public class UmaContainerCharacter : UmaContainer
}
TearControllers.ForEach(a => a.UpdateOffset());
//Apply UV Animation
if(HeadShaderEffectData != null)
{
HeadShaderEffectData.updateUV(Time.fixedDeltaTime);
}
if(BodyShaderEffectData != null)
{
BodyShaderEffectData.updateUV(Time.fixedDeltaTime);
}
}
}
@@ -625,6 +637,16 @@ public class UmaContainerCharacter : UmaContainer
}
}
}
var assetholder = Body.GetComponent<AssetHolder>();
if (assetholder)
{
BodyShaderEffectData = assetholder._assetTable["chara_shader_effect"] as CharaShaderEffectData;
if (BodyShaderEffectData)
{
BodyShaderEffectData.Initialize();
}
}
}
public void LoadHead(UmaDatabaseEntry entry)
@@ -773,10 +795,10 @@ public class UmaContainerCharacter : UmaContainer
var assetholder = head.GetComponent<AssetHolder>();
if (assetholder)
{
ShaderEffectData = assetholder._assetTable["chara_shader_effect"] as CharaShaderEffectData;
if (ShaderEffectData)
HeadShaderEffectData = assetholder._assetTable["chara_shader_effect"] as CharaShaderEffectData;
if (HeadShaderEffectData)
{
ShaderEffectData.Initialize();
HeadShaderEffectData.Initialize();
}
}
}
@@ -1318,8 +1340,10 @@ public class UmaContainerCharacter : UmaContainer
var firsehead = Head;
var faceDriven = Instantiate(firsehead.GetComponent<AssetHolder>()._assetTable["facial_target"]) as FaceDrivenKeyTarget;
//Need Instantiate or not?
var earDriven = firsehead.GetComponent<AssetHolder>()._assetTable["ear_target"] as DrivenKeyTarget;
var faceOverride = firsehead.GetComponent<AssetHolder>()._assetTable["face_override"] as FaceOverrideData;
faceDriven._earTarget = earDriven._targetFaces;
FaceDrivenKeyTarget = faceDriven;
FaceDrivenKeyTarget.Container = this;
+5 -8
View File
@@ -83,21 +83,18 @@ public class UmaViewerBuilder : MonoBehaviour
if (characters[i].CharaEntry.Name != "")
{
var umaContainer = new GameObject($"Chara_{characters[i].CharaEntry.Id}_{characters[i].CostumeId}").AddComponent<UmaContainerCharacter>();
umaContainer.IsLive = true;
umaContainer.CharaData = UmaDatabaseController.ReadCharaData(characters[i].CharaEntry);
var charObjs = Gallop.Live.Director.instance.charaObjs;
umaContainer.transform.parent = charObjs[i];
umaContainer.transform.localPosition = new Vector3();
if (characters[i].CharaEntry.IsMob)
{
umaContainer.IsLive = true;
umaContainer.CharaData = UmaDatabaseController.ReadCharaData(characters[i].CharaEntry);
umaContainer.transform.parent = Gallop.Live.Director.instance.charaObjs[i];
umaContainer.transform.localPosition = new Vector3();
LoadMobUma(umaContainer, characters[i].CharaEntry, characters[i].CostumeId);
}
else
{
umaContainer.IsLive = true;
umaContainer.CharaData = UmaDatabaseController.ReadCharaData(characters[i].CharaEntry);
umaContainer.transform.parent = Gallop.Live.Director.instance.charaObjs[i];
umaContainer.transform.localPosition = new Vector3();
LoadNormalUma(umaContainer, characters[i].CharaEntry, characters[i].CostumeId);
}
+6
View File
@@ -201,6 +201,12 @@ public class UmaViewerMain : MonoBehaviour
Builder.ShaderList = new List<Shader>(shaders.LoadAllAssets<Shader>());
}
public void ChangeAA(int val)
{
}
public void OpenUrl(string url)
{
Application.OpenURL(url);
+3 -2
View File
@@ -745,9 +745,10 @@ public class UmaViewerUI : MonoBehaviour
list.AddRange(Main.AbChara.Where(a => a.Name.StartsWith(UmaDatabaseController.HeadPath) && a.Name.Contains(chara.Id.ToString())));
list.AddRange(Main.AbChara.Where(a => a.Name.StartsWith("3d/chara/tail")));
list.Add(Main.AbList["3d/animator/drivenkeylocator"]);
if(!chara.IsMob && !isHeadFix)
var motion_path = $"3d/motion/event/body/chara/chr{chara.Id}_00/anm_eve_chr{chara.Id}_00_idle01_loop";
if (!chara.IsMob && !isHeadFix && Main.AbList.TryGetValue(motion_path, out var motion_entry))
{
list.Add(Main.AbList[$"3d/motion/event/body/chara/chr{chara.Id}_00/anm_eve_chr{chara.Id}_00_idle01_loop"]);
list.Add(motion_entry);
}
Builder.UnloadUma();
+3 -2
View File
@@ -39,9 +39,10 @@ namespace uGIF
while(bytes == null) yield return new WaitForEndOfFrame();
string fileName = Application.dataPath + "/../Screenshots/" + string.Format("UmaViewer_{0}", DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss-fff"));
Directory.CreateDirectory(Application.dataPath + "/../Screenshots");
File.WriteAllBytes(fileName + ".gif", bytes);
var fullpath = $"{fileName}.gif";
File.WriteAllBytes(fullpath, bytes);
bytes = null;
Debug.Log("Gif saved!");
UmaViewerUI.Instance.ShowMessage($"GIF saved: {fullpath}", UIMessageType.Success);
Frames.Clear();
stop = false;
UmaViewerUI.Instance.GifButton.GetComponentInChildren<TMPro.TextMeshProUGUI>().text = "Record GIF";
@@ -6,6 +6,26 @@ namespace Gallop
[Serializable]
public class CharaShaderEffectData : ScriptableObject
{
public const int DATA_UTYPE_INDEX = 0;
public const int DATA_SCROLL_X = 1;
public const int DATA_VTYPE_INDEX = 2;
public const int DATA_SCROLL_Y = 3;
public const int DATA_POWERTYPE_INDEX = 4;
public const int DATA_POWER_INDEX = 5;
public const int DATA_SCROLL_X_CURVE_INDEX = 6;
public const int DATA_SCROLL_Y_CURVE_INDEX = 7;
public const int DATA_SCROLL_POWER_CURVE_INDEX = 8;
protected const int DATA_SET_TUEXTURE = 9;
protected const int DATA_SET_SHADER = 10;
protected const int DATA_SET_DIRT = 11;
private const int DATA_NUM = 12;
private const float INT_TO_FLOAT = 0.001f;
private float magicClock = 0;
[SerializeField]
private SettingData[] _settingDataArray;
@@ -26,19 +46,58 @@ namespace Gallop
public void Initialize()
{
foreach(var settingData in _settingDataArray)
//Something TBD?
}
public void updateUV(float deltaTime)
{
magicClock += deltaTime;
foreach (var settingData in _settingDataArray)
{
if (settingData.TargetMaterial)
{
{
var mat = settingData.TargetMaterial;
if (settingData.Type == EffectType.UVScrollEmissive)
{
var p = settingData.ParamArray;
mat.SetVector("_UVEmissiveRange", new Vector4(p[0], p[1], p[2],p[3]));
//mat.SetVector("_UVEmissiveScroll", new Vector4(p[4], p[5], p[6], p[7]));
var a = settingData.ParamCurveArray;
float _xScroll = calcUV(p[0], p[1], p[6], a);
float _yScroll = calcUV(p[2], p[3], p[7], a);
float _powerScroll = calcUV(p[4], p[5], p[8], a);
Debug.Log(_powerScroll);
mat.SetVector("_UVEmissiveScroll", new Vector4(_xScroll, _yScroll, 0, 0));
mat.SetFloat("_UVEmissivePower", _powerScroll);
}
}
}
}
public float calcUV(int index, int value, int curveIndex, AnimationCurve[] ParamCurveArray)
{
switch(index)
{
case 0:
return value * 0.001f;
case 1:
return value * magicClock * 0.001f;
case 2:
float result = (value * magicClock * 0.001f) % 2.0f;
Debug.Log(result);
return result;
case 5:
float ratio = value * magicClock * 0.001f;
return ParamCurveArray[curveIndex].Evaluate(ratio - Mathf.Floor(ratio));
default:
return 0;
}
}
}
}
@@ -1175,8 +1175,7 @@ namespace Gallop
public Vector2 GetTimelineEyeTrackRotation(LiveTimelineKeyFacialEyeTrackData key)
{
Vector3 target = new Vector3();
if(CalcTargetPosition(key, ref target))
if(CalcTargetPosition(key, out Vector3 target))
{
return GetEyeTrackRotation(target) + new Vector2((float)key.horizontalRatePer / 100, (float)key.verticalRatePer / 100);
}
@@ -1186,7 +1185,7 @@ namespace Gallop
}
}
public bool CalcTargetPosition(LiveTimelineKeyFacialEyeTrackData key, ref Vector3 target)
public bool CalcTargetPosition(LiveTimelineKeyFacialEyeTrackData key, out Vector3 target)
{
switch (key.targetType)
@@ -1194,13 +1193,29 @@ namespace Gallop
case FacialEyeTrackTargetType.Arena:
target = Container.HeadBone.transform.position + new Vector3(0, 1, 10);
return true;
case FacialEyeTrackTargetType.CharaForward:
target = Container.HeadBone.transform.position + Container.HeadBone.transform.forward;
return true;
case FacialEyeTrackTargetType.DirectPosition:
target = key.DirectPosition;
return true;
default:
break;
case FacialEyeTrackTargetType.Camera:
target = Live.Director.instance.MainCameraTransform.position;
return true;
case FacialEyeTrackTargetType.MultiCamera1:
target = Live.Director.instance._liveTimelineControl.GetMultiCameraWorldPosition(0);
return true;
case FacialEyeTrackTargetType.MultiCamera2:
target = Live.Director.instance._liveTimelineControl.GetMultiCameraWorldPosition(1);
return true;
case FacialEyeTrackTargetType.MultiCamera3:
target = Live.Director.instance._liveTimelineControl.GetMultiCameraWorldPosition(2);
return true;
case FacialEyeTrackTargetType.MultiCamera4:
target = Live.Director.instance._liveTimelineControl.GetMultiCameraWorldPosition(3);
return true;
}
target = Vector3.zero;
return false;
}
@@ -697,6 +697,16 @@ namespace Gallop.Live.Cutt
return _multiCameraCache[index].cacheTransform.rotation;
}
public Vector3 GetMultiCameraWorldPosition(int index)
{
if (_multiCameraCache == null || _multiCameraCache.Length <= index)
{
return Vector3.zero;
}
return _multiCameraCache[index].cacheTransform.position;
}
public bool ExistsMultiCamera(int index)
{
if (_multiCameraCache != null && index < _multiCameraCache.Length)
@@ -835,7 +845,7 @@ namespace Gallop.Live.Cutt
{
if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null)
{
retPos += liveCharactorLocators[i].liveCharaConstHeightHeadPosition;
retPos.y += liveCharactorLocators[i].liveCharaConstHeightHeadPosition.y;
retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio;
retPos += charaPos;
num++;
@@ -849,7 +859,7 @@ namespace Gallop.Live.Cutt
{
if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null)
{
retPos += liveCharactorLocators[i].liveCharaConstHeightWaistPosition;
retPos.y += liveCharactorLocators[i].liveCharaConstHeightWaistPosition.y;
retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio;
retPos += charaPos;
num++;
@@ -863,7 +873,7 @@ namespace Gallop.Live.Cutt
{
if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null)
{
retPos += liveCharactorLocators[i].liveCharaConstHeightChestPosition;
retPos.y += liveCharactorLocators[i].liveCharaConstHeightChestPosition.y;
retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio;
retPos += charaPos;
num++;
@@ -877,7 +887,7 @@ namespace Gallop.Live.Cutt
{
if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null)
{
retPos += liveCharactorLocators[i].liveCharaFootPosition;
retPos.y += liveCharactorLocators[i].liveCharaFootPosition.y;
retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio;
retPos += charaPos;
num++;
@@ -123,6 +123,7 @@ namespace Gallop.Live.Cutt
}
double interval = currentTime - (double)arg.frame / 60;
_tempAnim.wrapMode = (arg.loop ? WrapMode.Loop : WrapMode.Default);
_tempAnim[anim.name].time = (float)(start + interval);
_tempAnim.Play(anim.name);
}
@@ -283,7 +283,7 @@ namespace Gallop.Live
public HandShakeCamera HandShakeCamera { get; }
//public GallopFrameBuffer FrameBuffer { get; }
public Camera MainCameraObject { get; }
public Transform MainCameraTransform { get; }
public Transform MainCameraTransform => _mainCameraTransform;
public List<CharacterObject> CharacterObjectList { get; }
public List<CharaEffectInfo> listShadowEffectInfo { get; }
public List<CharaEffectInfo> listSpotLightEffectInfo { get; }
@@ -380,25 +380,34 @@ namespace Gallop.Live
_instance = this;
Debug.Log(string.Format(CUTT_PATH, live.MusicId));
Debug.Log(live.BackGroundId);
Builder.LoadAssetPath(string.Format(CUTT_PATH, live.MusicId), this.gameObject.transform);
Builder.LoadAssetPath(string.Format(STAGE_PATH, live.BackGroundId), this.gameObject.transform);
Builder.LoadAssetPath(string.Format(CUTT_PATH, live.MusicId), transform);
Builder.LoadAssetPath(string.Format(STAGE_PATH, live.BackGroundId), transform);
//Make CharacterObject
var characterStandPos = this._liveTimelineControl.transform.Find("CharacterStandPos");
var characterStandPos = _liveTimelineControl.transform.Find("CharacterStandPos");
int counter = 0;
foreach (Transform trans in characterStandPos.GetComponentsInChildren<Transform>())
var standPos = characterStandPos.GetComponentsInChildren<Transform>();
var count = _liveTimelineControl.data.characterSettings.useHighPolygonModel.Length;
for (int i = 0; i < count; i++)
{
if (trans == characterStandPos)
if (i < characterStandPos.childCount)
{
continue;
var newObj = Instantiate(standPos[i + 1], transform);
newObj.gameObject.name = string.Format("CharacterObject{0}", counter);
charaObjs.Add(newObj.transform);
counter++;
}
else
{
var newObj = Instantiate(standPos[i % characterStandPos.childCount + 1], transform);
newObj.gameObject.name = string.Format("CharacterObject{0}", counter);
charaObjs.Add(newObj.transform);
counter++;
}
var newObj = Instantiate(trans, this.transform);
newObj.gameObject.name = string.Format("CharacterObject{0}", counter);
charaObjs.Add(newObj.transform);
counter++;
};
//Get live parts info
UmaDatabaseEntry partAsset = UmaViewerMain.Instance.AbList[string.Format(LIVE_PART_PATH, live.MusicId)];
@@ -768,7 +777,7 @@ namespace Gallop.Live
private void SaveMultiCameraVMD()
{
for (int i = 0; i < _liveTimelineControl.MultiRecordFrames.Count; i++)
for (int i = 0; i < _liveTimelineControl.data.worksheetList[0].multiCameraPosKeys.Count; i++)
{
var frames = _liveTimelineControl.MultiRecordFrames[i];
frames[0].FovVaild = true;
@@ -789,7 +798,7 @@ namespace Gallop.Live
UnityCameraVMDRecorder.SaveLiveCameraVMD(live, ExitTime, frames, i);
}
}
}
private void SaveCameraVMD()
{
+1
View File
@@ -8,6 +8,7 @@
"com.unity.nuget.newtonsoft-json": "2.0.0",
"com.unity.postprocessing": "3.2.2",
"com.unity.recorder": "2.5.7",
"com.unity.render-pipelines.universal": "10.7.0",
"com.unity.test-framework": "1.1.31",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.4.8",
+46
View File
@@ -55,6 +55,13 @@
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.mathematics": {
"version": "1.1.0",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.newtonsoft-json": {
"version": "2.0.0",
"depth": 0,
@@ -80,6 +87,45 @@
},
"url": "https://packages.unity.com"
},
"com.unity.render-pipelines.core": {
"version": "10.7.0",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.ugui": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.render-pipelines.universal": {
"version": "10.7.0",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.1.0",
"com.unity.render-pipelines.core": "10.7.0",
"com.unity.shadergraph": "10.7.0"
},
"url": "https://packages.unity.com"
},
"com.unity.searcher": {
"version": "4.3.2",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.shadergraph": {
"version": "10.7.0",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.render-pipelines.core": "10.7.0",
"com.unity.searcher": "4.3.2"
},
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.31",
"depth": 0,
+2 -1
View File
@@ -45,7 +45,8 @@ GraphicsSettings:
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
m_CustomRenderPipeline: {fileID: 0}
m_CustomRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
m_DefaultRenderingPath: 1
+192
View File
@@ -293,3 +293,195 @@ InputManager:
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Enable Debug Button 1
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: left ctrl
altNegativeButton:
altPositiveButton: joystick button 8
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Enable Debug Button 2
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: backspace
altNegativeButton:
altPositiveButton: joystick button 9
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Reset
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: left alt
altNegativeButton:
altPositiveButton: joystick button 1
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Next
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: page down
altNegativeButton:
altPositiveButton: joystick button 5
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Previous
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: page up
altNegativeButton:
altPositiveButton: joystick button 4
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Validate
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: return
altNegativeButton:
altPositiveButton: joystick button 0
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Persistent
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: right shift
altNegativeButton:
altPositiveButton: joystick button 2
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Multiplier
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: left shift
altNegativeButton:
altPositiveButton: joystick button 3
gravity: 0
dead: 0
sensitivity: 0
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Horizontal
descriptiveName:
descriptiveNegativeName:
negativeButton: left
positiveButton: right
altNegativeButton:
altPositiveButton:
gravity: 1000
dead: 0.001
sensitivity: 1000
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Vertical
descriptiveName:
descriptiveNegativeName:
negativeButton: down
positiveButton: up
altNegativeButton:
altPositiveButton:
gravity: 1000
dead: 0.001
sensitivity: 1000
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3
m_Name: Debug Vertical
descriptiveName:
descriptiveNegativeName:
negativeButton: down
positiveButton: up
altNegativeButton:
altPositiveButton:
gravity: 1000
dead: 0.001
sensitivity: 1000
snap: 0
invert: 0
type: 2
axis: 6
joyNum: 0
- serializedVersion: 3
m_Name: Debug Horizontal
descriptiveName:
descriptiveNegativeName:
negativeButton: left
positiveButton: right
altNegativeButton:
altPositiveButton:
gravity: 1000
dead: 0.001
sensitivity: 1000
snap: 0
invert: 0
type: 2
axis: 5
joyNum: 0
+12 -6
View File
@@ -40,7 +40,8 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0}
customRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
excludedTargetPlatforms: []
- serializedVersion: 2
name: Low
@@ -76,7 +77,8 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0}
customRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
excludedTargetPlatforms: []
- serializedVersion: 2
name: Medium
@@ -112,7 +114,8 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0}
customRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
excludedTargetPlatforms: []
- serializedVersion: 2
name: High
@@ -148,7 +151,8 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0}
customRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
excludedTargetPlatforms: []
- serializedVersion: 2
name: Very High
@@ -184,7 +188,8 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0}
customRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
excludedTargetPlatforms: []
- serializedVersion: 2
name: Ultra
@@ -220,7 +225,8 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0}
customRenderPipeline: {fileID: 11400000, guid: be7a0efb84976e141aca289da4fd7832,
type: 2}
excludedTargetPlatforms: []
m_PerPlatformDefaultQuality:
Android: 5
+15
View File
@@ -0,0 +1,15 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 61
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: 247994e1f5a72c2419c26a37e9334c01, type: 3}
m_Name:
m_EditorClassIdentifier:
m_LastMaterialVersion: 4