diff --git a/Assets/000_assets/material/M_SquareFrame 1.mat b/Assets/000_assets/material/M_SquareFrame 1.mat
index 8dccb0da..8b34c8da 100644
--- a/Assets/000_assets/material/M_SquareFrame 1.mat
+++ b/Assets/000_assets/material/M_SquareFrame 1.mat
@@ -213,7 +213,7 @@ Material:
- _Dst: 10
- _DstBlend: 0
- _DstBlendAlpha: 0
- - _EdgeValue: 0.30297375
+ - _EdgeValue: 0.5088004
- _EnvironmentReflections: 1
- _FNLfanxiangkaiguan: 0
- _Face: 1
@@ -258,7 +258,7 @@ Material:
- _Mask_scale: 1
- _Metallic: 0
- _OcclusionStrength: 1
- - _Opacity: 0.69702625
+ - _Opacity: 0.4911996
- _Parallax: 0.005
- _Pass: 0
- _QueueOffset: 0
diff --git a/Assets/000_assets/material/Rain_wave.mat b/Assets/000_assets/material/Rain_wave.mat
index b9b5abfb..b129ddf8 100644
--- a/Assets/000_assets/material/Rain_wave.mat
+++ b/Assets/000_assets/material/Rain_wave.mat
@@ -8,12 +8,13 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Rain_wave
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISSOLVE
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
@@ -56,6 +57,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -216,6 +222,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -232,6 +242,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -249,19 +279,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 6291467
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 243
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 3840
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 131072
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 139266
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 6291467
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 243
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -271,18 +307,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -290,7 +345,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -300,20 +358,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -339,6 +403,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -349,8 +414,10 @@ Material:
- _DIssloveSoft: 1
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -358,16 +425,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0.12
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -386,7 +461,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -402,11 +479,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 1
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -419,6 +498,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -440,11 +521,13 @@ Material:
- _EdgeFade: 0.05
- _EdgeValue: 0.49
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -455,22 +538,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -487,23 +579,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -514,26 +614,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -546,33 +655,68 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 3
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
- _Opacity: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -596,28 +740,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -626,10 +787,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -652,32 +819,58 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _Width: 1.8
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
- _circle_ON: 1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 1
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -771,8 +964,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -785,6 +980,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/AddressableAssetsData/link.xml b/Assets/AddressableAssetsData/link.xml
new file mode 100644
index 00000000..d011ce72
--- /dev/null
+++ b/Assets/AddressableAssetsData/link.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Packages/NBShaders/README.md.meta b/Assets/AddressableAssetsData/link.xml.meta
similarity index 75%
rename from Packages/NBShaders/README.md.meta
rename to Assets/AddressableAssetsData/link.xml.meta
index 53729686..20a74f4a 100644
--- a/Packages/NBShaders/README.md.meta
+++ b/Assets/AddressableAssetsData/link.xml.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: add0a5ef687222e46a7319724739db61
+guid: 6ce491c0f528de74dbed99b700a51ea5
TextScriptImporter:
externalObjects: {}
userData:
diff --git a/Assets/FR2_Cache.asset b/Assets/FR2_Cache.asset
index 45f1ea7e..7d94fd5a 100644
--- a/Assets/FR2_Cache.asset
+++ b/Assets/FR2_Cache.asset
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2b2bde799fdd9d45e07e8f4cbd69a1771939e1740a3693f8db93dcb94b9b9ec7
-size 8544933
+oid sha256:191053d1e63631b6c6122e65bbccc859efc89724b369ba72446f09e3af6f18ed
+size 8641969
diff --git a/Assets/Prefabs/GameElements/Track/ParticleTracker.prefab b/Assets/Prefabs/GameElements/Track/ParticleTracker.prefab
index 30e59a77..65ddea1d 100644
--- a/Assets/Prefabs/GameElements/Track/ParticleTracker.prefab
+++ b/Assets/Prefabs/GameElements/Track/ParticleTracker.prefab
@@ -105,7 +105,7 @@ MonoBehaviour:
maxCycles: 1
--- !u!199 &969366603538081089
ParticleSystemRenderer:
- serializedVersion: 6
+ serializedVersion: 7
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
@@ -121,6 +121,11 @@ ParticleSystemRenderer:
m_ReflectionProbeUsage: 0
m_RayTracingMode: 0
m_RayTraceProcedural: 0
+ m_RayTracingAccelStructBuildFlagsOverride: 0
+ m_RayTracingAccelStructBuildFlags: 1
+ m_SmallMeshCulling: 1
+ m_ForceMeshLod: -1
+ m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@@ -142,9 +147,11 @@ ParticleSystemRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
+ m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
+ m_MaskInteraction: 0
m_RenderMode: 0
m_MeshDistribution: 0
m_SortMode: 0
@@ -176,7 +183,6 @@ ParticleSystemRenderer:
m_MeshWeighting1: 1
m_MeshWeighting2: 1
m_MeshWeighting3: 1
- m_MaskInteraction: 0
--- !u!198 &3082859040321468505
ParticleSystem:
m_ObjectHideFlags: 0
@@ -194,7 +200,7 @@ ParticleSystem:
emitterVelocityMode: 1
looping: 1
prewarm: 0
- playOnAwake: 1
+ playOnAwake: 0
useUnscaledTime: 0
autoRandomSeed: 1
startDelay:
@@ -4913,37 +4919,19 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
serializationData:
- SerializedFormat: 2
- SerializedBytes:
+ SerializedFormat: 0
+ SerializedBytes: 29010b00000065006c0065006d0065006e00740047007500690064000000000000000000000000000000000001010d0000007300750062006d006f00640075006c0065004c006900730074002f00000000015e000000530079007300740065006d002e0043006f006c006c0065006300740069006f006e0073002e00470065006e0065007200690063002e004c00690073007400600031005b005b004900630068006e0069002e00520068007900740068006d00470061006d0065002e005300750062006d006f00640075006c00650042006100730065002c00200041007300730065006d0062006c0079002d004300530068006100720070005d005d002c0020006d00730063006f0072006c0069006200000000000600000000000000000705
ReferencedUnityObjects: []
SerializedBytesString:
Prefab: {fileID: 0}
PrefabModificationsReferencedUnityObjects: []
PrefabModifications: []
- SerializationNodes:
- - Name: elementGuid
- Entry: 2
- Data: 00000000000000000000000000000000
- - Name: submoduleList
- Entry: 7
- Data: 0|System.Collections.Generic.List`1[[Ichni.RhythmGame.SubmoduleBase,
- Assembly-CSharp]], mscorlib
- - Name:
- Entry: 12
- Data: 0
- - Name:
- Entry: 13
- Data:
- - Name:
- Entry: 8
- Data:
+ SerializationNodes: []
elementName:
tags: []
parentElement: {fileID: 0}
childElementList: []
track: {fileID: 0}
- particleController: {fileID: 771151182555487418}
- particle: {fileID: 3082859040321468505}
themeBundleName:
materialName:
prewarm: 0
@@ -4956,3 +4944,4 @@ MonoBehaviour:
lifeTime: 0
isAutoOrient: 0
particleRotation: {x: 0, y: 0, z: 0}
+ particleController: {fileID: 771151182555487418}
diff --git a/Assets/Resources/Beatmaps/Chapter0/Space Rain/Special/Beatmap.bytes b/Assets/Resources/Beatmaps/Chapter0/Space Rain/Special/Beatmap.bytes
index ab112aae..ea165209 100644
Binary files a/Assets/Resources/Beatmaps/Chapter0/Space Rain/Special/Beatmap.bytes and b/Assets/Resources/Beatmaps/Chapter0/Space Rain/Special/Beatmap.bytes differ
diff --git a/Assets/Resources/Beatmaps/Chapter0/Your Shadow/Hard/Beatmap.bytes b/Assets/Resources/Beatmaps/Chapter0/Your Shadow/Hard/Beatmap.bytes
index b5772de4..4bd57ef4 100644
Binary files a/Assets/Resources/Beatmaps/Chapter0/Your Shadow/Hard/Beatmap.bytes and b/Assets/Resources/Beatmaps/Chapter0/Your Shadow/Hard/Beatmap.bytes differ
diff --git a/Assets/Scripts/DataCore/Components_BM/Note/NoteAudioSubmodule_BM.cs b/Assets/Scripts/DataCore/Components_BM/Note/NoteAudioSubmodule_BM.cs
index 7d6827e8..30854332 100644
--- a/Assets/Scripts/DataCore/Components_BM/Note/NoteAudioSubmodule_BM.cs
+++ b/Assets/Scripts/DataCore/Components_BM/Note/NoteAudioSubmodule_BM.cs
@@ -10,6 +10,8 @@ namespace Ichni.RhythmGame.Beatmap
public List badAudioList;
public List missAudioList;
public List holdStartAudioList;
+ public List holdLoopAudioList;
+ public List holdEndAudioList;
public NoteAudioSubmodule_BM() { }
@@ -21,13 +23,16 @@ namespace Ichni.RhythmGame.Beatmap
badAudioList = noteAudioSubmodule.badAudioList;
missAudioList = noteAudioSubmodule.missAudioList;
holdStartAudioList = noteAudioSubmodule.holdStartAudioList;
+ holdLoopAudioList = noteAudioSubmodule.holdLoopAudioList;
+ holdEndAudioList = noteAudioSubmodule.holdEndAudioList;
}
public override void ExecuteBM()
{
attachedElement = GameElement_BM.GetElement(attachedElementGuid);
(attachedElement as NoteBase).NoteAudioSubmodule = new NoteAudioSubmodule(attachedElement as NoteBase,
- generalJudgeAudioList, perfectAudioList, goodAudioList, badAudioList, missAudioList, holdStartAudioList);
+ generalJudgeAudioList, perfectAudioList, goodAudioList, badAudioList, missAudioList,
+ holdStartAudioList, holdLoopAudioList, holdEndAudioList);
}
}
}
diff --git a/Assets/Scripts/Game/GameElements/Notes/AudioSubmodule/NoteAudioSubmodule.cs b/Assets/Scripts/Game/GameElements/Notes/AudioSubmodule/NoteAudioSubmodule.cs
index 6f69c8e5..847a748d 100644
--- a/Assets/Scripts/Game/GameElements/Notes/AudioSubmodule/NoteAudioSubmodule.cs
+++ b/Assets/Scripts/Game/GameElements/Notes/AudioSubmodule/NoteAudioSubmodule.cs
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using System.Linq;
using System.Reflection;
using Ichni.RhythmGame.Beatmap;
using SLSUtilities.WwiseAssistance;
@@ -9,49 +8,53 @@ namespace Ichni.RhythmGame
{
public partial class NoteAudioSubmodule : SubmoduleBase
{
- #region [暴露属性字段] Audio Settings
+ #region Audio Settings
public List generalJudgeAudioList;
public List perfectAudioList;
public List goodAudioList;
public List badAudioList;
public List missAudioList;
public List holdStartAudioList;
+ public List holdLoopAudioList;
+ public List holdEndAudioList;
#endregion
-
- #region [运行时缓存变量] GC-Free Wwise IDs
- // --- 高性能无 GC 的 Wwise 预存 ID 数组 ---
- // 我们利用基础类型数组而不是 List 再次挤压最后一点遍历性能。
+
+ #region GC-Free Wwise IDs
private uint[] _generalJudgeAudioIds;
private uint[] _perfectAudioIds;
private uint[] _goodAudioIds;
private uint[] _badAudioIds;
private uint[] _missAudioIds;
private uint[] _holdStartAudioIds;
-
+ private uint[] _holdEndAudioIds;
+
private NoteBase note => attachedGameElement as NoteBase;
#endregion
- #region [生命周期] Initialization
+ #region Initialization
public NoteAudioSubmodule(NoteBase attachedGameElement, string defaultAudio) : base(attachedGameElement)
{
- generalJudgeAudioList = new List() { defaultAudio };
+ generalJudgeAudioList = new List { defaultAudio };
perfectAudioList = new List();
goodAudioList = new List();
badAudioList = new List();
missAudioList = new List();
holdStartAudioList = new List();
+ holdLoopAudioList = new List();
+ holdEndAudioList = new List();
if (!HaveSameSubmodule)
{
- this.note.NoteAudioSubmodule = this;
+ note.NoteAudioSubmodule = this;
}
-
+
InitializeAudio();
}
public NoteAudioSubmodule(NoteBase attachedGameElement, List generalJudgeAudioList,
List perfectAudioList, List goodAudioList, List badAudioList,
- List missAudioList, List holdStartAudioList) : base(attachedGameElement)
+ List missAudioList, List holdStartAudioList,
+ List holdLoopAudioList = null, List holdEndAudioList = null) : base(attachedGameElement)
{
this.generalJudgeAudioList = generalJudgeAudioList ?? new List();
this.perfectAudioList = perfectAudioList ?? new List();
@@ -59,10 +62,12 @@ namespace Ichni.RhythmGame
this.badAudioList = badAudioList ?? new List();
this.missAudioList = missAudioList ?? new List();
this.holdStartAudioList = holdStartAudioList ?? new List();
+ this.holdLoopAudioList = holdLoopAudioList ?? new List();
+ this.holdEndAudioList = holdEndAudioList ?? new List();
if (!HaveSameSubmodule)
{
- this.note.NoteAudioSubmodule = this;
+ note.NoteAudioSubmodule = this;
}
InitializeAudio();
@@ -70,44 +75,45 @@ namespace Ichni.RhythmGame
public void InitializeAudio()
{
- // 通过反射,只在生成(或池化取出)时进行一次大写转换与常数查询,彻底摒弃字符串带来的运行时哈希。
_generalJudgeAudioIds = ParseWwiseEventIDs(generalJudgeAudioList);
_perfectAudioIds = ParseWwiseEventIDs(perfectAudioList);
_goodAudioIds = ParseWwiseEventIDs(goodAudioList);
_badAudioIds = ParseWwiseEventIDs(badAudioList);
_missAudioIds = ParseWwiseEventIDs(missAudioList);
_holdStartAudioIds = ParseWwiseEventIDs(holdStartAudioList);
+ _holdEndAudioIds = ParseWwiseEventIDs(holdEndAudioList);
}
-
+
private uint[] ParseWwiseEventIDs(List audioNames)
{
- if (audioNames == null || audioNames.Count == 0) return new uint[0];
-
+ if (audioNames == null || audioNames.Count == 0) return Array.Empty();
+
List ids = new List(audioNames.Count);
Type eventsType = typeof(AK.EVENTS);
-
+
for (int i = 0; i < audioNames.Count; i++)
{
if (string.IsNullOrEmpty(audioNames[i])) continue;
-
+
string upperName = audioNames[i].ToUpper();
FieldInfo field = eventsType.GetField(upperName, BindingFlags.Public | BindingFlags.Static);
-
+
if (field != null)
{
ids.Add((uint)field.GetValue(null));
}
else
{
- UnityEngine.Debug.LogWarning($"[Wwise 注意] 在 AK.EVENTS 中找不到对应的大写事件名称: {upperName}");
+ UnityEngine.Debug.LogWarning($"[Wwise] AK.EVENTS does not contain event name: {upperName}");
}
}
+
return ids.ToArray();
}
#endregion
}
- #region [播放控制] Audio Playback Methods
+ #region Audio Playback Methods
public partial class NoteAudioSubmodule
{
public void PlayHoldStartAudio()
@@ -115,19 +121,38 @@ namespace Ichni.RhythmGame
PlayAudioInternal(_holdStartAudioIds);
}
+ public void PlayHoldEndAudio()
+ {
+ if (_holdEndAudioIds != null && _holdEndAudioIds.Length > 0)
+ {
+ PlayAudioInternal(_holdEndAudioIds);
+ return;
+ }
+
+ PlayGeneralJudgeAudios();
+ }
+
public void PlayGeneralJudgeAudios()
{
PlayAudioInternal(_generalJudgeAudioIds);
}
-
+
public void PlayNoteJudgeAudios(NoteBase.NoteJudgeType judgeType)
{
switch (judgeType)
{
- case NoteBase.NoteJudgeType.Perfect: PlayAudioInternal(_perfectAudioIds); break;
- case NoteBase.NoteJudgeType.Good: PlayAudioInternal(_goodAudioIds); break;
- case NoteBase.NoteJudgeType.Bad: PlayAudioInternal(_badAudioIds); break;
- case NoteBase.NoteJudgeType.Miss: PlayAudioInternal(_missAudioIds); break;
+ case NoteBase.NoteJudgeType.Perfect:
+ PlayAudioInternal(_perfectAudioIds);
+ break;
+ case NoteBase.NoteJudgeType.Good:
+ PlayAudioInternal(_goodAudioIds);
+ break;
+ case NoteBase.NoteJudgeType.Bad:
+ PlayAudioInternal(_badAudioIds);
+ break;
+ case NoteBase.NoteJudgeType.Miss:
+ PlayAudioInternal(_missAudioIds);
+ break;
}
}
@@ -136,15 +161,13 @@ namespace Ichni.RhythmGame
if (audioIds == null) return;
for (int i = 0; i < audioIds.Length; i++)
{
- // 最高性能播放:绕过 AudioManager 那些空物体创建,直接挂载到 AudioManager 的单例底层进行原生播放。
AkSoundEngine.PostEvent(audioIds[i], AudioManager.Instance.gameObject);
}
}
}
#endregion
- #region [Beatmap] Executing and Reversing
-
- #endregion
+ #region Beatmap
-}
\ No newline at end of file
+ #endregion
+}
diff --git a/Assets/Scripts/Game/GameElements/Notes/NoteObjects/Hold.cs b/Assets/Scripts/Game/GameElements/Notes/NoteObjects/Hold.cs
index 42f4530a..0f747077 100644
--- a/Assets/Scripts/Game/GameElements/Notes/NoteObjects/Hold.cs
+++ b/Assets/Scripts/Game/GameElements/Notes/NoteObjects/Hold.cs
@@ -222,7 +222,7 @@ namespace Ichni.RhythmGame
case NoteJudgeType.Miss: Miss(triggerTime); break;
}
- if (finalJudge != NoteJudgeType.Miss) NoteAudioSubmodule.PlayGeneralJudgeAudios();
+ if (finalJudge != NoteJudgeType.Miss) NoteAudioSubmodule.PlayHoldEndAudio();
}
protected override void SetJudgeArea()
diff --git a/Assets/Shaders/Default.shadervariants b/Assets/Shaders/Default.shadervariants
index eb243d4d..394bf473 100644
--- a/Assets/Shaders/Default.shadervariants
+++ b/Assets/Shaders/Default.shadervariants
@@ -8,14 +8,1712 @@ ShaderVariantCollection:
m_PrefabAsset: {fileID: 0}
m_Name: Default
m_Shaders:
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: BACKFACE_NORMAL_MODE_FLIP
+ passType: 8
+ - keywords: _WINDQUALITY_NONE
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: BACKFACE_NORMAL_MODE_FLIP
+ passType: 8
+ - keywords: _WINDQUALITY_NONE
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: BACKFACE_NORMAL_MODE_FLIP
+ passType: 8
+ - keywords: _WINDQUALITY_NONE
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: BACKFACE_NORMAL_MODE_FLIP
+ passType: 8
+ - keywords: _WINDQUALITY_NONE
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: BACKFACE_NORMAL_MODE_FLIP
+ passType: 8
+ - keywords: _WINDQUALITY_NONE
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: BACKFACE_NORMAL_MODE_FLIP
+ passType: 8
+ - keywords: _WINDQUALITY_NONE
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - first: {fileID: 0}
+ second:
+ variants:
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: UNITY_UI_ALPHACLIP
+ passType: 0
+ - first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords: DIRECTIONAL LIGHTPROBE_SH
+ passType: 4
+ - keywords: DIRECTIONAL
+ passType: 5
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords: _SUNDISK_SIMPLE
+ passType: 0
+ - first: {fileID: 9000, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 9001, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 9002, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 9003, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 9004, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 9007, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords: _UIE_FORCE_GAMMA
+ passType: 0
+ - first: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 19011, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _OUTPUT_DEPTH
+ passType: 0
+ - first: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, type: 3}
+ second:
+ variants:
+ - keywords: _MAIN_LIGHT_SHADOWS
+ passType: 0
+ - first: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 65df88701913c224d95fc554db28381a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: ec9fec698a3456d4fb18cf8bacb7a2bc, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e7857e9d0c934dc4f83f270f8447b006, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _CHROMATIC_ABERRATION _DITHERING _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _DITHERING _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _DITHERING _TONEMAP_NEUTRAL _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _DITHERING _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - first: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _POINT
+ passType: 0
+ - first: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7f888aff2ac86494babad1c2c5daeee2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: DEBUG_DISPLAY
+ passType: 0
+ - first: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 0849e84e3d62649e8882e9d6f056a017, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _INTERLEAVED_GRADIENT _SAMPLE_COUNT_LOW _SOURCE_DEPTH_LOW
+ passType: 0
+ - first: {fileID: 4800000, guid: 1121bb4e615ca3c48b214e79e841e823, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 63eaba0ebfb82cc43bde059b4a8c65f6, type: 3}
+ second:
+ variants:
+ - keywords: _SMAA_PRESET_LOW
+ passType: 0
+ - first: {fileID: 4800000, guid: 5e7134d6e63e0bc47a1dd2669cedb379, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 2aed67ad60045d54ba3a00c91e2d2631, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 1edcd131364091c46a17cbff0b1de97a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a15b78cf8ca26ca4fb2090293153c62c, type: 3}
+ second:
+ variants:
+ - keywords: _GENERIC
+ passType: 0
+ - first: {fileID: 4800000, guid: 5f1864addb451f54bae8c86d230f736e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e8ee25143a34b8c4388709ea947055d1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 562b7ae4f629f144aa97780546fce7c6, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: c49e63ed1bbcb334780a3bd19dfed403, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: f6783ab646d374f94b199774402a5144, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: e507fdfead5ca47e8b9a768b51c291a1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 29868e73b638e48ca99a19ea58c48d90, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3}
+ second:
+ variants:
+ - keywords: GEOM_TYPE_BRANCH
+ passType: 8
+ - keywords: GEOM_TYPE_BRANCH LOD_FADE_PERCENTAGE
+ passType: 8
+ - keywords: GEOM_TYPE_BRANCH
+ passType: 13
+ - keywords: GEOM_TYPE_BRANCH LOD_FADE_PERCENTAGE
+ passType: 13
+ - first: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 0406db5a14f94604a8c57ccfbc9f3b46, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _SURFACE_TYPE_TRANSPARENT
+ passType: 0
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: e39bd598ce13f44ba8af997d3e42cd18, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 60e10855641b4d84da68ec72e6f6eeb8, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e8b802ac01d87144b91f12f40c1f2659, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e260cfa7296ee7642b167f1eb5be5023, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 13c02b14c4d048fa9653293d54f6e0e1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 4431b1f1f743fbf4eb310a967890cbea, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d5a307c014552314b9f560906d708772, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _DBUFFER_MRT1
+ passType: 0
+ - first: {fileID: 4800000, guid: 8516d7a69675844a7a0b7095af7c46af, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 8fbe92a9edfe6074e841d6dd1509bc59, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: b7839dad95683814aa64166edc107ae2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 44fc62292b65ab04eabcf310e799ccf6, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 99134b1f0c27d54469a840832a28fadf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords: LOD_FADE_PERCENTAGE _WINDQUALITY_NONE
+ passType: 8
+ - keywords:
+ passType: 13
+ - keywords: LOD_FADE_PERCENTAGE
+ passType: 13
+ - keywords: LOD_FADE_PERCENTAGE _WINDQUALITY_NONE
+ passType: 13
+ - first: {fileID: 4800000, guid: c8b6a681c7b4e2e4785ffab093907f9e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 0a7e590f3cf1d4ee8a8fab5b6eff09ef, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 74b1585886a85614aa34e2c8e303c77a, type: 3}
+ second:
+ variants:
+ - keywords: DOTS_INSTANCING_ON
+ passType: 13
+ - first: {fileID: 4800000, guid: de02b375720b5c445afe83cd483bedf3, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 0ca6dca7396eb48e5849247ffd444914, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 36e335017ad71d54fbb10842863188ae, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: ce09d4a80b88c5a4eb9768fab4f1ee00, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 5ec81c81908db34429b4f6ddecadd3bd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: ee7e4c9a5f6364b688a332c67fc32cca, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 19dfbb09098c9584a83c956fbd6c5d79, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 77774d9009bb81447b048c907d4c6273, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 2ad0a53eacb91bd4fbe0dc668bf25e6f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 99e0f263ae4ed2d4d962a2e995dff6df, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: 44e8d6dab1446644688189717537509a, type: 3}
second:
variants:
- keywords:
passType: 13
- - keywords: _EMISSION_ON
+ - first: {fileID: 4800000, guid: efc9cf6e300dc8b4bbd9d46924a071da, type: 3}
+ second:
+ variants:
+ - keywords:
passType: 13
- - keywords: _EMISSION_ON _USEREDASALPHA_ON
+ - first: {fileID: 4800000, guid: 3f7a07814aa8ca44e820255a68f2ca9f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 1260697e5ac3cff4889321b8d74b99b8, type: 3}
+ second:
+ variants:
+ - keywords:
passType: 13
- - keywords: _USEREDASALPHA_ON
+ - first: {fileID: 4800000, guid: c2a467ab6d5391a4ea692226d82ffefd, type: 3}
+ second:
+ variants:
+ - keywords:
passType: 13
+ - keywords: _DECAL_NORMAL_BLEND_LOW
+ passType: 13
+ - first: {fileID: 4800000, guid: 2992e84f91cbeb14eab234972e07ea9d, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 199187dac283dbe4a8cb1ea611d70c58, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: ece0159bad6633944bf6b818f4dd296c, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 94348b07e5e8bab40bd6c8a1e3df54cd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: cf964e524c8e69742b1d21fbe2ebcc4a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 272e7eef87baea8408e583d2670e66dd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3150dab783854cd6b791d5db3be4a966, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 126dad763ce350945945655d5c062248, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ second:
+ variants:
+ - keywords: _DISSOLVE _VAT_HOUDINI
+ passType: 8
+ - keywords: _HOUDINI_VAT_SOFTBODY _VAT_HOUDINI
+ passType: 8
+ - keywords: _VAT_HOUDINI
+ passType: 8
+ - keywords:
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _ALPHAPREMULTIPLY_ON _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _ALPHAPREMULTIPLY_ON _FX_LIGHT_MODE_UNLIT _VAT_HOUDINI
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _FX_LIGHT_MODE_UNLIT _VAT_HOUDINI
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT _HOUDINI_VAT_SOFTBODY _VAT_HOUDINI
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT _VAT_HOUDINI
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT _VAT_HOUDINI
+ passType: 13
+ - keywords: _VAT_HOUDINI
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT
+ passType: 14
+ - keywords: _FX_LIGHT_MODE_UNLIT _VAT_HOUDINI
+ passType: 14
+ - first: {fileID: 4800000, guid: 1b530af6d4d97eb4c8f3725d4cd3e9b8, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3e92fe624a4f13d4eadc7753e236006a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 5fd213d22763447c4aa106605e06184e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: ae29d8ac364c31c45951cc7ee49fb4e7, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords: INSTANCING_ON
+ passType: 8
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 08ea275a0b315754aacf7b548f848ea6, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: -6465566751694194690, guid: 754adf81fabebcc43b4839f86c8172bf,
+ type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: INSTANCING_ON
+ passType: 8
+ - first: {fileID: 4800000, guid: 59aa06bbc8922cf4896e4e55298edda1, type: 3}
+ second:
+ variants:
+ - keywords: _KEYWORD0_R
+ passType: 8
+ - keywords: _KEYWORD0_R
+ passType: 13
+ - first: {fileID: 4800000, guid: 78b068a6ac341aa43af8ae5720b2e0a9, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 9c70c1a35ff15f340b38ea84842358bf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 701880fecb344ea4c9cd0db3407ab287, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 8c3bb6de0c0e7c047b65c077249507e5, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 4e90a8289da1f3943885176e4f83e35c, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 74659692f6350ba46b88180d9c826630, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 222cce62363a44a380c36bf03b392608, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: bf54e6528c79a224e96346799064c393, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3f6c848ca3d7bca4bbe846546ac701a1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7057bb795f794bc44a4e34ca79be6e54, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: fe4f13c1004a07d4ea1e30bfd0326d9e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 620b55b8040a88d468e94abe55bed5ba, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: f89aac1e4f84468418fe30e611dff395, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 8c3ee818f2efa514c889881ccb2e95a2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3b21275fd12d65f49babb5286f040f2d, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: b3c92426a88625841ab15ca6a7917248, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 12dc59547ea167a4ab435097dd0f9add, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 120ea264a7bdc294f86074ea0303c88f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: db8bd7436dc2c5f4c92655307d198381, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3a80877c579b9144ebdcc6d923bca303, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d3f0849180c2d0944bc71060693df100, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a796fe586e0ddba4cae031b0ab585286, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 2b06b6233ca86cd4886e99d0e9d1124e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 19349a0f9a7ed4c48a27445bcf92e5e1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a46d3ad17881bcc40bb90b165375974f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7528b766c67bf974e9d2eebb25b43c04, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: aa12587766ec16842a16c1965e43da43, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: ca578cdeed02a0e4185a591e727a1a6f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: c195927c5e8d7b54482f7cc52dc314df, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 6e8fe2c8a03163c419a4034561209dff, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e9424f71b68fc594b82da3259df1d2c5, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d66798f4c56ff9d43bf821e0cd4f4b95, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3bc1d4066f58f6e47aeb7c358d24d593, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 69494530c2d06154dba377bc2a61be81, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _RECEIVE_SHADOWS_OFF
+ passType: 13
+ - first: {fileID: 4800000, guid: daa7a6f4d9a66f343aace3d290e8844e, type: 3}
+ second:
+ variants:
+ - keywords: AHF_CAMERAMODE_PERSPECTIVE _RECEIVE_SHADOWS_OFF
+ passType: 13
+ - first: {fileID: 4800000, guid: 3a7ef1b66bafb7a448a880ef76d2e6e6, type: 3}
+ second:
+ variants:
+ - keywords: AHF_CAMERAMODE_PERSPECTIVE _RECEIVE_SHADOWS_OFF
+ passType: 13
+ - first: {fileID: 4800000, guid: b491aef5bd88c8b44afc30f6f2074f06, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _OUTER_BORDER_ON
+ passType: 13
+ - first: {fileID: 4800000, guid: 1762f27d930c16c4e9b63d15ea1aebf9, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _OUTER_BORDER_ON
+ passType: 13
+ - first: {fileID: 4800000, guid: 1c1785f44ec0db8468bb44679c8a79cf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: b2f9ca12ccf5e1142a04eaabecd8300f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 1c7984716e0122c47a40601f9f810c13, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: ba1291d1b65e9624fb8aa363fdee9c46, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _BLENDMODE_ADDITIVE
+ passType: 13
+ - keywords: _BLENDMODE_ALPHA
+ passType: 13
+ - first: {fileID: 4800000, guid: dd5df55921593634b89be6a4024046e4, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 0903d036eb16e7c4e85a655b164ab7c2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords: _DISSOLVE
+ passType: 8
+ - keywords: _DISSOLVE _DISSOLVE_MASK
+ passType: 8
+ - keywords: _HOUDINI_VAT_SOFTBODY
+ passType: 8
+ - keywords:
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _ALPHAPREMULTIPLY_ON _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _DISSOLVE_MASK _FRESNEL _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _DISSOLVE_MASK _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _FRESNEL _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FRESNEL _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT _HOUDINI_VAT_SOFTBODY
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT
+ passType: 14
diff --git a/Assets/Shaders/DefaultShaderVariants.shadervariants b/Assets/Shaders/DefaultShaderVariants.shadervariants
index 42674b45..1a29c54c 100644
--- a/Assets/Shaders/DefaultShaderVariants.shadervariants
+++ b/Assets/Shaders/DefaultShaderVariants.shadervariants
@@ -15,12 +15,21 @@ ShaderVariantCollection:
passType: 0
- keywords: UNITY_UI_ALPHACLIP
passType: 0
- - first: {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
+ - first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- - first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0}
+ - first: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ second:
+ variants:
+ - keywords: DIRECTIONAL LIGHTPROBE_SH
+ passType: 4
+ - keywords: DIRECTIONAL
+ passType: 5
+ - keywords: SHADOWS_DEPTH
+ passType: 8
+ - first: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
@@ -75,6 +84,11 @@ ShaderVariantCollection:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3}
second:
variants:
@@ -82,53 +96,380 @@ ShaderVariantCollection:
passType: 0
- keywords: _OUTPUT_DEPTH
passType: 0
+ - first: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, type: 3}
+ second:
+ variants:
+ - keywords: _MAIN_LIGHT_SHADOWS
+ passType: 0
+ - first: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: 65df88701913c224d95fc554db28381a, type: 3}
second:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: ec9fec698a3456d4fb18cf8bacb7a2bc, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: e7857e9d0c934dc4f83f270f8447b006, type: 3}
second:
variants:
- - keywords: _BLOOM_LQ _DITHERING _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ - keywords:
passType: 0
- - keywords: _BLOOM_LQ _USE_FAST_SRGB_LINEAR_CONVERSION
+ - keywords: _CHROMATIC_ABERRATION _DITHERING _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _DITHERING _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _DITHERING _TONEMAP_NEUTRAL _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _DITHERING _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _TONEMAP_ACES _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - keywords: _USE_FAST_SRGB_LINEAR_CONVERSION
+ passType: 0
+ - first: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _POINT
passType: 0
- first: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
second:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: 7f888aff2ac86494babad1c2c5daeee2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
second:
variants:
- keywords:
passType: 0
+ - keywords: DEBUG_DISPLAY
+ passType: 0
+ - first: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 0849e84e3d62649e8882e9d6f056a017, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _INTERLEAVED_GRADIENT _SAMPLE_COUNT_LOW _SOURCE_DEPTH_LOW
+ passType: 0
- first: {fileID: 4800000, guid: 1121bb4e615ca3c48b214e79e841e823, type: 3}
second:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: 63eaba0ebfb82cc43bde059b4a8c65f6, type: 3}
+ second:
+ variants:
+ - keywords: _SMAA_PRESET_LOW
+ passType: 0
+ - first: {fileID: 4800000, guid: 5e7134d6e63e0bc47a1dd2669cedb379, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 2aed67ad60045d54ba3a00c91e2d2631, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 1edcd131364091c46a17cbff0b1de97a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a15b78cf8ca26ca4fb2090293153c62c, type: 3}
+ second:
+ variants:
+ - keywords: _GENERIC
+ passType: 0
- first: {fileID: 4800000, guid: 5f1864addb451f54bae8c86d230f736e, type: 3}
second:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e8ee25143a34b8c4388709ea947055d1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 562b7ae4f629f144aa97780546fce7c6, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: c49e63ed1bbcb334780a3bd19dfed403, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: f6783ab646d374f94b199774402a5144, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: e507fdfead5ca47e8b9a768b51c291a1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 29868e73b638e48ca99a19ea58c48d90, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3}
+ second:
+ variants:
+ - keywords: GEOM_TYPE_BRANCH
+ passType: 8
+ - keywords: GEOM_TYPE_BRANCH LOD_FADE_PERCENTAGE
+ passType: 8
+ - keywords: GEOM_TYPE_BRANCH
+ passType: 13
+ - keywords: GEOM_TYPE_BRANCH LOD_FADE_PERCENTAGE
+ passType: 13
+ - first: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
- first: {fileID: 4800000, guid: 0406db5a14f94604a8c57ccfbc9f3b46, type: 3}
second:
variants:
+ - keywords:
+ passType: 0
- keywords: _SURFACE_TYPE_TRANSPARENT
passType: 0
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: e39bd598ce13f44ba8af997d3e42cd18, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 60e10855641b4d84da68ec72e6f6eeb8, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e8b802ac01d87144b91f12f40c1f2659, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: e260cfa7296ee7642b167f1eb5be5023, type: 3}
second:
variants:
- keywords:
passType: 13
+ - first: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 13c02b14c4d048fa9653293d54f6e0e1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 4431b1f1f743fbf4eb310a967890cbea, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d5a307c014552314b9f560906d708772, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords: _DBUFFER_MRT1
+ passType: 0
+ - first: {fileID: 4800000, guid: 8516d7a69675844a7a0b7095af7c46af, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 8fbe92a9edfe6074e841d6dd1509bc59, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: b7839dad95683814aa64166edc107ae2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 44fc62292b65ab04eabcf310e799ccf6, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 99134b1f0c27d54469a840832a28fadf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords: LOD_FADE_PERCENTAGE _WINDQUALITY_NONE
+ passType: 8
+ - keywords:
+ passType: 13
+ - keywords: LOD_FADE_PERCENTAGE
+ passType: 13
+ - keywords: LOD_FADE_PERCENTAGE _WINDQUALITY_NONE
+ passType: 13
+ - first: {fileID: 4800000, guid: c8b6a681c7b4e2e4785ffab093907f9e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 0a7e590f3cf1d4ee8a8fab5b6eff09ef, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 74b1585886a85614aa34e2c8e303c77a, type: 3}
+ second:
+ variants:
+ - keywords: DOTS_INSTANCING_ON
+ passType: 13
+ - first: {fileID: 4800000, guid: de02b375720b5c445afe83cd483bedf3, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 0ca6dca7396eb48e5849247ffd444914, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
- first: {fileID: 4800000, guid: 36e335017ad71d54fbb10842863188ae, type: 3}
second:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: ce09d4a80b88c5a4eb9768fab4f1ee00, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 5ec81c81908db34429b4f6ddecadd3bd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: ee7e4c9a5f6364b688a332c67fc32cca, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 19dfbb09098c9584a83c956fbd6c5d79, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 77774d9009bb81447b048c907d4c6273, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3}
second:
variants:
@@ -139,6 +480,11 @@ ShaderVariantCollection:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: 99e0f263ae4ed2d4d962a2e995dff6df, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
second:
variants:
@@ -149,32 +495,250 @@ ShaderVariantCollection:
variants:
- keywords:
passType: 13
+ - first: {fileID: 4800000, guid: efc9cf6e300dc8b4bbd9d46924a071da, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 3f7a07814aa8ca44e820255a68f2ca9f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: 1260697e5ac3cff4889321b8d74b99b8, type: 3}
second:
variants:
- keywords:
passType: 13
- - first: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ - first: {fileID: 4800000, guid: c2a467ab6d5391a4ea692226d82ffefd, type: 3}
second:
variants:
- - keywords: FOG_LINEAR _FX_LIGHT_MODE_UNLIT
- passType: 14
+ - keywords:
+ passType: 13
+ - keywords: _DECAL_NORMAL_BLEND_LOW
+ passType: 13
+ - first: {fileID: 4800000, guid: 2992e84f91cbeb14eab234972e07ea9d, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 199187dac283dbe4a8cb1ea611d70c58, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: ece0159bad6633944bf6b818f4dd296c, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 94348b07e5e8bab40bd6c8a1e3df54cd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 11
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: cf964e524c8e69742b1d21fbe2ebcc4a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 272e7eef87baea8408e583d2670e66dd, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3150dab783854cd6b791d5db3be4a966, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 126dad763ce350945945655d5c062248, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 1b530af6d4d97eb4c8f3725d4cd3e9b8, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3e92fe624a4f13d4eadc7753e236006a, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 5fd213d22763447c4aa106605e06184e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: ae29d8ac364c31c45951cc7ee49fb4e7, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords: INSTANCING_ON
+ passType: 8
+ - keywords:
+ passType: 13
- first: {fileID: 4800000, guid: 08ea275a0b315754aacf7b548f848ea6, type: 3}
second:
variants:
- keywords:
passType: 13
- - first: {fileID: -6465566751694194690, guid: 826bdbac23ec3064290838c236752c7d,
+ - first: {fileID: -6465566751694194690, guid: 754adf81fabebcc43b4839f86c8172bf,
type: 3}
second:
variants:
- - keywords: BOOLEAN_PREVENTSTARS_ON FOG_LINEAR
+ - keywords:
passType: 0
- - keywords: BOOLEAN_PREVENTSTARS_ON
- passType: 12
- - keywords: BOOLEAN_PREVENTSTARS_ON
+ - keywords: INSTANCING_ON
+ passType: 8
+ - first: {fileID: 4800000, guid: 59aa06bbc8922cf4896e4e55298edda1, type: 3}
+ second:
+ variants:
+ - keywords: _KEYWORD0_R
+ passType: 8
+ - keywords: _KEYWORD0_R
passType: 13
- - first: {fileID: 20506, guid: 0000000000000000f000000000000000, type: 0}
+ - first: {fileID: 4800000, guid: 78b068a6ac341aa43af8ae5720b2e0a9, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 9c70c1a35ff15f340b38ea84842358bf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 701880fecb344ea4c9cd0db3407ab287, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 8c3bb6de0c0e7c047b65c077249507e5, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 4e90a8289da1f3943885176e4f83e35c, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 74659692f6350ba46b88180d9c826630, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 222cce62363a44a380c36bf03b392608, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: bf54e6528c79a224e96346799064c393, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3f6c848ca3d7bca4bbe846546ac701a1, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 7057bb795f794bc44a4e34ca79be6e54, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: fe4f13c1004a07d4ea1e30bfd0326d9e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 620b55b8040a88d468e94abe55bed5ba, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: f89aac1e4f84468418fe30e611dff395, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 8c3ee818f2efa514c889881ccb2e95a2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3b21275fd12d65f49babb5286f040f2d, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: b3c92426a88625841ab15ca6a7917248, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 12dc59547ea167a4ab435097dd0f9add, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 120ea264a7bdc294f86074ea0303c88f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: db8bd7436dc2c5f4c92655307d198381, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3a80877c579b9144ebdcc6d923bca303, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d3f0849180c2d0944bc71060693df100, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: a796fe586e0ddba4cae031b0ab585286, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 2b06b6233ca86cd4886e99d0e9d1124e, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 19349a0f9a7ed4c48a27445bcf92e5e1, type: 3}
second:
variants:
- keywords:
@@ -184,8 +748,145 @@ ShaderVariantCollection:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: 7528b766c67bf974e9d2eebb25b43c04, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: aa12587766ec16842a16c1965e43da43, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
- first: {fileID: 4800000, guid: ca578cdeed02a0e4185a591e727a1a6f, type: 3}
second:
variants:
- keywords:
passType: 0
+ - first: {fileID: 4800000, guid: c195927c5e8d7b54482f7cc52dc314df, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 6e8fe2c8a03163c419a4034561209dff, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: e9424f71b68fc594b82da3259df1d2c5, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: d66798f4c56ff9d43bf821e0cd4f4b95, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 3bc1d4066f58f6e47aeb7c358d24d593, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 69494530c2d06154dba377bc2a61be81, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _RECEIVE_SHADOWS_OFF
+ passType: 13
+ - first: {fileID: 4800000, guid: daa7a6f4d9a66f343aace3d290e8844e, type: 3}
+ second:
+ variants:
+ - keywords: AHF_CAMERAMODE_PERSPECTIVE _RECEIVE_SHADOWS_OFF
+ passType: 13
+ - first: {fileID: 4800000, guid: 3a7ef1b66bafb7a448a880ef76d2e6e6, type: 3}
+ second:
+ variants:
+ - keywords: AHF_CAMERAMODE_PERSPECTIVE _RECEIVE_SHADOWS_OFF
+ passType: 13
+ - first: {fileID: 4800000, guid: b491aef5bd88c8b44afc30f6f2074f06, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _OUTER_BORDER_ON
+ passType: 13
+ - first: {fileID: 4800000, guid: 1762f27d930c16c4e9b63d15ea1aebf9, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _OUTER_BORDER_ON
+ passType: 13
+ - first: {fileID: 4800000, guid: 1c1785f44ec0db8468bb44679c8a79cf, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: b2f9ca12ccf5e1142a04eaabecd8300f, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 1c7984716e0122c47a40601f9f810c13, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: ba1291d1b65e9624fb8aa363fdee9c46, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 13
+ - keywords: _BLENDMODE_ADDITIVE
+ passType: 13
+ - keywords: _BLENDMODE_ALPHA
+ passType: 13
+ - first: {fileID: 4800000, guid: dd5df55921593634b89be6a4024046e4, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 0
+ - first: {fileID: 4800000, guid: 0903d036eb16e7c4e85a655b164ab7c2, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords:
+ passType: 12
+ - keywords:
+ passType: 13
+ - first: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
+ second:
+ variants:
+ - keywords:
+ passType: 8
+ - keywords: _DISSOLVE
+ passType: 8
+ - keywords: _DISSOLVE _DISSOLVE_MASK
+ passType: 8
+ - keywords: _HOUDINI_VAT_SOFTBODY
+ passType: 8
+ - keywords:
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _ALPHAPREMULTIPLY_ON _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _DISSOLVE_MASK _FRESNEL _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _DISSOLVE_MASK _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _FRESNEL _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _DISSOLVE _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FRESNEL _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT _HOUDINI_VAT_SOFTBODY
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT
+ passType: 13
+ - keywords: _FX_LIGHT_MODE_UNLIT
+ passType: 14
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/Android b/Assets/StreamingAssets/ThemeBundles/Android/Android
index 3754d0b1..643a5a51 100644
Binary files a/Assets/StreamingAssets/ThemeBundles/Android/Android and b/Assets/StreamingAssets/ThemeBundles/Android/Android differ
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/Android.manifest b/Assets/StreamingAssets/ThemeBundles/Android/Android.manifest
index 552f19fc..4ebf3c5a 100644
--- a/Assets/StreamingAssets/ThemeBundles/Android/Android.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Android/Android.manifest
@@ -1,6 +1,6 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
-CRC: 1116944563
+CRC: 382504586
HashAppended: 0
AssetBundleManifest:
AssetBundleInfos:
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/basic.manifest b/Assets/StreamingAssets/ThemeBundles/Android/basic.manifest
index e2611880..b4160088 100644
--- a/Assets/StreamingAssets/ThemeBundles/Android/basic.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Android/basic.manifest
@@ -10,7 +10,7 @@ Hashes:
Hash: dfed41e3b38758e5f34df30221d719dc
IncrementalBuildHash:
serializedVersion: 2
- Hash: e4632d4fcfc6afbe89d7e86d2d65f5f3
+ Hash: 778742053aa9e9d5a2b30b0b4c13935b
HashAppended: 0
ClassTypes:
- Class: 1
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse b/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse
index 8784cb09..feb69867 100644
--- a/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse
+++ b/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c992392663e4d56448ba26451727bbf5746418cfd93fb843ea043010bcaa23fa
-size 1364190
+oid sha256:b6776c0c16c3454fe01a7d16dc3b57c44ee3839447a7bc335d7ab32e80556139
+size 1431295
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse.manifest b/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse.manifest
index 5fbc8ad2..5c03f1ed 100644
--- a/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Android/departure_to_multiverse.manifest
@@ -1,16 +1,16 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
-CRC: 4178875065
+CRC: 3160051067
Hashes:
AssetFileHash:
serializedVersion: 2
- Hash: 518331028eeef86fbac5a1ec60828763
+ Hash: a699113bc73eabbdebc7d76752a38a4b
TypeTreeHash:
serializedVersion: 2
- Hash: 6dc25ede816b5f1e26e55c131592f792
+ Hash: 8111ab10d600eaa1a60bd178b1bcf4cf
IncrementalBuildHash:
serializedVersion: 2
- Hash: 93ac0b2f0b52973c525fa5f4fa8a7cb8
+ Hash: 078b90de59fa16fc774acd05719871eb
HashAppended: 0
ClassTypes:
- Class: 1
@@ -51,6 +51,8 @@ ClassTypes:
Script: {fileID: 11500000, guid: 677671f1d5140b2489dc52c18792b8f5, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: f853de2eedbaded4489d7b898fef5926, type: 3}
+- Class: 114
+ Script: {fileID: 11500000, guid: 23b750fa4c234eb995b6be5e65b56dba, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 638fbd0e919667f47a93485dd230c71f, type: 3}
- Class: 114
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/metropolis_on_orbit.manifest b/Assets/StreamingAssets/ThemeBundles/Android/metropolis_on_orbit.manifest
index a45c8830..96d0acbe 100644
--- a/Assets/StreamingAssets/ThemeBundles/Android/metropolis_on_orbit.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Android/metropolis_on_orbit.manifest
@@ -10,7 +10,7 @@ Hashes:
Hash: 8ab77e54d824a64c30bc20496c5f5926
IncrementalBuildHash:
serializedVersion: 2
- Hash: 37e7959e92ba63eaf7f86bf51d8a9274
+ Hash: 8e11d161dc63b75b8bce9c62459812ae
HashAppended: 0
ClassTypes:
- Class: 1
diff --git a/Assets/StreamingAssets/ThemeBundles/Android/shapes.manifest b/Assets/StreamingAssets/ThemeBundles/Android/shapes.manifest
index 9d7f6dc1..100171a4 100644
--- a/Assets/StreamingAssets/ThemeBundles/Android/shapes.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Android/shapes.manifest
@@ -10,7 +10,7 @@ Hashes:
Hash: bc9f87c7e64ff656997db0f2b2a91703
IncrementalBuildHash:
serializedVersion: 2
- Hash: 91c4aa1ac4a424c3927b6fed901cb7e6
+ Hash: 98313c8eb74f89178044a9a994c30a81
HashAppended: 0
ClassTypes:
- Class: 28
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64 b/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64
index b2d244df..b91bad76 100644
Binary files a/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64 and b/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64 differ
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64.manifest b/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64.manifest
index cd8e89b6..7daaa436 100644
--- a/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Windows64/Windows64.manifest
@@ -1,6 +1,6 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
-CRC: 1705965068
+CRC: 2905049333
HashAppended: 0
AssetBundleManifest:
AssetBundleInfos:
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/basic b/Assets/StreamingAssets/ThemeBundles/Windows64/basic
index f6d90f30..13219106 100644
Binary files a/Assets/StreamingAssets/ThemeBundles/Windows64/basic and b/Assets/StreamingAssets/ThemeBundles/Windows64/basic differ
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/basic.manifest b/Assets/StreamingAssets/ThemeBundles/Windows64/basic.manifest
index 6450e3da..1b0ba021 100644
--- a/Assets/StreamingAssets/ThemeBundles/Windows64/basic.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Windows64/basic.manifest
@@ -1,16 +1,16 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
-CRC: 3423109845
+CRC: 3067715901
Hashes:
AssetFileHash:
serializedVersion: 2
- Hash: e8d514ee338e29a4519f762f2c0b2395
+ Hash: 6abcdfd9cae8dff022735fc0aa0fb26c
TypeTreeHash:
serializedVersion: 2
Hash: dfed41e3b38758e5f34df30221d719dc
IncrementalBuildHash:
serializedVersion: 2
- Hash: d8173630253cb94d1af9bd6085daaaf8
+ Hash: 0ab33123143c01f5eb0e9aa22fd03e8a
HashAppended: 0
ClassTypes:
- Class: 1
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse b/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse
index 24546286..ad40c786 100644
--- a/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse
+++ b/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b215267a645374feee07135ad632b592a467c9447daa1c552899cb05b3060a23
-size 1193767
+oid sha256:a6cb1e3c2c7753ba36884c37b812da704f79ed5f9fc9373196113562711a514d
+size 810740
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse.manifest b/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse.manifest
index 3951f6b7..65ab604d 100644
--- a/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Windows64/departure_to_multiverse.manifest
@@ -1,16 +1,16 @@
ManifestFileVersion: 0
UnityVersion: 6000.3.7f1
-CRC: 2729605106
+CRC: 3295815566
Hashes:
AssetFileHash:
serializedVersion: 2
- Hash: 3213322ed581a531aa3a5380b4d40209
+ Hash: 07cff5c8154805764b06f2fe2767068e
TypeTreeHash:
serializedVersion: 2
- Hash: 6dc25ede816b5f1e26e55c131592f792
+ Hash: 8111ab10d600eaa1a60bd178b1bcf4cf
IncrementalBuildHash:
serializedVersion: 2
- Hash: 92e81c3e77a8d10a82ec53c73234dde8
+ Hash: 546961a5e6af722d6acc755d8205b134
HashAppended: 0
ClassTypes:
- Class: 1
@@ -51,6 +51,8 @@ ClassTypes:
Script: {fileID: 11500000, guid: 677671f1d5140b2489dc52c18792b8f5, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: f853de2eedbaded4489d7b898fef5926, type: 3}
+- Class: 114
+ Script: {fileID: 11500000, guid: 23b750fa4c234eb995b6be5e65b56dba, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 638fbd0e919667f47a93485dd230c71f, type: 3}
- Class: 114
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/metropolis_on_orbit.manifest b/Assets/StreamingAssets/ThemeBundles/Windows64/metropolis_on_orbit.manifest
index 039f62c6..a0381cbc 100644
--- a/Assets/StreamingAssets/ThemeBundles/Windows64/metropolis_on_orbit.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Windows64/metropolis_on_orbit.manifest
@@ -10,7 +10,7 @@ Hashes:
Hash: 8ab77e54d824a64c30bc20496c5f5926
IncrementalBuildHash:
serializedVersion: 2
- Hash: 62389f4574fdc801b7b1161f6a6f353d
+ Hash: 5e819db50aed0e719f9213a0533db890
HashAppended: 0
ClassTypes:
- Class: 1
diff --git a/Assets/StreamingAssets/ThemeBundles/Windows64/shapes.manifest b/Assets/StreamingAssets/ThemeBundles/Windows64/shapes.manifest
index adce00a5..29147af3 100644
--- a/Assets/StreamingAssets/ThemeBundles/Windows64/shapes.manifest
+++ b/Assets/StreamingAssets/ThemeBundles/Windows64/shapes.manifest
@@ -10,7 +10,7 @@ Hashes:
Hash: bc9f87c7e64ff656997db0f2b2a91703
IncrementalBuildHash:
serializedVersion: 2
- Hash: 8618dcd3d082fdfc0cda27f6add00b75
+ Hash: a6eece82ca305268802891f3699999ab
HashAppended: 0
ClassTypes:
- Class: 28
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_Stay_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_Stay_01.mat
index 9a08ed12..53efb56e 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_Stay_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_Stay_01.mat
@@ -8,10 +8,11 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_Stay_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
m_InvalidKeywords:
- _CADDTEXUVT_ON
@@ -43,12 +44,16 @@ Material:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
- m_CustomRenderQueue: 3100
+ m_CustomRenderQueue: 2100
stringTagMap: {}
disabledShaderPasses:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -161,6 +166,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -177,24 +186,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 15
+ - _NBShaderGUIFoldToggle1: 10485760
+ - _NBShaderGUIFoldToggle2: 235
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 2056
+ - _W9ParticleShaderFlags: 10250
- _W9ParticleShaderFlags1: 2097152
- _W9ParticleShaderGUIFoldToggle: 15
- _W9ParticleShaderGUIFoldToggle1: 10485760
- _W9ParticleShaderGUIFoldToggle2: 235
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -204,22 +239,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 4
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -229,13 +286,19 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 2
@@ -254,6 +317,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -263,32 +327,46 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -297,6 +375,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -308,25 +388,36 @@ Material:
- _DstBlend: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 1
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -340,75 +431,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 0
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 1
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
- - _QueueBias: 1000
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
+ - _QueueBias: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 1
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -417,10 +577,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 0
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -431,29 +597,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 1
- _Ztest: 4
- _Zwrite: 1
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 4.5
- _fnl_sacle: 1
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -542,8 +734,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -556,6 +750,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_circle_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_circle_01.mat
index 037c8856..50d8cb25 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_circle_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_circle_01.mat
@@ -8,16 +8,16 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_circle_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISTORTMASKTEXAR_ON
- _DISTORTTEXAR_ON
@@ -39,6 +39,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -183,6 +188,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -199,6 +208,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -212,23 +241,29 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints:
- - _DissolveRampCount: 2
+ - _DissolveRampCount: 131074
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
- - _RampColorCount: 2
+ - _NBShaderGUIFoldToggle: 19
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 255
+ - _RampColorCount: 131074
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 19
- _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -238,24 +273,46 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -265,19 +322,25 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -292,6 +355,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -301,7 +365,9 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -309,26 +375,38 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -337,6 +415,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -349,29 +429,40 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -385,85 +476,154 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 1
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 1
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReceiveShadows: 1
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -472,10 +632,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -486,30 +652,56 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -599,8 +791,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -613,6 +807,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_drag_burst.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_drag_burst.mat
index a2a8b160..35b46bd4 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_drag_burst.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_drag_burst.mat
@@ -8,17 +8,18 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_drag_burst
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -54,6 +55,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties: _MainTex_ar
m_SavedProperties:
serializedVersion: 3
@@ -214,6 +220,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -230,6 +240,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -247,19 +277,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 134217739
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 251
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 251658240
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 133128
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 141322
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 134217739
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 251
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -269,18 +305,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -288,7 +343,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -298,20 +356,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -337,6 +401,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -347,8 +412,10 @@ Material:
- _DIssloveSoft: 0.662
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -356,16 +423,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 0
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -384,7 +459,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -400,11 +477,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -417,6 +496,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -437,11 +518,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -452,22 +535,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -484,23 +576,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 10
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -511,26 +611,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -543,32 +652,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -592,28 +736,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -622,10 +783,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -648,30 +815,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3
- _fnl_sacle: 0.526
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -764,8 +957,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -778,6 +973,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01.mat
index eddaddb2..020a82f3 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01.mat
@@ -8,10 +8,11 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_flick_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
m_InvalidKeywords:
- _CADDTEXUVT_ON
@@ -49,6 +50,10 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -161,6 +166,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -177,24 +186,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 134217743
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 251
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 10248
+ - _W9ParticleShaderFlags: 10250
- _W9ParticleShaderFlags1: 2097152
- _W9ParticleShaderGUIFoldToggle: 134217743
- _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 251
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -204,22 +239,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 4
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -229,13 +286,19 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 2
@@ -254,6 +317,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -263,32 +327,46 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -297,6 +375,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -308,25 +388,36 @@ Material:
- _DstBlend: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 1
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -340,75 +431,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 0
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 1
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 1000
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -417,10 +577,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 0
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -431,29 +597,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 1
- _Ztest: 4
- _Zwrite: 1
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 4.5
- _fnl_sacle: 1
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -542,8 +734,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -556,6 +750,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01a.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01a.mat
index 8510a791..be934682 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01a.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_01a.mat
@@ -8,16 +8,16 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_flick_01a
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -51,6 +51,10 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -163,6 +167,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -179,24 +187,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 15
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 251
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 8
+ - _W9ParticleShaderFlags: 8202
- _W9ParticleShaderFlags1: 8388608
- _W9ParticleShaderGUIFoldToggle: 15
- _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 251
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -206,22 +240,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 4
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -231,17 +287,23 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -256,6 +318,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -265,32 +328,46 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -299,6 +376,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -310,25 +389,36 @@ Material:
- _DstBlend: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 1
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -342,75 +432,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 0
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 1000
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -419,10 +578,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 0
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -433,29 +598,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 1
- _Ztest: 4
- _Zwrite: 1
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -544,8 +735,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -558,6 +751,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst.mat
index 2ecc935e..3b38e91e 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst.mat
@@ -8,17 +8,18 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_flick_burst
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -54,6 +55,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties: _MainTex_ar
m_SavedProperties:
serializedVersion: 3
@@ -214,6 +220,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -230,6 +240,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -247,19 +277,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 0
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 251
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 251658240
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 133128
- - _W9ParticleShaderFlags1: 8388608
- - _W9ParticleShaderGUIFoldToggle: 134217739
+ - _W9ParticleShaderFlags: 141322
+ - _W9ParticleShaderFlags1: 8388609
+ - _W9ParticleShaderGUIFoldToggle: 0
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 251
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -268,19 +304,38 @@ Material:
- _AddTexCV: 0
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- - _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AdditiveToPreMultiplyAlphaLerp: 1
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -288,7 +343,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -298,20 +356,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -337,6 +401,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -347,8 +412,10 @@ Material:
- _DIssloveSoft: 0.662
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -356,16 +423,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 0
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -384,7 +459,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -400,11 +477,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -417,6 +496,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -437,11 +518,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -452,22 +535,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 1
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -484,23 +576,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 10
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -511,26 +611,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -543,32 +652,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -592,28 +736,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -622,10 +783,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -648,30 +815,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3
- _fnl_sacle: 0.526
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -764,8 +957,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -778,6 +973,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst_02.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst_02.mat
index b46d0ed1..04831433 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst_02.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_burst_02.mat
@@ -8,12 +8,13 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_flick_burst_02
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISSOLVE
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
@@ -53,6 +54,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -165,6 +171,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -181,24 +191,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 2097163
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 251
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 3840
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 131072
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 139266
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 2097163
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 251
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -208,22 +244,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -233,17 +291,23 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -258,6 +322,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -267,32 +332,46 @@ Material:
- _DIssloveSoft: 0.057
- _DIssloveWide: 0.1
- _DIssolve_rotat: 90
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 1
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -301,6 +380,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -312,25 +393,36 @@ Material:
- _DstBlend: 10
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -344,75 +436,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 0
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 3
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 5
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -421,10 +582,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -435,29 +602,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -546,8 +739,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -560,6 +755,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
@@ -572,6 +770,7 @@ Material:
- _VertexOffset_Vec: {r: 0, g: 0, b: 1, a: 0}
- _fnl_color: {r: 30.209375, g: 30.209375, b: 30.209375, a: 1}
m_BuildTextureStacks: []
+ m_AllowLocking: 1
--- !u!114 &3905949624757751178
MonoBehaviour:
m_ObjectHideFlags: 11
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_01.mat
index 79301cd4..4624cd1e 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_01.mat
@@ -8,16 +8,16 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_flick_par_burst_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -51,6 +51,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -163,6 +168,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -179,24 +188,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 3
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 255
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 3
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -206,22 +241,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 1
+ - _BigBlockModeSettingFoldOut: 1
- _Blend: 0
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -231,17 +288,23 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -256,6 +319,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -265,32 +329,46 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -299,6 +377,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -310,25 +390,36 @@ Material:
- _DstBlend: 10
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 1
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -342,75 +433,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 1
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1.51
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 1
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 0
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 5
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 1
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -419,10 +579,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -433,29 +599,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 4.5
- _fnl_sacle: 1
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -544,8 +736,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -558,6 +752,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_02.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_02.mat
index d333947c..3b7da8a9 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_02.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_flick_par_burst_02.mat
@@ -8,17 +8,17 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_flick_par_burst_02
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISSOLVE
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSAR_ON
- _DISSOLVEPLUSTEXAR_ON
@@ -55,6 +55,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -167,6 +172,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -183,24 +192,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 2097179
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 251
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 3840
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 131072
- - _W9ParticleShaderFlags1: 8388640
+ - _W9ParticleShaderFlags: 139266
+ - _W9ParticleShaderFlags1: 8388641
- _W9ParticleShaderGUIFoldToggle: 2097179
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 251
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -210,22 +245,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
- - _BaseMapUVRotation: 270
+ - _BaseMapFoldOut: 1
+ - _BaseMapUVRotation: 90
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 1
+ - _BigBlockModeSettingFoldOut: 1
- _Blend: 0
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -235,17 +292,23 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -260,6 +323,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -269,32 +333,46 @@ Material:
- _DIssloveSoft: 0.1
- _DIssloveWide: 0.1
- _DIssolve_rotat: 90
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 1
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 1
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 90
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 2
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 1
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -303,6 +381,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -314,25 +394,36 @@ Material:
- _DstBlend: 10
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -346,75 +437,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 1
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 0
- _MainTex_rotat: 270
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 5
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -423,10 +583,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -437,29 +603,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -548,8 +740,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -562,6 +756,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_glow_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_glow_01.mat
index 15b03e97..cdcf4f27 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_glow_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_glow_01.mat
@@ -8,15 +8,15 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_glow_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DEPTHFADEON_ON
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
@@ -53,6 +53,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -165,6 +170,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -181,24 +190,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- _DissolveRampCount: 2
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 19
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 255
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 19
- _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -208,22 +243,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -233,17 +290,23 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -258,6 +321,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -267,32 +331,46 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -301,6 +379,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -312,25 +392,36 @@ Material:
- _DstBlend: 10
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -344,75 +435,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 1
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 5
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -421,10 +581,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -435,29 +601,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 8
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 4.53
- _fnl_sacle: 0.84
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -546,8 +738,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -560,6 +754,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_line_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_line_01.mat
index c92203b0..9a4fdf52 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_line_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_line_01.mat
@@ -8,12 +8,13 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_line_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHAPREMULTIPLY_ON
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
@@ -40,6 +41,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -184,6 +190,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -200,6 +210,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -217,19 +247,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 31
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 255
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 31
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -239,24 +275,46 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 2
- _BlendModePreserveSpecular: 1
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -266,19 +324,25 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -293,6 +357,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -302,7 +367,9 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -310,26 +377,38 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -338,6 +417,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -350,29 +431,40 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -386,85 +478,154 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 1
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 3
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReceiveShadows: 1
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -473,10 +634,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -487,30 +654,56 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 1
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -600,8 +793,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -614,6 +809,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
@@ -627,6 +825,7 @@ Material:
- _VertexOffset_Vec: {r: 0, g: 0, b: 1, a: 0}
- _fnl_color: {r: 1, g: 1, b: 1, a: 0}
m_BuildTextureStacks: []
+ m_AllowLocking: 1
--- !u!114 &1324594833827866266
MonoBehaviour:
m_ObjectHideFlags: 11
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_01.mat
index f98a9c9d..4556ab4e 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_01.mat
@@ -8,16 +8,16 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_par_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISTORTMASKTEXAR_ON
- _DISTORTTEXAR_ON
@@ -39,6 +39,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -183,6 +188,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -199,6 +208,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -216,19 +245,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 19
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 255
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 19
- _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -238,24 +273,46 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -265,19 +322,25 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -292,6 +355,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -301,7 +365,9 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -309,26 +375,38 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -337,6 +415,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -349,29 +429,40 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -385,85 +476,154 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 1
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReceiveShadows: 1
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -472,10 +632,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -486,30 +652,56 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 1
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -599,8 +791,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -613,6 +807,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_02.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_02.mat
index 9b8f0b3d..9cfe9968 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_02.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_par_02.mat
@@ -8,11 +8,12 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_par_02
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
@@ -39,6 +40,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -183,6 +189,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -199,6 +209,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -216,19 +246,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 23
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 255
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 23
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -238,24 +274,46 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -265,19 +323,25 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -292,6 +356,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -301,7 +366,9 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -309,26 +376,38 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -337,6 +416,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -349,29 +430,40 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -385,85 +477,154 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 1
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 3
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReceiveShadows: 1
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -472,10 +633,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -486,30 +653,56 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 1
- _fnl_sacle: 0
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 1
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -599,8 +792,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -613,6 +808,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
@@ -626,6 +824,7 @@ Material:
- _VertexOffset_Vec: {r: 0, g: 0, b: 1, a: 0}
- _fnl_color: {r: 1, g: 1, b: 1, a: 0}
m_BuildTextureStacks: []
+ m_AllowLocking: 1
--- !u!114 &1324594833827866266
MonoBehaviour:
m_ObjectHideFlags: 11
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_star_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_star_01.mat
index 344baaea..4ee26e1a 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_star_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_star_01.mat
@@ -8,15 +8,15 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_star_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DEPTHFADEON_ON
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
@@ -53,6 +53,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -165,6 +170,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -181,24 +190,50 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
m_Ints:
- - _DissolveRampCount: 2
+ - _DissolveRampCount: 131074
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
- - _RampColorCount: 2
+ - _NBShaderGUIFoldToggle: 0
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 0
+ - _RampColorCount: 131074
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 0
- - _W9ParticleShaderFlags: 0
- - _W9ParticleShaderFlags1: 8388608
- - _W9ParticleShaderGUIFoldToggle: 19
- - _W9ParticleShaderGUIFoldToggle1: 8388608
- - _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderFlags: 8194
+ - _W9ParticleShaderFlags1: 8388609
+ - _W9ParticleShaderGUIFoldToggle: 0
+ - _W9ParticleShaderGUIFoldToggle1: 0
+ - _W9ParticleShaderGUIFoldToggle2: 0
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -208,22 +243,44 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlinnPhongSpecularToggle: 0
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -233,17 +290,23 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _Cullmode: 0
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -258,6 +321,7 @@ Material:
- _CustomDataToZero: 1
- _CustomDistort: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
- _CustomdataMainTexUV: 0
@@ -267,32 +331,46 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
- _DissolvePlusR: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveTexDivide: 1
- _DissolveTexExp: 1
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortFactor: 0
- _DistortFactorC1: 1
@@ -301,6 +379,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTex_Uspeed: 0
@@ -312,25 +392,36 @@ Material:
- _DstBlend: 10
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -344,75 +435,144 @@ Material:
- _IfMaskColor: 0
- _IfMaskPlusTex: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
+ - _MainTexBigBlockItemFoldOut: 0
+ - _MainTexPNoiseBlendOpacity: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTex_Uspeed: 0
- _MainTex_Vspeed: 0
- _MainTex_ar: 1
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 0
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SrcBlend: 5
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -421,10 +581,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -435,29 +601,55 @@ Material:
- _VTORemap: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 4.53
- _fnl_sacle: 0.84
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 0
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -546,8 +738,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -560,6 +754,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01.mat
index 832d403d..f7909ff2 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01.mat
@@ -8,11 +8,13 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_01
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
@@ -50,6 +52,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -210,6 +217,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -226,6 +237,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -243,19 +274,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 134217743
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 0
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 2056
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 2058
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 134217743
- - _W9ParticleShaderGUIFoldToggle1: 0
+ - _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 0
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -265,19 +302,38 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
- _BackFristPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -285,7 +341,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -295,20 +354,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 1
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -334,6 +399,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
@@ -344,8 +410,10 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -353,16 +421,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -381,7 +457,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -397,11 +475,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -414,6 +494,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -434,11 +516,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -449,22 +533,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 0
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -481,23 +574,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -508,26 +609,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -540,32 +650,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 3
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -589,28 +734,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -619,10 +781,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -645,30 +813,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 1
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3.45
- _fnl_sacle: 1
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -761,8 +955,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -775,6 +971,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
@@ -788,6 +987,7 @@ Material:
- _VertexOffset_Vec: {r: 0, g: 0, b: 1, a: 0}
- _fnl_color: {r: 3.4680061, g: 12.21937, b: 12.844468, a: 1}
m_BuildTextureStacks: []
+ m_AllowLocking: 1
--- !u!114 &3905949624757751178
MonoBehaviour:
m_ObjectHideFlags: 11
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst.mat
index b5a519b0..c4defca9 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst.mat
@@ -8,17 +8,18 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_01_burst
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISSOLVE
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -55,6 +56,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties: _MainTex_ar
m_SavedProperties:
serializedVersion: 3
@@ -215,6 +221,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -231,6 +241,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -248,19 +278,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 140509197
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 8
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 3328
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 141320
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 141322
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 140509197
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 8
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -270,18 +306,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -289,7 +344,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -299,20 +357,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -338,6 +402,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -348,8 +413,10 @@ Material:
- _DIssloveSoft: 0
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -357,16 +424,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 0
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -385,7 +460,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -401,11 +478,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 1
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -418,6 +497,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -438,11 +519,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -453,22 +536,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -485,23 +577,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 10
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -512,26 +612,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -544,32 +653,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -593,28 +737,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -623,10 +784,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -649,30 +816,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3.45
- _fnl_sacle: 0.3
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -765,8 +958,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -779,6 +974,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst2.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst2.mat
index 1ed7cca7..8fb2a7ef 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst2.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01_burst2.mat
@@ -8,17 +8,18 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_01_burst2
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _ALPHAADD_ON
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -53,6 +54,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties: _MainTex_ar
m_SavedProperties:
serializedVersion: 3
@@ -213,6 +219,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -229,6 +239,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -246,19 +276,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 134217743
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 0
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 218103808
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 133128
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 133130
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 134217743
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 0
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -268,18 +304,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 1
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -287,7 +342,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -297,20 +355,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -336,6 +400,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -346,8 +411,10 @@ Material:
- _DIssloveSoft: 0
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -355,16 +422,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 0
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -383,7 +458,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -399,11 +476,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -416,6 +495,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -436,11 +517,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -451,22 +534,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 0
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -483,23 +575,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 10
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -510,26 +610,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -542,32 +651,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -591,28 +735,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 1
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -621,10 +782,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -647,30 +814,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 10
- _fnl_sacle: 0.384
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -763,8 +956,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -777,6 +972,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01a.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01a.mat
index 39179aae..fdf1edfe 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01a.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_01a.mat
@@ -8,15 +8,16 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_01a
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -44,12 +45,16 @@ Material:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
- m_CustomRenderQueue: 3100
+ m_CustomRenderQueue: 2100
stringTagMap: {}
disabledShaderPasses:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -210,6 +215,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -226,6 +235,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -243,19 +272,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 15
+ - _NBShaderGUIFoldToggle1: 8388608
+ - _NBShaderGUIFoldToggle2: 0
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 2056
+ - _W9ParticleShaderFlags: 2058
- _W9ParticleShaderFlags1: 8388608
- _W9ParticleShaderGUIFoldToggle: 15
- _W9ParticleShaderGUIFoldToggle1: 8388608
- _W9ParticleShaderGUIFoldToggle2: 0
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -265,18 +300,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 1
- _Blend: 4
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -284,7 +338,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -294,20 +351,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 1
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -333,6 +396,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
@@ -343,8 +407,10 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -352,16 +418,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -380,7 +454,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -396,11 +472,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -413,6 +491,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -433,11 +513,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -448,22 +530,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 0
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -480,23 +571,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -507,26 +606,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -539,32 +647,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
- - _QueueBias: 1000
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
+ - _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -588,28 +731,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 1
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -618,10 +778,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 0
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -644,30 +810,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 1
- _Ztest: 4
- _Zwrite: 1
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3.45
- _fnl_sacle: 1
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -760,8 +952,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -774,6 +968,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02.mat
index 42e5bc6c..c2e2db80 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02.mat
@@ -8,15 +8,16 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_02
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -50,6 +51,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -210,6 +216,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -226,6 +236,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -239,23 +269,29 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints:
- - _DissolveRampCount: 2
+ - _DissolveRampCount: 131074
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
- - _RampColorCount: 2
+ - _NBShaderGUIFoldToggle: 1207959567
+ - _NBShaderGUIFoldToggle1: 10485760
+ - _NBShaderGUIFoldToggle2: 0
+ - _RampColorCount: 131074
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 0
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 2056
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 2058
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 1207959567
- _W9ParticleShaderGUIFoldToggle1: 10485760
- _W9ParticleShaderGUIFoldToggle2: 0
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -265,18 +301,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -284,7 +339,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -294,20 +352,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 1
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -333,6 +397,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 0
- _CustomdataDisT: 0
@@ -343,8 +408,10 @@ Material:
- _DIssloveSoft: 0.5
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -352,16 +419,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 1
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -380,7 +455,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -396,11 +473,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 0
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -413,6 +492,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -433,11 +514,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -448,22 +531,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 0
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -480,23 +572,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 1
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -507,26 +607,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -539,32 +648,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 2
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -588,28 +732,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 1
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -618,10 +779,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -644,30 +811,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 0
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 1
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3.45
- _fnl_sacle: 1
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -760,8 +953,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 0, g: 1, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -774,6 +969,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02_burst.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02_burst.mat
index 8f2e850d..e14d9236 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02_burst.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_02_burst.mat
@@ -8,17 +8,19 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_02_burst
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISSOLVE
+ - _DISSOLVE_MASK
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -54,6 +56,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties: _MainTex_ar
m_SavedProperties:
serializedVersion: 3
@@ -214,6 +221,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -230,6 +241,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -247,19 +278,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 169869323
+ - _NBShaderGUIFoldToggle1: 0
+ - _NBShaderGUIFoldToggle2: 255
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 234884864
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: 134350856
- - _W9ParticleShaderFlags1: 8388608
+ - _W9ParticleShaderFlags: 134350858
+ - _W9ParticleShaderFlags1: 8388609
- _W9ParticleShaderGUIFoldToggle: 169869323
- _W9ParticleShaderGUIFoldToggle1: 0
- _W9ParticleShaderGUIFoldToggle2: 255
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -269,18 +306,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -288,7 +344,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -298,20 +357,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -337,6 +402,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -347,8 +413,10 @@ Material:
- _DIssloveSoft: 0.6
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -356,16 +424,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 0
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 1
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -384,7 +460,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -400,11 +478,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 1
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0
@@ -417,6 +497,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -437,11 +519,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -452,22 +536,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 0
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -484,23 +577,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 5
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -511,26 +612,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -543,32 +653,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -592,28 +737,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -622,10 +784,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -648,30 +816,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 0
- _VTOTex_Vspeed: 0
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 0
- _VertexOffset_StartFromZero: 0
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3.33
- _fnl_sacle: 0.25
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -764,8 +958,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -778,6 +974,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_03_burst.mat b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_03_burst.mat
index 09104afd..e4e7b078 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_03_burst.mat
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Materials/Notes/M_tap_03_burst.mat
@@ -8,17 +8,18 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_tap_03_burst
- m_Shader: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
+ m_Shader: {fileID: 4800000, guid: 7787bfdacec31472ca6644d6e3616bd4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISSOLVE
+ - _FRESNEL
- _FX_LIGHT_MODE_UNLIT
+ - _PARCUSTOMDATA_ON
m_InvalidKeywords:
- _CADDTEXUVT_ON
- _CUSTOMDATA
- _CUSTOMDATADIS_ON
- - _CUSTOMDATA_OFF
- _DISSOLVEAR_ON
- _DISSOLVEPLUSTEXAR_ON
- _DISSOLVEPLUSTEXUVCLIP_ON
@@ -54,6 +55,11 @@ Material:
- Distortion
- AfterDistortion
- SRPDEFAULTUNLIT
+ - NBCameraOpaqueDistortPass
+ - NBDeferredDistortPass
+ - DepthOnly
+ - SHADOWCASTER
+ - Universal2D
m_LockedProperties: _MainTex_ar
m_SavedProperties:
serializedVersion: 3
@@ -214,6 +220,10 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _VATTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
- _VTOMaskTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
@@ -230,6 +240,26 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
+ - _colTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _lookupTable:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _posTexture2:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _rotTexture:
+ 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}
@@ -247,19 +277,25 @@ Material:
- _MaskMap2GradientCount: 2
- _MaskMap3GradientCount: 2
- _MaskMapGradientCount: 2
+ - _NBShaderGUIFoldToggle: 673185803
+ - _NBShaderGUIFoldToggle1: 33554432
+ - _NBShaderGUIFoldToggle2: 243
- _RampColorCount: 2
- _UVModeFlag0: 0
+ - _UVModeFlagType0: 0
- _W9ParticleCustomDataFlag0: 3840
- _W9ParticleCustomDataFlag1: 0
- _W9ParticleCustomDataFlag2: 0
- _W9ParticleCustomDataFlag3: 0
- _W9ParticleShaderColorChannelFlag: 3
- - _W9ParticleShaderFlags: -2147342328
- - _W9ParticleShaderFlags1: 41943040
+ - _W9ParticleShaderFlags: -2147342326
+ - _W9ParticleShaderFlags1: 41943041
- _W9ParticleShaderGUIFoldToggle: 673185803
- _W9ParticleShaderGUIFoldToggle1: 33554432
- _W9ParticleShaderGUIFoldToggle2: 243
+ - _W9ParticleShaderPNoiseBlendFlag: 0
- _W9ParticleShaderWrapFlags: 0
+ - _W9ParticleShaderWrapFlags2: 0
m_Floats:
- _AddRotate: 0
- _AddTexAR: 0
@@ -269,18 +305,37 @@ Material:
- _AddTexUspeed: 0
- _AddTexVspeed: 0
- _AdditiveToPreMultiplyAlphaLerp: 0
+ - _AffectsShadows: 0
- _AlphaAdd: 0
- _AlphaAll: 1
- _AlphaClip: 0
- _AlphaCutoff: 0.5
- _AlphaToMask: 0
+ - _Autoplay: 0
+ - _AutoplaySpeed: 1
+ - _B_CAN_SPIN: 0
+ - _B_LOAD_COL_TEX: 0
+ - _B_LOAD_LOOKUP_TABLE: 0
+ - _B_LOAD_POS_TWO_TEX: 0
+ - _B_UNLOAD_ROT_TEX: 0
+ - _B_autoPlayback: 1
+ - _B_hideOverlappingOrigin: 1
+ - _B_interpolate: 1
+ - _B_pscaleAreInPosA: 1
+ - _B_spinFromHeading: 0
- _BackFaceColor_Toggle: 0
- _BackFirstPassToggle: 0
+ - _BaseBackColorFoldOut: 0
- _BaseBackColor_Toggle: 0
+ - _BaseColorAdjustmentFoldOut: 0
- _BaseColorIntensityForTimeline: 1
+ - _BaseMapColorRefineFoldOut: 0
- _BaseMapColorRefine_Toggle: 0
+ - _BaseMapFoldOut: 0
- _BaseMapUVRotation: 0
- _BaseMapUVRotationSpeed: 0
+ - _BaseOptionBigBlockItemFoldOut: 0
+ - _BigBlockModeSettingFoldOut: 0
- _Blend: 0
- _BlendMode: 0
- _BlendModePreserveSpecular: 1
@@ -288,7 +343,10 @@ Material:
- _BumpMapMaskMode: 0
- _BumpMapToggle: 0
- _BumpScale: 1
+ - _BumpTexFoldOut: 0
- _BumpTexFollowMainTexUVToggle: 0
+ - _BumpToggleFoldOut: 0
+ - _BumpUVModeFoldOut: 0
- _CAddTexUV: 0
- _CAddTexUVT: 1
- _CameraFadingEnabled: 0
@@ -298,20 +356,26 @@ Material:
- _CenterV: 0.5
- _Chachu: 0
- _ChangeSaturability_Toggle: 0
+ - _ChromaticAberrationFoldOut: 0
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
+ - _ColorAdjustmentOnlyAffectMainTex: 0
- _ColorBlendAlphaMultiplyMode: 0
+ - _ColorBlendBlockFoldOut: 0
- _ColorBlendFollowMainTexUV: 0
- _ColorBlendMap_Toggle: 0
+ - _ColorBlendUVModeFoldOut: 0
- _ColorMask: 15
- _ColorMode: 0
+ - _ColorMultiAlpha: 0
- _Comparison: 8
- _Contrast: 1
+ - _ContrastFoldOut: 0
- _Contrast_Toggle: 0
- _Cull: 2
- _CullMode: 0
- _Cullmode: 2
- - _CustomData: 0
+ - _CustomData: 1
- _CustomData1W_HueShift_Toggle: 0
- _CustomData1X: 0
- _CustomData1X_MainTexOffsetX_Toggle: 0
@@ -337,6 +401,7 @@ Material:
- _CustomMaskTexVOffset: 0
- _CustomRefactionFactor: 0
- _CustomStencilTest: 0
+ - _CustomStencilTestFoldOut: 0
- _CustomVTO: 0
- _CustomdataDis: 1
- _CustomdataDisT: 0
@@ -347,8 +412,10 @@ Material:
- _DIssloveSoft: 1
- _DIssloveWide: 0.1
- _DIssolve_rotat: 0
+ - _DeformingSkin: 0
- _DepthDecal_Toggle: 0
- _DepthFade: 1
+ - _DepthOutlineBlockFoldOut: 0
- _DepthOutline_Toggle: 0
- _DepthfadeFactor: 1
- _Depthfadeon: 0
@@ -356,16 +423,24 @@ Material:
- _DetailNormalMapScale: 1
- _DisTex_Uspeed: 0
- _DisTex_Vspeed: 0
+ - _DisableMainPassToggle: 0
- _DissolveAR: 1
+ - _DissolveBlockFoldOut: 0
- _DissolveC: 0
- _DissolveCV: 0
- _DissolveFactor: 0
- _DissolveFactorC: 1
- _DissolveFactorC1: 0
+ - _DissolveLineFoldOut: 0
- _DissolveLineMaskToggle: 0
+ - _DissolveMapFoldOut: 0
+ - _DissolveMaskFoldOut: 0
+ - _DissolveMaskMode: 0
+ - _DissolveMaskUVModeFoldOut: 0
- _DissolveMask_Toggle: 0
- _DissolveOffsetUC1: 1
- _DissolveOffsetVC1: 1
+ - _DissolvePNoiseBlendOpacity: 1
- _DissolvePlusAR: 0
- _DissolvePlusC: 0
- _DissolvePlusCV: 0
@@ -384,7 +459,9 @@ Material:
- _DissolvePlusTexVOffsetC: 1
- _DissolvePlusTexVSpeed: 0
- _DissolveRampColorBlendMode: 0
+ - _DissolveRampFoldOut: 0
- _DissolveRampSourceMode: 0
+ - _DissolveRampUVModeFoldOut: 0
- _DissolveSoft: 0.1
- _DissolveTexAR: 1
- _DissolveTexDetail: 0
@@ -400,11 +477,13 @@ Material:
- _DissolveTexVMirror: 0
- _DissolveTexVOffsetC: 1
- _DissolveTexVSpeed: 0
+ - _DissolveUVModeFoldOut: 0
- _DissolveVoronoi_Toggle: 0
- _DissolveWide: 0.05
- _Dissolve_Test_Toggle: 0
- _Dissolve_Toggle: 1
- _Dissolve_useRampMap_Toggle: 0
+ - _DistanceFadeFoldOut: 0
- _DistanceFade_Toggle: 0
- _DistortDissolveTex: 0
- _DistortFactor: 0.359
@@ -417,6 +496,8 @@ Material:
- _DistortMaskTexC: 0
- _DistortMaskTexCV: 0
- _DistortMaskTexR: 0
+ - _DistortMode: 0
+ - _DistortPNoiseBlendOpacity: 1
- _DistortRemap: 0
- _DistortTexAR: 1
- _DistortTexDetail: 0
@@ -437,11 +518,13 @@ Material:
- _DstBlendAlpha: 0
- _EdgeFade: 0.05
- _Emi_Distortion_intensity: 0
+ - _EmissionBlockFoldOut: 0
- _EmissionEnabled: 0
- _EmissionFollowMainTexUV: 0
- _EmissionMapColorIntensity: 1
- _EmissionMapUVRotation: 0
- _EmissionSelfAlphaWeight: 0
+ - _EmissionUVModeFoldOut: 0
- _EnvironmentReflections: 1
- _FDepth: 0
- _FDissolvePlusTex: 0
@@ -452,22 +535,31 @@ Material:
- _FNLfanxiangkaiguan: 0
- _Face: 1
- _Fail: 0
+ - _FeatureBigBlockItemFoldOut: 0
- _FlipbookBlending: 0
- _FlipbookMode: 0
- _FnlPower: 1
- _FnlScale: 0
- _ForceZWriteToggle: 0
+ - _Frame: 0
+ - _FrameInterpolation: 1
+ - _Frames: 10
- _FrePower: 0.5
+ - _FresnelBlockFoldOut: 0
- _FresnelColorAffectByAlpha: 1
- _FresnelFadeDistance: 1
- _FresnelInOutSlider: 1
- _FresnelMode: 0
- _FresnelSelfAlphaWeight: 0
- _FxLightMode: 0
+ - _GlobalPolarFoldOut: 0
+ - _GlobalTwirlFoldOut: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
+ - _HoudiniVATSubMode: 0
- _HueShift: 0
+ - _HueShiftFoldOut: 0
- _HueShift_Toggle: 0
- _IfAddTex: 0
- _IfAddTexAlpha: 0
@@ -484,23 +576,31 @@ Material:
- _IfRefactionMask: 0
- _IfVTO: 0
- _IgnoreVetexColor_Toggle: 0
+ - _ImportScale: 0.01
+ - _InterpolateLoop: 1
- _IntersectEnabled: 0
- _IntersectRadius: 0.3
- _InvertFresnel_Toggle: 0
+ - _LightBigBlockItemFoldOut: 0
+ - _LinearToGamma: 1
+ - _Loop: 1
- _MainAlpha: 10
- _MainOffsetUC1: 0
- _MainOffsetVC1: 0
- _MainRGBA: 14
- _MainTexAR: 0
+ - _MainTexBigBlockItemFoldOut: 0
- _MainTexCAFator: 0
- _MainTexDesaturate: 0
- _MainTexDetail: 0
+ - _MainTexPNoiseBlendOpacity: 1
- _MainTexRotator: 0
- _MainTexUClamp: 0
- _MainTexUMirror: 0
- _MainTexUOffsetC: 1
- _MainTexUSpeed: 0
- _MainTexUVClip: 1
+ - _MainTexUVModeFoldOut: 0
- _MainTexVClamp: 0
- _MainTexVMirror: 0
- _MainTexVOffsetC: 1
@@ -511,26 +611,35 @@ Material:
- _MainTex_rotat: 0
- _MaintexC: 0
- _MaintexCV: 0
+ - _Mask2BlockFoldOut: 0
+ - _Mask2UVModeFoldOut: 0
- _Mask2_Toggle: 0
+ - _Mask3BlockFoldOut: 0
+ - _Mask3UVModeFoldOut: 0
- _Mask3_Toggle: 0
- _MaskAlphaRA: 1
+ - _MaskBlockFoldOut: 0
- _MaskC: 0
- _MaskCV: 0
- _MaskDistortion_intensity: 0
- _MaskMap2GradientToggle: 0
- _MaskMap3GradientToggle: 0
+ - _MaskMapFoldOut: 0
- _MaskMapGradientToggle: 0
- _MaskMapRotationSpeed: 0
- _MaskMapUVRotation: 0
- _MaskOffsetUC1: 0
- _MaskOffsetVC1: 0
+ - _MaskPNoiseBlendOpacity: 1
- _MaskPlusAR: 1
- _MaskPlusC: 0
- _MaskPlusCV: 0
- _MaskPlusR: 0
- _MaskPlusUspeed: 0
- _MaskPlusVspeed: 0
+ - _MaskRefineFoldOut: 0
- _MaskRefineToggle: 0
+ - _MaskRotationFoldOut: 0
- _MaskTexAR: 1
- _MaskTexDetail: 0
- _MaskTexRotator: 0
@@ -543,32 +652,67 @@ Material:
- _MaskTexVMirror: 0
- _MaskTexVOffsetC: 1
- _MaskTexVSpeed: 0
+ - _MaskUVModeFoldOut: 0
- _Mask_RotationToggle: 0
- _Mask_Toggle: 0
- _Mask_Uspeed: 0
- _Mask_Vspeed: 0
- _Mask_rotat: 0
- _Mask_scale: 1
+ - _MatCapFoldOut: 0
- _MatCapToggle: 0
- _MeshSourceMode: 0
- _Metallic: 0
- _Mode: 0
+ - _NBShaderFeatureTier: 1
+ - _NB_Debug_Dissolve: 0
+ - _NB_Debug_Distort: 0
+ - _NB_Debug_Fresnel: 0
+ - _NB_Debug_Mask: 0
+ - _NB_Debug_PNoise: 0
+ - _NB_Debug_VertexOffset: 0
+ - _NoiseBlockFoldOut: 0
+ - _NoiseIntensity: 1
+ - _NoiseMapFoldOut: 0
- _NoiseMapUVRotation: 0
+ - _NoiseMaskBlockFoldOut: 0
+ - _NoiseMaskUVModeFoldOut: 0
+ - _NoiseUVModeFoldOut: 0
+ - _ObjectSpaceUVModeSelector: 1
- _OcclusionStrength: 1
+ - _OverrideZBlockFoldOut: 0
+ - _OverrideZValue: 1000
+ - _OverrideZ_Toggle: 0
- _Parallax: 0.005
+ - _ParallaxBlockFoldOut: 0
- _ParallaxMapping_Intensity: 0.05
- _ParallaxMapping_Toggle: 0
+ - _ParallaxUVModeFoldOut: 0
- _Pass: 0
- _PolarCoordinatesEnabled: 0
- _PolarCordinateOnlySpecialFunciton_Toggle: 0
+ - _PortalBlockFoldOut: 0
- _Portal_MaskToggle: 0
- _Portal_Toggle: 0
+ - _ProgramNoiseBaseBlendOpacity: 0
+ - _ProgramNoiseBlockFoldOut: 0
+ - _ProgramNoiseSimpleFoldOut: 0
+ - _ProgramNoiseUVModeFoldOut: 0
+ - _ProgramNoiseVoronoiFoldOut: 0
+ - _ProgramNoise_Rotate: 0
+ - _ProgramNoise_Simple_Toggle: 0
+ - _ProgramNoise_Toggle: 0
+ - _ProgramNoise_Voronoi_Toggle: 0
- _QueueBias: 0
- _QueueControl: -1
- _QueueOffset: 0
+ - _RGBAEncoded: 1
+ - _RGBAHalf: 1
- _RampColorBlendMode: 0
+ - _RampColorBlockFoldOut: 0
- _RampColorSourceMode: 0
- _RampColorToggle: 0
+ - _RampColorUVModeFoldOut: 0
- _ReFnl: 0
- _ReceiveShadows: 1
- _RefactionFactor: 0
@@ -592,28 +736,45 @@ Material:
- _RefactionTexVMirror: 0
- _RefactionTexVSpeed: 0
- _Reference: 0
+ - _RefractionIOR: 1.5
- _SB: 0
- _SBCompare: 0
- _Saturability: 0
+ - _SaturabilityFoldOut: 0
- _SceenTex: 0
- _Scr: 5
+ - _ScreenDistortAlphaAdd: 0
+ - _ScreenDistortAlphaFoldOut: 0
+ - _ScreenDistortAlphaMulti: 1
+ - _ScreenDistortAlphaPow: 1
+ - _ScreenDistortAlphaRefineToggle: 0
+ - _ScreenDistortIntensity: 1
- _ScreenDistortModeToggle: 0
+ - _ShaderKeywordFoldOut: 0
+ - _SharedUVBlockFoldOut: 0
+ - _SharedUVModeFoldOut: 0
+ - _SharedUVToggle: 0
- _SixWayColorAbsorptionToggle: 0
+ - _SkinBoneCount: 2
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
+ - _SoftParticlesFoldOut: 0
- _SpecialUVChannelMode: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
+ - _StencilFail: 0
- _StencilKeyIndex: 0
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWithoutPlayerToggle: 0
- _StencilWriteMask: 255
+ - _StencilZFail: 0
- _Surface: 0
+ - _TABigBlockItemFoldOut: 0
- _TWStrength: 0
- _TexDistortion_intensity: 0.5
- _TextureUScale: 1
@@ -622,10 +783,16 @@ Material:
- _TextureVValue: 0
- _TimeMode: 0
- _TransparentMode: 1
+ - _TransparentShadowDitherToggle: 0
+ - _TyFlowVATSubMode: 0
- _UIEffect_Toggle: 0
- _UTwirlEnabled: 0
- _UVPolar: 0
- _UseUV1_Toggle: 0
+ - _VATBlockFoldOut: 0
+ - _VATIncludesNormals: 0
+ - _VATMode: 0
+ - _VAT_Toggle: 0
- _VTOAR: 1
- _VTOC: 0
- _VTOCV: 0
@@ -648,30 +815,56 @@ Material:
- _VTOTexVSpeed: 0
- _VTOTex_Uspeed: 1
- _VTOTex_Vspeed: 1
+ - _VertexOffsetBlockFoldOut: 0
+ - _VertexOffsetMaskBlockFoldOut: 0
+ - _VertexOffsetMaskUVModeFoldOut: 0
+ - _VertexOffsetUVModeFoldOut: 0
- _VertexOffset_Mask_Toggle: 0
- _VertexOffset_NormalDir_Toggle: 1
- _VertexOffset_StartFromZero: 1
- _VertexOffset_Toggle: 0
- _WorkflowMode: 1
+ - _WorldSpaceUVModeSelector: 1
- _XianXingCH_UVRota: 0
+ - _ZOffsetBlockFoldOut: 0
- _ZOffset_Toggle: 0
- _ZTest: 4
- _ZWrite: 0
- _Ztest: 4
- _Zwrite: 0
- __dirty: 1
+ - _animateFirstFrame: 0
+ - _boundMaxX: 1
+ - _boundMaxY: 1
+ - _boundMaxZ: 1
+ - _boundMinX: -1
+ - _boundMinY: -1
+ - _boundMinZ: -1
+ - _displayFrame: 0
- _fnl_power: 3.33
- _fnl_sacle: 0.6
- _fogintensity: 1
+ - _frameCount: 1
- _fresnelEnabled: 1
+ - _gameTimeAtFirstFrame: 0
+ - _globalPscaleMul: 1
+ - _heightBaseScale: 0.2
+ - _houdiniFPS: 24
- _jingxiangCH_dire: 0
- _noiseMaskMap_Toggle: 0
- _noisemapEnabled: 0
- _offsetFactor: 0
- _offsetUnits: 0
+ - _originRadius: 0.02
+ - _particleTexUScale: 1
+ - _particleTexVScale: 1
+ - _playbackSpeed: 1
+ - _scaleByVelAmount: 1
- _softFacotr: 0
- _sot_sting_A: 0
+ - _spinPhase: 0
- _uvRapSoft: 0
+ - _widthBaseScale: 0.2
m_Colors:
- AlphaAllRangeVec: {r: 0, g: 1, b: 0, a: 0}
- BumpScaleRangeVec: {r: -1, g: 1, b: 0, a: 0}
@@ -764,8 +957,10 @@ Material:
- _MatCapColor: {r: 1, g: 1, b: 1, a: 1}
- _MatCapInfo: {r: 1, g: 0, b: 0, a: 0}
- _MaterialInfo: {r: 1, g: 1, b: 0, a: 0}
+ - _NoiseIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
- _NoiseOffset: {r: 0, g: 0, b: 0, a: 0}
- _PCCenter: {r: 0.5, g: 0.5, b: 1, a: 0}
+ - _ParallaxMapping_IntensityRangeVec: {r: 0, g: 0.1, b: 0, a: 0}
- _ParallaxMapping_Vec: {r: 5, g: 30, b: 0, a: 0}
- _RampColor0: {r: 0, g: 0, b: 0, a: 0}
- _RampColor1: {r: 1, g: 0, b: 0, a: 1}
@@ -778,6 +973,9 @@ Material:
- _RampColorAlpha2: {r: 1, g: 0, b: 1, a: 1}
- _RampColorBlendColor: {r: 1, g: 1, b: 1, a: 1}
- _RampColorMapOffset: {r: 0, g: 0, b: 0, a: 0}
+ - _ScreenDistortIntensityRangeVec: {r: 0, g: 1, b: 0, a: 0}
+ - _SharedUV_ST: {r: 1, g: 1, b: 0, a: 0}
+ - _SharedUV_Vec: {r: 0, g: 0, b: 0, a: 0}
- _SixWayEmissionColor: {r: 1, g: 0.5, b: 0, a: 1}
- _SixWayInfo: {r: 0.5, g: 0, b: 0, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0.5, b: 0, a: 0}
diff --git a/Assets/ThemeBundles/DepartureToMultiverse/Scripts/RuntimeCore/Environment/DTMStarrySkybox.cs b/Assets/ThemeBundles/DepartureToMultiverse/Scripts/RuntimeCore/Environment/DTMStarrySkybox.cs
index 6d154724..8c8ea116 100644
--- a/Assets/ThemeBundles/DepartureToMultiverse/Scripts/RuntimeCore/Environment/DTMStarrySkybox.cs
+++ b/Assets/ThemeBundles/DepartureToMultiverse/Scripts/RuntimeCore/Environment/DTMStarrySkybox.cs
@@ -176,7 +176,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
skyboxMaterial.SetFloat("_FogContrast", fogContrast);
// 通知引擎重烤全局间接光
- DynamicGI.UpdateEnvironment();
+ //DynamicGI.UpdateEnvironment();
}
public override void Refresh()
diff --git a/Packages/NBPostProcessing/.gitignore b/Packages/NBPostProcessing/.gitignore
deleted file mode 100644
index d5c5335e..00000000
--- a/Packages/NBPostProcessing/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-Runtime/.idea
diff --git a/Packages/NBPostProcessing/3DPostionShake.asset b/Packages/NBPostProcessing/3DPostionShake.asset
deleted file mode 100644
index 22d85a0b..00000000
--- a/Packages/NBPostProcessing/3DPostionShake.asset
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b97f6e4409bdb8989272ff38e5ccfd103de844f768f654de34a4f6fdfd01a21a
-size 1861
diff --git a/Packages/NBPostProcessing/3DPostionShake.asset.meta b/Packages/NBPostProcessing/3DPostionShake.asset.meta
deleted file mode 100644
index 02f2c88c..00000000
--- a/Packages/NBPostProcessing/3DPostionShake.asset.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c3a1931bdb3088e4ebf4755df90c90e9
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Editor.meta b/Packages/NBPostProcessing/Editor.meta
deleted file mode 100644
index 7eb97032..00000000
--- a/Packages/NBPostProcessing/Editor.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 0b3052f0c1288a045a0be3d63f109623
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Editor/PostProcessingControllerGUI.cs b/Packages/NBPostProcessing/Editor/PostProcessingControllerGUI.cs
deleted file mode 100644
index e2f82725..00000000
--- a/Packages/NBPostProcessing/Editor/PostProcessingControllerGUI.cs
+++ /dev/null
@@ -1,358 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEditor;
-using UnityEditor.AnimatedValues;
-using System.Reflection;
-#if CINIMACHINE_3_0
-using Unity.Cinemachine;
-#endif
-
-using System;
-// using Unity.Properties;
-
-[CustomEditor(typeof(PostProcessingController))]
-public class PostProcessingControllerGUI : Editor
-{
- private SerializedProperty _managerProperty;
- private SerializedProperty _indexProperty;
-
- private Action delayExcuteReflect = () => { };
-
- public override void OnInspectorGUI()
- {
- PostProcessingController ppController = (PostProcessingController)target;
- serializedObject.Update();
-
- _managerProperty = serializedObject.FindProperty("_manager");
- _indexProperty = serializedObject.FindProperty("_index");
- EditorGUI.BeginDisabledGroup(true);
- EditorGUILayout.PropertyField(_managerProperty);
- EditorGUI.EndDisabledGroup();
-
- EditorGUI.BeginChangeCheck();
- // ppController.customScreenCenterPos = EditorGUILayout.Vector2Field("自定义屏幕中心", ppController.customScreenCenterPos);
- SerializedProperty customScreenCenterPosProp = serializedObject.FindProperty("customScreenCenterPos");
- EditorGUILayout.PropertyField(customScreenCenterPosProp,new GUIContent("自定义屏幕中心"));
-
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetScreenCenterPos", ppController);
- }
-
- SerializedProperty caToggleProp = serializedObject.FindProperty("chromaticAberrationToggle");
- DrawToggleFoldOut(ppController.AnimBools[0], "色散", caToggleProp,
- drawEndChangeCheck: isChangeToggle => { ReflectMethod("InitAllSettings", ppController); }
- , drawBlock: isToggle =>
- {
- EditorGUI.BeginChangeCheck();
- // ppController.caFromDistort = EditorGUILayout.Toggle("色散UV跟随后处理扭曲", ppController.caFromDistort);
- SerializedProperty caFromDistortProp = serializedObject.FindProperty("caFromDistort");
- EditorGUILayout.PropertyField(caFromDistortProp, new GUIContent("色散UV跟随后处理扭曲"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetUVFromDistort", ppController);
- }
-
- // ppController.chromaticAberrationIntensity = EditorGUILayout.FloatField("色散强度", ppController.chromaticAberrationIntensity);
- SerializedProperty caIntensityProps = serializedObject.FindProperty("chromaticAberrationIntensity");
- EditorGUILayout.PropertyField(caIntensityProps, new GUIContent("色散强度"));
-
- if (!ppController.caFromDistort)
- {
- // ppController.chromaticAberrationPos = EditorGUILayout.FloatField("色散位置", ppController.chromaticAberrationPos);
- SerializedProperty caPosProp = serializedObject.FindProperty("chromaticAberrationPos");
- EditorGUILayout.PropertyField(caPosProp, new GUIContent("色散位置"));
-
- // ppController.chromaticAberrationRange = EditorGUILayout.FloatField("色散过渡范围", ppController.chromaticAberrationRange);
- SerializedProperty caRangeProp = serializedObject.FindProperty("chromaticAberrationRange");
- EditorGUILayout.PropertyField(caRangeProp, new GUIContent("色散过渡范围"));
- }
- });
-
- SerializedProperty distortSpeedToggleProp = serializedObject.FindProperty("distortSpeedToggle");
- DrawToggleFoldOut(ppController.AnimBools[1], "扭曲", distortSpeedToggleProp, drawEndChangeCheck:
- isChangeToggle => { ReflectMethod("InitAllSettings", ppController); },
- drawBlock: isToggle =>
- {
- EditorGUI.BeginChangeCheck();
- // ppController.distortScreenUVMode = EditorGUILayout.Toggle("后处理走常规屏幕坐标", ppController.distortScreenUVMode);
- SerializedProperty distortScreenUVModeProp = serializedObject.FindProperty("distortScreenUVMode");
- EditorGUILayout.PropertyField(distortScreenUVModeProp,new GUIContent("后处理走常规屏幕坐标"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetUVFromDistort", ppController);
- }
-
- EditorGUI.BeginChangeCheck();
- // ppController.distortSpeedTexture = (Texture2D)EditorGUILayout.ObjectField("后处理扭曲贴图", ppController.distortSpeedTexture, typeof(Texture2D));
- SerializedProperty distortSpeedTextureProp = serializedObject.FindProperty("distortSpeedTexture");
- EditorGUILayout.PropertyField(distortSpeedTextureProp, new GUIContent("后处理扭曲贴图"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("InitAllSettings", ppController);
- }
-
- if (ppController.distortScreenUVMode)
- {
- EditorGUI.BeginChangeCheck();
- // ppController.distortTextureMidValue = EditorGUILayout.FloatField("扭曲贴图中间值", ppController.distortTextureMidValue);
- SerializedProperty distortTextureMidValueProp = serializedObject.FindProperty("distortTextureMidValue");
- EditorGUILayout.PropertyField(distortTextureMidValueProp, new GUIContent("扭曲贴图中间值"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetTexture", ppController);
- }
- }
-
-
- // ppController.distortSpeedTexSt = EditorGUILayout.Vector4Field("扭曲贴图ST", ppController.distortSpeedTexSt);
- SerializedProperty distortSpeedTexStProp = serializedObject.FindProperty("distortSpeedTexSt");
- EditorGUILayout.PropertyField(distortSpeedTexStProp, new GUIContent("扭曲贴图缩放平移"));
- // ppController.distortSpeedIntensity = EditorGUILayout.FloatField("扭曲强度", ppController.distortSpeedIntensity);
- SerializedProperty distortSpeedIntensityProp = serializedObject.FindProperty("distortSpeedIntensity");
- EditorGUILayout.PropertyField(distortSpeedIntensityProp, new GUIContent("扭曲强度"));
-
- if (!ppController.distortScreenUVMode)
- {
- // ppController.distortSpeedPosition = EditorGUILayout.FloatField("扭曲位置", ppController.distortSpeedPosition);
- SerializedProperty distortSpeedPositionProp = serializedObject.FindProperty("distortSpeedPosition");
- EditorGUILayout.PropertyField(distortSpeedPositionProp, new GUIContent("扭曲位置"));
- // ppController.distortSpeedRange = EditorGUILayout.FloatField("扭曲过渡范围", ppController.distortSpeedRange);
- SerializedProperty distortSpeedRangeProp = serializedObject.FindProperty("distortSpeedRange");
- EditorGUILayout.PropertyField(distortSpeedRangeProp, new GUIContent("扭曲过渡范围"));
- }
-
- // ppController.distortSpeedMoveSpeedX = EditorGUILayout.FloatField("扭曲纹理流动X", ppController.distortSpeedMoveSpeedX);
- SerializedProperty distortSpeedMoveSpeedXProp = serializedObject.FindProperty("distortSpeedMoveSpeedX");
- EditorGUILayout.PropertyField(distortSpeedMoveSpeedXProp, new GUIContent("扭曲纹理流动X"));
- // ppController.distortSpeedMoveSpeed = EditorGUILayout.FloatField("扭曲纹理流动Y", ppController.distortSpeedMoveSpeed);
- SerializedProperty distortSpeedMoveSpeed = serializedObject.FindProperty("distortSpeedMoveSpeed");
- EditorGUILayout.PropertyField(distortSpeedMoveSpeed , new GUIContent("扭曲纹理流动Y"));
- });
-
-
- SerializedProperty radialBlurToggleProp = serializedObject.FindProperty("radialBlurToggle");
- DrawToggleFoldOut(ppController.AnimBools[2], "径向模糊", radialBlurToggleProp, drawEndChangeCheck:
- isChangeToggle => { ReflectMethod("InitAllSettings", ppController); },
- drawBlock: isToggle =>
- {
- EditorGUI.BeginChangeCheck();
- // ppController.radialBlurFromDistort = EditorGUILayout.Toggle("径向模糊跟随后处理扭曲", ppController.radialBlurFromDistort);
- SerializedProperty radialBlurFromDistortProp = serializedObject.FindProperty("radialBlurFromDistort");
- EditorGUILayout.PropertyField(radialBlurFromDistortProp, new GUIContent("径向模糊跟随后处理扭曲"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetUVFromDistort", ppController);
- }
-
- // ppController.radialBlurSampleCount = EditorGUILayout.IntSlider("采样次数", ppController.radialBlurSampleCount, 1, 12);
- SerializedProperty radialBlurSampleCountProp = serializedObject.FindProperty("radialBlurSampleCount");
- EditorGUILayout.PropertyField(radialBlurSampleCountProp, new GUIContent("采样次数"));
- // ppController.radialBlurIntensity = EditorGUILayout.FloatField("强度", ppController.radialBlurIntensity);
- SerializedProperty radialBlurIntensityProp = serializedObject.FindProperty("radialBlurIntensity");
- EditorGUILayout.PropertyField(radialBlurIntensityProp, new GUIContent("强度"));
- if (!ppController.radialBlurFromDistort)
- {
- // ppController.radialBlurPos = EditorGUILayout.FloatField("位置", ppController.radialBlurPos);\
- SerializedProperty radialBlurPosProp = serializedObject.FindProperty("radialBlurPos");
- EditorGUILayout.PropertyField(radialBlurPosProp, new GUIContent("位置"));
- // ppController.radialBlurRange = EditorGUILayout.FloatField("过渡范围", ppController.radialBlurRange);
- SerializedProperty radialBlurRangeProp = serializedObject.FindProperty("radialBlurRange");
- EditorGUILayout.PropertyField(radialBlurRangeProp, new GUIContent("过渡范围"));
- }
- });
-
- #if CINIMACHINE_3_0
- SerializedProperty cameraShakeToggleProp = serializedObject.FindProperty("cameraShakeToggle");
- DrawToggleFoldOut(ppController.AnimBools[3], "震屏", cameraShakeToggleProp, drawEndChangeCheck:
- isChangeToggle =>
- {
- ReflectMethod("InitAllSettings",ppController);
- },
- drawBlock: isToggle =>
- {
-
- EditorGUI.BeginChangeCheck();
- // ppController.cinemachineCamera = (CinemachineCamera)EditorGUILayout.ObjectField("绑定Cinemachine相机", ppController.cinemachineCamera, typeof(CinemachineCamera));
- SerializedProperty cinemachineCameraProp = serializedObject.FindProperty("cinemachineCamera");
- EditorGUILayout.PropertyField(cinemachineCameraProp, new GUIContent("绑定Cinemachine相机"));
- if (EditorGUI.EndChangeCheck())
- {
- // ReflectMethod("InitCinemachineCamera",ppController);
- ppController.InitCinemachineCamera();
- }
-
- // ppController.cameraShakeIntensity = EditorGUILayout.FloatField("相机震动强度", ppController.cameraShakeIntensity);
- SerializedProperty cameraShakeIntensityProp = serializedObject.FindProperty("cameraShakeIntensity");
- EditorGUILayout.PropertyField(cameraShakeIntensityProp, new GUIContent("相机震动强度"));
- });
- #endif
-
- SerializedProperty overlayTextureToggleProp = serializedObject.FindProperty("overlayTextureToggle");
- DrawToggleFoldOut(ppController.AnimBools[4], "肌理叠加图", overlayTextureToggleProp, drawEndChangeCheck:isChangeToggle =>
- {
- ReflectMethod("InitAllSettings", ppController);
- },
- drawBlock: isToggle =>
- {
- EditorGUI.BeginChangeCheck();
- // ppController.overlayTexturePolarCoordMode = EditorGUILayout.Toggle("肌理图极坐标模式", ppController.overlayTexturePolarCoordMode);
- SerializedProperty overlayTexturePolarCoordModeProp = serializedObject.FindProperty("overlayTexturePolarCoordMode");
- EditorGUILayout.PropertyField(overlayTexturePolarCoordModeProp, new GUIContent("肌理图极坐标模式"));
- // ppController.overlayTexture = (Texture2D)EditorGUILayout.ObjectField("肌理图", ppController.overlayTexture, typeof(Texture2D));
- SerializedProperty overlayTextureProp = serializedObject.FindProperty("overlayTexture");
- EditorGUILayout.PropertyField(overlayTextureProp, new GUIContent("肌理图"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetTexture",ppController);
- }
-
- // ppController.overlayTextureSt = EditorGUILayout.Vector4Field("肌理图缩放平移", ppController.overlayTextureSt);
- SerializedProperty overlayTextureStProp = serializedObject.FindProperty("overlayTextureSt");
- EditorGUILayout.PropertyField(overlayTextureStProp, new GUIContent("肌理图缩放平移"));
- // ppController.overlayTextureAnim = EditorGUILayout.Vector2Field("肌理图偏移动画", ppController.overlayTextureAnim);
- SerializedProperty overlayTextureAnimProp = serializedObject.FindProperty("overlayTextureAnim");
- EditorGUILayout.PropertyField(overlayTextureAnimProp, new GUIContent("肌理图偏移动画"));
- // ppController.overlayTextureIntensity = EditorGUILayout.FloatField("肌理图强度", ppController.overlayTextureIntensity);
- SerializedProperty overlayTextureIntensityProp = serializedObject.FindProperty("overlayTextureIntensity");
- EditorGUILayout.PropertyField(overlayTextureIntensityProp, new GUIContent("肌理图强度"));
-
- EditorGUI.BeginChangeCheck();
- // ppController.overlayMaskTexture = (Texture2D)EditorGUILayout.ObjectField("肌理蒙版图", ppController.overlayMaskTexture, typeof(Texture2D));
- SerializedProperty overlayMaskTextureProp = serializedObject.FindProperty("overlayMaskTexture");
- EditorGUILayout.PropertyField(overlayMaskTextureProp, new GUIContent("肌理蒙版图"));
- if (EditorGUI.EndChangeCheck())
- {
- ReflectMethod("SetTexture",ppController);
- }
-
- // ppController.overlayMaskTextureSt = EditorGUILayout.Vector4Field("肌理图蒙版缩放平移", ppController.overlayMaskTextureSt);
- SerializedProperty overlayMaskTextureStProp = serializedObject.FindProperty("overlayMaskTextureSt");
- EditorGUILayout.PropertyField(overlayMaskTextureStProp, new GUIContent("肌理图蒙版缩放平移"));
-
- });
-
- SerializedProperty flashToggleProp = serializedObject.FindProperty("flashToggle");
- DrawToggleFoldOut(ppController.AnimBools[5], "反闪", flashToggleProp, drawEndChangeCheck:
- isChangeToggle =>
- {
- ReflectMethod("InitAllSettings",ppController);
- },
- drawBlock: isToggle =>
- {
- // ppController.flashInvertIntensity = EditorGUILayout.FloatField("反转度", ppController.flashInvertIntensity);
- SerializedProperty flashInvertIntensityProp = serializedObject.FindProperty("flashInvertIntensity");
- EditorGUILayout.PropertyField(flashInvertIntensityProp, new GUIContent("反转度"));
- // ppController.flashDeSaturateIntensity = EditorGUILayout.FloatField("饱和度", ppController.flashDeSaturateIntensity);
- SerializedProperty flashDeSaturateIntensityProp = serializedObject.FindProperty("flashDeSaturateIntensity");
- EditorGUILayout.PropertyField(flashDeSaturateIntensityProp, new GUIContent("饱和度"));
- // ppController.flashContrast = EditorGUILayout.FloatField("对比度", ppController.flashContrast);
- SerializedProperty flashContrastProp = serializedObject.FindProperty("flashContrast");
- EditorGUILayout.PropertyField(flashContrastProp, new GUIContent("对比度"));
- // ppController.flashColor = EditorGUILayout.ColorField("闪颜色", ppController.flashColor);
- SerializedProperty flashColorProp = serializedObject.FindProperty("flashColor");
- EditorGUILayout.PropertyField(flashColorProp, new GUIContent("亮部闪颜色"));
- SerializedProperty blackFlashColorProp = serializedObject.FindProperty("blackFlashColor");
- EditorGUILayout.PropertyField(blackFlashColorProp, new GUIContent("暗部闪颜色"));
- });
-
- SerializedProperty vignetteToggleProp = serializedObject.FindProperty("vignetteToggle");
- DrawToggleFoldOut(ppController.AnimBools[6], "暗角", vignetteToggleProp, drawEndChangeCheck:
- isChangeToggle =>
- {
- ReflectMethod("InitAllSettings", ppController);
- },
- drawBlock: isToggle =>
- {
- // ppController.vignetteColor = EditorGUILayout.ColorField("暗角颜色", ppController.vignetteColor);
- SerializedProperty vignetteColorProp = serializedObject.FindProperty("vignetteColor");
- EditorGUILayout.PropertyField(vignetteColorProp, new GUIContent("暗角颜色"));
- // ppController.vignetteIntensity = EditorGUILayout.FloatField("暗角强度", ppController.vignetteIntensity);
- SerializedProperty vignetteIntensityProp = serializedObject.FindProperty("vignetteIntensity");
- EditorGUILayout.PropertyField(vignetteIntensityProp, new GUIContent("暗角强度"));
- // ppController.vignetteRoundness = EditorGUILayout.FloatField("暗角圆度", ppController.vignetteRoundness);
- SerializedProperty vignetteRoundnessProp = serializedObject.FindProperty("vignetteRoundness");
- EditorGUILayout.PropertyField(vignetteRoundnessProp, new GUIContent("暗角圆度"));
- // ppController.vignetteSmothness = EditorGUILayout.FloatField("暗角平滑度", ppController.vignetteSmothness);
- SerializedProperty vignetteSmothnessProp = serializedObject.FindProperty("vignetteSmothness");
- EditorGUILayout.PropertyField(vignetteSmothnessProp, new GUIContent("暗角平滑度"));
- });
-
- if (GUILayout.Button("选择当前Manager"))
- {
- ReflectMethod("FindManager",ppController);
- }
- #if CINIMACHINE_3_0
- if (GUILayout.Button("选择当前CinemachineCamera"))
- {
- ppController.FindVirtualCamera();
- }
- #endif
-
- serializedObject.ApplyModifiedProperties();
-
- }
-
- public void DrawToggleFoldOut(AnimBool foldOutAnimBool,string label, SerializedProperty boolProperty,
- bool isIndentBlock = true,
- FontStyle fontStyle = FontStyle.Bold,
- Action drawBlock = null, Action drawEndChangeCheck = null)
- {
- if (fontStyle == FontStyle.Bold)
- {
- EditorGUILayout.Space();
- }
-
- EditorGUILayout.BeginHorizontal();
- var rect = EditorGUILayout.GetControlRect();
-
- var foldoutRect = new Rect(rect.x, rect.y, rect.width, rect.height);
- // foldoutRect.width = toggleRect.x - foldoutRect.x;
- var labelRect = new Rect(rect.x + 18f, rect.y, rect.width - 18f, rect.height);
-
- // bool isToggle = false;
- // 必须先画Toggle,不然按钮会被FoldOut和Label覆盖。
- EditorGUI.BeginChangeCheck();
- EditorGUI.PropertyField(rect,boolProperty,new GUIContent(""));
- // isToggle = EditorGUI.Toggle(rect, isToggle, EditorStyles.toggle);
- if (EditorGUI.EndChangeCheck())
- {
- drawEndChangeCheck?.Invoke(boolProperty.boolValue);
- }
-
- // EditorGUI.DrawRect(foldoutRect,Color.red);
- foldOutAnimBool.target = EditorGUI.Foldout(foldoutRect, foldOutAnimBool.target, string.Empty, true);
- var origFontStyle = EditorStyles.label.fontStyle;
- EditorStyles.label.fontStyle = fontStyle;
- // EditorGUI.DrawRect(labelRect,Color.blue);
- EditorGUI.LabelField(labelRect, label);
- EditorStyles.label.fontStyle = origFontStyle;
- EditorGUILayout.EndHorizontal();
- if (isIndentBlock) EditorGUI.indentLevel++;
- float faded = foldOutAnimBool.faded;
- if (faded == 0) faded = 0.00001f; //用于欺骗FadeGroup,不要让他真的关闭了。这样会藏不住相关的GUI。我们的目的是,GUI藏住,但是逻辑还是在跑。drawBlock要执行。
- EditorGUILayout.BeginFadeGroup(faded);
- {
- EditorGUI.BeginDisabledGroup(!boolProperty.boolValue);
- drawBlock?.Invoke(boolProperty.boolValue);
- EditorGUI.EndDisabledGroup();
- }
- EditorGUILayout.EndFadeGroup();
- if (isIndentBlock) EditorGUI.indentLevel--;
- }
-
- void ReflectMethod(string methodName,PostProcessingController controller)
- {
- serializedObject.ApplyModifiedProperties();
- MethodInfo privateMethod = typeof(PostProcessingController).GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance);
- if (privateMethod != null)
- {
- privateMethod.Invoke(controller, null);
- }
- else
- {
- Debug.LogError("Private method " + methodName + " not found!");
- }
- }
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Editor/PostProcessingControllerGUI.cs.meta b/Packages/NBPostProcessing/Editor/PostProcessingControllerGUI.cs.meta
deleted file mode 100644
index 56b0cc48..00000000
--- a/Packages/NBPostProcessing/Editor/PostProcessingControllerGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ed187d8c0d9f5b14aa156ff45e7405c7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Editor/PostProcessingManagerGUI.cs b/Packages/NBPostProcessing/Editor/PostProcessingManagerGUI.cs
deleted file mode 100644
index 8cf9c75b..00000000
--- a/Packages/NBPostProcessing/Editor/PostProcessingManagerGUI.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEditor;
-using System.Reflection;
-
-[CustomEditor(typeof(PostProcessingManager))]
-public class PostProcessingManagerGUI : Editor
-{
- private PostProcessingManager _ppManager;
- public override void OnInspectorGUI()
- {
-
- _ppManager = (PostProcessingManager)target;
- serializedObject.Update();
- DrawToggle("controllerIndexFlags","_controllerIndexFlags");
- DrawToggle("色散开关",PostProcessingManager.chromaticAberrationToggles);
- DrawToggle("径向扭曲开关",PostProcessingManager.distortSpeedToggles);
- DrawToggle("径向模糊开关",PostProcessingManager.radialBlurToggles);
- #if CINIMACHINE_3_0
- DrawToggle("震屏开关",PostProcessingManager.cameraShakeToggles);
- #endif
- DrawToggle("肌理开关",PostProcessingManager.overlayTextureToggles);
- DrawToggle("黑白闪开关",PostProcessingManager.flashToggles);
- DrawToggle("暗角开关",PostProcessingManager.vignetteToggles);
- DrawToggle32("ShaderFlags", PostProcessingManager.material.GetInteger(NBPostProcessFlags.FlagsId));
-
- }
-
- void DrawToggle(string label, string propertyName)
- {
- int intValue = ReflectIntValue(propertyName);
- DrawToggle(label,intValue);
- }
-
- void DrawToggle(string label, int intValue)
- {
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.LabelField(label);
- EditorGUILayout.LabelField(BinaryIntDrawer.DrawBinaryInt(intValue,8));
- EditorGUILayout.EndHorizontal();
- }
- void DrawToggle32(string label, int intValue)
- {
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.LabelField(label);
- EditorGUILayout.LabelField(BinaryIntDrawer.DrawBinaryInt(intValue,32));
- EditorGUILayout.EndHorizontal();
- }
-
- int ReflectIntValue(string propertyName)
- {
-
- FieldInfo privateField = typeof(PostProcessingManager).GetField(propertyName, BindingFlags.NonPublic | BindingFlags.Instance);
-
- if (privateField != null)
- {
- // 获取私有字段的值
- int value = (int)privateField.GetValue(_ppManager);
- return value;
- }
- else
- {
- Debug.LogError("PostProcessingManagerGUI获取变量错误");
- return -1;
- }
-
- }
-
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Editor/PostProcessingManagerGUI.cs.meta b/Packages/NBPostProcessing/Editor/PostProcessingManagerGUI.cs.meta
deleted file mode 100644
index db7943c3..00000000
--- a/Packages/NBPostProcessing/Editor/PostProcessingManagerGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7bf2aa095c38c4972ba5c008ae40a3f3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Editor/com.xuanxuan.nb.postprocessing.Editor.asmdef b/Packages/NBPostProcessing/Editor/com.xuanxuan.nb.postprocessing.Editor.asmdef
deleted file mode 100644
index 99f989ff..00000000
--- a/Packages/NBPostProcessing/Editor/com.xuanxuan.nb.postprocessing.Editor.asmdef
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "name": "com.xuanxuan.nb.postprocessing.Editor",
- "rootNamespace": "",
- "references": [
- "GUID:a1f23b61b189bd949adfd0f7a353734f",
- "GUID:8495541fcd41b0c40b5b6e6e7a7639d1",
- "GUID:8f9e4d586616f13449cfeb86c5f704c2",
- "GUID:4307f53044263cf4b835bd812fc161a4"
- ],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": [],
- "allowUnsafeCode": false,
- "overrideReferences": false,
- "precompiledReferences": [],
- "autoReferenced": true,
- "defineConstraints": [],
- "versionDefines": [
- {
- "name": "com.unity.cinemachine",
- "expression": "3.0",
- "define": "CINIMACHINE_3_0"
- }
- ],
- "noEngineReferences": false
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Editor/com.xuanxuan.nb.postprocessing.Editor.asmdef.meta b/Packages/NBPostProcessing/Editor/com.xuanxuan.nb.postprocessing.Editor.asmdef.meta
deleted file mode 100644
index 203bf75e..00000000
--- a/Packages/NBPostProcessing/Editor/com.xuanxuan.nb.postprocessing.Editor.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 12fb0c569d0951c40a3f4013cd8758b5
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/README.md b/Packages/NBPostProcessing/README.md
deleted file mode 100644
index 5119ee6e..00000000
--- a/Packages/NBPostProcessing/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# NBPostProcessing
-NBPostProcessing
diff --git a/Packages/NBPostProcessing/README.md.meta b/Packages/NBPostProcessing/README.md.meta
deleted file mode 100644
index c9297598..00000000
--- a/Packages/NBPostProcessing/README.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 11345d4fc578e4c15a13b9e5a61107df
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime.meta b/Packages/NBPostProcessing/Runtime.meta
deleted file mode 100644
index 68ada299..00000000
--- a/Packages/NBPostProcessing/Runtime.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4f0e3118134388949838b53cc48e9c89
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime/NBPostProcess.cs b/Packages/NBPostProcessing/Runtime/NBPostProcess.cs
deleted file mode 100644
index 1e282320..00000000
--- a/Packages/NBPostProcessing/Runtime/NBPostProcess.cs
+++ /dev/null
@@ -1,485 +0,0 @@
-// using ConfigSystem.MConfig;
-// using Sirenix.OdinInspector;
-using UnityEngine;
-using UnityEngine.Rendering;
-using UnityEngine.Rendering.Universal;
-using System.Collections.Generic;
-
-namespace MhRender.RendererFeatures
-{
- public class NBPostProcess : ScriptableRendererFeature
- {
- private NBPostProcessRenderPass _renderPass;
- private DisturbanceMaskRenderPass _disturbanceMaskRenderPass;
- private ScreenColorRenderPass _screenColorRenderPass;
-
-
- public static Material NBPostProcessMaterial;
-
- //public MaskFormat maskFormat = MaskFormat.RG32;
- public Downsampling downSampling = Downsampling.None;
- public LayerMask disturbanceLayerMask=1 << 25;
-
- private Material _disturbanceDownSampleMat;
- private Material _screenColorDownSampleMat;
- private float _screenHeight;
- private ProfilingSampler _profilingSampler;
-
- // private PostProcessingManager manager;-+
- static Mesh s_FullscreenTriangle;
- ///
- /// A fullscreen triangle mesh.抄自Unity的后处理包,拿到一个全屏的Triangle。
- ///
- static Mesh fullscreenTriangle;
- // {
- // get
- // {
- // if (s_FullscreenTriangle != null)
- // return s_FullscreenTriangle;
- //
- // s_FullscreenTriangle = new Mesh
- // {
- // name = "Fullscreen Triangle"
- // };
- //
- // // Because we have to support older platforms (GLES2/3, DX9 etc) we can't do all of
- // // this directly in the vertex shader using vertex ids :(
- // s_FullscreenTriangle.SetVertices(new List
- // {
- // new Vector3 (-1f, -1f, 0f),
- // new Vector3 (-1f, 3f, 0f),
- // new Vector3 (3f, -1f, 0f)
- // // new Vector3 (3f, -1f, 0f),
- // // new Vector3 (-1f, 3f, 0f),
- // // new Vector3 (-1f, -1f, 0f)
- // });
- // s_FullscreenTriangle.SetIndices(new[]
- // {
- // 0,
- // 1,
- // 2
- // }, MeshTopology.Triangles, 0, false);
- // s_FullscreenTriangle.UploadMeshData(false);
- //
- // meshTest = s_FullscreenTriangle;
- // return s_FullscreenTriangle;
- // }
- // }
-
-
- private bool canFind = false;
- public override void Create()
- {
-
- if (Shader.Find("XuanXuan/ColorBlit") == null ||
- Shader.Find("XuanXuan/Postprocess/NBPostProcessUber") == null)
- {
- canFind = false;
- return;
- }
- else
- {
- canFind = true;
- }
-
- #if UNIVERSAL_RP_13_1_2_OR_NEWER
- _screenColorDownSampleMat = CoreUtils.CreateEngineMaterial(Shader.Find("XuanXuan/ColorBlit"));
- #else
- _screenColorDownSampleMat = CoreUtils.CreateEngineMaterial(Shader.Find("XuanXuan/ColorBufferBlit"));
- #endif
- _screenColorRenderPass = new ScreenColorRenderPass(_screenColorDownSampleMat, downSampling);
- _screenColorRenderPass.renderPassEvent = RenderPassEvent.AfterRenderingTransparents;
-
-
- _profilingSampler = new ProfilingSampler("DisturbanceRender");
- _disturbanceDownSampleMat = CoreUtils.CreateEngineMaterial(Shader.Find("XuanXuan/ColorBlit"));
- _disturbanceMaskRenderPass = new DisturbanceMaskRenderPass(_profilingSampler,_disturbanceDownSampleMat,downSampling,disturbanceLayerMask);
- _disturbanceMaskRenderPass.renderPassEvent = RenderPassEvent.AfterRenderingTransparents;
-
-
-
- #if !UNIVERSAL_RP_13_1_2_OR_NEWER
- _profilingSampler = new ProfilingSampler("DisturbanceDownRTBlit");
- #endif
-
- if (fullscreenTriangle == null)
- {
- /*UNITY_NEAR_CLIP_VALUE*/
- float nearClipZ = -1;
- if (SystemInfo.usesReversedZBuffer)
- nearClipZ = 1;
-
- fullscreenTriangle = new Mesh();
- fullscreenTriangle.vertices = GetFullScreenTriangleVertexPosition(nearClipZ);
- fullscreenTriangle.uv = GetFullScreenTriangleTexCoord();
- fullscreenTriangle.triangles = new int[3] { 0, 1, 2 };
- }
-
- // Shader shader = Shader.Find("XuanXuan/Postprocess/NBPostProcessUber");
- NBPostProcessMaterial = CoreUtils.CreateEngineMaterial(Shader.Find("XuanXuan/Postprocess/NBPostProcessUber"));
-
- PostProcessingManager.InitMat();
-
- // if (Application.isPlaying)
- // {
- // manager = PostProcessingManager.Instance;
- // }
- _renderPass = new NBPostProcessRenderPass(NBPostProcessMaterial,fullscreenTriangle);
- _renderPass.renderPassEvent = RenderPassEvent.AfterRenderingTransparents;
-
- }
-
- #if UNIVERSAL_RP_13_1_2_OR_NEWER
-
- public override void SetupRenderPasses(ScriptableRenderer renderer, in RenderingData renderingData)
- {
- if ((renderingData.cameraData.cameraType == CameraType.Game ||
- renderingData.cameraData.cameraType == CameraType.SceneView) && canFind)
- {
- //_disturbanceMaskRenderPass.SetUp(renderer.cameraDepthTargetHandle);
- //if (renderingData.cameraData.cameraType == CameraType.Game)
- //{
- // _screenHeight = renderer.cameraDepthTargetHandle.rt.descriptor.height;
- //}
-
- _disturbanceMaskRenderPass.ConfigureInput(ScriptableRenderPassInput.Color);
- _disturbanceMaskRenderPass.SetUp(renderer.cameraColorTargetHandle);
-
- _screenColorRenderPass.ConfigureInput(ScriptableRenderPassInput.Color);
- _screenColorRenderPass.SetUp(renderer.cameraColorTargetHandle);
- }
- }
-
- #endif
-
- public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
- {
- if ((renderingData.cameraData.cameraType == CameraType.Game ||
- renderingData.cameraData.cameraType == CameraType.SceneView) && canFind)
- {
-
- #if !UNIVERSAL_RP_13_1_2_OR_NEWER
- // _disturbanceMaskRenderPass.ConfigureInput(ScriptableRenderPassInput.Color);
- // _disturbanceMaskRenderPass.SetUp(renderer.cameraColorTargetHandle);
- _screenColorRenderPass.ConfigureInput(ScriptableRenderPassInput.Color);
- _screenColorRenderPass.SetUp(renderer);
- #endif
- renderer.EnqueuePass(_screenColorRenderPass);
- renderer.EnqueuePass(_disturbanceMaskRenderPass);
- renderer.EnqueuePass(_renderPass);
- }
- }
-
- // Should match Common.hlsl
- static Vector3[] GetFullScreenTriangleVertexPosition(float z /*= UNITY_NEAR_CLIP_VALUE*/)
- {
- var r = new Vector3[3];
- for (int i = 0; i < 3; i++)
- {
- Vector2 uv = new Vector2((i << 1) & 2, i & 2);
- r[i] = new Vector3(uv.x * 2.0f - 1.0f, uv.y * 2.0f - 1.0f, z);
- }
- return r;
- }
-
- // Should match Common.hlsl
- static Vector2[] GetFullScreenTriangleTexCoord()
- {
- var r = new Vector2[3];
- for (int i = 0; i < 3; i++)
- {
- if (SystemInfo.graphicsUVStartsAtTop)
- r[i] = new Vector2((i << 1) & 2, 1.0f - (i & 2));
- else
- r[i] = new Vector2((i << 1) & 2, i & 2);
- }
- return r;
- }
-
- protected override void Dispose(bool disposing)
- {
- CoreUtils.Destroy(_disturbanceDownSampleMat);
- //CoreUtils.Destroy(NBPostProcessMaterial);
- _disturbanceMaskRenderPass?.Dispose();
- CoreUtils.Destroy(_screenColorDownSampleMat);
- _screenColorRenderPass?.Dispose();
-
-
- }
- }
- public class DisturbanceMaskRenderPass : ScriptableRenderPass
- {
-
- private ProfilingSampler _profilingSampler;
- #if UNIVERSAL_RP_13_1_2_OR_NEWER
- private RTHandle _DisturbanceMaskRTHandle;
- private RTHandle _cameraDepthRTHandle;
- private RTHandle _DownRT;
- #else
- private static readonly int _DisturbanceMaskRTID = Shader.PropertyToID("_DisturbanceMaskRT");
- private static readonly int _DownRTID = Shader.PropertyToID("_DisturbanceMaskTex");
- private RenderTargetIdentifier _DisturbanceMaskRTHandle = new RenderTargetIdentifier (_DisturbanceMaskRTID);
- private RenderTargetIdentifier _cameraDepthRTHandle;
- private RenderTargetIdentifier _DownRT = new RenderTargetIdentifier (_DownRTID);
- #endif
- private Material tempMat;
-
- private readonly Downsampling _downSampling;
- //private readonly MaskFormat _maskFormat;
-
- private Material _renderMaskMat ;
- public LayerMask _DisturbanceMaskLayer = 1 << 25;
- private FilteringSettings _Filtering;
- private static readonly int CameraTexture = Shader.PropertyToID("_CameraTexture");
- private static readonly int SampleOffset = Shader.PropertyToID("_SampleOffset");
-
- private readonly List _shaderTag = new List()
- {
- new ShaderTagId("UniversalForward"),
- new ShaderTagId("SRPDefaultUnlit"),
- new ShaderTagId("UniversalForwardOnly")
- };
-
- public DisturbanceMaskRenderPass(ProfilingSampler profilingSampler,Material DisturbanceMaskMat, Downsampling downSampling,LayerMask disturbanceMaskLayer)
- {
- _profilingSampler = profilingSampler;
- _renderMaskMat = DisturbanceMaskMat;
- _downSampling = downSampling;
- _DisturbanceMaskLayer = disturbanceMaskLayer;
- }
-
- #if UNIVERSAL_RP_13_1_2_OR_NEWER
-
- public void SetUp ( RTHandle cameraRTHandle )
- {
-
- RenderTextureDescriptor descrip = cameraRTHandle.rt.descriptor;
-
- descrip.colorFormat = RenderTextureFormat.RG32;
- descrip.depthBufferBits = 0;
- RenderingUtils.ReAllocateIfNeeded(ref _DisturbanceMaskRTHandle, descrip, name: "DisturbanceMaskRT");
-
-
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- descrip.width /= 2;
- descrip.height /= 2;
- break;
- case Downsampling._4xBilinear:
- descrip.width /= 4;
- descrip.height /= 4;
- break;
- case Downsampling._4xBox:
- descrip.width /= 4;
- descrip.height /= 4;
- break;
- }
- RenderingUtils.ReAllocateIfNeeded(ref _DownRT, descrip, name:"MaskDownCopyRT");
- }
- #else
- //在AddPass之前触发
-
- public void SetUpDisturbanceMask(RenderTextureDescriptor descrip ,CommandBuffer cmd)
- {
-
- descrip.colorFormat = RenderTextureFormat.RG32;
- descrip.depthBufferBits = 0;
- cmd.GetTemporaryRT(_DisturbanceMaskRTID, descrip,FilterMode.Bilinear);
-
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- descrip.width /= 2;
- descrip.height /= 2;
- break;
- case Downsampling._4xBilinear:
- descrip.width /= 4;
- descrip.height /= 4;
- break;
- case Downsampling._4xBox:
- descrip.width /= 4;
- descrip.height /= 4;
- break;
- }
- cmd.GetTemporaryRT(_DownRTID, descrip,FilterMode.Bilinear);
- }
- #endif
-
- public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData)
- {
- _Filtering = new FilteringSettings(RenderQueueRange.all, _DisturbanceMaskLayer);
- #if UNIVERSAL_RP_13_1_2_OR_NEWER
- _cameraDepthRTHandle = renderingData.cameraData.renderer.cameraDepthTargetHandle;
- #else
- _cameraDepthRTHandle = renderingData.cameraData.renderer.cameraDepthTarget;
- SetUpDisturbanceMask(renderingData.cameraData.cameraTargetDescriptor,cmd);
- #endif
-
- }
-
- private readonly Color _clearDisturbanceMaskColor = new Color(0.5f, 0.5f, 0f, 1f);
-
- public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)
- {
-#if UNIVERSAL_RP_13_1_2_OR_NEWER
- ConfigureTarget(_DisturbanceMaskRTHandle, _cameraDepthRTHandle);
-#else
- ConfigureTarget(_DisturbanceMaskRTID, _cameraDepthRTHandle);
-
-#endif
- //将RT清空
- ConfigureClear(ClearFlag.Color, _clearDisturbanceMaskColor);
- }
-
- public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
- {
-
- if (!(renderingData.cameraData.cameraType == CameraType.Game || renderingData.cameraData.cameraType == CameraType.SceneView))
- return;
-
- if (!_renderMaskMat)
- {
- return;
- }
-
- var DisturbanceDraw = CreateDrawingSettings(_shaderTag, ref renderingData, renderingData.cameraData.defaultOpaqueSortFlags);
-
- CommandBuffer cmd = CommandBufferPool.Get();
- using (new ProfilingScope(cmd, _profilingSampler))
- {
- context.DrawRenderers(renderingData.cullResults, ref DisturbanceDraw, ref _Filtering);
-
-#if UNIVERSAL_RP_13_1_2_OR_NEWER
- _renderMaskMat.SetTexture(CameraTexture, _DisturbanceMaskRTHandle);
- cmd.SetRenderTarget((RenderTargetIdentifier)_DownRT);
-
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, Vector2.one, _renderMaskMat, 0);
- break;
- case Downsampling._4xBilinear:
- Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, Vector2.one, _renderMaskMat, 0);
- break;
- case Downsampling._4xBox:
- _renderMaskMat.SetFloat(SampleOffset, 2);
- Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, Vector2.one, _renderMaskMat, 1);
- break;
- default:
- Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, Vector2.one, _renderMaskMat, 0);
- break;
- }
-
-#else
-
- // cmd.SetGlobalTexture(_DisturbanceMaskRTID, _DisturbanceMaskRTHandle);
- //Bug:在非播放状态时,_DisturbanceMaskRTID在这里会经常丢失。造成画面闪烁。但是,只要有一个DistortObject在Scene中,并LockInspector,就不会闪烁,非常奇怪。
- cmd.SetGlobalTexture(CameraTexture, _DisturbanceMaskRTHandle);
- // _renderMaskMat.SetTexture(CameraTexture, Shader.GetGlobalTexture(_DisturbanceMaskRTID));
- cmd.SetRenderTarget(_DownRT);
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- // Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 0);
- // cmd.Blit(_DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 0);
- // cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _renderMaskMat, 0, 2);
- Blit(cmd, _DisturbanceMaskRTHandle,_DownRT,_renderMaskMat,0);
- break;
- case Downsampling._4xBilinear:
- // Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 0);
- // cmd.Blit(_DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 0);
- // cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _renderMaskMat, 0, 2);
- Blit(cmd, _DisturbanceMaskRTHandle,_DownRT,_renderMaskMat,0);
- break;
- case Downsampling._4xBox:
- _renderMaskMat.SetFloat(SampleOffset, 2);
- // Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 1);
- // cmd.Blit(_DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 1);
- // cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _renderMaskMat, 0, 3);
- Blit(cmd, _DisturbanceMaskRTHandle,_DownRT,_renderMaskMat,1);
- break;
- default:
- // Blitter.BlitTexture(cmd, _DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 0);
- // cmd.Blit(_DisturbanceMaskRTHandle, _DownRT, _renderMaskMat, 0);
- // cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _renderMaskMat, 0, 2);
- Blit(cmd, _DisturbanceMaskRTHandle,_DownRT,_renderMaskMat,0);
- break;
- }
-#endif
- cmd.SetGlobalTexture("_DisturbanceMaskTex", _DownRT);
-
- }
- context.ExecuteCommandBuffer(cmd);
- CommandBufferPool.Release(cmd);
- }
-
- #if !UNIVERSAL_RP_13_1_2_OR_NEWER
- // Cleanup any allocated resources that were created during the execution of this render pass.
- public override void OnCameraCleanup(CommandBuffer cmd)
- {
- cmd.ReleaseTemporaryRT(_DisturbanceMaskRTID);
- cmd.ReleaseTemporaryRT(_DownRTID);
- }
-
- //JustForSimple
- public void Dispose()
- {
- }
- #else
-
- public void Dispose()
- {
- _DisturbanceMaskRTHandle?.Release();
- _DownRT?.Release();
- }
- #endif
- }
- public class NBPostProcessRenderPass : ScriptableRenderPass
- {
- private ProfilingSampler _profilingSampler;
- public static Material _material;
- public Mesh _fullScreenMesh;
-
- public NBPostProcessFlags _shaderFlag => PostProcessingManager.flags;
-
- private Vector4 _lastOutlineProps;
- public Vector4 outLinePorps = Vector4.one;
-
- public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
- {
- if (!(renderingData.cameraData.cameraType == CameraType.Game || renderingData.cameraData.cameraType == CameraType.SceneView))
- return;
-
- // if(!_shaderFlag.CheckFlagBits(NBPostProcessFlags.FLAG_BIT_NB_POSTPROCESS_ON))return;//Disturbance需要执行
-
- //ConfigureTarget()
- CommandBuffer cmdBuffer = CommandBufferPool.Get();
- cmdBuffer.Clear();
- // cmdBuffer.name = "NBPostProcess";
-
- using (new ProfilingScope(cmdBuffer,_profilingSampler))
- {
- Camera camera = renderingData.cameraData.camera;
- cmdBuffer.SetViewProjectionMatrices(Matrix4x4.identity, Matrix4x4.identity);
-
- if(_material == null) return;
- cmdBuffer.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _material, 0, 0);
-
- cmdBuffer.SetViewProjectionMatrices(camera.worldToCameraMatrix, camera.projectionMatrix);
-
- }
-
- context.ExecuteCommandBuffer(cmdBuffer);
- CommandBufferPool.Release(cmdBuffer);
- }
-
- public NBPostProcessRenderPass(Material mat,Mesh mesh)
- {
- _material = mat;
- _fullScreenMesh = mesh;
- _profilingSampler ??= new ProfilingSampler("NBPostProcess");
-
- }
- }
-}
diff --git a/Packages/NBPostProcessing/Runtime/NBPostProcess.cs.meta b/Packages/NBPostProcessing/Runtime/NBPostProcess.cs.meta
deleted file mode 100644
index e1753857..00000000
--- a/Packages/NBPostProcessing/Runtime/NBPostProcess.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d5a1f9350d8fc2c46a372955ef0e73b5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime/NBPostprocessFlags.cs b/Packages/NBPostProcessing/Runtime/NBPostprocessFlags.cs
deleted file mode 100644
index d1f0be67..00000000
--- a/Packages/NBPostProcessing/Runtime/NBPostprocessFlags.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using UnityEngine;
-
-public class NBPostProcessFlags: ShaderFlagsBase
-{
- public const string FlagsName = "_NBPostProcessFlags";
- public static int FlagsId = Shader.PropertyToID(FlagsName);
-
- public override int GetShaderFlagsId(int index = 0)
- {
- return FlagsId;
- }
-
- protected override string GetShaderFlagsName(int index = 0)
- {
- return FlagsName;
- }
-
- public NBPostProcessFlags(Material material = null): base(material)
- {
- }
-
- public const int FLAG_BIT_NB_POSTPROCESS_ON = 1 << 0;
- public const int FLAG_BIT_DISTORT_SPEED = 1 << 1;
- public const int FLAG_BIT_OVERLAYTEXTURE = 1 << 2;
- public const int FLAG_BIT_FLASH = 1 << 3;
- public const int FLAG_BIT_CHORATICABERRAT = 1 << 4;
- public const int FLAG_BIT_RADIALBLUR = 1 << 5;
- public const int FLAG_BIT_VIGNETTE = 1 << 6;
- public const int FLAG_BIT_OVERLAYTEXTURE_POLLARCOORD = 1 << 7;
- public const int FLAG_BIT_OVERLAYTEXTURE_MASKMAP = 1 << 8;
- public const int FLAG_BIT_POST_DISTORT_SCREEN_UV = 1 << 9;//默认来自于PolarUV
- public const int FLAG_BIT_RADIALBLUR_BY_DISTORT = 1 << 10;//默认来自于PolarUV
- public const int FLAG_BIT_CHORATICABERRAT_BY_DISTORT = 1 << 11;//默认来自于PolarUV
-
-
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Runtime/NBPostprocessFlags.cs.meta b/Packages/NBPostProcessing/Runtime/NBPostprocessFlags.cs.meta
deleted file mode 100644
index 12f79afb..00000000
--- a/Packages/NBPostProcessing/Runtime/NBPostprocessFlags.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: be6a95b97f4bc3846bdada66138f6da1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime/PostProcessingController.cs b/Packages/NBPostProcessing/Runtime/PostProcessingController.cs
deleted file mode 100644
index 85346413..00000000
--- a/Packages/NBPostProcessing/Runtime/PostProcessingController.cs
+++ /dev/null
@@ -1,604 +0,0 @@
-using System;
-using UnityEngine;
-// using Sirenix.OdinInspector;
-#if CINIMACHINE_3_0
-using Unity.Cinemachine;
-#endif
-// using Unity.Cinemachine.Editor;
-#if UNITY_EDITOR
-using UnityEditor.AnimatedValues;
-using UnityEditor;
-#endif
-
-
-
-[ExecuteInEditMode]
-public class PostProcessingController : MonoBehaviour
-{
- #if UNITY_EDITOR
- public AnimBool[] AnimBools = new AnimBool[10];
- #endif
- // [ShowInInspector][ReadOnly]
- [SerializeField]
- private PostProcessingManager _manager;
-
- public int index
- {
- get
- {
- return _index;
- }
- }
-
- // [ShowInInspector][ReadOnly]
- private int _index;
-
- public void SetIndex(int controllerIndex)
- {
- _index = controllerIndex;
- }
-
-
- // [OnValueChanged("SetScreenCenterPos")]
- // [LabelText("自定义屏幕中心")]
- public Vector2 customScreenCenterPos = new Vector2(0.5f, 0.5f);
-
- private Vector2 _lastCustomScreenCenterPos = new Vector2(0.5f, 0.5f);
-
-
- // [OnValueChanged("SetToggles")]
- // [ToggleGroup("chromaticAberrationToggle", "色散")]
- // [OnValueChanged("InitAllSettings")]
- public bool chromaticAberrationToggle = false;
-
- // [OnValueChanged("SetUVFromDistort")]
- // [LabelText("色散UV跟随后处理扭曲")]
- // [ToggleGroup("chromaticAberrationToggle")]
- public bool caFromDistort = false;
-
- // [LabelText("色散强度")]
- // [ToggleGroup("chromaticAberrationToggle")]
- public float chromaticAberrationIntensity = 0.2f;
-
- // [HideIf("caFromDistort")]
- // [LabelText("色散位置")]
- // [ToggleGroup("chromaticAberrationToggle")]
- public float chromaticAberrationPos = 0.5f;
-
- // [HideIf("caFromDistort")]
- // [LabelText("色散过渡范围")]
- // [ToggleGroup("chromaticAberrationToggle")]
- public float chromaticAberrationRange = 0.5f;
-
- // [OnValueChanged("SetToggles")]
- // [ToggleGroup("distortSpeedToggle", "扭曲")]
- public bool distortSpeedToggle = false;
-
- // [ToggleGroup("distortSpeedToggle")]
- // [LabelText("后处理走常规屏幕坐标")]
- // [OnValueChanged("SetUVFromDistort")]
- public bool distortScreenUVMode = false;
-
- // [LabelText("后处理扭曲")]
- // [ToggleGroup("distortSpeedToggle")]
- // [OnValueChanged("InitAllSettings")]
- public Texture2D distortSpeedTexture;
-
- // [LabelText("扭曲贴图中间值")]
- // [ToggleGroup("distortSpeedToggle")]
- // [OnValueChanged("SetTexture")]
- public float distortTextureMidValue = 1;
-
- // [LabelText("扭曲贴图ST")]
- // [ToggleGroup("distortSpeedToggle")]
- public Vector4 distortSpeedTexSt = new Vector4(30,1,0,0);
-
-
- // [LabelText("扭曲强度")]
- // [ToggleGroup("distortSpeedToggle")]
- public float distortSpeedIntensity = 1f;
-
- // [HideIf("distortScreenUVMode")]
- // [LabelText("扭曲位置")]
- // [ToggleGroup("distortSpeedToggle")]
- public float distortSpeedPosition = 0.5f;
-
- // [HideIf("distortScreenUVMode")]
- // [LabelText("扭曲范围")]
- // [ToggleGroup("distortSpeedToggle")]
- public float distortSpeedRange = 1f;
-
- // [LabelText("扭曲纹理流动X")]
- // [ToggleGroup("distortSpeedToggle")]
- public float distortSpeedMoveSpeedX = 0.1f;
- // [LabelText("扭曲纹理流动Y")]
- // [ToggleGroup("distortSpeedToggle")]
- public float distortSpeedMoveSpeed = -0.5f;//因为老的做法是没有X偏移的,只有Y的偏移,不改变量兼容老做法。
- private readonly int _distortSpeedTextureID = Shader.PropertyToID("_SpeedDistortMap");
- private readonly int _distortSpeedTextureStID = Shader.PropertyToID("_SpeedDistortMap_ST");
-
- // [ToggleGroup("radialBlurToggle", "径向模糊")]
- // [OnValueChanged("InitAllSettings")]
- public bool radialBlurToggle = false;
-
- // [OnValueChanged("SetUVFromDistort")]
- // [ToggleGroup("radialBlurToggle")] [LabelText("径向模糊跟随后处理扭曲")]
- public bool radialBlurFromDistort = false;
-
- // [ToggleGroup("radialBlurToggle")]
- // [LabelText("采样次数")]
- [Range(1,12)]
- public int radialBlurSampleCount = 4;
- // [ToggleGroup("radialBlurToggle")]
- // [LabelText("强度")]
- public float radialBlurIntensity = 1;
- // [HideIf("radialBlurFromDistort")]
- // [LabelText("位置")]
- // [ToggleGroup("radialBlurToggle")]
- public float radialBlurPos = 0.5f;
- // [HideIf("radialBlurFromDistort")]
- // [LabelText("过度范围")]
- // [ToggleGroup("radialBlurToggle")]
- public float radialBlurRange = 0.5f;
-
- #if CINIMACHINE_3_0
- // [OnValueChanged("SetToggles")]
- // [ToggleGroup("cameraShakeToggle", "震屏")]
- // [OnValueChanged("InitAllSettings")]
- public bool cameraShakeToggle = false;
-
- // [ToggleGroup("cameraShakeToggle")]
- // [LabelText("绑定Cinemachine相机")]
- // [OnValueChanged("InitCinemachineCamera")]
- public CinemachineCamera cinemachineCamera;
-
- // [ToggleGroup("cameraShakeToggle")]
- // [LabelText("相机震动强度")]
- public float cameraShakeIntensity;
- #endif
-
- // [ToggleGroup("overlayTextureToggle", "肌理叠加图")]
- // [OnValueChanged("InitAllSettings")]
- public bool overlayTextureToggle = false;
-
- // [LabelText("肌理图极坐标模式")] [ToggleGroup("overlayTextureToggle")]
- // [OnValueChanged("SetTexture")]
- public bool overlayTexturePolarCoordMode = false;
-
- // [ToggleGroup("overlayTextureToggle")]
- // [LabelText("肌理图")]
- // [OnValueChanged("SetTexture")]
- public Texture2D overlayTexture;
-
- private readonly int _overlayTextureID = Shader.PropertyToID("_TextureOverlay");
- private readonly int _overlayTextureStID = Shader.PropertyToID("_TextureOverlay_ST");
- private readonly int _textureOverlayAnimProperty = Shader.PropertyToID("_TextureOverlayAnim");
- private readonly int _textureOverlayMaskProperty = Shader.PropertyToID("_TextureOverlayMask");
- private readonly int _textureOverlayMaskStProperty = Shader.PropertyToID("_TextureOverlayMask_ST");
-
-
- // [LabelText("肌理图缩放平移")] [ToggleGroup("overlayTextureToggle")]
- public Vector4 overlayTextureSt = new Vector4(1, 1, 0, 0);
- // [LabelText("肌理图偏移动画")] [ToggleGroup("overlayTextureToggle")]
- public Vector2 overlayTextureAnim = new Vector2(0, 0);
- // [LabelText("肌理图强度")] [ToggleGroup("overlayTextureToggle")]
- public float overlayTextureIntensity = 1f;
- // [LabelText("肌理图蒙板")] [ToggleGroup("overlayTextureToggle")]
- // [OnValueChanged("SetTexture")]
- public Texture2D overlayMaskTexture;
- // [LabelText("肌理图蒙板缩放平移")] [ToggleGroup("overlayTextureToggle")]
- public Vector4 overlayMaskTextureSt;
-
- // [ToggleGroup("flashToggle", "反闪")]
- // [OnValueChanged("InitAllSettings")]
- public bool flashToggle = false;
- // [LabelText("反转度")] [ToggleGroup("flashToggle")]
- public float flashInvertIntensity = 1f;
- // [LabelText("饱和度")] [ToggleGroup("flashToggle")]
- public float flashDeSaturateIntensity = 1f;
- // [LabelText("对比度")] [ToggleGroup("flashToggle")]
- public float flashContrast = 1f;
- public Color flashColor = new Color(1f,1f,1f,1f);
- public Color blackFlashColor = new Color(0f,0f,0f,1f);
-
- // [ToggleGroup("vignetteToggle", "暗角")]
- // [OnValueChanged("InitAllSettings")]
- public bool vignetteToggle = false;
- // [ToggleGroup("vignetteToggle")]
- // [LabelText("暗角颜色")]
- public Color vignetteColor = Color.black;
- private readonly int _vignetteColorID = Shader.PropertyToID("_VignetteColor");
- // [ToggleGroup("vignetteToggle")]
- // [LabelText("暗角强度")]
- public float vignetteIntensity = 1;
- // [ToggleGroup("vignetteToggle")]
- // [LabelText("暗角圆度")]
- public float vignetteRoundness = 1;
- // [ToggleGroup("vignetteToggle")]
- // [LabelText("暗角平滑度")]
- public float vignetteSmothness = 10;
-
-
- public void InitController()
- {
- if (this.isActiveAndEnabled == false)
- {
- return;
- }
-
- _manager = PostProcessingManager.Instance;
-
- _manager.InitController(this);
- InitAllSettings();
-
- }
-
- void InitAllSettings()
- {
- SetScreenCenterPos();
- SetToggles();
- SetUVFromDistort();
- SetTexture();
- #if CINIMACHINE_3_0
- InitCinemachineCamera();
- #endif
- }
-
- void SetScreenCenterPos()
- {
- PostProcessingManager.customScreenCenterPos = customScreenCenterPos;
- _lastCustomScreenCenterPos = customScreenCenterPos;
- }
-
- void SetUVFromDistort()
- {
- PostProcessingManager.isDistortScreenUVMode = distortScreenUVMode;
- PostProcessingManager.isCaByDistort = caFromDistort;
- PostProcessingManager.isRadialBlurByDistort = radialBlurFromDistort;
- }
-
- private void SetTexture()
- {
- if(PostProcessingManager.material == null) return;
- if (distortSpeedToggle)
- {
- if (distortSpeedTexture != null)
- {
- PostProcessingManager.material.SetTexture(_distortSpeedTextureID, distortSpeedTexture);
- PostProcessingManager.distortTextureMidValue = distortTextureMidValue;
- }
- else
- {
- PostProcessingManager.material.SetTexture(_distortSpeedTextureID, null);
- }
- }
-
- if (overlayTextureToggle)
- {
- if (overlayTexturePolarCoordMode)
- {
- PostProcessingManager.flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_OVERLAYTEXTURE_POLLARCOORD);
- }
- else
- {
- PostProcessingManager.flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_OVERLAYTEXTURE_POLLARCOORD);
- }
-
- if (overlayTexture)
- {
- Debug.Log("SetOverlayTexture");
- PostProcessingManager.material.SetTexture(_overlayTextureID,overlayTexture);
- }
- else
- {
- Debug.Log("ClearOverlayTexture");
- PostProcessingManager.material.SetTexture(_overlayTextureID,null);
- }
-
- if (overlayMaskTexture)
- {
- Debug.Log("SetOverlayMaskTexture");
- PostProcessingManager.material.SetTexture(_textureOverlayMaskProperty,overlayMaskTexture);
- PostProcessingManager.flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_OVERLAYTEXTURE_MASKMAP);
- }
- else
- {
- Debug.Log("ClearOverlayMaskTexture");
- PostProcessingManager.flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_OVERLAYTEXTURE_MASKMAP);
- }
- }
-
- }
-
- private void SetToggles()
- {
- SetBit(ref PostProcessingManager.chromaticAberrationToggles,index,chromaticAberrationToggle);
- SetBit(ref PostProcessingManager.distortSpeedToggles,index,distortSpeedToggle);
- #if CINIMACHINE_3_0
- SetBit(ref PostProcessingManager.cameraShakeToggles,index,cameraShakeToggle);
- #endif
- SetBit(ref PostProcessingManager.overlayTextureToggles,index,overlayTextureToggle);
- SetBit(ref PostProcessingManager.flashToggles,index,flashToggle);
- SetBit(ref PostProcessingManager.radialBlurToggles,index,radialBlurToggle);
- SetBit(ref PostProcessingManager.vignetteToggles,index,vignetteToggle);
-
-#if UNITY_EDITOR
- SetTexture();
-#endif
-
- }
-
- private void ClearToggles()
- {
- SetBit(ref PostProcessingManager.chromaticAberrationToggles,index,false);
- SetBit(ref PostProcessingManager.distortSpeedToggles,index,false);
- #if CINIMACHINE_3_0
- SetBit(ref PostProcessingManager.cameraShakeToggles,index,false);
- #endif
- SetBit(ref PostProcessingManager.overlayTextureToggles,index,false);
- SetBit(ref PostProcessingManager.flashToggles,index,false);
- SetBit(ref PostProcessingManager.radialBlurToggles,index,false);
- SetBit(ref PostProcessingManager.vignetteToggles,index,false);
- }
-
- private bool _lastChormaticAberrationToggle = false;
- private bool _lastDistortSpeedToggle = false;
- #if CINIMACHINE_3_0
- private bool _lastCamerashakeToggle = false;
- #endif
- private bool _lastOverlayTextureToggle = false;
- private bool _lastFlashToggle= false;
- private bool _lastRadialBlurToggle= false;
- private bool _lastVignetteToggle= false;
-
- bool checkIfToggleChanged(ref bool lastTogggle, bool currentToggle)
- {
- if (lastTogggle != currentToggle)
- {
- lastTogggle = currentToggle;
- return true;
- }
- else
- {
- return false;
- }
- }
-
-
-
- private static void SetBit(ref int bit, int index,bool bitToggle)
- {
- if (bitToggle)
- {
- bit |= (1 << index);
- }
- else
- {
- bit &= ~(1 << index);
- }
- }
-
- // [LabelText("跳过数值锁定")] public bool isSkipUpdate = false;
-
-#if UNITY_EDITOR
- // [Button("选择当前Manager")]
- void FindManager()
- {
- UnityEditor.Selection.activeObject = _manager.gameObject;
- }
-
- #if CINIMACHINE_3_0
- // [Button("选择当前VituralCamera")]
- public void FindVirtualCamera()
- {
- UnityEditor.Selection.activeObject = _manager.currentVirtualCamera;
- }
-
- public void InitCinemachineCamera()
- {
- if (cinemachineCamera)
- {
- // _perlin = ;
- if (!cinemachineCamera.gameObject.TryGetComponent(out var _perlin))
- {
- _perlin = cinemachineCamera.gameObject.AddComponent();
- }
-
- if (_perlin)
- {
- _perlin.NoiseProfile =
- UnityEditor.AssetDatabase.LoadAssetAtPath(
- "Packages/com.xuanxuan.nb.postprocessing/3DPostionShake.asset");
- _perlin.FrequencyGain = 5f; //做一个自定义
- _perlin.AmplitudeGain = 0f; //一开始先不要震动
- }
-
- #if UNITY_EDITOR
- if (_manager)
- {
- _manager.currentVirtualCamera = cinemachineCamera;
- }
- #endif
- }
-
- }
- #endif
-#endif
-
-
- private void OnEnable()
- {
- // Debug.Log("InitController");
- InitController();
- #if UNITY_EDITOR
- // 注册编辑器帧更新事件
- EditorApplication.update += ControllerEditorUpdate;
- _manager.ReRegistEditorUpdate();//保证Manager的注册在最后
- #endif
- }
-
- private void OnDisable()
- {
- // Debug.Log("EndController");
- EndController();
- #if UNITY_EDITOR
- // 注册编辑器帧更新事件
- EditorApplication.update -= ControllerEditorUpdate;
- #endif
- }
-
- bool isFirstUpdate = true;
- // Update is called once per frame
- void Update()
- {
- if (isFirstUpdate)
- {
- isFirstUpdate = false;
- return;
- }
- if(!PostProcessingManager.material) return;
-//#if UNITY_EDITOR
- //Odin的ToggleGroup和OnValueChange功能冲突,导致不一定生效。不好调试。所以用手动的方式更新。
- bool isToggleChanged = false;
- isToggleChanged |= checkIfToggleChanged(ref _lastChormaticAberrationToggle, chromaticAberrationToggle);
- isToggleChanged |= checkIfToggleChanged(ref _lastDistortSpeedToggle, distortSpeedToggle);
- #if CINIMACHINE_3_0
- isToggleChanged |= checkIfToggleChanged(ref _lastCamerashakeToggle, cameraShakeToggle);
- #endif
- isToggleChanged |= checkIfToggleChanged(ref _lastOverlayTextureToggle, overlayTextureToggle);
- isToggleChanged |= checkIfToggleChanged(ref _lastFlashToggle, flashToggle);
- isToggleChanged |= checkIfToggleChanged(ref _lastRadialBlurToggle, radialBlurToggle);
- isToggleChanged |= checkIfToggleChanged(ref _lastVignetteToggle, vignetteToggle);
- if (isToggleChanged)
- {
- SetToggles();
- }
-//#endif
-
- if (customScreenCenterPos != _lastCustomScreenCenterPos)
- {
- SetScreenCenterPos();
- }
-
-
- if (chromaticAberrationToggle)
- {
- PostProcessingManager.chromaticAberrationIntensity =
- Mathf.Max(PostProcessingManager.chromaticAberrationIntensity, chromaticAberrationIntensity);
- PostProcessingManager.chromaticAberrationPos =
- Mathf.Max(PostProcessingManager.chromaticAberrationPos, chromaticAberrationPos);
- PostProcessingManager.chromaticAberrationRange =
- Mathf.Max(PostProcessingManager.chromaticAberrationRange, chromaticAberrationRange);
- }
-
- if (distortSpeedToggle)
- {
- if (index == PostProcessingManager.laseUpdateControllerIndex)
- {
- //只有这里才会更新Scale
- PostProcessingManager.material.SetVector(_distortSpeedTextureStID, distortSpeedTexSt);
- }
-
- PostProcessingManager.distortSpeedIntensity =
- Mathf.Max(PostProcessingManager.distortSpeedIntensity, distortSpeedIntensity);
- PostProcessingManager.distortSpeedPosition =
- Mathf.Max(PostProcessingManager.distortSpeedPosition, distortSpeedPosition);
- PostProcessingManager.distortSpeedRange =
- Mathf.Max(PostProcessingManager.distortSpeedRange, distortSpeedRange);
- PostProcessingManager.distortSpeedMoveSpeedX =
- Mathf.Abs(PostProcessingManager.distortSpeedMoveSpeedX) > Mathf.Abs(distortSpeedMoveSpeedX)
- ? PostProcessingManager.distortSpeedMoveSpeedX
- : distortSpeedMoveSpeedX;
- PostProcessingManager.distortSpeedMoveSpeedY =
- Mathf.Abs(PostProcessingManager.distortSpeedMoveSpeedY) > Mathf.Abs(distortSpeedMoveSpeed)
- ? PostProcessingManager.distortSpeedMoveSpeedY
- : distortSpeedMoveSpeed;
- }
-
- #if CINIMACHINE_3_0
- if (cameraShakeToggle)
- {
- PostProcessingManager.cameraShakeIntensity =
- Mathf.Max(PostProcessingManager.cameraShakeIntensity, cameraShakeIntensity);
-
- }
- #endif
-
- if (overlayTextureToggle)
- {
- if (index == PostProcessingManager.laseUpdateControllerIndex)
- {
- PostProcessingManager.material.SetVector(_overlayTextureStID, overlayTextureSt);
- PostProcessingManager.material.SetVector(_textureOverlayMaskStProperty, overlayMaskTextureSt);
- PostProcessingManager.material.SetVector(_textureOverlayAnimProperty,overlayTextureAnim);
- }
-
- PostProcessingManager.overlayTextureIntensity = Mathf.Max(PostProcessingManager.overlayTextureIntensity,
- overlayTextureIntensity);
- }
-
- if (flashToggle)
- {
- PostProcessingManager.flashDesaturateIntensity =
- Mathf.Max(PostProcessingManager.flashDesaturateIntensity, flashDeSaturateIntensity);
- PostProcessingManager.flashInvertIntensity =
- Mathf.Max(PostProcessingManager.flashInvertIntensity, flashInvertIntensity);
- PostProcessingManager.flashContrast =
- Mathf.Max(PostProcessingManager.flashContrast, flashContrast);
- PostProcessingManager.flashColor = flashColor;
- PostProcessingManager.blackFlashColor = blackFlashColor;
- }
-
- if (radialBlurToggle)
- {
- PostProcessingManager.radialBlurIntensity =
- Mathf.Max(PostProcessingManager.radialBlurIntensity, radialBlurIntensity);
- PostProcessingManager.radialBlurSampleCount = Mathf.Max(PostProcessingManager.radialBlurSampleCount,
- radialBlurSampleCount);
- PostProcessingManager.radialBlurPos = Mathf.Max(PostProcessingManager.radialBlurPos, radialBlurPos);
- PostProcessingManager.radialBlurRange = Mathf.Max(PostProcessingManager.radialBlurRange, radialBlurRange);
- }
-
- if (vignetteToggle)
- {
- PostProcessingManager.vignetteIntensity =
- Mathf.Max(PostProcessingManager.vignetteIntensity, vignetteIntensity);
- PostProcessingManager.vignetteRoundness = Mathf.Max(PostProcessingManager.vignetteRoundness, vignetteRoundness);
- PostProcessingManager.vignetteSmothness = Mathf.Max(PostProcessingManager.vignetteSmothness, vignetteSmothness);
- if (index == PostProcessingManager.laseUpdateControllerIndex)
- {
- PostProcessingManager.material.SetColor(_vignetteColorID,vignetteColor);
- }
- }
-
-
- }
-
-
- void EndController()
- {
- ClearToggles();
- _manager.EndController(this);
- }
-
-
-#if UNITY_EDITOR
- [UnityEditor.MenuItem("GameObject/创建NB后处理特效")]
- static void CreatMenu()
- {
- GameObject Effect = new GameObject();
- Effect.name = "NBPostprocessController";
- PostProcessingController controller = Effect.AddComponent();
-
- UnityEditor.Selection.activeObject = Effect;
- }
-
- void ControllerEditorUpdate()
- {
- if (!Application.isPlaying)
- {
- Update();
- }
- }
-#endif
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Runtime/PostProcessingController.cs.meta b/Packages/NBPostProcessing/Runtime/PostProcessingController.cs.meta
deleted file mode 100644
index 64bfbc70..00000000
--- a/Packages/NBPostProcessing/Runtime/PostProcessingController.cs.meta
+++ /dev/null
@@ -1,14 +0,0 @@
-fileFormatVersion: 2
-guid: 909ea7d136ae0c349a24f02cac1f5f71
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences:
- - manager: {instanceID: 0}
- - distortSpeedTexture: {fileID: 2800000, guid: 7f808d0c8608b954d8f20cb4132c3049, type: 3}
- - overlayTexture: {instanceID: 0}
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime/PostProcessingManager.cs b/Packages/NBPostProcessing/Runtime/PostProcessingManager.cs
deleted file mode 100644
index a0cc2852..00000000
--- a/Packages/NBPostProcessing/Runtime/PostProcessingManager.cs
+++ /dev/null
@@ -1,723 +0,0 @@
-using System;
-using UnityEngine;
-// using Sirenix.OdinInspector;
-
-// #if UNITY_EDITOR
-// using Sirenix.OdinInspector.Editor;
-// #endif
-#if UNITY_EDITOR
-using UnityEditor;
-#endif
-
-#if CINIMACHINE_3_0
-using Unity.Cinemachine;
-#endif
-
-using MhRender.RendererFeatures;
-
-
-[ExecuteAlways]
-public class PostProcessingManager : MonoBehaviour
-{
- //单例实现
- private static PostProcessingManager _instance = null;
-
- public static PostProcessingManager Instance
- {
- get
- {
- if (_instance == null)
- {
- // #if UNITY_2022_1_OR_NEWER
- // _instance = FindFirstObjectByType();
- // #else
- _instance = FindObjectOfType();//因为兼容性因素,保留较慢版本
- // #endif
- if (_instance == null)
- {
- GameObject singletonObj = new GameObject();
- _instance = singletonObj.AddComponent();
- if (Application.isPlaying)
- {
- singletonObj.name = "NBPostProcessManager";
- DontDestroyOnLoad(singletonObj);
- }
- else
- {
- singletonObj.name = "测试用NB后处理管理器,请美术删除此脚本再上传";
- }
- }
- }
-
- return _instance;
- }
- }
-
-
- private void Awake()
- {
- if (_instance == null)
- {
- _instance = this;
- }
- else
- {
- DestroyImmediate(this);
- }
- }
-
- // [ReadOnly] public Volume volume;
- // private static VolumeProfile profile;
- // [ReadOnly]
- public static Material material
- {
- get
- {
- return NBPostProcess.NBPostProcessMaterial;
- }
- }
-
- public static NBPostProcessFlags flags = new NBPostProcessFlags();
-
- // public CinemachineBrain cameraBrain;
- // public CinemachineVirtualCamera currentVirtualCamera;
- #if CINIMACHINE_3_0
- public CinemachineCamera currentVirtualCamera;
- private CinemachineBasicMultiChannelPerlin _perlin;
- #endif
-
- public static void InitMat()
- {
- flags.SetMaterial(PostProcessingManager.material);
- if (_instance)
- {
- _instance.ResetEffect();
- }
- }
- private void OnEnable()
- {
-#if UNITY_EDITOR
- if (_controllerIndexFlags > 0)
- {
- ReRegistEditorUpdate();
- }
- else
- {
- EditorApplication.update += EditorUpdate;
- }
- // 注册编辑器帧更新事件
-#endif
- // //TODO 后续版本要找比较准确快的找Volume的方式
- // volume = GameObject.FindObjectOfType();
- // if (volume != null)
- // {
- // profile = volume.profile;
- // }
-
- // #if UNITY_EDITOR
- // //仅仅用于测试。
- // if (currentVirtualCamera == null)
- // {
- // currentVirtualCamera = FindFirstObjectByType();
- //
- // if (currentVirtualCamera)
- // {
- // if (!currentVirtualCamera.gameObject.TryGetComponent(out _perlin))
- // {
- // _perlin = currentVirtualCamera.gameObject.AddComponent();
- // }
- // }
- //
- // if (_perlin)
- // {
- // _perlin.NoiseProfile =
- // // ResourceManager.LoadAssetAsync("Assets/AddressableAssets/Shader/CustomPostprocess/3DPostionShake.asset");
- // //在runtime下是找不到的。但设计是美术做好然后存引用在预制件里。
- // UnityEditor.AssetDatabase.LoadAssetAtPath(
- // "Packages/com.r2.render.postprocessing/3DPostionShake.asset");
- // _perlin.FrequencyGain = 5f; //做一个自定义
- // _perlin.AmplitudeGain = 0f; //一开始先不要震动
- // }
- // }
- //
- // #endif
-
-
- //重置Flag
- flags = new NBPostProcessFlags(material);
- flags.SetFlagBits(0);
- }
-
- private void OnDisable()
- {
-#if UNITY_EDITOR
- // 注册编辑器帧更新事件
- EditorApplication.update -= EditorUpdate;
-#endif
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_NB_POSTPROCESS_ON);
- }
-
-
-// [ShowInInspector]
-// #if UNITY_EDITOR
-// [BinaryInt(8)]
-// #endif
- private int _controllerIndexFlags = 0;
-
- public static int laseUpdateControllerIndex;
-
- private int GetControllerIndex()
- {
- for (int i = 0; i < 31; i++)
- {
- if (((~_controllerIndexFlags) & (1 << i)) != 0)
- {
- _controllerIndexFlags |= (1 << i);
- laseUpdateControllerIndex = i;
- return i;
- }
- }
- return 32;
- }
-
- private void ReleaseControllerIndex(int index)
- {
- _controllerIndexFlags &= ~(1 << index);
- }
-
- private int CountBit(int bit)
- {
- int count = 0;
- while (bit > 0)
- {
- bit = bit & (bit - 1);
- count++;
- }
-
- return count;
- }
- //每次Controller触发Play都会触发Init
- public void InitController(PostProcessingController controller)
- {
- #if CINIMACHINE_3_0
- if (controller.cinemachineCamera != null)
- {
- currentVirtualCamera = controller.cinemachineCamera;
- _perlin = currentVirtualCamera.gameObject.GetComponent();
- }
- #endif
-
- controller.SetIndex(GetControllerIndex());
- }
-
- public void EndController(PostProcessingController controller)
- {
- #if CINIMACHINE_3_0
- if (currentVirtualCamera == controller.cinemachineCamera)
- {
- currentVirtualCamera = null;
- _perlin = null;
- }
- #endif
-
- ReleaseControllerIndex(controller.index);
- controller.SetIndex(32); //设置32为关闭index
- }
-
- private void EffectUpdater(Action initEffect,Action updateEffect,Action endEffect,ref bool lastIsEffect,int effectToggles)
- {
- if (effectToggles > 0)
- {
- if (!lastIsEffect)
- {
- initEffect();
- }
- updateEffect();
- lastIsEffect = true;
- }
- else
- {
- if (lastIsEffect)
- {
- endEffect();
- lastIsEffect = false;
- }
- }
-
-
- }
-
- private bool isFirstUpdate = true;
-
- private void ResetEffect()
- {
- if (_lastIsChromaticAberration)
- {
- EndChromaticAberration();
- _lastIsChromaticAberration = false;
- }
-
- if (_lastIsRadialBlur)
- {
- EndRadialBlur();
- _lastIsRadialBlur = false;
- }
-
- if (_lastIsDistortSpeed)
- {
- EndDistortSpeed();
- _lastIsDistortSpeed = false;
- }
-
-#if CINIMACHINE_3_0
- if (_lastIsCameraShake)
- {
- EndCameraShake();
- _lastIsCameraShake = false;
- }
-#endif
-
- if (_lastIsOverlayTexture)
- {
- EndOverlayTexture();
- _lastIsOverlayTexture = false;
- }
-
- if (_lastIsFlash)
- {
- EndFlash();
- _lastIsFlash = false;
- }
-
- if (_lastIsVignette)
- {
- EndVignette();
- _lastIsVignette = false;
- }
- }
-
- private void LateUpdate()//晚于所有脚本触发。
- {
- if (isFirstUpdate)
- {
- isFirstUpdate = false;
- return;
- }
-
- if(!material) return;
- /*
-#if UNITY_EDITOR
- if (flags.GetMaterial() != PostProcessingManager.material)
- {
- flags.SetMaterial(PostProcessingManager.material);
- }
-#endif
- */
-
- if (_controllerIndexFlags == 0)
- {
- ResetEffect();
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_NB_POSTPROCESS_ON);
- return;
- }
-
- EffectUpdater(InitChromaticAberration,UpdateChromaticAberration,EndChromaticAberration,ref _lastIsChromaticAberration,chromaticAberrationToggles);
- EffectUpdater(InitDistortSpeed,UpdateDistortSpeed,EndDistortSpeed,ref _lastIsDistortSpeed,distortSpeedToggles);
- EffectUpdater(InitRadialBlur, UpdateRadialBlur, EndRadialBlur,ref _lastIsRadialBlur, radialBlurToggles);
-
- bool isSetCustomScreenCenterPos = (chromaticAberrationToggles | distortSpeedToggles | radialBlurToggles) > 0;
-
- if (isSetCustomScreenCenterPos)
- {
- material.SetVector(_customScreenCenterProperty,
- new Vector4(customScreenCenterPos.x, customScreenCenterPos.y, 0, 0));
- }
-
- #if CINIMACHINE_3_0
- EffectUpdater(() => { },UpdateCameraShake,EndCameraShake,ref _lastIsCameraShake,cameraShakeToggles);
- #endif
- EffectUpdater(InitOverlayTexture, UpdateOverlayTexture, EndOverlayTexture,ref _lastIsOverlayTexture, overlayTextureToggles);
- EffectUpdater(InitFlash, UpdateFlash, EndFlash,ref _lastIsFlash, flashToggles);
- EffectUpdater(InitVignette, UpdateVignette, EndVignette,ref _lastIsVignette, vignetteToggles);
-
- bool hasEffect =
- (
- chromaticAberrationToggles|
- distortSpeedToggles|
- #if CINIMACHINE_3_0
- cameraShakeToggles|
- #endif
- radialBlurToggles|
- overlayTextureToggles|
- flashToggles|
- vignetteToggles
- ) >0;
-
- if (hasEffect)
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_NB_POSTPROCESS_ON);
- }
- else
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_NB_POSTPROCESS_ON);
- }
- }
-
-
- private readonly int _customScreenCenterProperty = Shader.PropertyToID("_CustomScreenCenter");
- public static Vector2 customScreenCenterPos = new Vector2(0.5f, 0.5f);
-
-
-
-
- #region 色散
-
- //色散相关
- // private ChromaticAberration chromaticAberrationComp;
- // private bool preserveChromaticAberrationActive;
- // private float preserveChromaticAberrationIntensity;
- private bool _lastIsChromaticAberration = false;
- private readonly int _chromaticAberrationVecProperty = Shader.PropertyToID("_ChromaticAberrationVec");
-
- public static int chromaticAberrationToggles = 0;
-
- public static bool isCaByDistort= false;
- private bool _lastIsCaByDistort = false;
-
- public static float chromaticAberrationIntensity = 0;
- public static float chromaticAberrationPos = 0;
- public static float chromaticAberrationRange = 0;
-
- private void InitChromaticAberration()
- {
- // Debug.Log("InitCA");
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_CHORATICABERRAT);
- }
-
- private void UpdateChromaticAberration()
- {
- if (_lastIsCaByDistort != isCaByDistort)
- {
- if (isCaByDistort)
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_CHORATICABERRAT_BY_DISTORT);
- }
- else
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_CHORATICABERRAT_BY_DISTORT);
- }
-
- _lastIsCaByDistort = isCaByDistort;
- }
-
- material.SetVector(_chromaticAberrationVecProperty, new Vector4(chromaticAberrationIntensity,chromaticAberrationPos,chromaticAberrationRange));
- chromaticAberrationIntensity = 0;//等待下一次update
- chromaticAberrationPos = 0;//等待下一次update
- chromaticAberrationRange = 0;//等待下一次update
- }
-
- private void EndChromaticAberration()
- {
- // Debug.Log("EndCA");
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_CHORATICABERRAT);
- }
- #endregion
-
- #region 径向速度扭曲
- //径向速度扭曲相关
- private readonly int _distortVecProperty = Shader.PropertyToID("_SpeedDistortVec");
- private readonly int _distortVec2Property = Shader.PropertyToID("_SpeedDistortVec2");
- private bool _lastIsDistortSpeed = false;
-
- public static bool isDistortScreenUVMode;
- private bool _lastIsDistortScreenUVMode;
-// [ShowInInspector]
-// [LabelText("径向扭曲开关")]
-// #if UNITY_EDITOR
-// [BinaryInt(8)]
-// #endif
- public static int distortSpeedToggles;
-
- public static Texture2D distortTexture2D;
-
- public static float distortSpeedIntensity = 0;
- public static float distortSpeedPosition = 0;
- public static float distortSpeedRange = 0;
- public static float distortSpeedMoveSpeedX = 0;
- public static float distortSpeedMoveSpeedY = 0;
- public static float distortTextureMidValue = 0;
-
- private void InitDistortSpeed()
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_DISTORT_SPEED);
- }
-
- private void UpdateDistortSpeed()
- {
- if (_lastIsDistortScreenUVMode!=isDistortScreenUVMode)
- {
- if (isDistortScreenUVMode)
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_POST_DISTORT_SCREEN_UV);
- }
- else
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_POST_DISTORT_SCREEN_UV);
- }
- _lastIsDistortScreenUVMode = isDistortScreenUVMode;
- }
- Vector4 distortVec = new Vector4(distortSpeedIntensity, distortSpeedPosition, distortSpeedRange,
- distortTextureMidValue);
- Vector4 distortVec2 = new Vector4(distortSpeedMoveSpeedX, distortSpeedMoveSpeedY, 0, 0);
- material.SetVector(_distortVecProperty, distortVec);
- material.SetVector(_distortVec2Property, distortVec2);
- distortSpeedIntensity = 0;
- distortSpeedPosition = 0;
- distortSpeedRange = 0;
- distortSpeedMoveSpeedX = 0;
- distortSpeedMoveSpeedY = 0;
- }
-
- private void EndDistortSpeed()
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_DISTORT_SPEED);
- }
- #endregion
-
- #region 径向模糊
- // [ShowInInspector]
- // [LabelText("径向模糊开关")]
- // #if UNITY_EDITOR
- // [BinaryInt(8)]
- // #endif
- public static int radialBlurToggles = 0;
- private readonly int _radialBlurVecProperty = Shader.PropertyToID("_RadialBlurVec");
- public static float radialBlurIntensity = 0;
- public static float radialBlurPos = 0;
- public static float radialBlurRange = 0;
- public static int radialBlurSampleCount = 4;
- public static bool isRadialBlurByDistort = false;
- private bool _lastIsRadialBlurByDistort = false;
-
- private bool _lastIsRadialBlur = false;
-
- private void InitRadialBlur()
- {
- // Debug.Log("InitRB");
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_RADIALBLUR);
- }
-
- private void UpdateRadialBlur()
- {
- if (_lastIsRadialBlurByDistort != isRadialBlurByDistort)
- {
- if (isRadialBlurByDistort)
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_RADIALBLUR_BY_DISTORT);
- }
- else
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_RADIALBLUR_BY_DISTORT);
- }
-
- _lastIsRadialBlurByDistort = isRadialBlurByDistort;
- }
- Vector4 radialBlurVec = new Vector4(radialBlurIntensity*0.1f/radialBlurSampleCount, radialBlurPos, radialBlurRange, radialBlurSampleCount);
- material.SetVector(_radialBlurVecProperty,radialBlurVec);
- radialBlurIntensity = 0;
- radialBlurSampleCount = 0;
- radialBlurPos = 0;
- radialBlurRange = 0;
- }
-
- private void EndRadialBlur()
- {
- // Debug.Log("EndRB");
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_RADIALBLUR);
- }
-
- #endregion
-
- #region 震屏
- #if CINIMACHINE_3_0
-
- public static int cameraShakeToggles = 0;
-
-
- private bool _lastIsCameraShake = false;
- public static float cameraShakeIntensity = 0;
- private void UpdateCameraShake()
- {
- if (_perlin)
- {
- _perlin.AmplitudeGain = cameraShakeIntensity;
- }
-
- cameraShakeIntensity = 0;
- // #if UNITY_EDITOR
- if (currentVirtualCamera )
- {
- CinemachineCore.SoloCamera = currentVirtualCamera;
- }
- // #endif
- // Debug.Log(_perlin.m_AmplitudeGain);
- }
-
- private void EndCameraShake()
- {
- if (_perlin)
- {
- _perlin.AmplitudeGain = 0;
- }
- CinemachineCore.SoloCamera = null;
- }
- #endif
- #endregion
-
- #region 肌理叠加
-
- //肌理图
- //注意,肌理图就是硬切,只有intensity可以做差值。
-// [ShowInInspector]
-// [LabelText("肌理开关")]
-// #if UNITY_EDITOR
-// [BinaryInt(8)]
-// #endif
- public static int overlayTextureToggles = 0;
-
- private bool _lastIsOverlayTexture = false;
-
- public static float overlayTextureIntensity = 0;
-
- private readonly int _overlayTextureProperty = Shader.PropertyToID("_TextureOverlay");
- private readonly int _overlayTextureStProperty = Shader.PropertyToID("_TextureOverlay_ST");
- private readonly int _overlayTextureIntensityProperty = Shader.PropertyToID("_TextureOverlayIntensity");
-
- private void InitOverlayTexture()
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_OVERLAYTEXTURE);
- }
-
- private void UpdateOverlayTexture()
- {
- material.SetFloat(_overlayTextureIntensityProperty, overlayTextureIntensity);
- overlayTextureIntensity = 0;
- }
-
- private void EndOverlayTexture()
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_OVERLAYTEXTURE);
- }
-
- #endregion
-
- #region 黑白闪
-
-// [ShowInInspector]
-// [LabelText("黑白闪开关")]
-// #if UNITY_EDITOR
-// [BinaryInt(8)]
-// #endif
- public static int flashToggles = 0;
-
- private bool _lastIsFlash = false;
-
- public static float flashDesaturateIntensity = 0;
-
- public static float flashInvertIntensity = 0;
-
- public static float flashContrast = 0;
-
- public static Color flashColor = new Color(1, 1, 1, 1);
- public static Color blackFlashColor = new Color(0, 0, 0, 1);
-
- private readonly int _flashDesaturateProperty = Shader.PropertyToID("_DeSaturateIntensity");
- private readonly int _flashInvertProperty = Shader.PropertyToID("_InvertIntensity");
- private readonly int _flashContrastProperty = Shader.PropertyToID("_Contrast");
- private readonly int _flashColorProperty = Shader.PropertyToID("_FlashColor");
- private readonly int _blackFlashColorProperty = Shader.PropertyToID("_BlackFlashColor");
-
- private void InitFlash()
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_FLASH);
- }
-
- private void UpdateFlash()
- {
- material.SetFloat(_flashDesaturateProperty, flashDesaturateIntensity);
- material.SetFloat(_flashInvertProperty, flashInvertIntensity);
- material.SetFloat(_flashContrastProperty, flashContrast);
- material.SetColor(_flashColorProperty,flashColor);
- material.SetColor(_blackFlashColorProperty,blackFlashColor);
- flashDesaturateIntensity = 0;
- flashInvertIntensity = 0;
- flashContrast = 0;
- flashColor = Color.white;
- }
-
- private void EndFlash()
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_FLASH);
- }
- #endregion
-
- #region 暗角
-
-// [ShowInInspector]
-// [LabelText("暗角开关")]
-// #if UNITY_EDITOR
-// [BinaryInt(8)]
-// #endif
- public static int vignetteToggles = 0;
-
- private bool _lastIsVignette;
-
- public static float vignetteIntensity = 0f;
- public static float vignetteRoundness = 0f;
- public static float vignetteSmothness = 0f;
-
- private readonly int _vignetteVecProperty = Shader.PropertyToID("_VignetteVec");
-
- private void InitVignette()
- {
- flags.SetFlagBits(NBPostProcessFlags.FLAG_BIT_VIGNETTE);
- }
-
-
- private void UpdateVignette()
- {
- Vector4 vignetteVec = new Vector4(vignetteIntensity, vignetteRoundness, vignetteSmothness, 0);
- material.SetVector(_vignetteVecProperty,vignetteVec);
- vignetteIntensity = 0;
- vignetteRoundness = 0;
- vignetteSmothness = 0;
- }
-
- private void EndVignette()
- {
- flags.ClearFlagBits(NBPostProcessFlags.FLAG_BIT_VIGNETTE);
- }
-
-
- #endregion
-
-
- #if UNITY_EDITOR
- void EditorUpdate()
- {
- if (!Application.isPlaying)
- {
- LateUpdate();//每帧Update会导致SceneView闪
- }
- }
-
- public void ReRegistEditorUpdate()
- {
- EditorApplication.update -= EditorUpdate;
- EditorApplication.update += EditorUpdate;
- }
- #endif
-
-}
-
-
diff --git a/Packages/NBPostProcessing/Runtime/PostProcessingManager.cs.meta b/Packages/NBPostProcessing/Runtime/PostProcessingManager.cs.meta
deleted file mode 100644
index 40820cf7..00000000
--- a/Packages/NBPostProcessing/Runtime/PostProcessingManager.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fe30e455c04f33342bb3d1c227855682
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime/ScreenColorRenderPass.cs b/Packages/NBPostProcessing/Runtime/ScreenColorRenderPass.cs
deleted file mode 100644
index b1964be4..00000000
--- a/Packages/NBPostProcessing/Runtime/ScreenColorRenderPass.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-using UnityEngine;
-using UnityEngine.Rendering;
-using UnityEngine.Rendering.Universal;
-using System.Reflection;
-
-namespace MhRender.RendererFeatures
-{
- public class ScreenColorRenderPass : ScriptableRenderPass
- {
-#if UNIVERSAL_RP_13_1_2_OR_NEWER
- private RTHandle _screenColorHandle;
- private RTHandle _tempRTHandle;
-#else
- private RenderTargetIdentifier _screenColorHandle;
- private static readonly int _screenColorRTID = Shader.PropertyToID("_screenColorRT");
- private RenderTargetIdentifier _tempRTHandle = new RenderTargetIdentifier(_tempRTID);
- private static readonly int _tempRTID = Shader.PropertyToID("CopyColorRT");
-
-
-#endif
- private ProfilingSampler _profilingSampler;
- private readonly Downsampling _downSampling;
- readonly Material _material;
- private static readonly int CameraTexture = Shader.PropertyToID("_CameraTexture");
- private static readonly int SampleOffset = Shader.PropertyToID("_SampleOffset");
-
- public ScreenColorRenderPass(Material material, Downsampling downSampling)
- {
- _material = material;
- _downSampling = downSampling;
- }
-
-
-#if UNIVERSAL_RP_13_1_2_OR_NEWER
- public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData)
- {
- ConfigureTarget(_screenColorHandle);
-
- }
-
- public void SetUp(RTHandle colorHandle)
- {
- _profilingSampler ??= new ProfilingSampler("ScreenColorRender");
- _screenColorHandle = colorHandle;
- RenderTextureDescriptor descriptor = _screenColorHandle.rt.descriptor;
- descriptor.autoGenerateMips = true;
- descriptor.useMipMap = true;
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- descriptor.width /= 2;
- descriptor.height /= 2;
- break;
- case Downsampling._4xBilinear:
- descriptor.width /= 4;
- descriptor.height /= 4;
- break;
- case Downsampling._4xBox:
- descriptor.width /= 4;
- descriptor.height /= 4;
- break;
- }
- RenderingUtils.ReAllocateIfNeeded(ref _tempRTHandle, descriptor,name:"CopyColorRT");
- }
-
-
-#else
-
- FieldInfo cameraColorAttachment = typeof(UniversalRenderer).GetField("m_ActiveCameraColorAttachment", BindingFlags.NonPublic|BindingFlags.Instance);
-
-
- public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData)
- {
-
- var renderer = (UniversalRenderer)renderingData.cameraData.renderer;
-
- // cmd.SetGlobalTexture(_screenColorRTID,_screenColorHandle);
- SetUpCopyColorRT(renderer,renderingData.cameraData.cameraTargetDescriptor,cmd);
- ConfigureTarget(_tempRTHandle);
- ConfigureClear(ClearFlag.Color, Color.clear);
- }
-
- public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)
- {
- }
-
- public void SetUp(ScriptableRenderer renderer)
- {
- RenderTargetHandle value = (RenderTargetHandle)cameraColorAttachment.GetValue(renderer);
- _screenColorHandle = value.Identifier();
- // _screenColorHandle = colorTarget;
- }
-
- public void SetUpCopyColorRT(ScriptableRenderer renderer,RenderTextureDescriptor descriptor ,CommandBuffer cmd)
- {
- descriptor.autoGenerateMips = true;
- descriptor.useMipMap = true;
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- descriptor.width /= 2;
- descriptor.height /= 2;
- break;
- case Downsampling._4xBilinear:
- descriptor.width /= 4;
- descriptor.height /= 4;
- break;
- case Downsampling._4xBox:
- descriptor.width /= 4;
- descriptor.height /= 4;
- break;
- }
- cmd.GetTemporaryRT( _tempRTID, descriptor,FilterMode.Bilinear);
- }
-
- public override void OnCameraCleanup(CommandBuffer cmd)
- {
- cmd.ReleaseTemporaryRT(_tempRTID);
- }
-#endif
-
- public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
- {
- if (!(renderingData.cameraData.cameraType == CameraType.Game || renderingData.cameraData.cameraType == CameraType.SceneView))
- return;
- if (_material == null)
- return;
- CommandBuffer cmd = CommandBufferPool.Get();
-
- using (new ProfilingScope(cmd, _profilingSampler))
- {
-#if UNIVERSAL_RP_13_1_2_OR_NEWER
-
- _material.SetTexture(CameraTexture, _screenColorHandle);
- cmd.SetRenderTarget((RenderTargetIdentifier)_tempRTHandle);
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
-
- Blitter.BlitTexture(cmd, _screenColorHandle, Vector2.one, _material, 0);
- break;
- case Downsampling._4xBilinear:
- Blitter.BlitTexture(cmd, _screenColorHandle, Vector2.one, _material, 0);
- break;
- case Downsampling._4xBox:
- _material.SetFloat(SampleOffset,2);
- Blitter.BlitTexture(cmd, _screenColorHandle, Vector2.one, _material, 1);
- break;
- default:
- Blitter.BlitTexture(cmd, _screenColorHandle, Vector2.one, _material, 0);
- break;
- }
-#else
- cmd.SetGlobalTexture(_screenColorRTID,_screenColorHandle);
-
- _material.SetTexture(CameraTexture,Shader.GetGlobalTexture(_screenColorRTID));
- cmd.SetRenderTarget(_tempRTHandle);
- switch (_downSampling)
- {
- case Downsampling._2xBilinear:
- cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _material, 0,0);
- break;
- case Downsampling._4xBilinear:
- cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _material, 0,0);
- break;
- case Downsampling._4xBox:
- _material.SetFloat(SampleOffset,2);
- cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _material, 0,1);
- break;
- default:
- cmd.DrawMesh(RenderingUtils.fullscreenMesh, Matrix4x4.identity, _material, 0,0);
- break;
- }
-
-#endif
- cmd.SetGlobalTexture("_ScreenColorCopy1", _tempRTHandle);
- }
-
- context.ExecuteCommandBuffer(cmd);
- cmd.Clear();
- CommandBufferPool.Release(cmd);
- }
-
- public void Dispose()
- {
- #if UNIVERSAL_RP_13_1_2_OR_NEWER
- _tempRTHandle?.Release();
- #endif
- }
- }
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Runtime/ScreenColorRenderPass.cs.meta b/Packages/NBPostProcessing/Runtime/ScreenColorRenderPass.cs.meta
deleted file mode 100644
index ef85a01b..00000000
--- a/Packages/NBPostProcessing/Runtime/ScreenColorRenderPass.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ff8358dc3f3531d4c92a43a49d07f36c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Runtime/com.xuanxuan.nb.postprocessing.asmdef b/Packages/NBPostProcessing/Runtime/com.xuanxuan.nb.postprocessing.asmdef
deleted file mode 100644
index bdec4d46..00000000
--- a/Packages/NBPostProcessing/Runtime/com.xuanxuan.nb.postprocessing.asmdef
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "name": "com.xuanxuan.nb.postprocessing",
- "rootNamespace": "",
- "references": [
- "GUID:df380645f10b7bc4b97d4f5eb6303d95",
- "GUID:15fc0a57446b3144c949da3e2b9737a9",
- "GUID:4307f53044263cf4b835bd812fc161a4",
- "GUID:8f9e4d586616f13449cfeb86c5f704c2"
- ],
- "includePlatforms": [],
- "excludePlatforms": [],
- "allowUnsafeCode": false,
- "overrideReferences": false,
- "precompiledReferences": [],
- "autoReferenced": true,
- "defineConstraints": [],
- "versionDefines": [
- {
- "name": "com.unity.cinemachine",
- "expression": "3.0",
- "define": "CINIMACHINE_3_0"
- },
- {
- "name": "com.unity.render-pipelines.universal",
- "expression": "13.1.2",
- "define": "UNIVERSAL_RP_13_1_2_OR_NEWER"
- }
- ],
- "noEngineReferences": false
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Runtime/com.xuanxuan.nb.postprocessing.asmdef.meta b/Packages/NBPostProcessing/Runtime/com.xuanxuan.nb.postprocessing.asmdef.meta
deleted file mode 100644
index 0cc23c51..00000000
--- a/Packages/NBPostProcessing/Runtime/com.xuanxuan.nb.postprocessing.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: a1f23b61b189bd949adfd0f7a353734f
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader.meta b/Packages/NBPostProcessing/Shader.meta
deleted file mode 100644
index 67b64f3f..00000000
--- a/Packages/NBPostProcessing/Shader.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b96c6f78e9ea0924b92677f2c4812124
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/ColorBlit.shader b/Packages/NBPostProcessing/Shader/ColorBlit.shader
deleted file mode 100644
index 78a0f8f0..00000000
--- a/Packages/NBPostProcessing/Shader/ColorBlit.shader
+++ /dev/null
@@ -1,238 +0,0 @@
-Shader "XuanXuan/ColorBlit"
-{
- HLSLINCLUDE
- #pragma target 2.0
- #pragma editor_sync_compilation
- #pragma multi_compile _ DISABLE_TEXTURE2D_X_ARRAY
- #pragma multi_compile _ BLIT_SINGLE_SLICE
- // Core.hlsl for XR dependencies
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- #include "Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl"
- ENDHLSL
-
- SubShader
- {
- Tags
- {
- "RenderType"="Opaque" "RenderPipeline" = "UniversalPipeline"
- }
- ZWrite Off Cull Off
- Pass
- {
- Name "ColorBlitPass0"
-
- HLSLPROGRAM
- #pragma vertex vert
- // #pragma vertex vert
- // #pragma fragment FragNearest
- #pragma fragment frag
- #pragma enable_d3d11_debug_symbols
-
- Texture2D _CameraTexture;
- // Texture2D _CameraTexture;
- //
- // struct MyAttributes
- // {
- // float4 positionOS : POSITION;
- // float4 texCoord : TEXCOORD0;
- // };
-
- //
- // Varyings vert(MyAttributes IN)
- // {
- // Varyings OUT = (Varyings)0;
- // OUT.positionCS = float4(IN.positionOS.xyz,1);
- // half4 clipVertex = OUT.positionCS/OUT.positionCS.w;
- // OUT.texcoord = ComputeScreenPos(clipVertex);
- // return OUT;
- // }
-
- Varyings vert(Attributes input)//避开官方_BlitScaleBias为0的错误。
- {
- Varyings output;
- UNITY_SETUP_INSTANCE_ID(input);
- UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output);
-
- #if SHADER_API_GLES
- float4 pos = input.positionOS;
- float2 uv = input.uv;
- #else
- float4 pos = GetFullScreenTriangleVertexPosition(input.vertexID);
- float2 uv = GetFullScreenTriangleTexCoord(input.vertexID);
- #endif
-
- output.positionCS = pos;
- // output.texcoord = uv * _BlitScaleBias.xy + _BlitScaleBias.zw;
- output.texcoord = uv;
- return output;
- }
-
- half4 frag (Varyings input) : SV_Target
- {
- UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
-
- float4 color = SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_LinearRepeat, input.texcoord);
-
- return color;
- }
- ENDHLSL
- }
- Pass
- {
- Name "BoxDownsample"
-
- ZWrite Off
- Cull Off
-
- HLSLPROGRAM
- // #pragma vertex Vert
- #pragma vertex vert
- #pragma fragment FragBoxDownsample
- #pragma enable_d3d11_debug_symbols
-
-
- Texture2D _CameraTexture;
- SAMPLER(sampler_CameraTexture);
-
- #if UNITY_VERSION < 202320
- float4 _BlitTexture_TexelSize;
- #endif
-
- Varyings vert(Attributes input)//避开官方_BlitScaleBias为0的错误。
- {
- Varyings output;
- UNITY_SETUP_INSTANCE_ID(input);
- UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output);
-
- #if SHADER_API_GLES
- float4 pos = input.positionOS;
- float2 uv = input.uv;
- #else
- float4 pos = GetFullScreenTriangleVertexPosition(input.vertexID);
- float2 uv = GetFullScreenTriangleTexCoord(input.vertexID);
- #endif
-
- output.positionCS = pos;
- // output.texcoord = uv * _BlitScaleBias.xy + _BlitScaleBias.zw;
- output.texcoord = uv;
- return output;
- }
-
- float _SampleOffset;
-
- half4 FragBoxDownsample(Varyings input) : SV_Target
- {
- UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
-
- float2 uv = UnityStereoTransformScreenSpaceTex(input.texcoord);
- float4 d = _BlitTexture_TexelSize.xyxy * float4(-_SampleOffset, -_SampleOffset, _SampleOffset,
- _SampleOffset);
-
- half4 s;
-
- s = SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.xy);
- s += SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.zy);
- s += SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.xw);
- s += SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.zw);
-
- return s * 0.25h;
- }
- ENDHLSL
- }
- Pass
- {
- Name "ColorBlitPass_URP_13_1_2_OR_OLDER"
-
- HLSLPROGRAM
- #pragma vertex vert
- // #pragma vertex vert
- // #pragma fragment FragNearest
- #pragma fragment frag
- #pragma enable_d3d11_debug_symbols
-
- Texture2D _CameraTexture;
- // Texture2D _CameraTexture;
-
- struct MyAttributes
- {
- float4 positionOS : POSITION;
- float4 texCoord : TEXCOORD0;
- };
-
-
- Varyings vert(MyAttributes IN)
- {
- Varyings OUT = (Varyings)0;
- OUT.positionCS = float4(IN.positionOS.xyz,1);
- half4 clipVertex = OUT.positionCS/OUT.positionCS.w;
- OUT.texcoord = ComputeScreenPos(clipVertex);
- return OUT;
- }
- half4 frag (Varyings input) : SV_Target
- {
- UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
-
- float4 color = SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_LinearRepeat, input.texcoord);
-
- return color;
- }
- ENDHLSL
- }
- Pass
- {
- Name "BoxDownsample_URP_13_1_2_OR_OLDER"
-
- ZWrite Off
- Cull Off
-
- HLSLPROGRAM
- #pragma vertex vert
- #pragma fragment FragBoxDownsample
- #pragma enable_d3d11_debug_symbols
-
-
- Texture2D _CameraTexture;
- SAMPLER(sampler_CameraTexture);
-
- #if UNITY_VERSION < 202320
- float4 _BlitTexture_TexelSize;
- #endif
-
-
- float _SampleOffset;
- struct MyAttributes
- {
- float4 positionOS : POSITION;
- float4 texCoord : TEXCOORD0;
- };
-
- Varyings vert(MyAttributes IN)
- {
- Varyings OUT = (Varyings)0;
- OUT.positionCS = float4(IN.positionOS.xyz,1);
- half4 clipVertex = OUT.positionCS/OUT.positionCS.w;
- OUT.texcoord = ComputeScreenPos(clipVertex);
- return OUT;
- }
-
- half4 FragBoxDownsample(Varyings input) : SV_Target
- {
- UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
-
- float2 uv = UnityStereoTransformScreenSpaceTex(input.texcoord);
- float4 d = _BlitTexture_TexelSize.xyxy * float4(-_SampleOffset, -_SampleOffset, _SampleOffset,
- _SampleOffset);
-
- half4 s;
-
- s = SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.xy);
- s += SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.zy);
- s += SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.xw);
- s += SAMPLE_TEXTURE2D_X(_CameraTexture, sampler_CameraTexture, uv + d.zw);
-
- return s * 0.25h;
- }
- ENDHLSL
- }
- }
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Shader/ColorBlit.shader.meta b/Packages/NBPostProcessing/Shader/ColorBlit.shader.meta
deleted file mode 100644
index 2da1d64c..00000000
--- a/Packages/NBPostProcessing/Shader/ColorBlit.shader.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 3e92fe624a4f13d4eadc7753e236006a
-ShaderImporter:
- externalObjects: {}
- defaultTextures: []
- nonModifiableTextures: []
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/ColorBufferBlit.shader b/Packages/NBPostProcessing/Shader/ColorBufferBlit.shader
deleted file mode 100644
index 8642524a..00000000
--- a/Packages/NBPostProcessing/Shader/ColorBufferBlit.shader
+++ /dev/null
@@ -1,105 +0,0 @@
-Shader "XuanXuan/ColorBufferBlit"
-{
- HLSLINCLUDE
- #pragma target 2.0
- #pragma editor_sync_compilation
- #pragma multi_compile _ DISABLE_TEXTURE2D_X_ARRAY
- #pragma multi_compile _ BLIT_SINGLE_SLICE
- // Core.hlsl for XR dependencies
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- #include "Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl"
- ENDHLSL
-
- SubShader
- {
- Tags
- {
- "RenderType"="Opaque" "RenderPipeline" = "UniversalPipeline"
- }
- ZWrite Off Cull Off
- Pass
- {
- Name "ColorBlitPass0"
-
- HLSLPROGRAM
- // #pragma vertex Vert
- #pragma vertex vert
- // #pragma fragment FragNearest
- #pragma fragment frag
- #pragma enable_d3d11_debug_symbols
-
-
- Texture2D _CameraColorTexture;
- SAMPLER(sampler_CameraColorTexture);
-
- struct MyAttributes
- {
- float4 positionOS : POSITION;
- float4 texCoord : TEXCOORD0;
- };
-
-
- Varyings vert(MyAttributes IN)
- {
- Varyings OUT = (Varyings)0;
- OUT.positionCS = float4(IN.positionOS.xyz,1);
- half4 clipVertex = OUT.positionCS/OUT.positionCS.w;
- OUT.texcoord = ComputeScreenPos(clipVertex);
- return OUT;
- }
- half4 frag (Varyings input) : SV_Target
- {
- // UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
- float4 color = SAMPLE_TEXTURE2D_X(_CameraColorTexture, sampler_LinearRepeat, input.texcoord);
-
-
- return color;
- }
- ENDHLSL
- }
- Pass
- {
- Name "BoxDownsample"
-
- ZWrite Off
- Cull Off
-
- HLSLPROGRAM
- #pragma vertex Vert
- #pragma fragment FragBoxDownsample
- #pragma enable_d3d11_debug_symbols
-
-
- // Texture2D _CameraTexture;
- // SAMPLER(sampler_CameraTexture);
- Texture2D _CameraColorTexture;
- SAMPLER(sampler_CameraColorTexture);
-
- #if UNITY_VERSION < 202320
- float4 _BlitTexture_TexelSize;
- #endif
-
-
- float _SampleOffset;
-
- half4 FragBoxDownsample(Varyings input) : SV_Target
- {
- UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input);
-
- float2 uv = UnityStereoTransformScreenSpaceTex(input.texcoord);
- float4 d = _BlitTexture_TexelSize.xyxy * float4(-_SampleOffset, -_SampleOffset, _SampleOffset,
- _SampleOffset);
-
- half4 s;
-
- s = SAMPLE_TEXTURE2D_X(_CameraColorTexture, sampler_CameraColorTexture, uv + d.xy);
- s += SAMPLE_TEXTURE2D_X(_CameraColorTexture, sampler_CameraColorTexture, uv + d.zy);
- s += SAMPLE_TEXTURE2D_X(_CameraColorTexture, sampler_CameraColorTexture, uv + d.xw);
- s += SAMPLE_TEXTURE2D_X(_CameraColorTexture, sampler_CameraColorTexture, uv + d.zw);
-
- return s * 0.25h;
- }
- ENDHLSL
- }
- }
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Shader/ColorBufferBlit.shader.meta b/Packages/NBPostProcessing/Shader/ColorBufferBlit.shader.meta
deleted file mode 100644
index 9e84e657..00000000
--- a/Packages/NBPostProcessing/Shader/ColorBufferBlit.shader.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: 3150dab783854cd6b791d5db3be4a966
-timeCreated: 1747582276
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Shader/DistortSpeedNoise.png b/Packages/NBPostProcessing/Shader/DistortSpeedNoise.png
deleted file mode 100644
index 6f745d16..00000000
--- a/Packages/NBPostProcessing/Shader/DistortSpeedNoise.png
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:15fb002511f6feb08bfd05287edb4a3c8525cec24fc16a6eb2c192e7456e1aee
-size 19230
diff --git a/Packages/NBPostProcessing/Shader/DistortSpeedNoise.png.meta b/Packages/NBPostProcessing/Shader/DistortSpeedNoise.png.meta
deleted file mode 100644
index 6cb127ae..00000000
--- a/Packages/NBPostProcessing/Shader/DistortSpeedNoise.png.meta
+++ /dev/null
@@ -1,156 +0,0 @@
-fileFormatVersion: 2
-guid: 7f808d0c8608b954d8f20cb4132c3049
-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: 4
- 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: 4
- 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
- - serializedVersion: 4
- buildTarget: Server
- 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: 4
- buildTarget: Android
- 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: 4
- buildTarget: iOS
- 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: []
- customData:
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spriteCustomMetadata:
- entries: []
- nameFileIdTable: {}
- mipmapLimitGroupName:
- pSDRemoveMatte: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/Disturbance.shader b/Packages/NBPostProcessing/Shader/Disturbance.shader
deleted file mode 100644
index bca5c29a..00000000
--- a/Packages/NBPostProcessing/Shader/Disturbance.shader
+++ /dev/null
@@ -1,113 +0,0 @@
-Shader "XuanXuan/Disturbance"
-{
- Properties
- {
- [MhGroup(Main)]_mainTex("Main", float) = 0
- [MhTexture(Main)] _MaskMap("Mask Map", 2D) = "white" {}
-
- [MhTexture(Main,_Strength,on)]_NoiseMap("Noise Map", 2D) = "white"{}
- [HideInInspector]_Strength("Strength", Range(-0.2,0.2)) =0.1
- [MhToggleKeyword(Main,_PARTICLE_CUSTOMDATA_ON)]_ParticleCustomDataOn("Particle customData Strength", float) = 0
- [HideInInspector]_SurfaceType("surfaceType",float)=1
- [HideInInspector] _QueueOffset("Queue offset", Float) = 0.0
- }
-
- // The SubShader block containing the Shader code.
- SubShader
- {
- // SubShader Tags define when and under which conditions a SubShader block or
- // a pass is executed.
- Tags
- {
- "RenderType" = "Transparent" "RenderPipeline" = "UniversalPipeline" "Queue" = "Transparent" "IgnoreProjector" = "True"
- }
-
- Pass
- {
- Blend SrcAlpha OneMinusSrcAlpha
- //ZTest Always
- Cull Off
- HLSLPROGRAM
- //gpuInstancing on
- #pragma multi_compile_instancing
- #pragma instancing_options renderinglayer
- #pragma multi_compile _ DOTS_INSTANCING_ON
- #pragma target 3.5 DOTS_INSTANCING_ON
-
- #pragma shader_feature_local_fragment _PARTICLE_CUSTOMDATA_ON
- #pragma enable_d3d11_debug_symbols
-
-
- // This line defines the name of the vertex shader.
- #pragma vertex vert
- // This line defines the name of the fragment shader.
- #pragma fragment frag
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
-
-
- // This example uses the Attributes structure as an input structure in
- // the vertex shader.
- struct Attributes
- {
- float4 positionOS : POSITION;
- float4 uv : TEXCOORD0;
- UNITY_VERTEX_INPUT_INSTANCE_ID
- };
-
- struct Varyings
- {
- // The positions in this struct must have the SV_POSITION semantic.
- float4 positionHCS : SV_POSITION;
- float4 uv :TEXCOORD0;
- UNITY_VERTEX_INPUT_INSTANCE_ID
- };
-
- Texture2D _NoiseMap;
- SAMPLER(sampler_NoiseMap);
-
- Texture2D _MaskMap;
- SAMPLER(sampler_MaskMap);
- float _Strength;
-
- CBUFFER_START(UnityPerMaterial)
-
- float4 _NoiseMap_ST;
-
- CBUFFER_END
-
-
- Varyings vert(Attributes IN)
- {
- Varyings OUT;
- // Declaring the output object (OUT) with the Varyings struct.
-
- UNITY_SETUP_INSTANCE_ID(IN);
- UNITY_TRANSFER_INSTANCE_ID(IN, OUT);
-
- OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
- OUT.uv = IN.uv;
- return OUT;
- }
-
- half4 frag(Varyings IN) : SV_Target
- {
- UNITY_SETUP_INSTANCE_ID(IN);
-
- half2 screenSpaceUV = IN.positionHCS.xy / _ScaledScreenParams.xy;
- const half2 noiseUV = screenSpaceUV * _NoiseMap_ST.xy + _NoiseMap_ST.zw;
-
- half noise = SAMPLE_TEXTURE2D(_NoiseMap, sampler_NoiseMap, noiseUV).r * 2 - 1;
- half mask = SAMPLE_TEXTURE2D(_MaskMap, sampler_MaskMap, IN.uv.xy).r;
- noise = lerp(0, noise, mask);
-
- //noise = (noise * _Strength * 5) * 0.5 + 0.5;
- noise = (noise * _Strength) * 1.25 + 0.5;
-
- return half4(noise.xxx, 1.0);
- }
- ENDHLSL
- }
- }
- customEditor "ShaderEditor.MhBaseShaderGUI"
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Shader/Disturbance.shader.meta b/Packages/NBPostProcessing/Shader/Disturbance.shader.meta
deleted file mode 100644
index ebf3b63b..00000000
--- a/Packages/NBPostProcessing/Shader/Disturbance.shader.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 1b530af6d4d97eb4c8f3725d4cd3e9b8
-ShaderImporter:
- externalObjects: {}
- defaultTextures: []
- nonModifiableTextures: []
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/FullScreenDisturbance.shader b/Packages/NBPostProcessing/Shader/FullScreenDisturbance.shader
deleted file mode 100644
index 43aa7062..00000000
--- a/Packages/NBPostProcessing/Shader/FullScreenDisturbance.shader
+++ /dev/null
@@ -1,84 +0,0 @@
-Shader "XuanXuan/FullScreenDisturbance"
-{
- Properties
- {
- _Strength("Strength", Range(-0.2,0.2)) =0
- _BaseMap("Base Map", 2D) = "white"
- //_Mask("Mask", 2D) = "white"
-
- }
-
- // The SubShader block containing the Shader code.
- SubShader
- {
- // SubShader Tags define when and under which conditions a SubShader block or
- // a pass is executed.
- Tags
- {
- "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline"
- }
-
- Pass
- {
-
- stencil
- {
- Ref 1
- Comp equal
- Pass keep
- }
- HLSLPROGRAM
- #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- // This line defines the name of the vertex shader.
- #pragma vertex vert
- // This line defines the name of the fragment shader.
- #pragma fragment frag
-
- Texture2D _BlitTexture;
- SAMPLER(sampler_BlitTexture);
- Texture2D _BaseMap;
- SAMPLER(sampler_BaseMap);
- Texture2D _Mask;
- SAMPLER(simpler_Mask);
- float _Strength;
-
- struct Attributes
- {
- #if UNITY_ANY_INSTANCING_ENABLED
- uint instanceID : INSTANCEID_SEMANTIC;
- #endif
- uint vertexID : VERTEXID_SEMANTIC;
- };
-
- struct Varyings
- {
- float4 position : SV_POSITION;
- float2 uv : TEXCOORD0;
- #if UNITY_ANY_INSTANCING_ENABLED
- uint instanceID : CUSTOM_INSTANCE_ID;
- #endif
- };
-
-
- Varyings vert(Attributes input)
- {
- Varyings output;
- output.position = GetFullScreenTriangleVertexPosition(input.vertexID, UNITY_NEAR_CLIP_VALUE);
- output.uv = output.position.xy * 0.5 + 0.5;
- return output;
- }
-
- float4 frag(Varyings packedInput):SV_TARGET
- {
- float2 baseUV = packedInput.position / _ScreenParams.xy;
- float3 noise = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, baseUV);
- noise=lerp(0,noise,noise.b);
- baseUV += noise.xy * _Strength;
- return SAMPLE_TEXTURE2D(_BlitTexture, sampler_BlitTexture, baseUV);
- }
- ENDHLSL
- }
- }
-
-}
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Shader/FullScreenDisturbance.shader.meta b/Packages/NBPostProcessing/Shader/FullScreenDisturbance.shader.meta
deleted file mode 100644
index 26011dd2..00000000
--- a/Packages/NBPostProcessing/Shader/FullScreenDisturbance.shader.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 126dad763ce350945945655d5c062248
-ShaderImporter:
- externalObjects: {}
- defaultTextures:
- - _BaseMap: {instanceID: 0}
- - _Mask: {instanceID: 0}
- nonModifiableTextures: []
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/HLSL.meta b/Packages/NBPostProcessing/Shader/HLSL.meta
deleted file mode 100644
index bbfc38db..00000000
--- a/Packages/NBPostProcessing/Shader/HLSL.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: e73bff430617bbc44ae5b87fb0fa9abf
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/HLSL/PostProcessingFlags.hlsl b/Packages/NBPostProcessing/Shader/HLSL/PostProcessingFlags.hlsl
deleted file mode 100644
index dcd3a04b..00000000
--- a/Packages/NBPostProcessing/Shader/HLSL/PostProcessingFlags.hlsl
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef POST_PROCESSING_FLAGS
-#define POST_PROCESSING_FLAGS
-
-
-#if defined(CUSTOM_POSTPROCESS)
- uint _NBPostProcessFlags;
- #define FLAG_BIT_NB_POSTPROCESS_ON (1 << 0)
- #define FLAG_BIT_DISTORT_SPEED (1 << 1)
- #define FLAG_BIT_OVERLAYTEXTURE (1 << 2)
- #define FLAG_BIT_FLASH (1 << 3)
- #define FLAG_BIT_CHORATICABERRAT (1 << 4)
- #define FLAG_BIT_RADIALBLUR (1 << 5)
- #define FLAG_BIT_VIGNETTE (1 << 6)
- #define FLAG_BIT_OVERLAYTEXTURE_POLLARCOORD (1 << 7)
- #define FLAG_BIT_OVERLAYTEXTURE_MASKMAP (1 << 8)
- #define FLAG_BIT_POST_DISTORT_SCREEN_UV (1 << 9)
- #define FLAG_BIT_RADIALBLUR_BY_DISTORT (1 << 10)
- #define FLAG_BIT_CHORATICABERRAT_BY_DISTORT (1 << 11)
-
-
-
- bool CheckLocalFlags(uint bits)
- {
- return (_NBPostProcessFlags&bits) != 0;
- }
-#endif
-
-#endif
\ No newline at end of file
diff --git a/Packages/NBPostProcessing/Shader/HLSL/PostProcessingFlags.hlsl.meta b/Packages/NBPostProcessing/Shader/HLSL/PostProcessingFlags.hlsl.meta
deleted file mode 100644
index 6a154330..00000000
--- a/Packages/NBPostProcessing/Shader/HLSL/PostProcessingFlags.hlsl.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8d59b331ef0707e49a98c91244bd0c1a
-ShaderIncludeImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBPostProcessing/Shader/NBPostProcessUber.shader b/Packages/NBPostProcessing/Shader/NBPostProcessUber.shader
deleted file mode 100644
index befbd1bd..00000000
--- a/Packages/NBPostProcessing/Shader/NBPostProcessUber.shader
+++ /dev/null
@@ -1,380 +0,0 @@
-Shader "XuanXuan/Postprocess/NBPostProcessUber"
-{
- Properties
- {
-// [MainTexture] _BaseMap("Base Map", 2D) = "white"
- _SpeedDistortMap("速度径向扭曲贴图", 2D) = "white"
- _SpeedDistortVec("速度径向 x强度y位置z范围w速度",Vector) = (0,0,0,0)
- _SpeedDistortVec2("速度径向 x:uvX速度 y:uvY速度",Vector) = (0,0,0,0)
-
- _TextureOverlay("肌理附加图",2D) = "white"
- _TextureOverlayIntensity("肌理附加强度",Float) = 0
- _TextureOverlayAnim("机理图动画",Vector) = (0,0,0,0)
- _TextureOverlayMask("肌理图蒙板",2D) = "white"
-
- _InvertIntensity("反向强度",Float) = 0
- _DeSaturateIntensity("饱和度强度",Float) = 0
- _Contrast("对比度",Float) = 1
- _FlashColor("闪颜色", Vector) = (1, 1, 1, 1)
- _BlackFlashColor("闪黑颜色", Vector) = (0, 0, 0, 1)
-
-
- [HideInInspector] _NBPostProcessFlags("_NBPostProcessFlags", Integer) = 0
- _ChromaticAberrationVector("色散矢量",Vector) = (1,0,0,0)
-
- _CustomScreenCenter("自定义屏幕中心",Vector) = (0.5,0.5,0,0)
- _RadialBlurVec("径向模糊矢量 x强度",Vector) = (1,0,0,0)
- _VignetteVec("暗角矢量 x强度,y圆度,z光滑度",Vector) = (1,0,0,0)
-
-
- //不知道为什么,这里写成Color老是出错。
- _VignetteColor("暗角颜色",Vector) = (0.0,0.0,0.0,1.0)
-
- }
-
- // The SubShader block containing the Shader code.
- SubShader
- {
- // SubShader Tags define when and under which conditions a SubShader block or
- // a pass is executed.
- Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" }
-
- Pass
- {
- Blend SrcAlpha OneMinusSrcAlpha
- HLSLPROGRAM
- // This line defines the name of the vertex shader.
- #pragma vertex vert
- // This line defines the name of the fragment shader.
- #pragma fragment frag
- #define CUSTOM_POSTPROCESS
- // #define _POLARCOORDINATES
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
-
- #include "HLSL/PostProcessingFlags.hlsl"
- #include "Packages/com.xuanxuan.render.utility/Shader/HLSL/XuanXuan_Utility.hlsl"
-
- // This example uses the Attributes structure as an input structure in
- // the vertex shader.
-
-
- struct Attributes
- {
- float4 positionOS : POSITION;
- };
-
- struct Varyings
- {
- // The positions in this struct must have the SV_POSITION semantic.
- float4 positionHCS : SV_POSITION;
- half2 uv :TEXCOORD0;
- };
-
- TEXTURE2D(_ScreenColorCopy1);
- SAMPLER(_linear_clamp);
- SAMPLER(sampler_ScreenColorCopy1);
-
- TEXTURE2D(_DisturbanceMaskTex);
- SAMPLER(sampler_DisturbanceMaskTex);
-
- Texture2D _SpeedDistortMap;
- SAMPLER(sampler_SpeedDistortMap);
-
- TEXTURE2D(_TextureOverlay);
- SAMPLER(sampler_TextureOverlay);
- TEXTURE2D(_TextureOverlayMask);
- SAMPLER(sampler_TextureOverlayMask);
-
- #if UNITY_VERSION < 202220
- SAMPLER(sampler_LinearClamp);
- #endif
-
- CBUFFER_START(UnityPerMaterial)
-
- float4 _SpeedDistortMap_ST;
- half4 _SpeedDistortVec;
- float4 _SpeedDistortVec2;
-
- half4 _TextureOverlay_ST;
- half _TextureOverlayIntensity;
- half4 _TextureOverlayMask_ST;
- half4 _TextureOverlayAnim;
-
- half _InvertIntensity;
- half _DeSaturateIntensity;
- half _Contrast;
- half3 _FlashColor;
- half3 _BlackFlashColor;
-
- half4 _ChromaticAberrationVec;
- half4 _CustomScreenCenter;
- half4 _RadialBlurVec;
- half4 _VignetteVec;
- half4 _VignetteColor;
-
- CBUFFER_END
-
- half4 SAMPLE_TEXTURE2D_CHORATICABERRAT(half2 screenUV,half2 distortUV,half2 blurVec,half distToCenter)
- {
- if(CheckLocalFlags(FLAG_BIT_CHORATICABERRAT_BY_DISTORT))
- {
- blurVec = blurVec*0.25*_ChromaticAberrationVec.x;
- }
- else
- {
- half intensity = 1;
- half range = _ChromaticAberrationVec.z*0.5f;
- intensity = NB_Remap(distToCenter,_ChromaticAberrationVec.y-range,_ChromaticAberrationVec.y+range,0,1);
- blurVec = blurVec*0.25*_ChromaticAberrationVec.x*intensity;
- }
- half r = SAMPLE_TEXTURE2D_X(_ScreenColorCopy1, sampler_LinearClamp, screenUV + distortUV ).x;
- half g = SAMPLE_TEXTURE2D_X(_ScreenColorCopy1, sampler_LinearClamp, blurVec + screenUV + distortUV ).y;
- half b = SAMPLE_TEXTURE2D_X(_ScreenColorCopy1, sampler_LinearClamp, blurVec * 2.0 + screenUV + distortUV).z;
-
- half a = dot(blurVec,blurVec)*100000;
- return half4(r,g,b,a);
- }
-
-
-
- Varyings vert(Attributes IN)
- {
- // Declaring the output object (OUT) with the Varyings struct.
- Varyings OUT;
- OUT.positionHCS = TransformObjectToHClip(IN.positionOS.xyz);
- half4 clipVertex = OUT.positionHCS/OUT.positionHCS.w;
- OUT.uv = ComputeScreenPos(clipVertex);
- // Returning the output.
- return OUT;
- }
-
- half4 frag(Varyings IN) : SV_Target
- {
- half2 screenUV = IN.uv;
- half2 distortUV = 0;
- half2 distortUVWithoutIntensity=0;
-
- half4 color = 0;
-
- half2 polarCoordinates = 0;
-
- //half disturbanceMask = (SAMPLE_TEXTURE2D(_DisturbanceMaskTex, _linear_clamp, screenUV)) * 2 - 1 + 0.00392; //8位0.5校准
- //disturbanceMask *= 0.4;
- //half2 disturbanceMask = (SAMPLE_TEXTURE2D(_DisturbanceMaskTex, _linear_clamp, screenUV).xy) * 0.8 - 0.398432; //上面两行合并
-
- half2 disturbanceMask = (SAMPLE_TEXTURE2D(_DisturbanceMaskTex, _linear_clamp, screenUV).xy) * 0.8 - 0.4; //上面两行合并
-
-
- color.a = SimpleSmoothstep(0,0.01,abs(disturbanceMask.x + disturbanceMask.y));
- screenUV += disturbanceMask;
-
- UNITY_BRANCH
- if (!CheckLocalFlags(FLAG_BIT_NB_POSTPROCESS_ON))
- {
- color.rgb = SAMPLE_TEXTURE2D(_ScreenColorCopy1, _linear_clamp, screenUV).rgb;
- }
-
- UNITY_BRANCH
- if((CheckLocalFlags(FLAG_BIT_DISTORT_SPEED)& (!CheckLocalFlags(FLAG_BIT_POST_DISTORT_SCREEN_UV)))|CheckLocalFlags(FLAG_BIT_OVERLAYTEXTURE_POLLARCOORD))
- {
- polarCoordinates= PolarCoordinates(screenUV,_CustomScreenCenter.xy);
- }
-
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_DISTORT_SPEED))
- {
- _SpeedDistortMap_ST.zw += _SpeedDistortVec2.xy * _Time.y;
- // return half4(polarCoordinates,0,1);
- half2 distortSpeedUV;
- if(CheckLocalFlags(FLAG_BIT_POST_DISTORT_SCREEN_UV))
- {
- distortSpeedUV = screenUV* _SpeedDistortMap_ST.xy+_SpeedDistortMap_ST.zw;
- half2 noise = SAMPLE_TEXTURE2D(_SpeedDistortMap,sampler_SpeedDistortMap,distortSpeedUV);
- noise = noise * 2-1+_SpeedDistortVec.w*0.1;
- half distortStrength = _SpeedDistortVec.x * 0.2;
- distortUVWithoutIntensity = noise;
- distortUV = noise * distortStrength;
-
- }
- else
- {
- distortSpeedUV = polarCoordinates * _SpeedDistortMap_ST.xy + _SpeedDistortMap_ST.zw;
- half noise = SAMPLE_TEXTURE2D(_SpeedDistortMap,sampler_SpeedDistortMap,distortSpeedUV);
- noise *= SimpleSmoothstep(_SpeedDistortVec.y,_SpeedDistortVec.y+_SpeedDistortVec.z,(distortSpeedUV.y - _SpeedDistortMap_ST.w)/_SpeedDistortMap_ST.y);
- half distortStrength = - _SpeedDistortVec.x * 0.2;
- distortUV = normalize(screenUV-_CustomScreenCenter.xy)*noise;
- distortUVWithoutIntensity = distortUV;
- distortUV *= distortStrength;
- }
-
-
- color.a += dot(distortUV,distortUV)*100000;
- }
- else
- {
- distortUVWithoutIntensity = disturbanceMask;
- }
-
- // return half4(((dot(distortUV,distortUV)*100000)).rrr,1);
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_CHORATICABERRAT) || CheckLocalFlags(FLAG_BIT_RADIALBLUR))
- {
- float2 blurVec = 0;
- half dist = 0;
-
- if(!CheckLocalFlags(FLAG_BIT_CHORATICABERRAT_BY_DISTORT)|!CheckLocalFlags(FLAG_BIT_RADIALBLUR_BY_DISTORT))
- {
- blurVec = _CustomScreenCenter.xy - screenUV;
- dist = dot(blurVec,blurVec)*4;
- }
-
- float2 choraticaBerratBlurVec;
- if(CheckLocalFlags(FLAG_BIT_CHORATICABERRAT))
- {
- if(CheckLocalFlags(FLAG_BIT_CHORATICABERRAT_BY_DISTORT))
- {
- choraticaBerratBlurVec = distortUVWithoutIntensity;
- }
- else
- {
- choraticaBerratBlurVec = blurVec;
- }
- }
-
-
-
-
- if(CheckLocalFlags(FLAG_BIT_RADIALBLUR))
- {
-
- float2 radialblurVec;
- if(CheckLocalFlags(FLAG_BIT_RADIALBLUR_BY_DISTORT))
- {
- radialblurVec = distortUVWithoutIntensity*_RadialBlurVec.x;
- }
- else
- {
- _RadialBlurVec.z *= 0.5;
- half rangeIntensity = NB_Remap(dist,_RadialBlurVec.y-_RadialBlurVec.z,_RadialBlurVec.y+_RadialBlurVec.z,0,1);
- rangeIntensity = saturate(rangeIntensity);
- radialblurVec = blurVec*_RadialBlurVec.x*rangeIntensity;
- }
- color.a += dot(blurVec,blurVec)*100;
-
- half3 acumulateColor = half3(0, 0, 0);
-
- int iteration = _RadialBlurVec.w;
- [unroll(12)]
- for(int i = 0;i mats = new List();
- private Shader shader;
- private MaterialEditor matEditor;
- public List shaderFlags = new List();
-
- private int lastFlagBit;
-
- // private bool isCustomedStencil = false;//isCustomStencil应该各个材质各自控制。
- private readonly int _isCustomedStencilPropID = Shader.PropertyToID("_CustomStencilTest");
- private readonly string _defaultStencilKey = "ParticleBaseDefault";
-
- private StencilValuesConfig _stencilValuesConfig;
-
- private bool isInit = true;
-
- public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
- {
- //一定要初始化在第一行
- mats.Clear();
- shaderFlags.Clear();
- for (int i = 0; i < materialEditor.targets.Length; i++)
- {
- var targetMat = materialEditor.targets[i] as Material;
-
- mats.Add(targetMat);
- shaderFlags.Add(new W9ParticleShaderFlags(mats[i]));
-
- }
-
- if (!_stencilValuesConfig)
- {
- _stencilValuesConfig =
- AssetDatabase.LoadAssetAtPath(
- "Packages/com.xuanxuan.nb.shaders/Shader/StencilConfig.asset");
- }
-
- matEditor = materialEditor;
- EditorGUIUtility.labelWidth = 180f;
- _helper.Init(materialEditor, props, shaderFlags.ToArray(), mats);
-
- if (isInit)
- {
- CacheRenderersUsingThisMaterial(mats[0],0);
- isInit = false;
- }
-
- _helper.DrawToolBar();
- EditorGUI.BeginChangeCheck();
-
- _helper.DrawBigBlockFoldOut(W9ParticleShaderFlags.foldOutBitMeshOption, 3, GetAnimBoolIndex(3), "模式设置",
- () => DrawMeshOptions(),false);
- _helper.DrawBigBlockFoldOut(W9ParticleShaderFlags.foldOutBitBaseOption, 3, GetAnimBoolIndex(3), "基本全局功能",
- () => DrawBaseOptions(),false);
- _helper.DrawBigBlockFoldOut(W9ParticleShaderFlags.foldOutBitMainTexOption, 3, GetAnimBoolIndex(3), "主贴图功能",
- () => DrawMainTexOptions());
-
- if (_uiEffectEnabled == 0)
- {
- _helper.DrawBigBlockFoldOut(W9ParticleShaderFlags.foldOutBit1LightOption, 4, GetAnimBoolIndex(4),
- "光照功能", () => DrawLightOptions());
- }
-
- _helper.DrawBigBlockFoldOut(W9ParticleShaderFlags.foldOutBitFeatureOption, 3, GetAnimBoolIndex(3), "特别功能",
- () => DrawFeatureOptions());
- _helper.DrawBigBlockFoldOut(W9ParticleShaderFlags.foldOutBit1TaOption, 4, GetAnimBoolIndex(4), "TA调试",
- () => DrawTaOptions());
-
- EditorGUIUtility.labelWidth = 0f;
-
- if (mats.Count == 1)
- {
- if (_meshSourceMode == MeshSourceMode.Particle || _meshSourceMode == MeshSourceMode.UIParticle)
- {
- DoVertexStreamsArea(mats[0], m_ParticleRenderersUsingThisMaterial, 0); //填充stream和stremList
- mats[0].EnableKeyword("_CUSTOMDATA");
- }
- else
- {
- mats[0].DisableKeyword("_CUSTOMDATA");
- }
- }
-
- if (EditorGUI.EndChangeCheck())
- {
- CacheRenderersUsingThisMaterial(mats[0], 0);
-
-
- DoAfterDraw();
-
- //多选状态下同步ShaderFlag
- if (mats.Count > 1)
- {
- for (int i = 1; i < mats.Count; i++)
- {
- mats[i].SetInteger(W9ParticleShaderFlags.foldOutFlagId,
- mats[0].GetInteger(W9ParticleShaderFlags.foldOutFlagId));
- mats[i].SetInteger(W9ParticleShaderFlags.foldOutFlagId1,
- mats[0].GetInteger(W9ParticleShaderFlags.foldOutFlagId1));
- mats[i].SetInteger(W9ParticleShaderFlags.foldOutFlagId2,
- mats[0].GetInteger(W9ParticleShaderFlags.foldOutFlagId2));
- }
- }
- }
- }
-
- int _uiEffectEnabled = -1; //0 false,1 true,-1 unKnow | MixedValue
- int _meshSourceModeIsParticle = -1; //Particle Or UI Particle;
- private int _useGraphicMainTex = -1; //UI Sprite/UI RawImage
- int _noiseEnabled = -1; //扭曲
-
- private MeshSourceMode _meshSourceMode = MeshSourceMode.UnKnowOrMixed;
- private TransparentMode _transparentMode = TransparentMode.UnKnowOrMixed;
-
- public void DrawMeshOptions()
- {
-
- _helper.DrawPopUp("Mesh来源模式", "_MeshSourceMode", _meshSourceModeNames, drawBlock: modeProp =>
- {
-
- if (!modeProp.hasMixedValue)
- {
- _meshSourceMode = (MeshSourceMode)modeProp.floatValue;
- }
- else
- {
- _meshSourceMode = MeshSourceMode.UnKnowOrMixed;
- }
-
- for (int i = 0; i < mats.Count; i++)
- {
- MeshSourceMode mode = (MeshSourceMode)mats[i].GetFloat("_MeshSourceMode");
-
- int uiEffectEnabled;
- int meshSourceModeIsParticle;
- int useGraphicMainTex;
- if (mode == MeshSourceMode.UIEffectRawImage || mode == MeshSourceMode.UIEffectSprite ||
- mode == MeshSourceMode.UIEffectBaseMap || mode == MeshSourceMode.UIParticle)
- {
- uiEffectEnabled = 1;
- }
- else
- {
- uiEffectEnabled = 0;
- }
-
- if (mode == MeshSourceMode.Particle || mode == MeshSourceMode.UIParticle)
- {
- meshSourceModeIsParticle = 1;
- }
- else
- {
- meshSourceModeIsParticle = 0;
- }
-
- if (mode == MeshSourceMode.UIEffectSprite || mode == MeshSourceMode.UIEffectRawImage)
- {
- useGraphicMainTex = 1;
- }
- else
- {
- useGraphicMainTex = 0;
- }
-
- if (i == 0)
- {
- _uiEffectEnabled = uiEffectEnabled;
- _meshSourceModeIsParticle = meshSourceModeIsParticle;
- _useGraphicMainTex = useGraphicMainTex;
- }
- else
- {
- if (_uiEffectEnabled != uiEffectEnabled)
- {
- _uiEffectEnabled = -1;
- }
-
- if (_meshSourceModeIsParticle != meshSourceModeIsParticle)
- {
- _meshSourceModeIsParticle = -1;
- }
-
- if (_useGraphicMainTex != useGraphicMainTex)
- {
- _useGraphicMainTex = -1;
- }
- }
- }
-
- if (checkIsParicleSystem)
- {
- if (_meshSourceModeIsParticle <= 0)
- {
- EditorGUILayout.HelpBox("检测到材质用在粒子系统上,和设置不匹配", MessageType.Error);
- }
- }
- else
- {
- //这个不能Log,因为在Project面板下打开是不知道在不在粒子系统里的。
- // if (_meshSourceMode == MeshSourceMode.Particle)
- // {
- // EditorGUILayout.HelpBox("检测到材质没有用在粒子系统上,和设置不匹配",MessageType.Error);
- // }
- }
- });
-
- _helper.DrawPopUp("透明模式", "_TransparentMode", transparentModeNames, drawBlock: transModeProp =>
- {
- if (!transModeProp.hasMixedValue)
- {
- _transparentMode = (TransparentMode)mats[0].GetFloat("_TransparentMode");
- if (_transparentMode == TransparentMode.CutOff)
- {
- matEditor.ShaderProperty(_helper.GetProperty("_Cutoff"), "裁剪位置");
- }
-
- if (_transparentMode == TransparentMode.Transparent)
- {
- _helper.DrawPopUp("混合模式", "_Blend", blendModeNames, drawBlock: blendProp =>
- {
- if (!blendProp.hasMixedValue)
- {
- BlendMode blendMode = (BlendMode)blendProp.floatValue;
- if (blendMode == BlendMode.Premultiply || blendMode == BlendMode.Additive||_helper.ResetTool.IsInitResetData)
- {
- _helper.DrawSlider("叠加到预乘混合","_AdditiveToPreMultiplyAlphaLerp",0,1);
- }
- }
-
- },drawOnValueChangedBlock: blendProp => {
- BlendMode blendMode = (BlendMode)blendProp.floatValue;
- MaterialProperty addToPreMultiplyAlphaLerpProp =
- _helper.GetProperty("_AdditiveToPreMultiplyAlphaLerp");
- if (blendMode == BlendMode.Premultiply)
- {
- addToPreMultiplyAlphaLerpProp.floatValue = 1;
- }
- else if (blendMode == BlendMode.Additive)
- {
- addToPreMultiplyAlphaLerpProp.floatValue = 0;
- }
- });
- }
- }
- else
- {
- _transparentMode = TransparentMode.UnKnowOrMixed;
- }
-
- });
- }
-
- public void DrawBaseOptions()
- {
- _helper.DrawFloat("整体颜色强度", "_BaseColorIntensityForTimeline");
- _helper.DrawSlider("整体透明度", "_AlphaAll", rangePropertyName:"AlphaAllRangeVec");
- if (_uiEffectEnabled == 0)
- {
- _helper.DrawPopUp("深度测试", "_ZTest", Enum.GetNames(typeof(CompareFunction)));
- }
- else if (_uiEffectEnabled == 1)
- {
- _helper.GetProperty("_ZTest").floatValue = 4.0f; //UI层使用默认值LessEqual
- }
-
- // _helper.DrawPopUp("时间模式","_TimeMode",Enum.GetNames(typeof(TimeMode)));
- _helper.DrawPopUp("渲染面向", "_Cull", Enum.GetNames(typeof(RenderFace)));
-
-
-
- if (_uiEffectEnabled == 0)
- {
-
- if (_transparentMode == TransparentMode.Transparent)
- {
- _helper.DrawToggle("预渲染反面", "_BackFirstPassToggle", drawBlock: (isToggle) =>
- {
- if (!isToggle.hasMixedValue)
- {
- bool isBackFirstPass = isToggle.floatValue > 0.5f;
- for (int i = 0; i < mats.Count; i++)
- {
- mats[i].SetShaderPassEnabled("SRPDefaultUnlit", isToggle.floatValue > 0.5f);
- if (isBackFirstPass)
- {
- mats[i].SetFloat("_Cull", (float)RenderFace.Front);
- }
- }
-
- if (isBackFirstPass)
- {
- EditorGUILayout.HelpBox("预渲染反面会导致打断动态合批,请谨慎使用。", MessageType.Warning);
- }
- }
- });
-
-
- }
- _helper.DrawPopUp("深度写入强制控制", "_ForceZWriteToggle",_ForceZWriteToggleNames);
-
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit2BaseBackColor,5,GetAnimBoolIndex(5),"背面颜色", "_BaseBackColor_Toggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_BACKCOLOR,
- drawBlock:
- (isToggle) =>
- {
- // matEditor.ColorProperty(_helper.GetProperty("_BaseBackColor"), "");
- _helper.ColorProperty("背面颜色","_BaseBackColor");
- });
-
-
- }
-
- if (_uiEffectEnabled == 0)
- {
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitDistanceFade, 3, GetAnimBoolIndex(3), "近距离透明",
- "_DistanceFade_Toggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_DISTANCEFADE_ON,
- isIndentBlock: true, drawBlock: (isToggle) =>
- {
- _helper.DrawVector4In2Line("_Fade", "透明过度范围", true);
- });
- }
- else
- {
- for (int i = 0; i < mats.Count; i++)
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_DISTANCEFADE_ON);
- }
- }
-
- if (_uiEffectEnabled == 0)
- {
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitSoftParticles, 3, GetAnimBoolIndex(3), "软粒子",
- "_SoftParticlesEnabled", shaderKeyword: "_SOFTPARTICLES_ON", isIndentBlock: true, drawBlock:
- (isToggle) =>
- {
- _helper.DrawVector4In2Line("_SoftParticleFadeParams", "远近裁剪面", true);
- });
-
-
-
- _helper.DrawToggle("剔除主角色", "_StencilWithoutPlayerToggle", shaderKeyword: "_STENCIL_WITHOUT_PLAYER",
- drawEndChangeCheck: isToggle =>
- {
- if (!isToggle.hasMixedValue)
- {
- for (int i = 0; i < mats.Count; i++)
- {
- if (isToggle.floatValue > 0.5f)
- {
- StencilTestHelper.SetMaterialStencil(mats[i], "ParticleWithoutPlayer",
- _stencilValuesConfig, out int queue);
- mats[i].SetFloat(_isCustomedStencilPropID, 1.0f);
- }
- else
- {
- StencilTestHelper.SetMaterialStencil(mats[i], _defaultStencilKey,
- _stencilValuesConfig, out int queue);
- mats[i].SetFloat(_isCustomedStencilPropID, 0.0f);
- }
- }
- }
- });
- _helper.DrawToggle("忽略顶点色", "_IgnoreVetexColor_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_IGNORE_VERTEX_COLOR, flagIndex: 1);
- _helper.DrawSlider("雾影响强度", "_fogintensity", 0f, 1f);
- }
- else if (_uiEffectEnabled == 1)
- {
- _helper.GetProperty("_fogintensity").floatValue = 0;
- }
- }
-
- public void DrawMainTexOptions()
- {
- Action drawAfterMainTex = () =>
- {
- DrawColorChannelSelect("主贴图透明度通道", W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_MAINTEX_ALPHA,3);
- if (_meshSourceMode != MeshSourceMode.UIEffectSprite)
- {
- MaterialProperty textureProp = null;
- if (_meshSourceMode == MeshSourceMode.UIEffectRawImage)
- {
- textureProp = _helper.GetProperty("_MainTex");
- }
- else
- {
- textureProp = _helper.GetProperty("_BaseMap");
- }
-
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeMainTex, 4, "主贴图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_MAINTEX, 0, textureProp: textureProp);
- }
-
- DrawCustomDataSelect("主贴图X轴偏移自定义曲线", W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_X,
- 0);
- DrawCustomDataSelect("主贴图Y轴偏移自定义曲线", W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_Y,
- 0);
-
- if (_meshSourceMode != MeshSourceMode.UIEffectSprite)
- {
-
- _helper.DrawVector4In2Line("_BaseMapMaskMapOffset", "偏移速度", true);
- _helper.DrawSlider("主贴图旋转", "_BaseMapUVRotation", 0f, 360f);
- _helper.DrawFloat("主贴图旋转速度","_BaseMapUVRotationSpeed");
- }
-
- DrawNoiseAffectBlock(() =>
- {
- _helper.DrawSlider("主贴图扭曲强度控制", "_TexDistortion_intensity",rangePropertyName: "TexDistortionintensityRangeVec");
-
- });
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitHueShift, 3, GetAnimBoolIndex(3), "主贴图色相偏移",
- "_HueShift_Toggle", W9ParticleShaderFlags.FLAG_BIT_HUESHIFT_ON, isIndentBlock: true,
- drawBlock: (isToggle) =>
- {
- _helper.DrawSlider("色相", "_HueShift", 0, 1);
- DrawCustomDataSelect("色相自定义曲线", W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_HUESHIFT, 0);
- });
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitSaturability, 3, GetAnimBoolIndex(3),
- "主贴图饱和度", "_ChangeSaturability_Toggle", W9ParticleShaderFlags.FLAG_BIT_SATURABILITY_ON,
- isIndentBlock: true, drawBlock: (isToggle) =>
- {
- _helper.DrawSlider("饱和度", "_Saturability", rangePropertyName:"SaturabilityRangeVec");
- DrawCustomDataSelect("饱和度强度自定义曲线", W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_SATURATE, 1);
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit1MianTexContrast, 4, GetAnimBoolIndex(4),
- "主贴图对比度", "_Contrast_Toggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MAINTEX_CONTRAST, 1,
- isIndentBlock: true, drawBlock: (isToggle) =>
- {
- matEditor.ShaderProperty(_helper.GetProperty("_ContrastMidColor"), "对比度中值颜色");
- _helper.DrawSlider("对比度", "_Contrast", 0, 5);
- DrawCustomDataSelect("对比度自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_MAINTEX_CONTRAST, 2);
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit1MainTexColorRefine, 4, GetAnimBoolIndex(4),
- "主贴图颜色修正", "_BaseMapColorRefine_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MAINTEX_COLOR_REFINE, 1, isIndentBlock: true, drawBlock:
- (isToggle) =>
- {
- _helper.DrawVector4Component("A:主颜色相乘", "_BaseMapColorRefine", "x", false);
- _helper.DrawVector4Component("B:主颜色Power", "_BaseMapColorRefine", "y", false);
- _helper.DrawVector4Component("B:主颜色Power后相乘", "_BaseMapColorRefine", "z", false);
- _helper.DrawVector4Component("A/B线性差值", "_BaseMapColorRefine", "w", true, 0f, 1f);
- });
- };
-
- Action drawBaseMapFoldOut = () => {
- _helper.DrawTextureFoldOut(W9ParticleShaderFlags.foldOutBitBaseMap, 3, GetAnimBoolIndex(3), "主贴图",
- "_BaseMap", "_BaseColor", drawWrapMode: true,
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_BASEMAP, flagIndex: 2, drawBlock:
- theBaseMap =>
- {
- drawAfterMainTex();
- });};
- Action drawUITextureModify = () =>
- {
- _helper.ColorProperty( "贴图颜色叠加","_Color");
- _helper.DrawVector4In2Line("_UI_MainTex_ST", "Tilling", true);
- _helper.DrawVector4In2Line("_UI_MainTex_ST", "Offset", false);
- drawAfterMainTex();
- };
-
- if (_helper.ResetTool.IsInitResetData)
- {
- drawBaseMapFoldOut();
- drawUITextureModify();
- }
- else
- {
- if (_useGraphicMainTex <= 0)
- {
- drawBaseMapFoldOut();
- // _helper.DrawTexture("主贴图","_BaseMap","_BaseColor",drawWrapMode:true,flagBitsName:W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_BASEMAP,flagIndex:2);
- }
- else
- {
- drawUITextureModify();
- //实际上贴图来自_MainTex
- }
- }
-
-
- }
-
- public Gradient rampColorGradient = null;
- private MaterialProperty[] rampColorPropArr = new MaterialProperty[6];
- private MaterialProperty[] rampColorAlphaPropArr = new MaterialProperty[3];
- public Gradient maskMapGradient = null;
- public Gradient maskMap2Gradient = null;
- public Gradient maskMap3Gradient = null;
- private MaterialProperty[] maskMapGradientPropArr = new MaterialProperty[3];
- private MaterialProperty[] maskMap2GradientPropArr = new MaterialProperty[3];
- private MaterialProperty[] maskMap3GradientPropArr = new MaterialProperty[3];
-
- public Gradient dissolveRampGradient = null;
- private MaterialProperty[] dissolveRampColorPropArr = new MaterialProperty[6];
- private MaterialProperty[] dissolveRampAlphaPropArr = new MaterialProperty[3];
-
- private FxLightMode _fxLightMode;
-
- public void DrawLightOptions()
- {
- _helper.DrawPopUp("光照类型", "_FxLightMode", _fxLightModeNames, drawBlock: mode =>
- {
- if (!mode.hasMixedValue)
- {
- _fxLightMode = (FxLightMode)mode.floatValue;
- if (_fxLightMode == FxLightMode.BlinnPhong || _fxLightMode == FxLightMode.PBR ||
- _fxLightMode == FxLightMode.HalfLambert)
- {
- if (_fxLightMode == FxLightMode.BlinnPhong || _fxLightMode == FxLightMode.HalfLambert)
- {
- _helper.DrawToggle("高光开关", "_BlinnPhongSpecularToggle", shaderKeyword: "_SPECULAR_COLOR",
- drawBlock:
- isToggle =>
- {
- if ((!isToggle.hasMixedValue && isToggle.floatValue > 0.5f)||_helper.ResetTool.IsInitResetData)
- {
- _helper.ColorProperty("高光颜色","_SpecularColor");
- _helper.DrawVector4Component("光滑度", "_MaterialInfo", "y", true, 0, 1);
-
- }
- });
- }
-
- if (_fxLightMode == FxLightMode.PBR)
- {
- _helper.DrawVector4Component("金属度", "_MaterialInfo", "x", true, 0, 1);
- _helper.DrawVector4Component("光滑度", "_MaterialInfo", "y", true, 0, 1);
- }
- }
- else if (_fxLightMode == FxLightMode.SixWay)
- {
- _helper.DrawTexture("六路正方向图(P)", "_RigRTBk", drawScaleOffset: false);
- _helper.DrawTexture("六路反方向图(N)", "_RigLBtF", drawScaleOffset: false);
-
- EditorGUILayout.HelpBox("六路UV跟随主贴图UV及颜色", MessageType.Warning);
-
- _helper.DrawToggle("光照颜色吸收", "_SixWayColorAbsorptionToggle",
- shaderKeyword: "VFX_SIX_WAY_ABSORPTION", drawBlock:
- isAbsorption =>
- {
- _helper.DrawVector4Component("六路吸收强度", "_SixWayInfo", "x", true, 0, 1);
- });
-
- _helper.DrawTexture("六路自发光Ramp", "_SixWayEmissionRamp", drawScaleOffset: false,
- drawBlock: rampMap =>
- {
- if (!rampMap.hasMixedValue)
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (rampMap.textureValue)
- {
- shaderFlags[i]
- .SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_SIXWAY_RAMPMAP,
- index: 1);
- }
- else
- {
- shaderFlags[i]
- .ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_SIXWAY_RAMPMAP,
- index: 1);
- }
- }
- }
- });
- _helper.DrawVector4Component("六路自发光Pow", "_SixWayInfo", "y", false);
- matEditor.ShaderProperty(_helper.GetProperty("_SixWayEmissionColor"), "六路自发光颜色");
- }
- }
- else
- {
- _fxLightMode = FxLightMode.UnKnownOrMixedValue;
- }
-
- });
-
- if (_fxLightMode != FxLightMode.SixWay)
- {
- //--------------法线-----------------
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit2BumpTexToggle, 5, GetAnimBoolIndex(5),
- "法线贴图开关", "_BumpMapToggle", shaderKeyword: "_NORMALMAP", drawBlock: isBumpMapToggle =>
- {
- MaterialProperty bumpTexFollowMainTexUVToggle = _helper.GetProperty("_BumpTexFollowMainTexUVToggle");
- bool bumpMapFromMainTexUV = !bumpTexFollowMainTexUVToggle.hasMixedValue && bumpTexFollowMainTexUVToggle.floatValue > 0.5 ;
- _helper.DrawTextureFoldOut(W9ParticleShaderFlags.foldOutBit1BumpTex, 4, GetAnimBoolIndex(4),
- "法线贴图", "_BumpTex", drawWrapMode: !bumpMapFromMainTexUV,
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_BUMPTEX,
- drawScaleOffset: !bumpMapFromMainTexUV, drawBlock:
- theBumpmap =>
- {
- if (!bumpMapFromMainTexUV || _helper.ResetTool.IsInitResetData)
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeBumpTex, 4, "法线贴图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_BUMPMAP, 0, theBumpmap);
- }
-
- _helper.DrawToggle("法线跟随主贴图UV", "_BumpTexFollowMainTexUVToggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_BUMP_TEX_UV_FOLLOW_MAINTEX, 1);
- //在DoAfterDraw会执行SetKeyword的逻辑。
- _helper.DrawToggle("法线贴图多通道模式", "_BumpMapMaskMode", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_NORMALMAP_MASK_MODE);
- _helper.DrawSlider("法线强度", "_BumpScale", rangePropertyName:"BumpScaleRangeVec");
- });
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit2MatCapToggle, 5, GetAnimBoolIndex(5),
- "MatCap模拟材质", "_MatCapToggle", shaderKeyword: "_MATCAP", drawBlock: isMatCapToggle =>
- {
- _helper.DrawTexture("MatCap图", "_MatCapTex",colorPropertyName:"_MatCapColor", drawScaleOffset: false);
- // matEditor.ColorProperty(_helper.GetProperty("_MatCapColor"), "MatCap颜色");
- _helper.DrawVector4Component("MatCap相加到相乘过渡", "_MatCapInfo", "x", true);
- });
- }
- else if (_fxLightMode == FxLightMode.SixWay)
- {
- //这里应该关掉法线和Matcap的Keyword
- }
- }
-
- public void DrawFeatureOptions()
- {
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitMask, 3, GetAnimBoolIndex(3), "遮罩",
- "_Mask_Toggle", shaderKeyword: "_MASKMAP_ON", fontStyle: FontStyle.Bold, drawBlock: (isToggle) =>
- {
- _helper.DrawVector4Component("遮罩强度", "_MaskMapVec", "x", true);
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit2MaskRefine,5,GetAnimBoolIndex(5),"遮罩整体调整","_MaskRefineToggle",W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASK_REFINE,1,drawBlock:
- maskRefineProp =>
- {
- _helper.DrawVector4Component("范围(Pow)","_MaskRefineVec","x",false);
- _helper.DrawVector4Component("相乘","_MaskRefineVec","y",false);
- _helper.DrawVector4Component("偏移(相加)","_MaskRefineVec","z",false);
-
- });
-
- _helper.DrawPopUp("遮罩模式", "_MaskMapGradientToggle", _maskMapModeNames,
- drawBlock: maskMapModeProp =>
- {
- Action drawMaskTexturePart = () =>
- {
- _helper.DrawTextureFoldOut(W9ParticleShaderFlags.foldOutBitMaskMap, 3,
- GetAnimBoolIndex(3), "遮罩", "_MaskMap", drawWrapMode: true,
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP, flagIndex: 2,
- drawBlock: theMaskMap =>
- {
- DrawColorChannelSelect("遮罩通道选择", W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP1);
- });
- };
- Action drawMaskGradientPart = () =>
- {
- maskMapGradientPropArr[0] = _helper.GetProperty("_MaskMapGradientFloat0");
- maskMapGradientPropArr[1] = _helper.GetProperty("_MaskMapGradientFloat1");
- maskMapGradientPropArr[2] = _helper.GetProperty("_MaskMapGradientFloat2");
- _helper.DrawGradient(maskMapGradient, false, ColorSpace.Gamma, "遮罩渐变", 6,
- "_MaskMapGradientCount", alphaProperties: maskMapGradientPropArr);
- _helper.TextureScaleOffsetProperty("_MaskMap");
- _helper.DrawWrapMode("遮罩", W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP,
- flagIndex: 2);
- };
- if (_helper.ResetTool.IsInitResetData)
- {
- drawMaskTexturePart();
- drawMaskGradientPart();
- }
- else
- {
- if (!maskMapModeProp.hasMixedValue)
- {
- //绘制贴图
- if (maskMapModeProp.floatValue < 0.5f)
- {
- drawMaskTexturePart();
- }
- else
- {
- drawMaskGradientPart();
- }
- }
- }
-
-
-
- }, drawOnValueChangedBlock: maskMapModeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (maskMapModeProp.floatValue < 0.5f)
- {
- shaderFlags[i]
- .ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASKMAP_GRADIENT,
- index: 1);
- }
- else
- {
- shaderFlags[i]
- .SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASKMAP_GRADIENT,
- index: 1);
- }
- }
- });
-
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeMaskMap, 4, "遮罩UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_MASKMAP, 0);
- DrawCustomDataSelect("Mask图X轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_X, 0);
- DrawCustomDataSelect("Mask图Y轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_Y, 0);
- _helper.DrawVector4In2Line("_MaskMapOffsetAnition", "遮罩偏移速度", true);
- _helper.DrawFloat("遮罩旋转", "_MaskMapUVRotation");
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitMaskRotate, 3,
- GetAnimBoolIndex(3), "遮罩旋转速度", "_Mask_RotationToggle", W9ParticleShaderFlags
- .FLAG_BIT_PARTILCE_MASKMAPROTATIONANIMATION_ON, isIndentBlock: false,
- drawBlock: (isToggle2) =>
- {
- _helper.DrawFloat("旋转速度", "_MaskMapRotationSpeed");
- });
-
- DrawNoiseAffectBlock(() =>
- {
- _helper.DrawSlider("遮罩扭曲强度", "_MaskDistortion_intensity", rangePropertyName:"MaskDistortionIntensityRangeVec");
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitMask2, 3, GetAnimBoolIndex(3), "遮罩2",
- "_Mask2_Toggle", flagBitsName: W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASK_MAP2,
- flagIndex: 1, isIndentBlock: true, drawBlock:
- (isToggle) =>
- {
- _helper.DrawPopUp("遮罩2模式", "_MaskMap2GradientToggle", _maskMapModeNames,
- drawBlock: maskMap2GradientModeProp =>
- {
- Action drawMask2TexturePart = () =>
- {
- _helper.DrawTexture("遮罩2贴图", "_MaskMap2", drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP2,
- flagIndex: 2,
- drawBlock: theMaskMap2Texture =>
- {
- DrawColorChannelSelect("遮罩2通道选择",
- W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP2);
- });
- };
- Action drawMask2GradientPart = () =>
- {
- maskMap2GradientPropArr[0] = _helper.GetProperty("_MaskMap2GradientFloat0");
- maskMap2GradientPropArr[1] = _helper.GetProperty("_MaskMap2GradientFloat1");
- maskMap2GradientPropArr[2] = _helper.GetProperty("_MaskMap2GradientFloat2");
- _helper.DrawGradient(maskMap2Gradient, false, ColorSpace.Gamma,
- "遮罩2渐变(UV纵向)", 6, "_MaskMap2GradientCount",
- alphaProperties: maskMap2GradientPropArr);
- matEditor.TextureScaleOffsetProperty(_helper.GetProperty("_MaskMap2"));
- _helper.DrawWrapMode("遮罩2UV",
- W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP2, flagIndex: 2);
- };
- if (_helper.ResetTool.IsInitResetData)
- {
- drawMask2TexturePart();
- drawMask2GradientPart();
- }
- else
- {
- if (!maskMap2GradientModeProp.hasMixedValue)
- {
- if (maskMap2GradientModeProp.floatValue < 0.5f)
- {
- drawMask2TexturePart();
- }
- else
- {
- drawMask2GradientPart();
- }
- }
- }
-
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeMaskMap2, 4, "遮罩2UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_MASKMAP_2, 0);
- _helper.DrawVector4Component("遮罩2旋转","_MaskMapVec","y",false);
- _helper.DrawVector4In2Line("_MaskMapOffsetAnition", "遮罩2偏移速度", false);
- }, drawOnValueChangedBlock: maskMap2GradientModeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (maskMap2GradientModeProp.floatValue < 0.5f)
- {
- shaderFlags[i]
- .ClearFlagBits(
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASKMAP_2_GRADIENT,
- index: 1);
- }
- else
- {
- shaderFlags[i]
- .SetFlagBits(
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASKMAP_2_GRADIENT,
- index: 1);
- }
- }
-
- });
-
- });
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitMask3, 3, GetAnimBoolIndex(3), "遮罩3",
- "_Mask3_Toggle", flagBitsName: W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASK_MAP3,
- flagIndex: 1, isIndentBlock: true, drawBlock:
- (isToggle) =>
- {
- _helper.DrawPopUp("遮罩3模式", "_MaskMap3GradientToggle", _maskMapModeNames,
- drawBlock: maskMap3GradientModeProp =>
- {
- Action drawMask3TexturePart = () =>
- {
- _helper.DrawTexture("遮罩3贴图", "_MaskMap3", drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP3,
- flagIndex: 2,
- drawBlock: theMaskMap2Texture =>
- {
- DrawColorChannelSelect("遮罩3通道选择",
- W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP3);
- });
- };
- Action drawMask3GradientPart = () =>
- {
- maskMap3GradientPropArr[0] = _helper.GetProperty("_MaskMap3GradientFloat0");
- maskMap3GradientPropArr[1] = _helper.GetProperty("_MaskMap3GradientFloat1");
- maskMap3GradientPropArr[2] = _helper.GetProperty("_MaskMap3GradientFloat2");
- _helper.DrawGradient(maskMap3Gradient, false, ColorSpace.Gamma,
- "遮罩3渐变(UV横向)", 6, "_MaskMap3GradientCount",
- alphaProperties: maskMap3GradientPropArr);
- matEditor.TextureScaleOffsetProperty(_helper.GetProperty("_MaskMap3"));
- _helper.DrawWrapMode("遮罩3UV",
- W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP3, flagIndex: 2);
- };
- if (_helper.ResetTool.IsInitResetData)
- {
- drawMask3TexturePart();
- drawMask3GradientPart();
- }
- else
- {
- if (!maskMap3GradientModeProp.hasMixedValue)
- {
- if (maskMap3GradientModeProp.floatValue < 0.5f)
- {
- drawMask3TexturePart();
- }
- else
- {
- drawMask3GradientPart();
- }
- }
- }
-
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeMaskMap3, 4, "遮罩3UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_MASKMAP_3, 0);
- _helper.DrawVector4Component("遮罩3旋转","_MaskMapVec","z",false);
-
- _helper.DrawVector4In2Line("_MaskMap3OffsetAnition", "遮罩3偏移速度", true);
- }, drawOnValueChangedBlock: maskMap3GradientModeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (maskMap3GradientModeProp.floatValue < 0.5f)
- {
- shaderFlags[i]
- .ClearFlagBits(
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASKMAP_3_GRADIENT,
- index: 1);
- }
- else
- {
- shaderFlags[i]
- .SetFlagBits(
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASKMAP_3_GRADIENT,
- index: 1);
- }
- }
-
- });
- });
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitNoise, 3, GetAnimBoolIndex(3), "扭曲",
- "_noisemapEnabled", shaderKeyword: "_NOISEMAP", fontStyle: FontStyle.Bold,
- drawBlock: (isToggle) =>
- {
- if (isToggle.hasMixedValue)
- {
- _noiseEnabled = -1;
- }
- else
- {
- _noiseEnabled = isToggle.floatValue > 0.5f ? 1 : 0;
- }
-
- _helper.DrawToggle("用于屏幕扰动", "_ScreenDistortModeToggle", shaderKeyword: "_SCREEN_DISTORT_MODE",
- drawEndChangeCheck: isScreenDistortToggle =>
- {
- if (!isScreenDistortToggle.hasMixedValue && isScreenDistortToggle.floatValue > 0.5f)
- {
- //强制设置为Clamp模式。
- for (int i = 0; i < mats.Count; i++)
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_BASEMAP,
- index: 2);
- }
- }
- });
-
- EditorGUILayout.LabelField("扭曲贴图RG双通道则为FlowMap,FlowMap贴图设置应该去掉sRGB勾选");
- _helper.DrawTextureFoldOut(W9ParticleShaderFlags.foldOutBitNoiseMap, 3, GetAnimBoolIndex(3), "扭曲贴图",
- "_NoiseMap", drawWrapMode: true, flagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_NOISEMAP,
- flagIndex: 2, drawBlock:
- theNoiseMap =>
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeNoiseMap, 4, "扭曲贴图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_NOISE_MAP, 0, theNoiseMap);
- _helper.DrawSlider("主贴图扭曲强度", "_TexDistortion_intensity", -1.0f, 1.0f);
- DrawCustomDataSelect("扭曲强度自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_NOISE_INTENSITY, 1);
- _helper.DrawVector4In2Line("_DistortionDirection", "扭曲方向强度", true);
- DrawCustomDataSelect("扭曲方向强度X自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_X, 2);
- DrawCustomDataSelect("扭曲方向强度Y自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_Y, 2);
-
- _helper.DrawSlider("扭曲旋转", "_NoiseMapUVRotation", 0f, 360f);
- _helper.DrawVector4In2Line("_NoiseOffset", "扭曲偏移速度", true);
- _helper.DrawToggle("0.5为中值,双向扭曲", "_DistortionBothDirection_Toggle",
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_PARTICLE_NOISEMAP_NORMALIZEED_ON,
- isIndentBlock: false);
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitNoiseMaskToggle, 3, GetAnimBoolIndex(3),
- "扭曲遮罩", "_noiseMaskMap_Toggle",
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_NOISE_MASKMAP, flagIndex: 1,
- drawBlock: isNoiseMaskToggle =>
- {
- _helper.DrawTexture("扭曲遮罩贴图", "_NoiseMaskMap", drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_NOISE_MASKMAP, drawBlock:
- theNoiseMaskMap =>
- {
- DrawColorChannelSelect("扭曲遮罩图通道选择",
- W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_NOISE_MASK);
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeNoiseMaskMap, 4,
- "扭曲遮罩贴图UV来源", W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_NOISE_MASK_MAP, 0,
- theNoiseMaskMap);
- });
- });
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitDistortionChoraticaberrat, 3, GetAnimBoolIndex(3),
- "扭曲色散", "_Distortion_Choraticaberrat_Toggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CHORATICABERRAT,
- isIndentBlock: true, fontStyle: FontStyle.Bold, drawBlock:
- (is_Choraticaberrat_Toggle) =>
- {
- DrawNoiseAffectBlock(() =>
- {
- _helper.DrawToggle("色散强度受扭曲强度影响", "_Distortion_Choraticaberrat_WithNoise_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_NOISE_CHORATICABERRAT_WITH_NOISE);
- });
- _helper.DrawVector4Component("色散强度", "_DistortionDirection", "z", false);
- DrawCustomDataSelect("色散强度自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_CHORATICABERRAT_INTENSITY, 0);
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitEmission, 3, GetAnimBoolIndex(3), "流光(颜色相加)",
- "_EmissionEnabled", shaderKeyword: "_EMISSION", isIndentBlock: true, fontStyle: FontStyle.Bold,
- drawBlock: (isToggle) =>
- {
- MaterialProperty emissionFollowMainTexUVToggle = _helper.GetProperty("_EmissionFollowMainTexUV");
- bool emissionFromMainTexUV = !emissionFollowMainTexUVToggle.hasMixedValue && emissionFollowMainTexUVToggle.floatValue > 0.5 ;
-
- _helper.DrawTexture("流光贴图", "_EmissionMap", "_EmissionMapColor", drawWrapMode: !emissionFromMainTexUV,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_EMISSIONMAP, flagIndex: 2,drawScaleOffset:!emissionFromMainTexUV,
- drawBlock: theEmissionMap =>
- {
- if (!emissionFromMainTexUV)
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeEmissionMap, 4, "流光贴图UV来源", W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_EMISSION_MAP, 0, theEmissionMap);
- _helper.DrawSlider("流光贴图旋转", "_EmissionMapUVRotation", 0f, 360f);
- _helper.DrawVector4In2Line("_EmissionMapUVOffset", "流光贴图偏移速度", true);
- DrawNoiseAffectBlock(() => { _helper.DrawSlider("流光贴图扭曲强度", "_Emi_Distortion_intensity",rangePropertyName:"EmiDistortionIntensityRangeVec"); });
- }
- });
-
- _helper.DrawToggle("流光贴图跟随主贴图UV","_EmissionFollowMainTexUV",flagBitsName:W9ParticleShaderFlags.FLAG_BIT_PARTICLE_EMISSION_FOLLOW_MAINTEX_UV);
- _helper.DrawFloat("流光颜色强度", "_EmissionMapColorIntensity");
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutColorBlend, 3, GetAnimBoolIndex(3), "渐变(颜色相乘)",
- "_ColorBlendMap_Toggle", shaderKeyword: "_COLORMAPBLEND", isIndentBlock: true,
- fontStyle: FontStyle.Bold,
- drawBlock: (isToggle) =>
- {
-
- MaterialProperty colorBlendFollowMainTexUVToggle = _helper.GetProperty("_ColorBlendFollowMainTexUV");
- bool colorBlendFromMainTexUV = !colorBlendFollowMainTexUVToggle.hasMixedValue && colorBlendFollowMainTexUVToggle.floatValue > 0.5 ;
- _helper.DrawTexture("颜色渐变贴图", "_ColorBlendMap",colorPropertyName:"_ColorBlendColor" ,drawWrapMode: !colorBlendFromMainTexUV,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_COLORBLENDMAP, flagIndex: 2,
- drawScaleOffset: !colorBlendFromMainTexUV,drawBlock:
- texProp =>
- {
- if (!colorBlendFromMainTexUV)
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeColorBlendMap, 4, "颜色渐变贴图UV来源", W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_COLOR_BLEND_MAP, 0, texProp);
- _helper.DrawVector4Component("颜色渐变贴图旋转", "_ColorBlendVec", "w", true, 0f, 360f);
- _helper.DrawVector4In2Line("_ColorBlendMapOffset", "颜色渐变贴图偏移速度", true);
- DrawNoiseAffectBlock(() => { _helper.DrawVector4Component("颜色渐变扭曲强度","_ColorBlendVec","x",true,0f,1f); });
- }
- });
- _helper.DrawToggle("颜色渐变图跟随主贴图UV","_ColorBlendFollowMainTexUV",W9ParticleShaderFlags.FLAG_BIT_PARTICLE_COLOR_BLEND_FOLLOW_MAINTEX_UV);
- // matEditor.ColorProperty(_helper.GetProperty("_ColorBlendColor"), "颜色渐变叠加");
- _helper.DrawPopUp("颜色渐变图Alpha作用","_ColorBlendAlphaMultiplyMode",colorBlendAlphaMode,drawOnValueChangedBlock:
- alphaModeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (alphaModeProp.floatValue > 0.5)
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_COLOR_BLEND_ALPHA_MULTIPLY_MODE);
- }
- else
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_COLOR_BLEND_ALPHA_MULTIPLY_MODE);
- }
-
- }
- });
- _helper.DrawVector4Component("颜色渐变图Alpha强度","_ColorBlendVec","z",true,0f,1f);
-
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit2RampColor, 5, GetAnimBoolIndex(5), "颜色映射(Ramp)",
- "_RampColorToggle", shaderKeyword: "_COLOR_RAMP", isIndentBlock: true, fontStyle: FontStyle.Bold,
- drawBlock:
- isToggleProp =>
- {
- _helper.DrawPopUp("Ramp来源模式", "_RampColorSourceMode", rampColorSourceMode,
- drawBlock: modeProp =>
- {
- Action drawRampTexture = () =>
- {
- _helper.DrawTexture("颜色映射黑白图", "_RampColorMap", drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_RAMP_COLOR_MAP,
- flagIndex: 2,
- drawBlock: texProp =>
- {
- DrawColorChannelSelect("颜色映射黑白图通道选择",
- W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_RAMP_COLOR_MAP);
- });
- };
- Action drawNoRampTexture = () =>
- {
- _helper.TextureScaleOffsetProperty("_RampColorMap");
- _helper.DrawWrapMode("颜色映射UV",
- W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_RAMP_COLOR_MAP, 2);
- };
- if (_helper.ResetTool.IsInitResetData)
- {
- drawRampTexture();
- drawNoRampTexture();
- }
- else
- {
- if (!modeProp.hasMixedValue)
- {
- if (modeProp.floatValue >= 0.5f)
- {
- drawRampTexture();
- }
- else
- {
- drawNoRampTexture();
- }
- }
- }
- }, drawOnValueChangedBlock: modeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (modeProp.floatValue > 0.5f)
- {
- shaderFlags[i]
- .SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_RAMP_COLOR_MAP_MODE_ON);
- }
- else
- {
- shaderFlags[i]
- .ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_RAMP_COLOR_MAP_MODE_ON);
- }
- }
- });
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeRampColorMap, 4, "颜色映射黑白图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_RAMP_COLOR_MAP, 0,
- _helper.GetProperty("_RampColorMap"),forceEnable:true);
- _helper.DrawVector4In2Line("_RampColorMapOffset", "颜色映射贴图偏移速度", true);
- _helper.DrawVector4Component("颜色映射贴图旋转", "_RampColorMapOffset", "w", true, 0f, 360f);
- rampColorPropArr[0] = _helper.GetProperty("_RampColor0");
- rampColorPropArr[1] = _helper.GetProperty("_RampColor1");
- rampColorPropArr[2] = _helper.GetProperty("_RampColor2");
- rampColorPropArr[3] = _helper.GetProperty("_RampColor3");
- rampColorPropArr[4] = _helper.GetProperty("_RampColor4");
- rampColorPropArr[5] = _helper.GetProperty("_RampColor5");
- rampColorAlphaPropArr[0] = _helper.GetProperty("_RampColorAlpha0");
- rampColorAlphaPropArr[1] = _helper.GetProperty("_RampColorAlpha1");
- rampColorAlphaPropArr[2] = _helper.GetProperty("_RampColorAlpha2");
- _helper.DrawGradient(rampColorGradient, true, ColorSpace.Gamma, "映射颜色", 6, "_RampColorCount",
- rampColorPropArr, rampColorAlphaPropArr);
- _helper.DrawPopUp("Ramp颜色混合模式", "_RampColorBlendMode", rampColorBlendMode, drawOnValueChangedBlock:
- modeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (modeProp.floatValue > 0.5f)
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_RAMP_COLOR_BLEND_ADD);
- }
- else
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_RAMP_COLOR_BLEND_ADD);
- }
- }
- });
- matEditor.ShaderProperty(_helper.GetProperty("_RampColorBlendColor"), "颜色映射叠加颜色_hdr");
-
-
- });
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutDissolve, 3, GetAnimBoolIndex(3), "溶解",
- "_Dissolve_Toggle", shaderKeyword: "_DISSOLVE", isIndentBlock: true, fontStyle: FontStyle.Bold,
- drawBlock: (isToggle) =>
- {
-
- _helper.DrawTextureFoldOut(W9ParticleShaderFlags.foldOutDissolveMap, 3, GetAnimBoolIndex(3), "溶解贴图",
- "_DissolveMap", drawScaleOffset: true, drawWrapMode: true,
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_DISSOLVE_MAP, flagIndex: 2,
- drawBlock: (dissolveTex) =>
- {
- DrawColorChannelSelect("溶解贴图通道选择",
- W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MAP);
- // matEditor.TextureScaleOffsetProperty(_helper.GetProperty("_DissolveMap"));
- DrawCustomDataSelect("溶解贴图X轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_X, 1);
- DrawCustomDataSelect("溶解贴图Y轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_Y, 1);
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeDissolveMap, 4, "溶解贴图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_DISSOLVE_MAP, 0, dissolveTex);
- _helper.DrawVector4In2Line("_DissolveOffsetRotateDistort", "溶解贴图偏移速度", true);
- _helper.DrawVector4Component("溶解贴图旋转", "_DissolveOffsetRotateDistort", "z", true, 0f, 360f);
- });
- _helper.DrawVector4Component("溶解值Pow", "_Dissolve","y",true,0f,10f);
- _helper.DrawToggle("溶解度黑白值测试", "_Dissolve_Test_Toggle", shaderKeyword: "_DISSOLVE_EDITOR_TEST");
- _helper.DrawVector4Component("溶解强度", "_Dissolve", "x", true, rangeVecPropName:"DissolveXRangeVec");
- DrawCustomDataSelect("溶解强度自定义曲线", W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_DISSOLVE_INTENSITY,
- 0);
- _helper.DrawVector4Component("溶解硬软度", "_Dissolve", "w", true, 0.001f, 1f);
- DrawNoiseAffectBlock(() =>
- {
- _helper.DrawVector4Component("溶解贴图扭曲强度", "_DissolveOffsetRotateDistort", "w", false);
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutDissolveVoronoi, 3, GetAnimBoolIndex(3),
- "程序化噪波叠加", "_DissolveVoronoi_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_DISSOVLE_VORONOI, flagIndex: 1, isIndentBlock: true,
- drawBlock: isVoronoiToggle =>
- {
- _helper.DrawVector4In2Line("_DissolveVoronoi_Vec", "噪波1缩放", true);
- _helper.DrawVector4Component("噪波1速度", "_DissolveVoronoi_Vec2", "z", false);
- _helper.DrawVector4In2Line("_DissolveVoronoi_Vec4", "噪波1偏移", true);
- DrawCustomDataSelect("噪波1偏移速度X自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_X, 2);
- DrawCustomDataSelect("噪波1偏移速度Y自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_Y, 2);
- _helper.DrawVector4In2Line("_DissolveVoronoi_Vec3", "噪波1偏移速度", true);
- EditorGUILayout.Space();
- _helper.DrawVector4In2Line("_DissolveVoronoi_Vec", "噪波2缩放", false);
- _helper.DrawVector4Component("噪波2速度", "_DissolveVoronoi_Vec2", "w", false);
- _helper.DrawVector4In2Line("_DissolveVoronoi_Vec4", "噪波2偏移", false);
- DrawCustomDataSelect("噪波2偏移速度X自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_X, 2);
- DrawCustomDataSelect("噪波2偏移速度Y自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_Y, 2);
- _helper.DrawVector4In2Line("_DissolveVoronoi_Vec3", "噪波2偏移速度", false);
- EditorGUILayout.Space();
- EditorGUILayout.Space();
- _helper.DrawVector4Component("噪波12混合系数(圆尖)", "_DissolveVoronoi_Vec2", "x", true);
- _helper.DrawVector4Component("噪波整体和溶解贴图混合系数", "_DissolveVoronoi_Vec2", "y", true);
- EditorGUILayout.Space();
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit2DissolveLine,5,GetAnimBoolIndex(5),"溶解描边","_DissolveLineMaskToggle",W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_DISSOLVE_LINE_MASK,1,drawBlock:
- isDissolveLineMask =>
- {
- // matEditor.ColorProperty(_helper.GetProperty("_DissolveLineColor"), "溶解描边颜色");
- _helper.ColorProperty("溶解描边颜色","_DissolveLineColor");
- _helper.DrawVector4Component("描边位置","_Dissolve_Vec2","x",true,rangeVecPropName:"Dissolve2XRangeVec");
- _helper.DrawVector4Component("描边软硬","_Dissolve_Vec2","y",true,rangeVecPropName:"Dissolve2YRangeVec");
-
- });
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutDissolveRampMap, 3, GetAnimBoolIndex(3),
- "溶解Ramp图功能", "_Dissolve_useRampMap_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_DISSOVLE_USE_RAMP, flagIndex: 1, isIndentBlock: true,
- drawBlock:
- isDissolveUseRampToggle =>
- {
- _helper.DrawPopUp("溶解Ramp模式", "_DissolveRampSourceMode", dissolveRampSourceMode,
- drawBlock: dissolveRampModeProp =>
- {
- Action drawRampTexture = () =>
- {
- _helper.DrawTexture("溶解Ramp图", "_DissolveRampMap", "_DissolveRampColor",
- drawScaleOffset: true, drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags
- .FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP, flagIndex: 2);
- };
- Action drawRampGradient = () =>
- {
- dissolveRampColorPropArr[0] = _helper.GetProperty("_DissolveRampColor0");
- dissolveRampColorPropArr[1] = _helper.GetProperty("_DissolveRampColor1");
- dissolveRampColorPropArr[2] = _helper.GetProperty("_DissolveRampColor2");
- dissolveRampColorPropArr[3] = _helper.GetProperty("_DissolveRampColor3");
- dissolveRampColorPropArr[4] = _helper.GetProperty("_DissolveRampColor4");
- dissolveRampColorPropArr[5] = _helper.GetProperty("_DissolveRampColor5");
- dissolveRampAlphaPropArr[0] = _helper.GetProperty("_DissolveRampAlpha0");
- dissolveRampAlphaPropArr[1] = _helper.GetProperty("_DissolveRampAlpha1");
- dissolveRampAlphaPropArr[2] = _helper.GetProperty("_DissolveRampAlpha2");
- _helper.DrawGradient(dissolveRampGradient, true, ColorSpace.Gamma,
- "Ramp颜色", 6, "_DissolveRampCount", dissolveRampColorPropArr,
- dissolveRampAlphaPropArr);
- matEditor.TextureScaleOffsetProperty(
- _helper.GetProperty("_DissolveRampMap"));
- matEditor.ShaderProperty(_helper.GetProperty("_DissolveRampColor"),
- "Ramp颜色叠加");
- _helper.DrawWrapMode("溶解RampUV",
- W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP, 2);
-
- };
- if (_helper.ResetTool.IsInitResetData)
- {
- drawRampTexture();
- drawRampGradient();
- }
- else
- {
- if (!dissolveRampModeProp.hasMixedValue)
- {
- if (dissolveRampModeProp.floatValue > 0.5f)
- {
- drawRampTexture();
- }
- else
- {
- drawRampGradient();
- }
- }
- }
-
-
- _helper.DrawPopUp("溶解Ramp混合模式","_DissolveRampColorBlendMode",dissolveRampBlendModeNames,drawOnValueChangedBlock:
- rampColorBend =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (rampColorBend.floatValue > 0.5f)
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_DISSOLVE_RAMP_MULITPLY,index:1);
- }
- else
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_DISSOLVE_RAMP_MULITPLY,index:1);
- }
- }
- });
- }, drawOnValueChangedBlock: dissolveRampModeProp =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (dissolveRampModeProp.floatValue > 0.5f)
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_DISSOLVE_RAMP_MAP);
- }
- else
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_DISSOLVE_RAMP_MAP);
- }
- }
- });
- });
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutDissolveMask, 3, GetAnimBoolIndex(3), "溶解遮罩图(过程溶解)",
- "_DissolveMask_Toggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_DISSOLVE_MASK, drawBlock:
- (isToggle) =>
- {
- _helper.DrawTexture("溶解遮罩图", "_DissolveMaskMap", drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_DISSOLVE_MASKMAP,
- flagIndex: 2, drawBlock:
- texProp =>
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeDissolveMaskMap, 4,
- "溶解遮罩图UV来源", W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_DISSOLVE_MASK_MAP, 0,
- texProp);
- });
- DrawColorChannelSelect("溶解遮罩图通道选择",
- W9ParticleShaderFlags.FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MASK_MAP);
- _helper.DrawVector4Component("溶解遮罩强度", "_Dissolve", "z", false);
- DrawCustomDataSelect("溶解遮罩图强度自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_MASK_INTENSITY, 1);
- });
-
- });
-
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutFresnel, 3, GetAnimBoolIndex(3), "菲涅尔",
- "_fresnelEnabled", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_FRESNEL_ON, isIndentBlock: true,
- fontStyle: FontStyle.Bold,
- drawBlock: (isToggle) =>
- {
- _helper.DrawPopUp("菲涅尔模式", "_FresnelMode", _fresnelModeNames, drawBlock:
- fresnelModeProp =>
- {
- if ((!fresnelModeProp.hasMixedValue) &&
- fresnelModeProp.floatValue.Equals((float)FresnelMode.Color))
- {
- matEditor.ColorProperty(_helper.GetProperty("_FresnelColor"), "菲涅尔颜色");
- _helper.DrawToggle("菲涅尔颜色受Alpha影响", "_FresnelColorAffectByAlpha",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_FRESNEL_COLOR_AFFETCT_BY_ALPHA);
- }
- },
- drawOnValueChangedBlock: fresnelModeProp =>
- {
- if (!fresnelModeProp.hasMixedValue)
- {
- FresnelMode fresnelMode = (FresnelMode)fresnelModeProp.floatValue;
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- switch (fresnelMode)
- {
- case FresnelMode.Color:
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_FRESNEL_COLOR_ON);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_FRESNEL_FADE_ON);
- break;
- case FresnelMode.Fade:
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_FRESNEL_COLOR_ON);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags
- .FLAG_BIT_PARTICLE_FRESNEL_FADE_ON);
- break;
- }
- }
-
- }
- });
- _helper.DrawVector4Component("菲涅尔强度", "_FresnelUnit", "z", true);
-
-
- if (mats.Count == 1)
- {
- FresnelMode fresnelMode = (FresnelMode)mats[0].GetFloat("_FresnelMode");
-
- }
-
- _helper.DrawVector4Component("菲涅尔位置", "_FresnelUnit", "x", true, -1f, 1f);
- DrawCustomDataSelect("菲尼尔位置自定义曲线", W9ParticleShaderFlags.FLAGBIT_POS_0_CUSTOMDATA_FRESNEL_OFFSET,
- 0);
- _helper.DrawVector4Component("菲涅尔范围Pow", "_FresnelUnit", "y", true, 0f, 10f);
- _helper.DrawVector4Component("菲涅尔硬度", "_FresnelUnit", "w", true, 0f, 1f);
- _helper.DrawToggle("翻转菲涅尔", "_InvertFresnel_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_FRESNEL_INVERT_ON);
- matEditor.VectorProperty(_helper.GetProperty("_FresnelRotation"), "菲涅尔方向偏移");
- });
-
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutVertexOffset, 3, GetAnimBoolIndex(3), "顶点偏移",
- "_VertexOffset_Toggle", W9ParticleShaderFlags.FLAG_BIT_PARTICLE_VERTEX_OFFSET_ON, isIndentBlock: true,
- fontStyle: FontStyle.Bold,
- drawBlock: isToggle =>
- {
- _helper.DrawTexture("顶点偏移贴图", "_VertexOffset_Map", drawScaleOffset: true, drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_VERTEXOFFSETMAP, flagIndex: 2,
- drawBlock: texProp =>
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeVertexOffsetMap, 4, "顶点偏移贴图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MAP, 0, texProp);
- });
- DrawCustomDataSelect("顶点扰动X轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_X, 1);
- DrawCustomDataSelect("顶点扰动Y轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_Y, 1);
-
- _helper.DrawVector4In2Line("_VertexOffset_Vec", "顶点偏移动画", true);
- _helper.DrawVector4Component("顶点偏移强度", "_VertexOffset_Vec", "z", false);
- DrawCustomDataSelect("顶点扰动强度自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_1_CUSTOMDATA_VERTEXOFFSET_INTENSITY, 1);
- _helper.DrawToggle("顶点偏移从零开始", "_VertexOffset_StartFromZero",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_VERTEXOFFSET_START_FROM_ZERO, 1);
- _helper.DrawToggle("顶点偏移使用法线方向", "_VertexOffset_NormalDir_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_VERTEX_OFFSET_NORMAL_DIR, isIndentBlock: false,
- drawBlock:
- isToggle =>
- {
- if (!isToggle.hasMixedValue && isToggle.floatValue < 0.5f)
- {
- // matEditor.ShaderProperty(_helper.GetProperty("_VertexOffset_CustomDir"), "顶点偏移本地方向");
- _helper.DrawVector4XYZComponet("顶点偏移本地方向","_VertexOffset_CustomDir");
- }
- });
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit1VertexOffsetMask, 4, GetAnimBoolIndex(4),
- "顶点偏移遮罩", "_VertexOffset_Mask_Toggle",
- W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_VERTEXOFFSET_MASKMAP, 1,
- drawBlock: isMaskToggle =>
- {
- _helper.DrawTexture("顶点偏移遮罩图", "_VertexOffset_MaskMap", drawScaleOffset: true,
- drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_VERTEXOFFSET_MASKMAP,
- flagIndex: 2,
- drawBlock: texProp =>
- {
- DrawUVModeSelect(W9ParticleShaderFlags.foldOutBit1UVModeVertexOffsetMaskMap, 4,
- "顶点偏移遮罩图UV来源",
- W9ParticleShaderFlags.FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MASKMAP, 0, texProp);
- });
- DrawCustomDataSelect("顶点扰动遮罩X轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_X, 3);
- DrawCustomDataSelect("顶点扰动遮罩Y轴偏移自定义曲线",
- W9ParticleShaderFlags.FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_Y, 3);
- _helper.DrawVector4In2Line("_VertexOffset_MaskMap_Vec", "顶点偏移遮罩动画", true);
- _helper.DrawVector4Component("顶点偏移遮罩强度", "_VertexOffset_MaskMap_Vec", "z", true);
- });
- });
-
- if (_uiEffectEnabled == 0)
- {
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutDepthOutline, 3, GetAnimBoolIndex(3), "深度描边",
- "_DepthOutline_Toggle",
- flagBitsName: W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_DEPTH_OUTLINE, fontStyle: FontStyle.Bold,
- flagIndex: 1, isIndentBlock: true,
- drawBlock: (isToggle) =>
- {
- matEditor.ColorProperty(_helper.GetProperty("_DepthOutline_Color"), "深度描边颜色");
- _helper.DrawVector4In2Line("_DepthOutline_Vec", "深度描边距离", true);
- });
-
- _helper.DrawToggle("深度贴花", "_DepthDecal_Toggle", shaderKeyword: "_DEPTH_DECAL",
- fontStyle: FontStyle.Bold,
- drawEndChangeCheck: (isToggle) =>
- {
- if (!isToggle.hasMixedValue)
- {
- for (int i = 0; i < mats.Count; i++)
- {
- if (isToggle.floatValue > 0.5f)
- {
- StencilTestHelper.SetMaterialStencil(mats[i], "ParticleBaseDecal",
- _stencilValuesConfig, out int ignore);
- mats[i].SetFloat(_isCustomedStencilPropID, 1f);
- mats[i].SetFloat("_Cull", (float)RenderFace.Back);
- mats[i].SetFloat("_ZTest", (float)CompareFunction.GreaterEqual);
- }
- else
- {
- StencilTestHelper.SetMaterialStencil(mats[i], _defaultStencilKey,
- _stencilValuesConfig, out int ignore);
- mats[i].SetFloat(_isCustomedStencilPropID, 0f);
- mats[i].SetFloat("_Cull", (float)RenderFace.Front);
- mats[i].SetFloat("_ZTest", (float)CompareFunction.LessEqual);
- }
- }
-
- }
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutParallexMapping, 3, GetAnimBoolIndex(3), "遮蔽视差",
- "_ParallaxMapping_Toggle", shaderKeyword: "_PARALLAX_MAPPING",
- isIndentBlock: true, fontStyle: FontStyle.Bold,
- drawBlock: isTogggle =>
- {
- _helper.DrawTexture("视差贴图", "_ParallaxMapping_Map", drawWrapMode: true,
- wrapModeFlagBitsName: W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP,
- flagIndex: 2);
- _helper.DrawSlider("视差", "_ParallaxMapping_Intensity", 0, 0.1f);
-
- Action OnPomLayerCountChange = (f, isMixedValue) =>
- {
- int shaderID = Shader.PropertyToID("_ParallaxMapping_Vec");
- for (int i = 0; i < mats.Count; i++)
- {
- Vector4 vecValue = mats[i].GetVector(shaderID);
- if (vecValue.y < vecValue.x + 1)
- {
- vecValue.y = vecValue.x + 1;
- }
-
- mats[i].SetVector(shaderID, vecValue);
- }
- };
-
- _helper.DrawVector4Component("遮蔽视差最小层数", "_ParallaxMapping_Vec", "x", true, 0f, 100f,
- drawEndChangeCheckBlock: OnPomLayerCountChange);
- _helper.DrawVector4Component("遮蔽视差最大层数", "_ParallaxMapping_Vec", "y", true, 0f, 100f,
- drawEndChangeCheckBlock: OnPomLayerCountChange,
- drawBlock: (f, hasMixedValue) =>
- {
- if (!hasMixedValue && f >= 20f)
- {
- EditorGUILayout.HelpBox("遮蔽视差层数过高将影响性能", MessageType.Warning);
- }
- });
- });
-
- Action SetPortal = (mat) =>
- {
- StencilTestHelper.SetMaterialStencil(mat, "ParticalBasePortal", _stencilValuesConfig,
- out int Ignore);
- mat.SetFloat(_isCustomedStencilPropID, 1f);
- };
-
- Action SetPortalMask = (mat) =>
- {
- StencilTestHelper.SetMaterialStencil(mat, "ParticalBasePortalMask", _stencilValuesConfig,
- out int Ignore);
- if (mat.GetFloat("_TransparentMode") == (float)TransparentMode.Transparent)
- {
- mat.SetFloat("_TransparentMode", (float)TransparentMode.CutOff);
- }
-
- mat.SetFloat("_ZTest", (float)CompareFunction.LessEqual);
- mat.SetFloat("_ForceZWriteToggle",2);
- };
- Action RestPortal = (mat) =>
- {
- StencilTestHelper.SetMaterialStencil(mat, _defaultStencilKey,
- _stencilValuesConfig, out int ignore);
- mat.SetFloat(_isCustomedStencilPropID, 0f);
- mat.SetFloat("_TransparentMode", (float)TransparentMode.Transparent);
- mat.SetFloat("_ZTest", (float)CompareFunction.LessEqual);
- mat.SetFloat("_ForceZWriteToggle", 0f);
- };
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit1Portal, 4, GetAnimBoolIndex(4), "模板视差",
- "_Portal_Toggle", fontStyle: FontStyle.Bold,
- drawBlock: isPortalToggle =>
- {
- _helper.DrawToggle("模板视差蒙版", "_Portal_MaskToggle", drawEndChangeCheck: isPortalMaskToggle =>
- {
- if (!isPortalMaskToggle.hasMixedValue)
- {
-
- for (int i = 0; i < mats.Count; i++)
- {
- if (isPortalMaskToggle.floatValue > 0.5f)
- {
- SetPortalMask(mats[i]);
- }
- else if(isPortalToggle.floatValue >0.5f)
- {
- SetPortal(mats[i]);
- }
- else
- {
- RestPortal(mats[i]);
- }
-
- }
- }
- });
- }, drawEndChangeCheck: (isPortalToggle) =>
- {
- for (int i = 0; i < mats.Count; i++)
- {
- if (isPortalToggle.floatValue > 0.5f)
- {
- if (mats[i].GetFloat("_Portal_MaskToggle") < 0.5f)
- {
- SetPortal(mats[i]);
- }
- else
- {
- SetPortalMask(mats[i]);
- }
- }
- else
- {
- RestPortal(mats[i]);
- }
- }
- });
- }
-
- //粒子序列帧融帧的逻辑,是将UV0为第一格,UV1234推到第二格,中间用AnimBlend融合)。所以多UV是必然和这个矛盾的。
- _helper.DrawToggle("序列帧融帧(丝滑)", "_FlipbookBlending", shaderKeyword: "_FLIPBOOKBLENDING_ON",
- fontStyle: FontStyle.Bold, drawBlock: (isToggle) =>
- {
- if (!isToggle.hasMixedValue && isToggle.floatValue > 0.5f)
- {
- if (_meshSourceMode == MeshSourceMode.Particle)
- {
- if (shaderFlags[0].CheckIsUVModeOn(W9ParticleShaderFlags.UVMode.SpecialUVChannel))
- {
- EditorGUILayout.HelpBox("序列帧融帧和特殊UV通道同时开启,粒子序列帧应该影响UV0和UV1两个通道,特殊通道只能使用UV3(原始UV)",
- MessageType.Warning);
- }
- else
- {
- EditorGUILayout.HelpBox("AnimationSheet的AffectUVChannel需要有UV0和UV1",
- MessageType.Info);
- }
- }
- else if (_meshSourceMode == MeshSourceMode.Mesh)
- {
- EditorGUILayout.HelpBox("需要添加AnimationSheetHelper脚本", MessageType.Info);
- }
- }
- });
-
- }
-
- public void DrawTaOptions()
- {
- if (_uiEffectEnabled == 0)
- {
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit1ZOffset, 4, GetAnimBoolIndex(4), "深度偏移",
- "_ZOffset_Toggle", fontStyle: FontStyle.Bold, drawBlock:
- (isToggle) =>
- {
-
- matEditor.ShaderProperty(_helper.GetProperty("_offsetFactor"), "OffsetFactor");
- matEditor.ShaderProperty(_helper.GetProperty("_offsetUnits"), "Offset单位");
- },
- drawEndChangeCheck: (isToggle) =>
- {
- if (!isToggle.hasMixedValue && isToggle.floatValue < 0.5f)
- {
- for (int i = 0; i < mats.Count; i++)
- {
- mats[i].SetFloat("_offsetFactor", 0f);
- mats[i].SetFloat("_offsetUnits", 0f);
- }
- }
- });
- }
-
-
- _helper.DrawRenderQueue(_helper.GetProperty("_QueueBias"));
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBit1CustomStencilTest, 4, GetAnimBoolIndex(4),
- "模板手动调试开关", "_CustomStencilTest",
- drawBlock: isToggle =>
- {
- bool hasMixedKeyValue = false;
- int stencilKeyIndexID = Shader.PropertyToID("_StencilKeyIndex");
- string originKey = "";
- for (int i = 0; i < mats.Count; i++)
- {
- string key = _stencilValuesConfig.GetKeyByIndex(mats[i].GetInt(stencilKeyIndexID));
- if (i == 0)
- {
- originKey = key;
- }
- else
- {
- if (originKey != key) hasMixedKeyValue = true;
- }
-
- hasMixedKeyValue = false;
- }
-
- EditorGUI.showMixedValue = hasMixedKeyValue;
- EditorGUI.BeginDisabledGroup(true);
- EditorGUILayout.TextField("当前Config:", originKey);
- EditorGUI.EndDisabledGroup();
- EditorGUI.showMixedValue = false;
-
- matEditor.ShaderProperty(_helper.GetProperty("_Stencil"), "模板值");
- matEditor.ShaderProperty(_helper.GetProperty("_StencilComp"), "模板比较方式");
- matEditor.ShaderProperty(_helper.GetProperty("_StencilOp"), "模板处理方式");
-
- },
- drawEndChangeCheck: isToggle =>
- {
- if (!isToggle.hasMixedValue)
- {
- for (int i = 0; i < mats.Count; i++)
- {
- if (isToggle.floatValue > 0.5f)
- {
- mats[i].SetFloat(_isCustomedStencilPropID, 1f);
- }
- else
- {
- StencilTestHelper.SetMaterialStencil(mats[i], _defaultStencilKey, _stencilValuesConfig,
- out int ignore);
- }
-
- }
- }
- });
-
-
- if (mats.Count == 1)
- {
- _helper.DrawFoldOut(W9ParticleShaderFlags.foldOutBit1ShaderKeyword, 4, GetAnimBoolIndex(4),
- "已开启Keyword:", drawBlock:
- () =>
- {
- List shaderKeywords = new List();
- foreach (var localKeyword in mats[0].enabledKeywords)
- {
- shaderKeywords.Add(localKeyword.name);
- }
-
- if (shaderKeywords != null && shaderKeywords.Count > 0)
- {
- float height = EditorGUIUtility.singleLineHeight * shaderKeywords.Count;
- Rect labelRect = EditorGUILayout.GetControlRect(false, height);
- string label = "";
- for (int i = 0; i < shaderKeywords.Count; i++)
- {
- label += shaderKeywords[i];
- label += "\n";
- }
-
- EditorGUI.LabelField(labelRect, label);
- }
-
- });
- }
- }
-
- void DrawNoiseAffectBlock(Action drawBlock)
- {
-
- EditorGUI.BeginDisabledGroup(_noiseEnabled == 0);
- EditorGUI.showMixedValue = _noiseEnabled < 0;
- drawBlock();
- EditorGUI.showMixedValue = false;
- EditorGUI.EndDisabledGroup();
- }
-
- public string[] blendModeNames =
- {
- "透明度混合AlphaBlend",
- "预乘PreMultiply",
- "叠加Additive",
- "正片叠底Multiply"
- };
-
- public enum BlendMode
- {
- Alpha, // Old school alpha-blending mode, fresnel does not affect amount of transparency
- Premultiply, // Physically plausible transparency mode, implemented as alpha pre-multiply
- Additive,
- Multiply,
- Opaque
- }
-
- public enum TimeMode
- {
- Default,
- UnScaleTime,
- ScriptableTime
- }
-
- public enum RenderFace
- {
- Front = 2,
- Back = 1,
- Both = 0
- }
-
- public enum FresnelMode
- {
- Color = 0,
- Fade = 1,
- UnkownOrMixed = -1
- }
-
- private string[] _fresnelModeNames =
- {
- "颜色|边缘光",
- "半透明|渐隐"
- };
-
- private string[] _maskMapModeNames =
- {
- "遮罩贴图",
- "渐变控件"
- };
-
- private string[] _ForceZWriteToggleNames =
- {
- "默认",
- "强制开启",
- "强制关闭"
- };
-
-
- public enum FxLightMode
- {
- UnLit,
- BlinnPhong,
- HalfLambert,
- PBR,
- SixWay,
- UnKnownOrMixedValue = -1
- }
- private string[] _fxLightModeNames =
- {
- "默认无光(Unlit)",
- "简单光照(BlinnPhong)",
- "简单光照通透(HalfLambert)",
- "高级光照(PBR)",
- "六路光照(SixWay)"
- };
-
- public string[] transparentModeNames =
- {
- "不透明Opaque",
- "半透明Transparent",
- "不透明裁剪CutOff"
- };
-
- public enum TransparentMode
- {
- Opaque = 0,
- Transparent = 1,
- CutOff = 2,
- UnKnowOrMixed = -1
- }
-
- private string[] matCapBlendModeNames =
- {
- "相加Add",
- "相乘Multiply",
- };
-
- private string[] dissolveRampBlendModeNames =
- {
- "线性差值Lerp",
- "相乘Multiply",
- };
-
- private string[] colorBlendAlphaMode = new[]
- {
- "颜色渐变强度",
- "遮罩(乘以主贴图Alpha)"
- };
-
- private string[] rampColorSourceMode =
- {
- "UV",
- "映射贴图"
- };
-
- private string[] dissolveRampSourceMode =
- {
- "渐变控件",
- "Ramp贴图"
- };
-
- private string[] rampColorBlendMode =
- {
- "相乘Multiply",
- "相加Add"
- };
-
- void DoAfterDraw()
- {
- // Debug.Log(mats[0].name + " MaterialEditorDoAfterDraw!");
- for (int i = 0; i < mats.Count; i++)
- {
-
- switch (_meshSourceMode)
- {
- case MeshSourceMode.Particle:
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM, index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UV_FROM_MESH, index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UIEFFECT_ON, index: 0);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE,
- index: 1);
-
- //如果是粒子系统,则不需要走AnimationSheetHelper
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER);
- break;
- case MeshSourceMode.Mesh:
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM,
- index: 1);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UV_FROM_MESH, index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UIEFFECT_ON, index: 0);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE,
- index: 1);
- break;
- case MeshSourceMode.UIEffectRawImage:
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UV_FROM_MESH, index: 1);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UIEFFECT_ON, index: 0);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE,
- index: 1);
- break;
- case MeshSourceMode.UIEffectSprite:
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UV_FROM_MESH, index: 1);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UIEFFECT_ON, index: 0);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE,
- index: 1);
- break;
- case MeshSourceMode.UIEffectBaseMap:
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM,
- index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UV_FROM_MESH, index: 1);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UIEFFECT_ON, index: 0);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE,
- index: 1);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE,
- index: 1);
- break;
- }
-
-
- if (_meshSourceModeIsParticle > 0.5f)
- {
-
- if (shaderFlags[i].IsCustomData1On())
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CUSTOMDATA1_ON);
- }
- else
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CUSTOMDATA1_ON);
- }
-
- if (shaderFlags[i].IsCustomData2On())
- {
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CUSTOMDATA2_ON);
- }
- else
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CUSTOMDATA2_ON);
- }
-
- }
-
- switch (_fxLightMode)
- {
- case FxLightMode.UnLit:
- mats[i].EnableKeyword("_FX_LIGHT_MODE_UNLIT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_BLINN_PHONG");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_HALF_LAMBERT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_PBR");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_SIX_WAY");
- mats[i].DisableKeyword("EVALUATE_SH_VERTEX");
- break;
- case FxLightMode.BlinnPhong:
- mats[i].DisableKeyword("_FX_LIGHT_MODE_UNLIT");
- mats[i].EnableKeyword("_FX_LIGHT_MODE_BLINN_PHONG");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_HALF_LAMBERT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_PBR");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_SIX_WAY");
- mats[i].DisableKeyword("EVALUATE_SH_VERTEX");
- break;
- case FxLightMode.HalfLambert:
- mats[i].DisableKeyword("_FX_LIGHT_MODE_UNLIT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_BLINN_PHONG");
- mats[i].EnableKeyword("_FX_LIGHT_MODE_HALF_LAMBERT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_PBR");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_SIX_WAY");
- mats[i].DisableKeyword("EVALUATE_SH_VERTEX");
- break;
-
- case FxLightMode.PBR:
- mats[i].DisableKeyword("_FX_LIGHT_MODE_UNLIT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_BLINN_PHONG");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_HALF_LAMBERT");
- mats[i].EnableKeyword("_FX_LIGHT_MODE_PBR");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_SIX_WAY");
- mats[i].DisableKeyword("EVALUATE_SH_VERTEX");
- break;
- case FxLightMode.SixWay:
- mats[i].DisableKeyword("_FX_LIGHT_MODE_UNLIT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_BLINN_PHONG");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_HALF_LAMBERT");
- mats[i].DisableKeyword("_FX_LIGHT_MODE_PBR");
- mats[i].EnableKeyword("_FX_LIGHT_MODE_SIX_WAY");
- mats[i].EnableKeyword("EVALUATE_SH_VERTEX");//强制六面体使用顶点SH。
- break;
- }
-
- if (!shaderFlags[i].CheckIsUVModeOn(W9ParticleShaderFlags.UVMode.SpecialUVChannel))
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD1, index: 1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD2, index: 1);
- }
-
- if (!shaderFlags[i].CheckIsUVModeOn(W9ParticleShaderFlags.UVMode.Cylinder))
- {
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_CYLINDER_CORDINATE, index: 1);
- }
-
-
- TransparentMode transparentMode = (TransparentMode)mats[i].GetFloat("_TransparentMode");
- int queueBias = (int)mats[i].GetFloat("_QueueBias");
- switch (transparentMode)
- {
- case TransparentMode.Opaque:
- mats[i].SetInt("_ZWrite", (int)1);
- mats[i].renderQueue = 2100 + queueBias; //3D粒子永远最前显示
- mats[i].SetInt("_Blend", (int)BlendMode.Opaque);
- break;
- case TransparentMode.Transparent:
- mats[i].SetInt("_ZWrite", (int)0);
- int defaultQueue = 3100;
- if (_uiEffectEnabled == 1)
- {
- defaultQueue = 3000;
- }
-
- mats[i].renderQueue = defaultQueue + queueBias; //3D粒子永远最前显示
-
- BlendMode bm = (BlendMode)mats[i].GetFloat("_Blend");
- if (bm == BlendMode.Opaque)
- {
- mats[i].SetFloat("_Blend", (float)BlendMode.Alpha); //如果设置错误则强制设置。
- }
-
- break;
- case TransparentMode.CutOff:
- mats[i].SetInt("_ZWrite", (int)1);
- mats[i].renderQueue = 2450 + queueBias; //3D粒子永远最前显示
- mats[i].SetInt("_Blend", (int)BlendMode.Opaque);
- break;
- }
-
- float forceZWriteToggle = mats[i].GetFloat("_ForceZWriteToggle");
- if ( forceZWriteToggle > 0.5f&& forceZWriteToggle<1.5f)
- {
- mats[i].SetInt("_ZWrite", (int)1);
- }
- else if(forceZWriteToggle > 1.5f)
- {
- mats[i].SetInt("_ZWrite", (int)0);
- }
-
- if (_transparentMode == TransparentMode.CutOff)
- {
- mats[i].EnableKeyword("_ALPHATEST_ON");
- }
- else
- {
- mats[i].DisableKeyword("_ALPHATEST_ON");
- }
-
-
-
- // blendMode
- BlendMode blendMode = (BlendMode)mats[i].GetFloat("_Blend");
-
- switch (blendMode)
- {
- case BlendMode.Alpha:
- mats[i].SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.SrcAlpha);
- mats[i].SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha);
- mats[i].DisableKeyword("_ALPHAPREMULTIPLY_ON");
- mats[i].DisableKeyword("_ALPHAMODULATE_ON");
- break;
- case BlendMode.Premultiply:
- mats[i].SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.One);
- mats[i].SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha);
- mats[i].EnableKeyword("_ALPHAPREMULTIPLY_ON");
- mats[i].DisableKeyword("_ALPHAMODULATE_ON");
- break;
- case BlendMode.Additive:
- mats[i].SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.One);
- mats[i].SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha);
- mats[i].EnableKeyword("_ALPHAPREMULTIPLY_ON");
- mats[i].DisableKeyword("_ALPHAMODULATE_ON");
- break;
- case BlendMode.Multiply:
- mats[i].SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.DstColor);
- mats[i].SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.OneMinusSrcAlpha);
- mats[i].DisableKeyword("_ALPHAPREMULTIPLY_ON");
- mats[i].EnableKeyword("_ALPHAMODULATE_ON");
- break;
- case BlendMode.Opaque:
- mats[i].SetInt("_SrcBlend", (int)UnityEngine.Rendering.BlendMode.One);
- mats[i].SetInt("_DstBlend", (int)UnityEngine.Rendering.BlendMode.Zero);
- mats[i].DisableKeyword("_ALPHAPREMULTIPLY_ON");
- break;
- }
-
- TimeMode timeMode = (TimeMode)mats[i].GetFloat("_TimeMode");
-
- switch (timeMode)
- {
- case TimeMode.Default:
- // setMaterialFlags(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UNSCALETIME_ON, false);
- // setMaterialFlags(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON, false);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UNSCALETIME_ON);
- shaderFlags[i].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON);
- break;
- case TimeMode.UnScaleTime:
- // setMaterialFlags(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UNSCALETIME_ON, true);
- // setMaterialFlags(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON, false);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UNSCALETIME_ON);
- shaderFlags[i].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON);
- break;
- case TimeMode.ScriptableTime:
- // setMaterialFlags(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UNSCALETIME_ON, false);
- // setMaterialFlags(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON, true);
- shaderFlags[i].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UNSCALETIME_ON);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON);
- break;
- }
- }
- }
-
- public static GUIContent VertexStreams = new GUIContent("顶点流统计",
- "The vertex streams needed for this Material to function properly.");
-
- public static string streamPositionText = "Position (POSITION.xyz)";
- public static string streamNormalText = "Normal (NORMAL.xyz)";
- public static string streamColorText = "Color (COLOR.xyzw)";
- public static string streamUVText = "UV (TEXCOORD0.xy)";
- public static string streamUV3Text = "UV3 (TEXCOORD0.zw)";
- public static string streamUV2Text = "UV2 (TEXCOORD0.zw)";
- public static string streamUV2AndAnimBlendText = "UV2 (TEXCOORD3.zw)";
- public static string streamUV3AndAnimBlendText = "UV3 (TEXCOORD3.zw)";
- public static string streamAnimBlendText = "AnimBlend (TEXCOORD3.x)";
- public static string streamTangentText = "Tangent (TANGENT.xyzw)";
- public static string streamCustom1Text = "Custom1.xyzw(TEXCOORD1.xyzw)";
- public static string streamCustom2Text = "Custom2.xyzw(TEXCOORD2.xyzw)";
-
-
- public static GUIContent streamApplyToAllSystemsText = new GUIContent("使粒子与材质顶点流相同",
- "Apply the vertex stream layout to all Particle Systems using this material");
-
- public static string undoApplyCustomVertexStreams = L10n.Tr("Apply custom vertex streams from material");
-
- List m_ParticleRenderersUsingThisMaterial = new List();
- List m_RenderersUsingThisMaterial = new List();
-
- private bool checkIsParicleSystem = false;
- void CacheRenderersUsingThisMaterial(Material material, int matID)
- {
- checkIsParicleSystem = false;
- m_ParticleRenderersUsingThisMaterial.Clear();
- m_RenderersUsingThisMaterial.Clear();
- // #if UNITY_2022_1_OR_NEWER
- // ParticleSystemRenderer[] renderers =
- // UnityEngine.Object.FindObjectsByType(typeof(ParticleSystemRenderer),FindObjectsSortMode.None) as ParticleSystemRenderer[];
- // #else
- Renderer[] renderers =
- UnityEngine.Object.FindObjectsOfType(typeof(Renderer)) as Renderer[];//为了兼容性使用较慢版本
- if (renderers != null)
- {
- m_RenderersUsingThisMaterial = renderers.ToList();
- _helper.renderersUsingThisMaterial = m_RenderersUsingThisMaterial;
- }
- // #endif
- foreach (Renderer renderer in renderers)
- {
- if (renderer is ParticleSystemRenderer)
- {
- ParticleSystemRenderer psr = renderer as ParticleSystemRenderer;
- if (psr.sharedMaterial == material || psr.trailMaterial == material)
- {
- checkIsParicleSystem = true;
- shaderFlags[matID].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER,index:1);//如果是粒子系统用,就主动关掉Helper的类型。
- m_ParticleRenderersUsingThisMaterial.Add(psr);
- }
- }
-
- }
- }
-
- //雨轩:UnityEditorInternal命名空间下提供 一个类ReorderableList可以实现通过拖曳来达到列表元素的重新排序。
- private static ReorderableList vertexStreamList;
- //构建粒子系统顶点流界面
- public void DoVertexStreamsArea(Material material, List renderers,
- int matID, bool useLighting = false)
- {
- EditorGUILayout.Space();
-
- // bool useFlipbookBlending = (material.GetFloat("_FlipbookBlending") > 0.0f);
- bool useFlipbookBlending = material.IsKeywordEnabled("_FLIPBOOKBLENDING_ON");
- bool useSpecialUVChannel = shaderFlags[matID].CheckIsUVModeOn(W9ParticleShaderFlags.UVMode.SpecialUVChannel);
- bool isUseUV3ForSpecialUV =
- shaderFlags[matID].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD2, index:1);
- // bool CustomDataEnabled = (material.GetFloat("_CustomData") > 0.0f);
- bool isCustomData1 = shaderFlags[matID].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CUSTOMDATA1_ON);
- bool isCustomData2 = shaderFlags[matID].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_CUSTOMDATA2_ON);
-
-
- // Build the list of expected vertex streams
- List streams = new List();
- List streamList = new List();
-
- streams.Add(ParticleSystemVertexStream.Position); //必然会传递有顶点位置信息
- streamList.Add(streamPositionText); //记录顶点位置信息,给GUI面板用
-
- bool needTangent = false;
- bool needNormal = false;
-
- needNormal = (material.GetFloat("_VertexOffset_NormalDir_Toggle") > 0.5f);
-
- //如果有灯光,必有法线信息。如果有法线贴图,必有顶点切线法线信息。
- //菲涅尔效果需要用到法线内容。
- if (material.GetFloat("_fresnelEnabled") > 0.5f)
- {
- needNormal = true;
- needTangent = true;
- }
-
- if (material.GetFloat("_ParallaxMapping_Toggle") > 0.5f)
- {
- needTangent = true;
- }
-
- if (_fxLightMode != FxLightMode.UnLit || material.GetFloat("_BumpMapToggle") > 0.5f)
- {
- needNormal = true;
- needTangent = true;
- }
-
- bool useUV3AsMainUV = shaderFlags[matID].CheckFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_USETEXCOORD2);
-
- if (needTangent)
- {
- streams.Add(ParticleSystemVertexStream.Tangent);
- streamList.Add(streamTangentText);
- }
-
- if (needNormal)
- {
- streams.Add(ParticleSystemVertexStream.Normal);
- streamList.Add(streamNormalText);
- }
-
- //粒子着色器,必有顶点颜色信息。
- streams.Add(ParticleSystemVertexStream.Color);
- streamList.Add(streamColorText);
-
- //TEXCOORD0填充
- //必有顶点第一套UV信息。
- streams.Add(ParticleSystemVertexStream.UV);
- streamList.Add(streamUVText);
- //在做动画序列帧时,需要:TEXCOORD1(xy为正常uv,zw为Blend用的第二套uv),:TEXCOORD2(x为Blend混合值)
- if (useFlipbookBlending && useSpecialUVChannel)
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add(streamUV2Text);
- }
- else if (useSpecialUVChannel & !useFlipbookBlending)
- {
-
- if (isUseUV3ForSpecialUV)
- {
- streams.Add(ParticleSystemVertexStream.UV3);
- streamList.Add(streamUV3Text);
- }
- else
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add(streamUV2Text);
- }
-
- }
- else if (useFlipbookBlending & !useSpecialUVChannel)
- {
- if (!streams.Contains(ParticleSystemVertexStream.UV2))
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add(streamUV2Text);
- }
- }
- else if(isCustomData1 || isCustomData2)
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add(streamUV2Text);
- }
-
-
- //填充TEXCOORD1
- bool isFillSkipUV2 = false;//因为如果要使用UV3,粒子系统必须填充UV2才能激活
- if (isCustomData1 || isCustomData2 || useFlipbookBlending)
- {
- streams.Add(ParticleSystemVertexStream.Custom1XYZW);
- streamList.Add(streamCustom1Text);
- }
- else if(useSpecialUVChannel & isUseUV3ForSpecialUV)
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add("TEXCOORD1.xy");
- isFillSkipUV2 = true;
- }
-
- //填充TEXCOORD2
- if (isCustomData2 || useFlipbookBlending)
- {
- streams.Add(ParticleSystemVertexStream.Custom2XYZW);
- streamList.Add(streamCustom2Text);
- }
- else if(useSpecialUVChannel & isUseUV3ForSpecialUV & !isFillSkipUV2)
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add("TEXCOORD2.xy");
- isFillSkipUV2 = true;
- }
-
- //填充TEXCOORD3
- if (useFlipbookBlending)
- {
- streams.Add(ParticleSystemVertexStream.AnimBlend);
- streamList.Add(streamAnimBlendText);
- if (useSpecialUVChannel)
- {
- if (isUseUV3ForSpecialUV)
- {
- streams.Add(ParticleSystemVertexStream.UV3);
- streamList.Add(streamUV3AndAnimBlendText);
- }
- }
- }
- else if(useSpecialUVChannel & isUseUV3ForSpecialUV & !isFillSkipUV2)
- {
- streams.Add(ParticleSystemVertexStream.UV2);
- streamList.Add("TEXCOORD3.xy");
- }
-
-
- //可排序列表绘制。
- //创建一个可排序列表
- vertexStreamList = new ReorderableList(streamList, typeof(string), false, true, false, false);
-
- //创建表头。ReorderableList下面还有很多回调。可以按需选择。
- vertexStreamList.drawHeaderCallback = (Rect rect) => { EditorGUI.LabelField(rect, "Vertex Streams"); };
-
- vertexStreamList.DoLayoutList(); //执行表格绘制。
-
- // Display a warning if any renderers have incorrect vertex streams
- string Warnings = "";
- List rendererStreams = new List();
- foreach (ParticleSystemRenderer renderer in renderers) //每个使用该材质的粒子系统都会进行比较
- {
- renderer.GetActiveVertexStreams(rendererStreams); //获得ParticleSystemRenderer的顶点流
- if (!rendererStreams.SequenceEqual(streams)) //重点!是否和我们拼装的顶点流一致。
- Warnings += "-" + renderer.name + "\n";
- }
-
- //
- if (!string.IsNullOrEmpty(Warnings))
- {
- //如果有Warning
- EditorGUILayout.HelpBox(
- "下面的粒子系统Renderer顶点流不正确:\n" +
- Warnings, MessageType.Error, true);
- // Set the streams on all systems using this materialz
- if (GUILayout.Button("使粒子与材质顶点流相同", EditorStyles.miniButton,
- GUILayout.ExpandWidth(true)))
- {
- //做一个撤回记录。
- Undo.RecordObjects(renderers.Where(r => r != null).ToArray(), "Apply custom vertex streams from material");
-
- //重点!直接赋值我们拼装好的顶点流。
- foreach (ParticleSystemRenderer renderer in renderers)
- {
- renderer.SetActiveVertexStreams(streams);
-
- }
- }
- }
-
- //从2022.3.11开始添加这个功能。
- #if UNITY_2022_3_OR_NEWER && !(UNITY_2022_3_0 ||UNITY_2022_3_1||UNITY_2022_3_2||UNITY_2022_3_3||UNITY_2022_3_4||UNITY_2022_3_5||UNITY_2022_3_6||UNITY_2022_3_7||UNITY_2022_3_8||UNITY_2022_3_9||UNITY_2022_3_10)
- // Display a warning if any renderers have incorrect vertex streams
- string trailWarnings = "";
- List trailRendererStreams = new List();
- foreach (ParticleSystemRenderer renderer in renderers) //每个使用该材质的粒子系统都会进行比较
- {
- renderer.GetActiveTrailVertexStreams(trailRendererStreams); //获得ParticleSystemRenderer的顶点流
- if (!trailRendererStreams.SequenceEqual(streams)) //重点!是否和我们拼装的顶点流一致。
- trailWarnings += "-" + renderer.name + "\n";
- }
-
- if (!string.IsNullOrEmpty(trailWarnings))
- {
- //如果有Warning
- EditorGUILayout.HelpBox(
- "下面的粒子系统Renderer拖尾顶点流不正确:\n" +
- trailWarnings, MessageType.Error, true);
- // Set the streams on all systems using this material
- if (GUILayout.Button("使粒子拖尾与材质顶点流相同", EditorStyles.miniButton,
- GUILayout.ExpandWidth(true)))
- {
- //做一个撤回记录。
- Undo.RecordObjects(renderers.Where(r => r != null).ToArray(), "Apply custom vertex streams from material");
-
- //重点!直接赋值我们拼装好的顶点流。
- foreach (ParticleSystemRenderer renderer in renderers)
- {
- renderer.SetActiveTrailVertexStreams(streams);
- }
- }
- }
- #endif
-
- }
-
- private string[] _customDataOptions =
- {
- "**不使用**",
- "CustomData1_X",
- "CustomData1_Y",
- "CustomData1_Z",
- "CustomData1_W",
- "CustomData2_X",
- "CustomData2_Y",
- "CustomData2_Z",
- "CustomData2_W"
- };
-
-
- bool CustomDataHasMixedValue(int dataBitPos, int dataIndex)
- {
- W9ParticleShaderFlags.CutomDataComponent
- component = W9ParticleShaderFlags.CutomDataComponent.UnKnownOrMixed;
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- W9ParticleShaderFlags.CutomDataComponent curComponent =
- shaderFlags[i].GetCustomDataFlag(dataBitPos, dataIndex);
- if (i == 0)
- {
- component = curComponent;
- }
- else
- {
- if (component != curComponent) return true;
- }
- }
-
- return false;
- }
- public void DrawCustomDataSelect(string label, int dataBitPos, int dataIndex)
- {
- // if(!_isUseParticleSystem)return;//只有粒子系统才会处理相关内容。
- // if (mats.Count != 1) return; //仅单选触发
-
- if(_meshSourceModeIsParticle <=0 ) return;
- (string, string) nameTuple = (label, "");
- //-------------这里需要处理多选情况--------------
- EditorGUI.showMixedValue = CustomDataHasMixedValue(dataBitPos, dataIndex);
- W9ParticleShaderFlags.CutomDataComponent component = shaderFlags[0].GetCustomDataFlag(dataBitPos, dataIndex);
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.BeginHorizontal();
- component = (W9ParticleShaderFlags.CutomDataComponent)EditorGUILayout.Popup(new GUIContent(label), (int)component, _customDataOptions);
- EditorGUI.showMixedValue = false;
- Action customDataDrawEndChangeCheck = () =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- shaderFlags[i].SetCustomDataFlag(component,dataBitPos,dataIndex);
- }
- _helper.ResetTool.CheckOnValueChange(nameTuple);
- };
- if (EditorGUI.EndChangeCheck())
- {
- customDataDrawEndChangeCheck();
- }
- _helper.ResetTool.DrawResetModifyButton(new Rect(),nameTuple,
- resetCallBack:()=>
- {
- component = 0;
- customDataDrawEndChangeCheck();
- },onValueChangedCallBack:customDataDrawEndChangeCheck,
- checkHasModifyOnValueChange: () => shaderFlags[0].GetCustomDataFlag(dataBitPos, dataIndex)!= 0 ,
- checkHasMixedValueOnValueChange:()=>CustomDataHasMixedValue(dataBitPos, dataIndex));
- EditorGUILayout.EndHorizontal();
- _helper.ResetTool.EndResetModifyButtonScope();
-
- }
-
-
- private string[] _uvModeNames =
- {
- "默认UV通道",
- "特殊UV通道",
- "极坐标|旋转",
- "圆柱无缝"
- };
-
- enum SpecialUVChannelMode
- {
- UV2_Texcoord1,
- UV3_Texcoord2
- }
-
- bool UvModeHasMixedValue(int uvModeBitPos, int uvModeFlagIndex)
- {
- W9ParticleShaderFlags.UVMode uvMode = W9ParticleShaderFlags.UVMode.UnknownOrMixed;
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- if (i == 0)
- {
- uvMode = shaderFlags[i].GetUVMode(uvModeBitPos, uvModeFlagIndex);
- }
- else
- {
- if (uvMode != shaderFlags[i].GetUVMode(uvModeBitPos, uvModeFlagIndex))
- {
- return true;
- }
- }
- }
- return false;
- }
- public void DrawUVModeSelect(int foldOutFlagBit, int foldOutFlagIndex,string label, int uvModeBitPos, int uvModeFlagIndex,MaterialProperty textureProp = null,bool forceEnable = false)
- {
- // if(textureProp.hasMixedValue) return;
- if(forceEnable)
- {
- EditorGUI.BeginDisabledGroup(false);
- }
- else if (textureProp != null)
- {
- EditorGUI.BeginDisabledGroup(!textureProp.textureValue);
- }
- else
- {
- EditorGUI.BeginDisabledGroup(false);
- }
- bool uvModeHasMixedValue = UvModeHasMixedValue(uvModeBitPos, uvModeFlagIndex);
- EditorGUI.showMixedValue = uvModeHasMixedValue;
- (string, string) wrapModeNameTuple = (label, "");
-
- EditorGUILayout.BeginHorizontal();
-
-
- Rect rect = EditorGUILayout.GetControlRect();
- var labelRect = new Rect(rect.x , rect.y, rect.width, rect.height);
- var popUpRect = _helper.GetRectAfterLabelWidth(rect,true);
-
- bool isChangeUVMode = false;
- EditorGUI.BeginChangeCheck();
- W9ParticleShaderFlags.UVMode uvMode = shaderFlags[0].GetUVMode(uvModeBitPos, uvModeFlagIndex);
-
- Action drawUVModeEndChangeCheck = () =>
- {
- isChangeUVMode = true;
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- shaderFlags[i].SetUVMode(uvMode, uvModeBitPos, uvModeFlagIndex);
- }
- _helper.ResetTool.CheckOnValueChange(wrapModeNameTuple);
- };
- uvMode = (W9ParticleShaderFlags.UVMode) EditorGUI.Popup(popUpRect, (int)uvMode, _uvModeNames);
- if (EditorGUI.EndChangeCheck())
- {
- drawUVModeEndChangeCheck();
- }
-
- bool foldOutState = shaderFlags[0].CheckFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- AnimBool animBool = _helper.GetAnimBool(foldOutFlagBit, foldOutFlagIndex-3, foldOutFlagIndex);
- animBool.target = foldOutState;
- if (!uvModeHasMixedValue && uvMode == W9ParticleShaderFlags.UVMode.DefaultUVChannel)
- {
- animBool.target = false;
- }
- else
- {
- animBool.target = EditorGUI.Foldout(rect, animBool.target, string.Empty, true);
- if (isChangeUVMode)
- {
- animBool.target = true;
- }
- }
- foldOutState = animBool.target;
- if (foldOutState)
- {
- shaderFlags[0].SetFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- else
- {
- shaderFlags[0].ClearFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- EditorGUI.LabelField(labelRect,label);
-
- _helper.ResetTool.DrawResetModifyButton(new Rect(),wrapModeNameTuple,
- resetCallBack: () =>
- {
- uvMode = 0;
- drawUVModeEndChangeCheck();
- },onValueChangedCallBack: drawUVModeEndChangeCheck,checkHasModifyOnValueChange: () =>
- {
- return shaderFlags[0].GetUVMode(uvModeBitPos, uvModeFlagIndex) != 0;
- },checkHasMixedValueOnValueChange:()=>UvModeHasMixedValue(uvModeBitPos, uvModeFlagIndex));
- EditorGUILayout.EndHorizontal();
- _helper.ResetTool.EndResetModifyButtonScope();
-
-
-
- EditorGUI.showMixedValue = false;
-
- if (!uvModeHasMixedValue)
- {
- EditorGUI.indentLevel++;
-
- float faded = animBool.faded;
- if (faded == 0) faded = 0.0001f;
- EditorGUILayout.BeginFadeGroup(faded);
- if (uvMode != W9ParticleShaderFlags.UVMode.DefaultUVChannel)
- {
- EditorGUILayout.LabelField("以下设置材质内通用:",EditorStyles.boldLabel);
- }
-
- Action drawSpecialUVChannel = () =>
- {
- _helper.DrawPopUp("特殊UV通道选择","_SpecialUVChannelMode", Enum.GetNames(typeof(SpecialUVChannelMode)),
- drawOnValueChangedBlock:
- specialUVChannelMode =>
- {
- //在OnValueChange的时候。就已经是一起Set了。
- SpecialUVChannelMode spUVMode = (SpecialUVChannelMode)specialUVChannelMode.floatValue;
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- switch (spUVMode)
- {
- case SpecialUVChannelMode.UV2_Texcoord1:
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD1,index:1);
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD2,index:1);
- break;
- case SpecialUVChannelMode.UV3_Texcoord2:
- shaderFlags[i].ClearFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD1,index:1);
- shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_USE_TEXCOORD2,index:1);
- break;
- //TODO:如果所有UVMode都没有开启,需要都Clear。
- }
- }
- },isSharedGlobalParent:true);
- };
-
- Action drawPolarOrTwirl = () =>
- {
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitTwril,3,GetAnimBoolIndex(3),"旋转扭曲","_UTwirlEnabled",flagBitsName:W9ParticleShaderFlags.FLAG_BIT_PARTICLE_UTWIRL_ON,isSharedGlobalParent:true,drawBlock:(isToggle) =>{
- _helper.DrawVector4In2Line("_TWParameter","旋转扭曲中心",true);
- _helper.DrawFloat("旋转扭曲强度","_TWStrength");
- });
-
- _helper.DrawToggleFoldOut(W9ParticleShaderFlags.foldOutBitPolar,3,GetAnimBoolIndex(3),"极坐标", "_PolarCoordinatesEnabled",W9ParticleShaderFlags.FLAG_BIT_PARTICLE_POLARCOORDINATES_ON,isSharedGlobalParent:true,drawBlock:(isToggle) =>{
- // _helper.DrawToggle("极坐标只影响特殊功能","_PolarCordinateOnlySpecialFunciton_Toggle",W9ParticleShaderFlags.FLAG_BIT_PARTICLE_PC_ONLYSPECIALFUNC);
- _helper.DrawVector4In2Line("_PCCenter","极坐标中心",true);
- _helper.DrawVector4Component("极坐标强度","_PCCenter","z",true,0f,1f);
- });
- };
-
- if (_helper.ResetTool.IsInitResetData)
- {
- drawSpecialUVChannel();
- drawPolarOrTwirl();
- }
- else
- {
- switch (uvMode)
- {
- case W9ParticleShaderFlags.UVMode.SpecialUVChannel:
- drawSpecialUVChannel();
- break;
- case W9ParticleShaderFlags.UVMode.PolarOrTwirl:
- drawPolarOrTwirl();
- break;
- case W9ParticleShaderFlags.UVMode.Cylinder:
- EditorGUILayout.LabelField("圆柱坐标模式尚未开发完成!");
- // EditorGUILayout.LabelField("圆柱模式消耗比较大,慎用");
- // _helper.DrawVector4XYZComponet("圆柱坐标旋转","_CylinderUVRotate");
- // _helper.DrawVector4XYZComponet("圆柱坐标偏移","_CylinderUVPosOffset");
- // Matrix4x4 cylinderMatrix =
- // Matrix4x4.Translate(_helper.GetProperty("_CylinderUVPosOffset").vectorValue) *
- // Matrix4x4.Rotate(Quaternion.Euler(_helper.GetProperty("_CylinderUVRotate").vectorValue));
- // _helper.GetProperty("_CylinderMatrix0").vectorValue =cylinderMatrix.GetRow(0);
- // _helper.GetProperty("_CylinderMatrix1").vectorValue =cylinderMatrix.GetRow(1);
- // _helper.GetProperty("_CylinderMatrix2").vectorValue =cylinderMatrix.GetRow(2);
- // _helper.GetProperty("_CylinderMatrix3").vectorValue =cylinderMatrix.GetRow(3);
- //
- // if (!uvModeHasMixedValue)
- // {
- // for (int i = 0; i < shaderFlags.Count; i++)
- // {
- // shaderFlags[i].SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_CYLINDER_CORDINATE,index:1);
- // //TODO:如果所有UVMode都没有开启,需要都Clear。
- // }
- // }
- break;
- }
- }
-
- EditorGUILayout.EndFadeGroup();
- EditorGUI.indentLevel--;
- }
- EditorGUI.EndDisabledGroup();
-
- }
-
- private string[] _meshSourceModeNames =
- {
- "粒子系统",
- "模型(非粒子发射)",
- "2D RawImage",
- "2D 精灵",
- "2D 材质贴图",
- "2D UIParticle"
- };
-
- enum MeshSourceMode
- {
- Particle,
- Mesh,
- UIEffectRawImage,
- UIEffectSprite,
- UIEffectBaseMap,
- UIParticle,
- UnKnowOrMixed = -1
- }
-
- bool ColorChannelHasMixedValue(int colorChannelBitPos)
- {
- W9ParticleShaderFlags.ColorChannel colorChannel = W9ParticleShaderFlags.ColorChannel.UnKnownOrMixedValue;
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- W9ParticleShaderFlags.ColorChannel curChannel = shaderFlags[i].GetColorChanel(colorChannelBitPos);
- if (i == 0)
- {
- colorChannel = curChannel;
- }
- else
- {
- if(colorChannel != curChannel) return true;
- }
- }
-
- return false;
- }
-
- private string[] _colorChannelNames = { "R", "G", "B", "A" };
-
- public void DrawColorChannelSelect(string label, int colorChannelBitPos,int defaultChannel = 0)
- {
- bool hasMixedValue = ColorChannelHasMixedValue(colorChannelBitPos);
- EditorGUI.showMixedValue = hasMixedValue;
- (string, string) nameTuple = (label, "");
-
- W9ParticleShaderFlags.ColorChannel chanel = shaderFlags[0].GetColorChanel(colorChannelBitPos);
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.BeginHorizontal();
- int index = EditorGUILayout.Popup(label, (int)chanel,
- _colorChannelNames);
- Action colorChannelOnEndChangeCheck = () =>
- {
- for (int i = 0; i < shaderFlags.Count; i++)
- {
- shaderFlags[i].SetColorChanel((W9ParticleShaderFlags.ColorChannel)index,colorChannelBitPos);
- }
- _helper.ResetTool.CheckOnValueChange(nameTuple);
- };
- if (EditorGUI.EndChangeCheck())
- {
- colorChannelOnEndChangeCheck();
- }
- EditorGUI.showMixedValue = false;
- _helper.ResetTool.DrawResetModifyButton(new Rect(),nameTuple,
- resetCallBack: () => { index = defaultChannel; },
- onValueChangedCallBack: colorChannelOnEndChangeCheck,
- checkHasModifyOnValueChange: () => { return shaderFlags[0].GetColorChanel(colorChannelBitPos) != (W9ParticleShaderFlags.ColorChannel)defaultChannel;},
- checkHasMixedValueOnValueChange:()=>ColorChannelHasMixedValue(colorChannelBitPos));
- EditorGUILayout.EndHorizontal();
- _helper.ResetTool.EndResetModifyButtonScope();
- }
-
- int GetAnimBoolIndex(int foldOutFlagIndex)
- {
- return foldOutFlagIndex - 3;
- }
-
- // private static readonly FieldInfo _validKeywordsField = typeof(Material)
- // .GetField("m_ValidKeywords", BindingFlags.NonPublic | BindingFlags.Instance);
- //
- // public static string[] GetValidKeywordsDirect(Material material)
- // {
- // if (_validKeywordsField == null)
- // {
- // Debug.LogError("m_ValidKeywords field not found!");
- // return null;
- // }
- //
- // var keywords = _validKeywordsField.GetValue(material) as string[];
- // return keywords;
- // }
- }
-}
\ No newline at end of file
diff --git a/Packages/NBShaders/Editor/ParticleBaseGUI.cs.meta b/Packages/NBShaders/Editor/ParticleBaseGUI.cs.meta
deleted file mode 100644
index 0ef4d295..00000000
--- a/Packages/NBShaders/Editor/ParticleBaseGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 01d5272ee28d1384d9f555c579592a6b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Editor/com.xuanxuan.nb.shaders.Editor.asmdef b/Packages/NBShaders/Editor/com.xuanxuan.nb.shaders.Editor.asmdef
deleted file mode 100644
index d6a97061..00000000
--- a/Packages/NBShaders/Editor/com.xuanxuan.nb.shaders.Editor.asmdef
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "com.xuanxuan.nb.shaders.Editor",
- "rootNamespace": "",
- "references": [
- "GUID:0e3b0e6ce60c7a34094f8f9822c0b7f2",
- "GUID:8495541fcd41b0c40b5b6e6e7a7639d1",
- "GUID:8f9e4d586616f13449cfeb86c5f704c2"
- ],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": [],
- "allowUnsafeCode": false,
- "overrideReferences": false,
- "precompiledReferences": [],
- "autoReferenced": true,
- "defineConstraints": [],
- "versionDefines": [],
- "noEngineReferences": false
-}
\ No newline at end of file
diff --git a/Packages/NBShaders/Editor/com.xuanxuan.nb.shaders.Editor.asmdef.meta b/Packages/NBShaders/Editor/com.xuanxuan.nb.shaders.Editor.asmdef.meta
deleted file mode 100644
index a60870d2..00000000
--- a/Packages/NBShaders/Editor/com.xuanxuan.nb.shaders.Editor.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 5e03fab8dc9c256468083d9bc82a73c3
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/LICENSE b/Packages/NBShaders/LICENSE
deleted file mode 100644
index 033f7953..00000000
--- a/Packages/NBShaders/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2024 xuanshushu
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/Packages/NBShaders/LICENSE.meta b/Packages/NBShaders/LICENSE.meta
deleted file mode 100644
index f7ec6661..00000000
--- a/Packages/NBShaders/LICENSE.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 1b8d5ffb7acb5d647b3ad813acc372da
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/README.md b/Packages/NBShaders/README.md
deleted file mode 100644
index 892d5e93..00000000
--- a/Packages/NBShaders/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# NBShaders
-This is a powerful and versatile Unity VFX shader.
diff --git a/Packages/NBShaders/Runtime.meta b/Packages/NBShaders/Runtime.meta
deleted file mode 100644
index ce5efe5a..00000000
--- a/Packages/NBShaders/Runtime.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4684518ac782305428f8c0434c85d1c0
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Runtime/NBShaderSpriteHelper.cs b/Packages/NBShaders/Runtime/NBShaderSpriteHelper.cs
deleted file mode 100644
index bca96a9c..00000000
--- a/Packages/NBShaders/Runtime/NBShaderSpriteHelper.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.UI;
-// using Sirenix.OdinInspector;
-
-[ExecuteAlways]
-public class NBShaderSpriteHelper : MonoBehaviour
-{
- public Sprite sprite;
- // [ReadOnly]
- public SpriteRenderer spRenderer;
- // [ReadOnly]
- public Image image;
-
- [InspectorButton("初始化","Init")]
- public bool ButtomInspector;
-
- private Material mat;
-
-
-
- // Start is called before the first frame update
- void Start()
- {
- Init();
- }
-
- void Init()
- {
- if (TryGetComponent(out SpriteRenderer spr))
- {
- spRenderer = spr;
- sprite = spr.sprite;
- }
- else
- {
- if (TryGetComponent(out Image im))
- {
- image = im;
- sprite = im.sprite;
- }
- }
-
-
-
- if (sprite)
- {
- Texture texture = sprite.texture;
- Rect rect = sprite.textureRect;
- // sharedMaterial.SetVector("_BaseMapReverseST",CalScaleOffset(spRenderer.sprite.textureRect,spRenderer.sprite.texture));
-
- if (spRenderer)
- {
- if (Application.isPlaying)
- {
- mat = spRenderer.material;
- }
- else
- {
- mat = spRenderer.sharedMaterial;
- }
- }
- else if(image)
- {
- mat = image.material;
- }
-
- if (mat && mat.shader.name == "XuanXuan/Effects/Particle_NiuBi")
- {
- mat.SetVector("_MainTex_Reverse_ST",CalScaleOffset(rect,texture));
- Debug.Log(mat.name);
- }
- }
-
-
-
- }
-
- Vector4 CalScaleOffset(Rect textureRect,Texture texture)
- {
- //这是一个反向的scale offset。
- //算法:如果原scale offset。转换后会是 scaleAfter= 1 / scale , offsetAfter = - offset/scale;
- Vector2 scaleAfter = new Vector2(texture.width / textureRect.width, texture.height / textureRect.height);
- Vector2 offsetAfter = new Vector2(-(textureRect.x / texture.width) * scaleAfter.x,
- -(textureRect.y / texture.height) * scaleAfter.y);
- Vector4 scaleOffset = new Vector4(scaleAfter.x,scaleAfter.y,offsetAfter.x,offsetAfter.y);
- return scaleOffset;
- }
-}
diff --git a/Packages/NBShaders/Runtime/NBShaderSpriteHelper.cs.meta b/Packages/NBShaders/Runtime/NBShaderSpriteHelper.cs.meta
deleted file mode 100644
index 959dac85..00000000
--- a/Packages/NBShaders/Runtime/NBShaderSpriteHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 58ec7ff2f9b58f5459946ac86028eacf
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Runtime/W9ParticleShaderFlags.cs b/Packages/NBShaders/Runtime/W9ParticleShaderFlags.cs
deleted file mode 100644
index 6510538a..00000000
--- a/Packages/NBShaders/Runtime/W9ParticleShaderFlags.cs
+++ /dev/null
@@ -1,670 +0,0 @@
-using System;
-using UnityEngine;
-
-public class W9ParticleShaderFlags: ShaderFlagsBase
-{
- public const string FlagsName = "_W9ParticleShaderFlags";
- public static int FlagsId = Shader.PropertyToID(FlagsName);
-
-
- public const string Flags1Name = "_W9ParticleShaderFlags1";
- public static int Flags1Id = Shader.PropertyToID(Flags1Name);
-
- public const string WrapFlagsName = "_W9ParticleShaderWrapFlags";
- public static int WrapFlagsId = Shader.PropertyToID(WrapFlagsName);
-
- public const string foldOutFlagName = "_W9ParticleShaderGUIFoldToggle";
- public static int foldOutFlagId = Shader.PropertyToID(foldOutFlagName);
-
- public const string foldOutFlagName1 = "_W9ParticleShaderGUIFoldToggle1";
- public static int foldOutFlagId1 = Shader.PropertyToID(foldOutFlagName1);
-
- public const string foldOutFlagName2 = "_W9ParticleShaderGUIFoldToggle2";
- public static int foldOutFlagId2 = Shader.PropertyToID(foldOutFlagName2);
-
- public const string colorChannelFlagName = "_W9ParticleShaderColorChannelFlag";
- public static int colorChannelFlagId = Shader.PropertyToID(colorChannelFlagName);
- public override int GetShaderFlagsId(int index = 0)
- {
- switch (index)
- {
- case 0:
- return FlagsId;
-
- case 1:
- return Flags1Id;
-
- case 2:
- return WrapFlagsId;
-
- //FoldOut必须要紧挨着,因为按照Index去拿AnimBool
- case 3:
- return foldOutFlagId;
-
- case 4:
- return foldOutFlagId1;
-
- case 5:
- return foldOutFlagId2;
-
- case 6:
- return colorChannelFlagId;
-
- default:
- return FlagsId;
- }
- }
-
- protected override string GetShaderFlagsName(int index = 0)
- {
- switch (index)
- {
- case 0:
- return FlagsName;
-
- case 1:
- return Flags1Name;
-
- case 2:
- return WrapFlagsName;
-
- case 3:
- return foldOutFlagName;
-
- case 4:
- return foldOutFlagName1;
-
- case 5:
- return colorChannelFlagName;
-
- default:
- return FlagsName;
- }
- }
-
-
-
-
-
- public W9ParticleShaderFlags(Material material = null): base(material)
- {
- }
- public const int FLAG_BIT_SATURABILITY_ON = 1 << 0;
- public const int FLAG_BIT_PARTICLE_NOISE_CHORATICABERRAT_WITH_NOISE = 1 << 1;
- public const int FLAG_BIT_PARTICLE_FRESNEL_FADE_ON = 1 << 2;
- public const int FLAG_BIT_PARTICLE_FRESNEL_COLOR_ON = 1 << 3;
- public const int FLAG_BIT_PARTICLE_USETEXCOORD2 = 1 << 4;
- public const int FLAG_BIT_PARTICLE_DISTANCEFADE_ON = 1 << 5;
- public const int FLAG_BIT_PARTICLE_CHORATICABERRAT= 1 << 6;
- public const int FLAG_BIT_PARTILCE_MASKMAPROTATIONANIMATION_ON = 1 << 7;
- public const int FLAG_BIT_PARTICLE_POLARCOORDINATES_ON = 1 << 8;
- public const int FLAG_BIT_PARTICLE_UTWIRL_ON = 1 << 9;
- public const int FLAG_BIT_PARTICLE_LINEARTOGAMMA_ON = 1 << 10;
- public const int FLAG_BIT_PARTICLE_FRESNEL_ON = 1 << 11;
- public const int FLAG_BIT_PARTICLE_NOISEMAP_NORMALIZEED_ON = 1 << 12;
- public const int FLAG_BIT_PARTICLE_FRESNEL_COLOR_AFFETCT_BY_ALPHA = 1 << 13;
- public const int FLAG_BIT_PARTICLE_UIEFFECT_ON = 1 << 14;
- public const int FLAG_BIT_PARTICLE_UNSCALETIME_ON = 1 << 15;
- public const int FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON = 1 << 16;
- public const int FLAG_BIT_PARTICLE_CUSTOMDATA1_ON = 1 << 17;
- public const int FLAG_BIT_PARTICLE_FRESNEL_INVERT_ON = 1 << 18;
- public const int FLAG_BIT_HUESHIFT_ON = 1 << 19;
- public const int FLAG_BIT_PARTICLE_CUSTOMDATA2_ON = 1 << 20;
- public const int FLAG_BIT_PARTICLE_NORMALMAP_MASK_MODE = 1 << 21;
- public const int FLAG_BIT_PARTICLE_COLOR_BLEND_FOLLOW_MAINTEX_UV = 1 << 22;
- public const int FLAG_BIT_PARTICLE_RAMP_COLOR_MAP_MODE_ON = 1 << 23;
- public const int FLAG_BIT_PARTICLE_RAMP_COLOR_BLEND_ADD= 1 << 24;
- public const int FLAG_BIT_PARTICLE_COLOR_BLEND_ALPHA_MULTIPLY_MODE = 1 << 25;
- public const int FLAG_BIT_PARTICLE_DISSOLVE_RAMP_MAP = 1 << 26;
- public const int FLAG_BIT_PARTICLE_DISSOLVE_MASK = 1 << 27;
- public const int FLAG_BIT_PARTICLE_BACKCOLOR = 1 << 28;
- public const int FLAG_BIT_PARTICLE_EMISSION_FOLLOW_MAINTEX_UV= 1 << 29;
- public const int FLAG_BIT_PARTICLE_VERTEX_OFFSET_ON = 1 << 30;
- public const int FLAG_BIT_PARTICLE_VERTEX_OFFSET_NORMAL_DIR= 1 << 31;
-
- public const int FLAG_BIT_PARTICLE_1_DEPTH_OUTLINE= 1 << 0;
- public const int FLAG_BIT_PARTICLE_1_PARALLAX_MAPPING= 1 << 1;
- public const int FLAG_BIT_PARTICLE_1_MASKMAP_GRADIENT= 1 << 2;
- public const int FLAG_BIT_PARTICLE_1_MASKMAP_2_GRADIENT = 1 << 3;
- public const int FLAG_BIT_PARTICLE_1_MASKMAP_3_GRADIENT = 1 << 4;
- public const int FLAG_BIT_PARTICLE_1_DISSOLVE_LINE_MASK = 1 << 5;
- public const int FLAG_BIT_PARTICLE_1_DISSOLVE_RAMP_MULITPLY = 1 << 6;
- public const int FLAG_BIT_PARTICLE_1_MASK_REFINE = 1 << 7;
- public const int FLAG_BIT_PARTICLE_CUSTOMDATA2W_CHORATICABERRAT_INTENSITY = 1 << 8;
- public const int FLAG_BIT_PARTICLE_1_IGNORE_VERTEX_COLOR = 1 << 9;
- public const int FLAG_BIT_PARTICLE_1_DISSOVLE_VORONOI = 1 << 10;
- public const int FLAG_BIT_PARTICLE_1_DISSOVLE_USE_RAMP = 1 << 11;
- public const int FLAG_BIT_PARTICLE_1_MASK_MAP2 = 1 << 12;
- public const int FLAG_BIT_PARTICLE_1_MASK_MAP3 = 1 << 13;
- public const int FLAG_BIT_PARTICLE_1_NOISE_MASKMAP = 1 << 14;
- public const int FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER = 1 << 15;
- public const int FLAG_BIT_PARTICLE_1_CUSTOMDATA2Z_VERTEXOFFSET_INTENSITY= 1 << 16;
- public const int FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE= 1 << 17;
- public const int FLAG_BIT_PARTICLE_1_USE_TEXCOORD1= 1 << 18;
- public const int FLAG_BIT_PARTICLE_1_USE_TEXCOORD2= 1 << 19;
- public const int FLAG_BIT_PARTICLE_1_CYLINDER_CORDINATE= 1 << 20;
- public const int FLAG_BIT_PARTICLE_1_UV_FROM_MESH= 1 << 21;//3D条件下,如果不是来源于Mesh,就默认来源于粒子。
- public const int FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE= 1 << 22;//3D条件下,如果不是来源于Mesh,就默认来源于粒子。
- public const int FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM= 1 << 23;//3D条件下,如果不是来源于Mesh,就默认来源于粒子。
- public const int FLAG_BIT_PARTICLE_1_MAINTEX_CONTRAST= 1 << 24;
- public const int FLAG_BIT_PARTICLE_1_VERTEXOFFSET_START_FROM_ZERO= 1 << 25;
- public const int FLAG_BIT_PARTICLE_1_VERTEXOFFSET_MASKMAP= 1 << 26;
- public const int FLAG_BIT_PARTICLE_1_MAINTEX_COLOR_REFINE= 1 << 27;
- public const int FLAG_BIT_PARTICLE_1_BUMP_TEX_UV_FOLLOW_MAINTEX= 1 << 28;
- public const int FLAG_BIT_PARTICLE_1_SIXWAY_RAMPMAP= 1 << 29;
- public const int FLAG_BIT_PARTICLE_1_MATCAP_MULTY_MODE= 1 << 30;
-
-
- public const int FLAG_BIT_WRAPMODE_BASEMAP= 1 << 0;
- public const int FLAG_BIT_WRAPMODE_MASKMAP= 1 << 1;
- public const int FLAG_BIT_WRAPMODE_MASKMAP2= 1 << 2;
- public const int FLAG_BIT_WRAPMODE_NOISEMAP= 1 << 3;
- public const int FLAG_BIT_WRAPMODE_EMISSIONMAP= 1 << 4;
- public const int FLAG_BIT_WRAPMODE_DISSOLVE_MAP= 1 << 5;
- public const int FLAG_BIT_WRAPMODE_DISSOLVE_MASKMAP= 1 << 6;
- public const int FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP= 1 << 7;
- public const int FLAG_BIT_WRAPMODE_COLORBLENDMAP= 1 << 8;
- public const int FLAG_BIT_WRAPMODE_VERTEXOFFSETMAP= 1 << 9;
- public const int FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP = 1 << 10;
- public const int FLAG_BIT_WRAPMODE_MASKMAP3= 1 << 11;
- public const int FLAG_BIT_WRAPMODE_NOISE_MASKMAP= 1 << 12;
- public const int FLAG_BIT_WRAPMODE_VERTEXOFFSET_MASKMAP= 1 << 13;
- public const int FLAG_BIT_WRAPMODE_BUMPTEX= 1 << 14;
- public const int FLAG_BIT_WRAPMODE_RAMP_COLOR_MAP= 1 << 15; //很快就要超支了。。。
-
- public const int foldOutBitMeshOption = 1 << 0;
- public const int foldOutBitMainTexOption = 1 << 1;
- public const int foldOutBitBaseOption = 1 << 2;
- public const int foldOutBitFeatureOption = 1 << 3;
- public const int foldOutBitBaseMap = 1 << 4;
- public const int foldOutBitMask = 1 << 5;
- public const int foldOutBitMaskMap = 1 << 6;
- public const int foldOutBitMask2 = 1 << 7;
- public const int foldOutBitMask3 = 1 << 8;
- public const int foldOutBitTwril = 1 << 9;
- public const int foldOutBitPolar = 1 << 10;
- public const int foldOutBitHueShift = 1 << 11;
- public const int foldOutBitSaturability = 1 << 12;
- public const int foldOutBitDistanceFade = 1 << 13;
- public const int foldOutBitSoftParticles = 1 << 14;
- public const int foldOutBitMaskRotate = 1 << 15;
- public const int foldOutBitNoise = 1 << 16;
- public const int foldOutBitNoiseMap = 1 << 17;
- public const int foldOutBitNoiseMaskToggle = 1 << 18;
- public const int foldOutBitEmission= 1 << 19;
- public const int foldOutBitDistortionChoraticaberrat= 1 << 20;
- public const int foldOutDissolve= 1 << 21;
- public const int foldOutDissolveMap= 1 << 22;
- public const int foldOutDissolveVoronoi= 1 << 23;
- public const int foldOutDissolveRampMap= 1 << 24;
- public const int foldOutDissolveMask= 1 << 25;
- public const int foldOutColorBlend= 1 << 26;
- public const int foldOutFresnel= 1 << 27;
- public const int foldOutDepthOutline= 1 << 28;
- public const int foldOutVertexOffset= 1 << 29;
- public const int foldOutParallexMapping= 1 << 30;
- // public const int foldOutBit1Portal= 1 << 31;
-
-
-
-
- public const int foldOutBit1UVModeMainTex = 1 << 0;
- public const int foldOutBit1UVModeMaskMap= 1 << 1;
- public const int foldOutBit1UVModeMaskMap2= 1 << 2;
- public const int foldOutBit1UVModeMaskMap3= 1 << 3;
- public const int foldOutBit1UVModeNoiseMap = 1 << 4;
- public const int foldOutBit1UVModeNoiseMaskMap = 1 << 5;
- public const int foldOutBit1UVModeEmissionMap = 1 << 6;
- public const int foldOutBit1UVModeDissolveMap = 1 << 7;
- public const int foldOutBit1UVModeDissolveMaskMap = 1 << 8;
- public const int foldOutBit1UVModeColorBlendMap = 1 << 9;
- public const int foldOutBit1UVModeVertexOffsetMap = 1 << 10;
- public const int foldOutBit1UVModeVertexOffsetMaskMap = 1 << 11;
- public const int foldOutBit1UVModeBumpTex = 1 << 12;
- public const int foldOutBit1UVModeRampColorMap = 1 << 13;
-
- //留一些位置给以后可能会增加的贴图。
- public const int foldOutBit1Portal= 1 << 20;
- public const int foldOutBit1ZOffset= 1 << 21;
- public const int foldOutBit1CustomStencilTest= 1 << 22;
- public const int foldOutBit1TaOption = 1 << 23;
- public const int foldOutBit1MianTexContrast= 1 << 24;
- public const int foldOutBit1VertexOffsetMask= 1 << 25;
- public const int foldOutBit1MainTexColorRefine= 1 << 26;
- public const int foldOutBit1LightOption= 1 << 27;
- public const int foldOutBit1ShaderKeyword= 1 << 28;
- public const int foldOutBit1BumpTex= 1 << 29;
-
- public const int foldOutBit2BumpTexToggle= 1 << 0;
- public const int foldOutBit2MatCapToggle= 1 << 1;
- public const int foldOutBit2RampColor= 1 << 2;
- public const int foldOutBit2DissolveLine= 1 << 3;
- public const int foldOutBit2BaseBackColor= 1 << 4;
- public const int foldOutBit2MaskRefine= 1 << 5;
-
-
- #region CustomDataCodes
-
- public const string CustomDataFlag0Name = "_W9ParticleCustomDataFlag0";
- public const string CustomDataFlag1Name = "_W9ParticleCustomDataFlag1";
- public const string CustomDataFlag2Name = "_W9ParticleCustomDataFlag2";
- public const string CustomDataFlag3Name = "_W9ParticleCustomDataFlag3";
- public static int CustomDataFlag0Id = Shader.PropertyToID(CustomDataFlag0Name);
- public static int CustomDataFlag1Id = Shader.PropertyToID(CustomDataFlag1Name);
- public static int CustomDataFlag2Id = Shader.PropertyToID(CustomDataFlag2Name);
- public static int CustomDataFlag3Id = Shader.PropertyToID(CustomDataFlag3Name);
-
- public enum CutomDataComponent
- {
- Off,
- CustomData1X,
- CustomData1Y,
- CustomData1Z,
- CustomData1W,
- CustomData2X,
- CustomData2Y,
- CustomData2Z,
- CustomData2W,
- UnKnownOrMixed = -1
- }
-
- public const int FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_X = 0 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_Y = 1 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_DISSOLVE_INTENSITY = 2 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_HUESHIFT = 3 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_X = 4 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_Y = 5 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_FRESNEL_OFFSET = 6 * 4;
- public const int FLAGBIT_POS_0_CUSTOMDATA_CHORATICABERRAT_INTENSITY = 7 * 4;
-
- public const int FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_X = 0 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_Y = 1 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_NOISE_INTENSITY = 2 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_SATURATE = 3 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_X = 4 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_Y = 5 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_VERTEXOFFSET_INTENSITY = 6 * 4;
- public const int FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_MASK_INTENSITY = 7 * 4;
-
- public const int FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_X = 0*4;
- public const int FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_Y = 1*4;
- public const int FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_X = 2*4;
- public const int FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_Y = 3*4;
- public const int FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_X= 4*4;
- public const int FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_Y= 5*4;
- public const int FLAGBIT_POS_2_CUSTOMDATA_MAINTEX_CONTRAST= 6*4;
- //---->这里还有一个坑可以用哦
-
- public const int FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_X= 0*4;
- public const int FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_Y= 1*4;
-
-
- public const int isCustomDataBit = 1 << 3;
- public const int Data12Bit = 1 << 2;//true CustomData1 / false CustomData2
- public const int DataXYorZWBit = 1 << 1;//true xy / false zw
- public const int DataXZorYWBit = 1 << 0;//true xz / false yw
- public const int CustomData1XBit = isCustomDataBit | Data12Bit | DataXYorZWBit | DataXZorYWBit;
- public const int CustomData1YBit = isCustomDataBit | Data12Bit | DataXYorZWBit ;
- public const int CustomData1ZBit = isCustomDataBit | Data12Bit | DataXZorYWBit;
- public const int CustomData1WBit = isCustomDataBit | Data12Bit;
- public const int CustomData2XBit = isCustomDataBit | DataXYorZWBit | DataXZorYWBit;
- public const int CustomData2YBit = isCustomDataBit | DataXYorZWBit;
- public const int CustomData2ZBit = isCustomDataBit | DataXZorYWBit;
- public const int CustomData2WBit = isCustomDataBit;
-
- private int GetCustomDataFlagID(int dataIndex)
- {
- switch (dataIndex)
- {
- case 0 :
- return CustomDataFlag0Id;
-
- case 1 :
- return CustomDataFlag1Id;
-
- case 2 :
- return CustomDataFlag2Id;
- case 3 :
- return CustomDataFlag3Id;
-
- }
-
- return 0;
- }
-
- public string GetCustomDataFlagPropertyName(int dataIndex)
- {
- switch (dataIndex)
- {
- case 0 :
- return CustomDataFlag0Name;
-
- case 1 :
- return CustomDataFlag1Name;
-
- case 2:
- return CustomDataFlag2Name;
-
- case 3:
- return CustomDataFlag3Name;
-
- }
-
- return null;
- }
-
- public CutomDataComponent GetCustomDataFlag(int dataBitPos, int dataIndex)
- {
- int bit = material.GetInteger(GetCustomDataFlagID(dataIndex));
-
- bit = bit >> dataBitPos;
- bit &= 15; // binary 1111
-
- if ((bit & isCustomDataBit) == 0)
- {
- return CutomDataComponent.Off;
- }
- else if (bit == CustomData1XBit)
- {
- return CutomDataComponent.CustomData1X;
- }
- else if (bit == CustomData1YBit)
- {
- return CutomDataComponent.CustomData1Y;
- }
- else if (bit == CustomData1ZBit)
- {
- return CutomDataComponent.CustomData1Z;
- }
- else if (bit == CustomData1WBit)
- {
- return CutomDataComponent.CustomData1W;
- }
- else if (bit == CustomData2XBit)
- {
- return CutomDataComponent.CustomData2X;
- }
- else if (bit == CustomData2YBit)
- {
- return CutomDataComponent.CustomData2Y;
- }
- else if (bit == CustomData2ZBit)
- {
- return CutomDataComponent.CustomData2Z;
- }
- else if (bit == CustomData2WBit)
- {
- return CutomDataComponent.CustomData2W;
- }
- else
- {
- }
- Debug.Log("不可能存在的情况");
- return CutomDataComponent.Off;
-
- }
-
- public void SetCustomDataFlag(CutomDataComponent cutomDataComponent,int dataBitPos, int dataIndex)
- {
- int bit = 0;
- switch (cutomDataComponent)
- {
- case CutomDataComponent.Off:
- bit = 0;
- break;
- case CutomDataComponent.CustomData1X:
- bit = CustomData1XBit;
- break;
- case CutomDataComponent.CustomData1Y:
- bit = CustomData1YBit;
- break;
- case CutomDataComponent.CustomData1Z:
- bit = CustomData1ZBit;
- break;
- case CutomDataComponent.CustomData1W:
- bit = CustomData1WBit;
- break;
- case CutomDataComponent.CustomData2X:
- bit = CustomData2XBit;
- break;
- case CutomDataComponent.CustomData2Y:
- bit = CustomData2YBit;
- break;
- case CutomDataComponent.CustomData2Z:
- bit = CustomData2ZBit;
- break;
- case CutomDataComponent.CustomData2W:
- bit = CustomData2WBit;
- break;
- }
- bit = bit << dataBitPos;
- int clearBit = ~(15 << dataBitPos);//~ (1111 << dataBitPos)
-
- int materialBit = material.GetInteger(GetCustomDataFlagID(dataIndex));
- materialBit = materialBit & clearBit;
- materialBit = materialBit | bit;
- material.SetInteger(GetCustomDataFlagID(dataIndex),materialBit);
- }
-
- public bool IsCustomDataOn()
- {
- int prop0Flag = material.GetInteger(CustomDataFlag0Id);
- int prop1Flag = material.GetInteger(CustomDataFlag1Id);
- int prop2Flag = material.GetInteger(CustomDataFlag2Id);
- int prop3Flag = material.GetInteger(CustomDataFlag3Id);
- uint dataOnBit = 0b_1000_1000_1000_1000_1000_1000_1000_1000;//10001000100010001000100010001000;
-
- return ((prop0Flag & dataOnBit) >0) || ((prop1Flag & dataOnBit)>0) || ((prop2Flag & dataOnBit)>0)||((prop3Flag & dataOnBit)>0);
- }
-
- bool CheckCustomData(int dataIndex, int flagIndex)
- {
- int flagID = 0;
- switch (flagIndex)
- {
- case 0:
- flagID = CustomDataFlag0Id;
- break;
- case 1:
- flagID = CustomDataFlag1Id;
- break;
- case 2:
- flagID = CustomDataFlag2Id;
- break;
- case 3:
- flagID = CustomDataFlag3Id;
- break;
- }
-
- int flag = material.GetInteger(flagID);
- int i = 0;
- while (i<8)
- {
- int bit = flag >> (4 * i);
- if (dataIndex == 1)
- {
- if ((bit & 0b_1000) > 0 && (bit & 0b_0100) > 0)
- {
- return true;
- }
- }
- else if(dataIndex == 2)
- {
- if ((bit & 0b_1000) > 0 && (bit & 0b_0100) == 0)
- {
- return true;
- }
- }
-
- i += 1;
- }
- return false;
- }
-
- public bool IsCustomData1On()
- {
- if (!IsCustomDataOn())
- {
- return false;
- }
-
- bool isCustomData1On = false;
- isCustomData1On |= CheckCustomData(1, 0);
- isCustomData1On |= CheckCustomData(1, 1);
- isCustomData1On |= CheckCustomData(1, 2);
- isCustomData1On |= CheckCustomData(1, 3);
- return isCustomData1On;
- }
-
- public bool IsCustomData2On()
- {
- if (!IsCustomDataOn())
- {
- return false;
- }
- bool isCustomData1On = false;
- isCustomData1On |= CheckCustomData(2, 0);
- isCustomData1On |= CheckCustomData(2, 1);
- isCustomData1On |= CheckCustomData(2, 2);
- isCustomData1On |= CheckCustomData(2, 3);
- return isCustomData1On;
-
- }
- #endregion
-
- public const string UVModeFlag0Name = "_UVModeFlag0";
- public static int UVModeFlag0PropID = Shader.PropertyToID(UVModeFlag0Name);
-
- public string GetUVModePropName(int dataIndex)
- {
- switch (dataIndex)
- {
- case 0:
- return UVModeFlag0Name;
- }
-
- return null;
- }
-
- public enum UVMode
- {
- DefaultUVChannel, //0 0b_00
- SpecialUVChannel, //1 0b_01
- PolarOrTwirl, //2 0b_10
- Cylinder, //3 0b_11
- UnknownOrMixed = -1
- }
-
- public const int FLAG_BIT_UVMODE_POS_0_MAINTEX = 0 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_MASKMAP = 1 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_MASKMAP_2 = 2 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_MASKMAP_3 = 3 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_NOISE_MAP = 4 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_NOISE_MASK_MAP = 5 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_EMISSION_MAP = 6 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_DISSOLVE_MAP = 7 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_DISSOLVE_MASK_MAP = 8 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_COLOR_BLEND_MAP = 9 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MAP = 10 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MASKMAP = 11 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_BUMPMAP = 12 * 2;
- public const int FLAG_BIT_UVMODE_POS_0_RAMP_COLOR_MAP = 13 * 2;
-
- public int GetUVModeFlagPropID(int flagIndex)
- {
- switch (flagIndex)
- {
- case 0:
- return UVModeFlag0PropID;
- }
-
- return 0;
- }
-
- public void SetUVMode(UVMode mode, int uvModePos, int flagIndex = 0)
- {
- int uvModeFlagPropId = GetUVModeFlagPropID(flagIndex);
- int uvModeFlag = material.GetInteger(uvModeFlagPropId);
-
-
- int clearFlag = 0b_11 << uvModePos;
- clearFlag = ~ clearFlag;
-
- uvModeFlag &= clearFlag;
- int modeBit = (int)mode << uvModePos;
- uvModeFlag |= modeBit;
-
- material.SetInteger(uvModeFlagPropId,uvModeFlag);
- }
-
- public UVMode GetUVMode(int uvModePos, int flagIndex = 0)
- {
- int uvModeFlagPropId = GetUVModeFlagPropID(flagIndex);
- int uvModeFlag = material.GetInteger(uvModeFlagPropId);
- uvModeFlag = uvModeFlag >> uvModePos;
- uvModeFlag &= 0b_11;
- return (UVMode)uvModeFlag;
- }
-
- public bool CheckIsUVModeOn(UVMode mode)
- {
- uint uvModeFlag0 = (uint)material.GetInteger(UVModeFlag0PropID);
-
- uint uvModeBit = (uint)mode;
-
- bool isUvMode = false;
- for (int i = 0; i < 16; i++)
- {
- uint checkBit = uvModeFlag0 >> (i * 2);
- checkBit = checkBit & 0b_11;
- if (checkBit == uvModeBit)
- {
- isUvMode = true;
- break;
- }
- }
- return isUvMode;
- }
-
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_MAINTEX_ALPHA = 0 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP1 = 1 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP2 = 2 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP3 = 3 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_NOISE_MASK = 4 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MAP = 5 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MASK_MAP = 6 * 2;
- public const int FLAG_BIT_COLOR_CHANNEL_POS_0_RAMP_COLOR_MAP = 7 * 2;
-
-
- public enum ColorChannel
- {
- X,
- Y,
- Z,
- W,
- UnKnownOrMixedValue
- }
-
- public void SetColorChanel(ColorChannel channel, int colorChannelFlagPos)
- {
- int colorChannelFlag = material.GetInteger(colorChannelFlagId);
-
- int clearFlag = 0b_11 << colorChannelFlagPos;
- clearFlag = ~ clearFlag;
-
- colorChannelFlag &= clearFlag;
- int channelBit = (int)channel << colorChannelFlagPos;
- colorChannelFlag |= channelBit;
-
- material.SetInteger(colorChannelFlagId,colorChannelFlag);
- }
-
- public ColorChannel GetColorChanel(int colorChannelFlagPos)
- {
- int colorChannelFlag = material.GetInteger(colorChannelFlagId);
- colorChannelFlag = colorChannelFlag >> colorChannelFlagPos;
- colorChannelFlag &= 0b_11;
- return (ColorChannel)colorChannelFlag;
- }
-
-}
diff --git a/Packages/NBShaders/Runtime/W9ParticleShaderFlags.cs.meta b/Packages/NBShaders/Runtime/W9ParticleShaderFlags.cs.meta
deleted file mode 100644
index be8e6638..00000000
--- a/Packages/NBShaders/Runtime/W9ParticleShaderFlags.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b13c8a972207b57458dd444106acbf3a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Runtime/com.xuanxuan.nb.shaders.asmdef b/Packages/NBShaders/Runtime/com.xuanxuan.nb.shaders.asmdef
deleted file mode 100644
index 5d255961..00000000
--- a/Packages/NBShaders/Runtime/com.xuanxuan.nb.shaders.asmdef
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "com.xuanxuan.nb.shaders",
- "rootNamespace": "",
- "references": [
- "GUID:8f9e4d586616f13449cfeb86c5f704c2"
- ],
- "includePlatforms": [],
- "excludePlatforms": [],
- "allowUnsafeCode": false,
- "overrideReferences": false,
- "precompiledReferences": [],
- "autoReferenced": true,
- "defineConstraints": [],
- "versionDefines": [],
- "noEngineReferences": false
-}
\ No newline at end of file
diff --git a/Packages/NBShaders/Runtime/com.xuanxuan.nb.shaders.asmdef.meta b/Packages/NBShaders/Runtime/com.xuanxuan.nb.shaders.asmdef.meta
deleted file mode 100644
index 6b5d9b1c..00000000
--- a/Packages/NBShaders/Runtime/com.xuanxuan.nb.shaders.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 0e3b0e6ce60c7a34094f8f9822c0b7f2
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader.meta b/Packages/NBShaders/Shader.meta
deleted file mode 100644
index d35795a3..00000000
--- a/Packages/NBShaders/Shader.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5fdc89efbf4a9bf4c9449cc01f16d08a
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader/HLSL.meta b/Packages/NBShaders/Shader/HLSL.meta
deleted file mode 100644
index aaf3843f..00000000
--- a/Packages/NBShaders/Shader/HLSL.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 944a1679494774748b2936893c18c9ce
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader/HLSL/EffectFlags.hlsl b/Packages/NBShaders/Shader/HLSL/EffectFlags.hlsl
deleted file mode 100644
index 61fe946d..00000000
--- a/Packages/NBShaders/Shader/HLSL/EffectFlags.hlsl
+++ /dev/null
@@ -1,248 +0,0 @@
-#ifndef EFFECT_FLAGS
-#define EFFECT_FLAGS
-
- #define FLAG_BIT_SATURABILITY_ON (1 << 0)
- #define FLAG_BIT_PARTICLE_NOISE_CHORATICABERRAT_WITH_NOISE (1 << 1)
- #define FLAG_BIT_PARTICLE_FRESNEL_FADE_ON (1 << 2)
- #define FLAG_BIT_PARTICLE_FRESNEL_COLOR_ON (1 << 3)
- #define FLAG_BIT_PARTICLE_USETEXCOORD2 (1 << 4)
- #define FLAG_BIT_PARTICLE_DISTANCEFADE_ON (1 << 5)
- #define FLAG_BIT_PARTICLE_CHORATICABERRAT (1 << 6)
- #define FLAG_BIT_PARTILCE_MASKMAPROTATIONANIMATION_ON (1 << 7)
- #define FLAG_BIT_PARTICLE_POLARCOORDINATES_ON (1 << 8)
- #define FLAG_BIT_PARTICLE_UTWIRL_ON (1 << 9)
- #define FLAG_BIT_PARTICLE_LINEARTOGAMMA_ON (1 << 10)
- #define FLAG_BIT_PARTICLE_FRESNEL_ON (1 << 11)
- #define FLAG_BIT_PARTICLE_NOISEMAP_NORMALIZEED_ON (1 << 12)
- #define FLAG_BIT_PARTICLE_FRESNEL_COLOR_AFFETCT_BY_ALPHA (1 << 13)
- #define FLAG_BIT_PARTICLE_UIEFFECT_ON (1 << 14)
- #define FLAG_BIT_PARTICLE_UNSCALETIME_ON (1 << 15)
- #define FLAG_BIT_PARTICLE_SCRIPTABLETIME_ON (1 << 16)
- #define FLAG_BIT_PARTICLE_CUSTOMDATA1_ON (1 << 17)
- #define FLAG_BIT_PARTICLE_FRESNEL_INVERT_ON (1 << 18)
- #define FLAG_BIT_HUESHIFT_ON (1 << 19)
- #define FLAG_BIT_PARTICLE_CUSTOMDATA2_ON (1 << 20)
- #define FLAG_BIT_PARTICLE_NORMALMAP_MASK_MODE (1 << 21)
- #define FLAG_BIT_PARTICLE_COLOR_BLEND_FOLLOW_MAINTEX_UV (1 << 22)
- #define FLAG_BIT_PARTICLE_RAMP_COLOR_MAP_MODE_ON (1 << 23)
- #define FLAG_BIT_PARTICLE_RAMP_COLOR_BLEND_ADD (1 << 24)
- #define FLAG_BIT_PARTICLE_COLOR_BLEND_ALPHA_MULTIPLY_MODE (1 << 25)
- #define FLAG_BIT_PARTICLE_DISSOLVE_RAMP_MAP (1 << 26)
- #define FLAG_BIT_PARTICLE_DISSOLVE_MASK (1 << 27)
- #define FLAG_BIT_PARTICLE_BACKCOLOR (1 << 28)
- #define FLAG_BIT_PARTICLE_EMISSION_FOLLOW_MAINTEX_UV (1 << 29)
- #define FLAG_BIT_PARTICLE_VERTEX_OFFSET_ON (1 << 30)
- #define FLAG_BIT_PARTICLE_VERTEX_OFFSET_NORMAL_DIR (1 << 31)
- // uint _W9ParticleShaderFlags;
-
- #define FLAG_BIT_PARTICLE_1_DEPTH_OUTLINE (1 << 0)
- #define FLAG_BIT_PARTICLE_1_PARALLAX_MAPPING (1 << 1)
- #define FLAG_BIT_PARTICLE_1_MASKMAP_GRADIENT (1 << 2)
- #define FLAG_BIT_PARTICLE_1_MASKMAP_2_GRADIENT (1 << 3)
- #define FLAG_BIT_PARTICLE_1_MASKMAP_3_GRADIENT (1 << 4)
- #define FLAG_BIT_PARTICLE_1_DISSOLVE_LINE_MASK (1 << 5)
- #define FLAG_BIT_PARTICLE_1_DISSOLVE_RAMP_MULITPLY (1 << 6)
- #define FLAG_BIT_PARTICLE_1_MASK_REFINE (1 << 7)
- #define FLAG_BIT_PARTICLE_CUSTOMDATA2W_CHORATICABERRAT_INTENSITY (1 << 8)
- #define FLAG_BIT_PARTICLE_1_IGNORE_VERTEX_COLOR (1 << 9)
- #define FLAG_BIT_PARTICLE_1_DISSOVLE_VORONOI (1 << 10)
- #define FLAG_BIT_PARTICLE_1_DISSOVLE_USE_RAMP (1 << 11)
- #define FLAG_BIT_PARTICLE_1_MASK_MAP2 (1 << 12)
- #define FLAG_BIT_PARTICLE_1_MASK_MAP3 (1 << 13)
- #define FLAG_BIT_PARTICLE_1_NOISE_MASKMAP (1 << 14)
- #define FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER (1 << 15)
- #define FLAG_BIT_PARTICLE_1_CUSTOMDATA2Z_VERTEXOFFSET_INTENSITY (1 << 16)
- #define FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE (1 << 17)
- #define FLAG_BIT_PARTICLE_1_USE_TEXCOORD1 (1 << 18)
- #define FLAG_BIT_PARTICLE_1_USE_TEXCOORD2 (1 << 19)
- #define FLAG_BIT_PARTICLE_1_CYLINDER_CORDINATE (1 << 20)
- #define FLAG_BIT_PARTICLE_1_UV_FROM_MESH (1 << 21)
- #define FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE (1 << 22)
- #define FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM (1 << 23)
- #define FLAG_BIT_PARTICLE_1_MAINTEX_CONTRAST (1 << 24)
- #define FLAG_BIT_PARTICLE_1_VERTEXOFFSET_START_FROM_ZERO (1 << 25)
- #define FLAG_BIT_PARTICLE_1_VERTEXOFFSET_MASKMAP (1 << 26)
- #define FLAG_BIT_PARTICLE_1_MAINTEX_COLOR_REFINE (1 << 27)
- #define FLAG_BIT_PARTICLE_1_BUMP_TEX_UV_FOLLOW_MAINTEX (1 << 28)
- #define FLAG_BIT_PARTICLE_1_SIXWAY_RAMPMAP (1 << 29)
- #define FLAG_BIT_PARTICLE_1_MATCAP_MULTY_MODE (1 << 30)
-
-
- //WrapMode不能够超过16位(因为会占用x和x+16两个bit位)
- #define FLAG_BIT_WRAPMODE_BASEMAP (1 << 0)
- #define FLAG_BIT_WRAPMODE_MASKMAP (1 << 1)
- #define FLAG_BIT_WRAPMODE_MASKMAP2 (1 << 2)
- #define FLAG_BIT_WRAPMODE_NOISEMAP (1 << 3)
- #define FLAG_BIT_WRAPMODE_EMISSIONMAP (1 << 4)
- #define FLAG_BIT_WRAPMODE_DISSOLVE_MAP (1 << 5)
- #define FLAG_BIT_WRAPMODE_DISSOLVE_MASKMAP (1 << 6)
- #define FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP (1 << 7)
- #define FLAG_BIT_WRAPMODE_COLORBLENDMAP (1 << 8)
- #define FLAG_BIT_WRAPMODE_VERTEXOFFSETMAP (1 << 9)
- #define FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP (1 << 10)
- #define FLAG_BIT_WRAPMODE_MASKMAP3 (1 << 11)
- #define FLAG_BIT_WRAPMODE_NOISE_MASKMAP (1 << 12)
- #define FLAG_BIT_WRAPMODE_VERTEXOFFSET_MASKMAP (1 << 13)
- #define FLAG_BIT_WRAPMODE_BUMPTEX (1 << 14)
- #define FLAG_BIT_WRAPMODE_RAMP_COLOR_MAP (1 << 15)
-
- #define FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_X (0*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_Y (1*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_DISSOLVE_INTENSITY (2*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_HUESHIFT (3*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_X (4*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_Y (5*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_FRESNEL_OFFSET (6*4)
- #define FLAGBIT_POS_0_CUSTOMDATA_CHORATICABERRAT_INTENSITY (7*4)
-
- #define FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_X (0*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_Y (1*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_NOISE_INTENSITY (2*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_SATURATE (3*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_X (4*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_Y (5*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_VERTEXOFFSET_INTENSITY (6*4)
- #define FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_MASK_INTENSITY (7*4)
-
- #define FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_X (0*4)
- #define FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_Y (1*4)
- #define FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_X (2*4)
- #define FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_Y (3*4)
- #define FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_X (4*4)
- #define FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_Y (5*4)
- #define FLAGBIT_POS_2_CUSTOMDATA_MAINTEX_CONTRAST (6*4)
- //---->这里还有一个坑可以用哦
-
- #define FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_X (0*4)
- #define FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_Y (1*4)
-
- #define isCustomDataBit (1 << 3)
- #define Data12Bit (1 << 2)
- #define DataXYorZWBit (1 << 1)
- #define DataXZorYWBit (1 << 0)
-
- #define FLAG_BIT_UVMODE_POS_0_MAINTEX (0*2)
- #define FLAG_BIT_UVMODE_POS_0_MASKMAP (1*2)
- #define FLAG_BIT_UVMODE_POS_0_MASKMAP_2 (2*2)
- #define FLAG_BIT_UVMODE_POS_0_MASKMAP_3 (3*2)
- #define FLAG_BIT_UVMODE_POS_0_NOISE_MAP (4*2)
- #define FLAG_BIT_UVMODE_POS_0_NOISE_MASK_MAP (5*2)
- #define FLAG_BIT_UVMODE_POS_0_EMISSION_MAP (6*2)
- #define FLAG_BIT_UVMODE_POS_0_DISSOLVE_MAP (7*2)
- #define FLAG_BIT_UVMODE_POS_0_DISSOLVE_MASK_MAP (8*2)
- #define FLAG_BIT_UVMODE_POS_0_COLOR_BLEND_MAP (9*2)
- #define FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MAP (10*2)
- #define FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MASKMAP (11*2)
- #define FLAG_BIT_UVMODE_POS_0_BUMPTEX (12*2)
- #define FLAG_BIT_UVMODE_POS_0_RAMP_COLOR_MAP (13*2)
-
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_MAINTEX_ALPHA (0*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP1 (1*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP2 (2*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP3 (3*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_NOISE_MASK (4*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MAP (5*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MASK_MAP (6*2)
- #define FLAG_BIT_COLOR_CHANNEL_POS_0_RAMP_COLOR_MAP (7*2)
-
- float GetCustomData(uint flagProperty,int flagPos,float orignValue,half4 cutstomData1,half4 customData2)
- {
- uint bit = flagProperty >> flagPos;
-
- // bit &= 15;// binary 1111 这一步可能是没必要的。
- UNITY_BRANCH
- if((bit & isCustomDataBit) == 0)
- {
- return orignValue;
- }
- else
- {
- half4 customData = 0;
- if((bit & Data12Bit))
- {
- customData = cutstomData1;
-
- }
- else
- {
- customData = customData2;
- }
-
- if(bit & DataXYorZWBit)
- {
- if(bit & DataXZorYWBit)
- {
- return customData.x;
- }
- else
- {
- return customData.y;
- }
- }
- else
- {
- if(bit & DataXZorYWBit)
- {
- return customData.z;
- }
- else
- {
- return customData.w;
- }
- }
- }
- return 999;//提示错误
- }
-
- float2 GetUVByUVMode(uint flagProperty,int flagPos,float2 defaultUVChannel,float2 specialUVChannel,float2 polarOrTwirl,float2 cylinderUV)
- {
- flagProperty = flagProperty >> flagPos;
- flagProperty = flagProperty & 3;
- if(flagProperty == 0)
- {
- return defaultUVChannel;
- }
- if(flagProperty == 1)
- {
- return specialUVChannel;
- }
- if(flagProperty == 2)
- {
- return polarOrTwirl;
- }
- return cylinderUV;
- }
-
- struct BaseUVs
- {
- float2 defaultUVChannel;
- float2 specialUVChannel;
- float2 uvAfterTwirlPolar;
- float2 cylinderUV;
- };
-
- float2 GetUVByUVMode(uint flagProperty,int flagPos,BaseUVs baseUVs)
- {
- flagProperty = flagProperty >> flagPos;
- flagProperty = flagProperty & 3;
- if(flagProperty == 0)
- {
- return baseUVs.defaultUVChannel;
- }
- if(flagProperty == 1)
- {
- return baseUVs.specialUVChannel;
- }
- if(flagProperty == 2)
- {
- return baseUVs.uvAfterTwirlPolar;
- }
- return baseUVs.cylinderUV;
- }
-
-
-
-
-
-
-#endif
\ No newline at end of file
diff --git a/Packages/NBShaders/Shader/HLSL/EffectFlags.hlsl.meta b/Packages/NBShaders/Shader/HLSL/EffectFlags.hlsl.meta
deleted file mode 100644
index 770e62c6..00000000
--- a/Packages/NBShaders/Shader/HLSL/EffectFlags.hlsl.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 4918b275ae4dce948a5cedc6f3612066
-ShaderIncludeImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitForwardPassNew.hlsl b/Packages/NBShaders/Shader/HLSL/ParticlesUnlitForwardPassNew.hlsl
deleted file mode 100644
index 15320ca5..00000000
--- a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitForwardPassNew.hlsl
+++ /dev/null
@@ -1,1038 +0,0 @@
-#ifndef PARTICLESUNLITFORWARDPASS
- #define PARTICLESUNLITFORWARDPASS
- #include "HLSL/ParticlesUnlitInputNew.hlsl"
- #include "HLSL/SixWaySmokeLit.hlsl"
-
-
- ///////////////////////////////////////////////////////////////////////////////
- // Vertex and Fragment functions //
-
-
- VaryingsParticle vertParticleUnlit(AttributesParticle input)
- {
- VaryingsParticle output = (VaryingsParticle)0;
-
- output.VaryingsP_Custom1 = input.Custom1;
- output.VaryingsP_Custom2 = input.Custom2;
-
- UNITY_SETUP_INSTANCE_ID(input);
- UNITY_TRANSFER_INSTANCE_ID(input, output);
- UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output);
-
- time = _Time.y;
-
- float4 positionOS = input.vertex;
-
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_VERTEX_OFFSET_ON))
- {
- //因为极坐标和旋转会强制到Frag计算,所以顶点在这边特殊处理一遍。
- BaseUVs baseUVsForVertexOffset = ProcessBaseUVs(input.texcoords,0,output.VaryingsP_Custom1,output.VaryingsP_Custom2,positionOS);
-
- _VertexOffset_Map_ST.z += GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_X,0,input.Custom1,input.Custom2);
- _VertexOffset_Map_ST.w += GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_VERTEX_OFFSET_Y,0,input.Custom1,input.Custom2);
- _VertexOffset_Vec.z = GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_VERTEXOFFSET_INTENSITY,_VertexOffset_Vec.z,input.Custom1,input.Custom2);
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_VERTEXOFFSET_MASKMAP))
- {
- _VertexOffset_MaskMap_ST.z += GetCustomData(_W9ParticleCustomDataFlag3,FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_X,0,input.Custom1,input.Custom2);
- _VertexOffset_MaskMap_ST.w += GetCustomData(_W9ParticleCustomDataFlag3,FLAGBIT_POS_3_CUSTOMDATA_VERTEX_OFFSET_MASK_Y,0,input.Custom1,input.Custom2);
- }
-
- float2 vertexOffsetUVs = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MAP,baseUVsForVertexOffset);
- float2 vertexOffsetMaskUVs = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_VERTEX_OFFSET_MASKMAP,baseUVsForVertexOffset);
-
- positionOS.xyz = VetexOffset(positionOS,vertexOffsetUVs,vertexOffsetMaskUVs,input.normalOS);
- }
-
-
- // position ws is used to compute eye depth in vertFading
- output.positionWS.xyz = mul(unity_ObjectToWorld, positionOS).xyz;
- output.positionOS.xyz = positionOS;
-
- output.clipPos = TransformObjectToHClip(positionOS);
-
- #ifdef _PARALLAX_MAPPING
- //视差贴图,需要在Tangent空间下计算。
- float3x3 objectToTangent =
- float3x3(
- input.tangentOS.xyz,
- cross(input.normalOS,input.tangentOS.xyz) * input.tangentOS.w,//Bitangent
- input.normalOS
- );
- output.tangentViewDir = mul(objectToTangent,GetObjectSpaceNormalizeViewDir(positionOS));
- #endif
-
- float unityFogFactor = ComputeFogFactor(output.clipPos.z);
-
- output.positionWS.w = unityFogFactor;
-
- output.color = TryLinearize(input.color);
-
- output.viewDirWS = GetWorldSpaceNormalizeViewDir(output.positionWS.xyz);
- output.normalWSAndAnimBlend.xyz = TransformObjectToWorldNormal(input.normalOS.xyz);
-
- #if defined(_NORMALMAP)||defined(_FX_LIGHT_MODE_SIX_WAY)
- real sign = input.tangentOS.w * GetOddNegativeScale();
- half3 tangentWS = TransformObjectToWorldDir(input.tangentOS.xyz);
- output.tangentWS = half4(tangentWS,sign);
- #endif
-
-
- #ifndef _FX_LIGHT_MODE_UNLIT
- #ifdef _FX_LIGHT_MODE_SIX_WAY
- float3 bitangent = sign * cross(output.normalWSAndAnimBlend.xyz, output.tangentWS.xyz);
- // GetSixWayBakeDiffuseLight(output.normalWSAndAnimBlend.xyz,output.tangentWS,bitangent,
- // output.bakeDiffuseLighting0,output.bakeDiffuseLighting1,output.bakeDiffuseLighting2,
- // output.backBakeDiffuseLighting0,output.backBakeDiffuseLighting1,output.backBakeDiffuseLighting2);
-
- GetSixWayBakeDiffuseLight(output.normalWSAndAnimBlend.xyz,output.tangentWS,bitangent,
- output.bakeDiffuseLighting0,output.bakeDiffuseLighting1,output.bakeDiffuseLighting2,
- output.backBakeDiffuseLighting0,output.backBakeDiffuseLighting1,output.backBakeDiffuseLighting2);
-
- #else
- OUTPUT_SH(output.normalWSAndAnimBlend.xyz, output.vertexSH);
- #ifdef _ADDITIONAL_LIGHTS_VERTEX
- output.vertexLight = VertexLighting(output.positionWS.xyz, output.normalWSAndAnimBlend.xyz);
- #endif
- #endif
- #endif
-
-
-
- UNITY_FLATTEN
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_FRESNEL_ON))
- {
- output.fresnelViewDir = output.viewDirWS;
- }
-
- output.texcoord.xy = input.texcoords.xy;
-
-
-
-
-
- //顶点处理的原则:
- //Twirl和极坐标,贴花处理,在片段着色器层处理UV。
- //BaseMap,遮罩Mask,Noise,高光(自发光) 和极坐标处理相关。
- if(!isProcessUVInFrag())
- {
-
- float2 specialUVInTexcoord3 = 0;
- //如果同时在粒子系统里开启序列帧融帧和特殊UV通道模式。
- #if _FLIPBOOKBLENDING_ON
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM) & (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD1)|CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD2)))
- {
- specialUVInTexcoord3 = input.texcoordBlend.yz;
- output.texcoord2AndSpecialUV.zw = specialUVInTexcoord3;
- }
- #endif
- ParticleUVs particleUVs = (ParticleUVs)0;
- float2 screenUV = 0;
-
- ParticleProcessUV(input.texcoords, specialUVInTexcoord3,particleUVs,output.VaryingsP_Custom1,output.VaryingsP_Custom2,screenUV,output.positionOS.xyz);
- output.texcoord2AndSpecialUV.xy = particleUVs.animBlendUV;
- output.texcoord2AndSpecialUV.zw= particleUVs.specUV;
- output.texcoord.xy = particleUVs.mainTexUV;
- output.texcoord.zw = particleUVs.maskMapUV;
-
- output.texcoordMaskMap2.xy = particleUVs.maskMap2UV;
- output.texcoordMaskMap2.zw = particleUVs.maskMap3UV;
- #if defined (_NORMALMAP) || defined(_COLOR_RAMP)
- output.bumpTexAndColorRampMapTexcoord.xy = particleUVs.bumpTexUV;
- output.bumpTexAndColorRampMapTexcoord.zw = particleUVs.colorRampMapUV;
-
- #endif
-
- #if defined (_EMISSION) || defined(_COLORMAPBLEND)
- output.emissionColorBlendTexcoord.xy = particleUVs.emissionUV;
- output.emissionColorBlendTexcoord.zw = particleUVs.colorBlendUV;
- #endif
-
- #ifdef _NOISEMAP
- output.noisemapTexcoord.xy = particleUVs.noiseMapUV;
- output.noisemapTexcoord.zw = particleUVs.noiseMaskMapUV;
- #endif
- #if defined(_DISSOLVE)
- output.dissolveTexcoord.xy = particleUVs.dissolve_uv;
- output.dissolveTexcoord.zw = particleUVs.dissolve_mask_uv;
- output.dissolveNoiseTexcoord.xy = particleUVs.dissolve_noise1_UV;
- output.dissolveNoiseTexcoord.zw = particleUVs.dissolve_noise2_UV;
- #endif
- }
- else
- {
- output.texcoord = input.texcoords;
- #if _FLIPBOOKBLENDING_ON
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM) & CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD2))
- {
- output.texcoord2AndSpecialUV.zw = input.texcoordBlend.yz;
- }
- #endif
- }
- #ifdef _FLIPBOOKBLENDING_ON
- //粒子帧融合的情况,兼容一下。
- output.normalWSAndAnimBlend.w = input.texcoordBlend.x;
- #endif
-
-
-
-
-
- UNITY_BRANCH
- if(needEyeDepth())
- {
- float4 ndc = output.clipPos*0.5f;
- output.positionNDC.xy = float2(ndc.x, ndc.y * _ProjectionParams.x) + ndc.w;
- output.positionNDC.zw = output.clipPos.zw;
- }
-
- return output;
- }
-
-
- ///////////////////////Fragment functions ////////////////////////
-
- half4 fragParticleUnlit(VaryingsParticle input, half facing : VFACE): SV_Target
- {
-
- input.viewDirWS = normalize(input.viewDirWS );
-
-
- UNITY_SETUP_INSTANCE_ID(input);
-
- time = _Time.y;
-
- float2 screenUV = input.clipPos.xy / _ScaledScreenParams.xy;
-
- real sceneZBufferDepth = 0;
- real sceneZ = 0;
-
- UNITY_BRANCH
- if(needSceneDepth())
- {
- #if UNITY_REVERSED_Z
- sceneZBufferDepth = SampleSceneDepth(screenUV);
- #else
- // Adjust z to match NDC for OpenGL
- sceneZBufferDepth = lerp(UNITY_NEAR_CLIP_VALUE, 1, SampleSceneDepth(screenUV));
- #endif
- sceneZ = (unity_OrthoParams.w == 0) ? LinearEyeDepth(sceneZBufferDepth, _ZBufferParams) : LinearDepthToEyeDepth(sceneZBufferDepth);//场景当前深度
- }
-
- real thisZ = 0;
- if(needEyeDepth())
- {
- thisZ = LinearEyeDepth(input.positionNDC.z / input.positionNDC.w, _ZBufferParams);//当前Frag深度。
- }
-
-
- #ifdef _DEPTH_DECAL
- float3 fragWorldPos = ComputeWorldSpacePosition(screenUV, sceneZBufferDepth, UNITY_MATRIX_I_VP);
- float3 fragobjectPos = TransformWorldToObject(fragWorldPos);
-
- float3 absFragObjectPos = abs(fragobjectPos);
- half clipValue = step(absFragObjectPos.x,0.5);
- clipValue *= step(absFragObjectPos.y,0.5);
- clipValue *= step(absFragObjectPos.z,0.5);
- half decalAlpha = NB_Remap (abs(fragobjectPos.y),0.1,0.5,1,0);
- decalAlpha *= clipValue;
- float2 decalUV = fragobjectPos.xz + 0.5;
-
- #endif
-
- float4 uv = input.texcoord;
- #ifdef _DEPTH_DECAL
- uv.xy = decalUV;
- #endif
-
- float3 blendUv;
- blendUv.xy = input.texcoord2AndSpecialUV.xy;
- blendUv.z = input.normalWSAndAnimBlend.w;
- float2 MaskMapuv;
- float2 MaskMapuv2;
- float2 MaskMapuv3;
- float2 noiseMap_uv;
- float2 noiseMaskMap_uv;
- float2 colorBlendMap_uv;
- float2 emission_uv;
- float2 dissolve_uv;
- float2 dissolve_mask_uv;
- float4 dissolve_noise_uv;
- float2 BumpTex_uv;
- float2 colorRamp_uv;
-
- //如果同时在粒子系统里开启序列帧融帧和特殊UV通道模式。
-
- if(isProcessUVInFrag())
- {
- float2 specialUVInTexcoord3 = 0;
- #if _FLIPBOOKBLENDING_ON
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM) & (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD2)))
- {
- specialUVInTexcoord3 = input.texcoord2AndSpecialUV.zw;
- }
-
- #endif
- ParticleUVs particleUVs = (ParticleUVs)0;
- ParticleProcessUV(uv,specialUVInTexcoord3,particleUVs,input.VaryingsP_Custom1,input.VaryingsP_Custom2,screenUV,input.positionOS.xyz);
- uv.xy = particleUVs.mainTexUV;
- blendUv.xy = particleUVs.animBlendUV;
- MaskMapuv = particleUVs.maskMapUV;
- MaskMapuv2 = particleUVs.maskMap2UV;
- MaskMapuv3 = particleUVs.maskMap3UV;
- emission_uv = particleUVs.emissionUV;
- dissolve_uv = particleUVs.dissolve_uv;
- dissolve_mask_uv = particleUVs.dissolve_mask_uv;
- colorBlendMap_uv = particleUVs.colorBlendUV;
- noiseMap_uv = particleUVs.noiseMapUV;
- noiseMaskMap_uv = particleUVs.noiseMaskMapUV;
- dissolve_noise_uv = float4(particleUVs.dissolve_noise1_UV,particleUVs.dissolve_noise2_UV);
- BumpTex_uv = particleUVs.bumpTexUV;
- colorRamp_uv = particleUVs.colorRampMapUV;
- }
- else
- {
- MaskMapuv = input.texcoord.zw;
- MaskMapuv2 = input.texcoordMaskMap2.xy;
- MaskMapuv3 = input.texcoordMaskMap2.zw;
-
- #if defined (_NORMALMAP)||defined(_COLOR_RAMP)
- BumpTex_uv = input.bumpTexAndColorRampMapTexcoord.xy;
- colorRamp_uv = input.bumpTexAndColorRampMapTexcoord.zw;
- #endif
-
- #ifdef _NOISEMAP
- noiseMap_uv = input.noisemapTexcoord.xy;
- noiseMaskMap_uv = input.noisemapTexcoord.zw;
- #endif
-
- #if defined (_EMISSION) || defined(_COLORMAPBLEND)
- emission_uv = input.emissionColorBlendTexcoord.xy;
- colorBlendMap_uv = input.emissionColorBlendTexcoord.zw;
- #endif
-
- #ifdef _DISSOLVE
- dissolve_uv = input.dissolveTexcoord.xy;
- dissolve_mask_uv = input.dissolveTexcoord.zw;
- dissolve_noise_uv = input.dissolveNoiseTexcoord;
- #endif
- }
- half2 originUV = uv;
-
- #ifdef _PARALLAX_MAPPING
- uv.xy = ParallaxOcclusionMapping(uv,input.tangentViewDir);
- #endif
-
- half2 cum_noise = 0;
- half2 cum_noise_xy = 0.5;
- half noiseMask = 1;
- #if defined(_NOISEMAP)
- half4 noiseSample = SampleNoise(_NoiseOffset, _NoiseMap, noiseMap_uv, input.positionWS.xyz);
- cum_noise = noiseSample.xy;
- UNITY_FLATTEN
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_NOISEMAP_NORMALIZEED_ON))
- {
- cum_noise = cum_noise * 2 - 1;
- }
- noiseMask *= noiseSample.a;
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_NOISE_MASKMAP))
- {
- half4 noiseMaskSample = SampleTexture2DWithWrapFlags(_NoiseMaskMap,noiseMaskMap_uv,FLAG_BIT_WRAPMODE_NOISE_MASKMAP);
- noiseMask *= GetColorChannel(noiseMaskSample,FLAG_BIT_COLOR_CHANNEL_POS_0_NOISE_MASK);
- }
- _TexDistortion_intensity = GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_NOISE_INTENSITY,_TexDistortion_intensity,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
-
- _DistortionDirection.x += GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_X,0,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- _DistortionDirection.y += GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_NOISE_DIRECTION_Y,0,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- // 将扭曲放到post去做
- #if defined(_SCREEN_DISTORT_MODE)
- cum_noise_xy = cum_noise * _TexDistortion_intensity * _DistortionDirection.xy;
- cum_noise_xy = cum_noise_xy * 1.25 + 0.5;
- #endif
-
- float2 mainTexNoise = cum_noise * noiseMask * _TexDistortion_intensity * _DistortionDirection.xy;
- uv.xy += mainTexNoise;//主贴图纹理扭曲
- blendUv.xy += mainTexNoise;
- #endif
-
- // SampleAlbedo--------------------
- half4 albedo = 0;
- #if defined(_SCREEN_DISTORT_MODE)
- albedo = half4(cum_noise_xy, 1.0, noiseMask);
- #else
-
- UNITY_FLATTEN
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_BACKCOLOR))
- {
- _BaseColor = facing > 0 ? _BaseColor : _BaseBackColor;
- }
-
-
- Texture2D baseMap;
-
- #ifdef _SCREEN_DISTORT_MODE
- baseMap = _ScreenColorCopy1;
- #else
- baseMap = _BaseMap;
- #endif
-
- UNITY_BRANCH
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_UIEFFECT_ON) & !CheckLocalFlags1(FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE))
- {
- albedo = BlendTexture(_MainTex, uv, blendUv) * _Color;
- }
- else if (CheckLocalFlags(FLAG_BIT_PARTICLE_CHORATICABERRAT))
- {
-
- _DistortionDirection.z = GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_CHORATICABERRAT_INTENSITY,_DistortionDirection.z,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- _DistortionDirection.z *= 0.1;
- albedo = DistortionChoraticaberrat(baseMap,originUV,uv,_DistortionDirection.z,FLAG_BIT_WRAPMODE_BASEMAP);
- }
- else
- {
-
- albedo = BlendTexture(baseMap, uv, blendUv,FLAG_BIT_WRAPMODE_BASEMAP);
-
- }
-
- albedo.a = GetColorChannel(albedo,FLAG_BIT_COLOR_CHANNEL_POS_0_MAINTEX_ALPHA);
-
- albedo *= _BaseColor ;
- albedo.rgb *= _BaseColorIntensityForTimeline;
-
- #endif
-
- half alpha = albedo.a;
- half3 result = albedo.rgb;
-
- #ifdef _FX_LIGHT_MODE_SIX_WAY
- float4 rigRTBkSample = BlendTexture(_RigRTBk, uv, blendUv,FLAG_BIT_WRAPMODE_BASEMAP);
- float4 rigLBtFSample = BlendTexture(_RigLBtF, uv, blendUv,FLAG_BIT_WRAPMODE_BASEMAP);
- #endif
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_HUESHIFT_ON))
- {
- half3 hsv = RgbToHsv(result);
- _HueShift = GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_HUESHIFT,_HueShift,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- hsv.r += _HueShift;
- result = HsvToRgb(hsv);
- }
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MAINTEX_CONTRAST))
- {
- _Contrast = GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_MAINTEX_CONTRAST,_Contrast,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- result.rgb = lerp(_ContrastMidColor,result.rgb,_Contrast);
- }
-
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MAINTEX_COLOR_REFINE))
- {
- half3 colorA = result.rgb*_BaseMapColorRefine.x;
- half3 colorB = pow(result.rgb,_BaseMapColorRefine.y)*_BaseMapColorRefine.z;
- result.rgb = lerp(colorA,colorB,_BaseMapColorRefine.w);
- }
-
- half3 normalTS = half3(0, 0, 1);//TODO
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_BUMP_TEX_UV_FOLLOW_MAINTEX))
- {
- BumpTex_uv = uv;
- }
-
- half metallic = 1;
- half smoothness = 1;
- #ifdef _NORMALMAP
-
- half4 normalMapSample = SampleTexture2DWithWrapFlags(_BumpTex,BumpTex_uv,FLAG_BIT_WRAPMODE_BUMPTEX);
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_NORMALMAP_MASK_MODE))
- {
- normalTS = UnpackNormalRGB(half4(normalMapSample.xy,0,1),_BumpScale);
- metallic *= normalMapSample.z;
- smoothness *= normalMapSample.w;
- }
- else
- {
- normalTS = UnpackNormalScale(half4(normalMapSample),_BumpScale);
- }
-
- #endif
- //光照模式
- #ifndef _FX_LIGHT_MODE_UNLIT
-
- InputData inputData;
- InitializeInputData(input, normalTS, inputData);
- metallic *= _MaterialInfo.x;
- half3 specular = 0;
- smoothness *= _MaterialInfo.y;
- half occlusion = 1;
- half3 pbrEmission = 0;
- // return half4(inputData.bakedGI,1);
- #if defined (_FX_LIGHT_MODE_BLINN_PHONG) || defined(_FX_LIGHT_MODE_HALF_LAMBERT)
- half4 specularGloss = _SpecularColor;
- #ifdef _FX_LIGHT_MODE_BLINN_PHONG
- half4 blinnPhong = UniversalFragmentBlinnPhong(inputData,result.rgb, specularGloss, smoothness, pbrEmission, alpha,normalTS);
- #else //_FX_LIGHT_MODE_HALF_LAMBERT
- half4 blinnPhong = UniversalFragmentHalfLambert(inputData,result.rgb, specularGloss, smoothness, pbrEmission, alpha,normalTS);
- #endif
- result = blinnPhong.rgb;
- alpha = blinnPhong.a;
- #elif _FX_LIGHT_MODE_PBR
- half4 pbr = UniversalFragmentPBR(inputData,result.rgb, metallic, specular, smoothness, occlusion, pbrEmission, alpha);
- result = pbr.rgb;
- alpha = pbr.a;
- #elif _FX_LIGHT_MODE_SIX_WAY
- BSDFData bsdfData = (BSDFData)0;
- bsdfData.absorptionRange = GetAbsorptionRange(_SixWayInfo.x);
- bsdfData.diffuseColor = albedo;
- bsdfData.normalWS = inputData.normalWS;
- bsdfData.tangentWS = input.tangentWS;//Check this
- bsdfData.rigRTBk = rigRTBkSample.xyz * INV_PI;//AccordingTo SixWayForwardPass
- bsdfData.rigLBtF = rigLBtFSample.xyz * INV_PI;//AccordingTo SixWayForwardPass
- bsdfData.bakeDiffuseLighting0 = input.bakeDiffuseLighting0;
- bsdfData.bakeDiffuseLighting1 = input.bakeDiffuseLighting1;
- bsdfData.bakeDiffuseLighting2 = input.bakeDiffuseLighting2;
- bsdfData.backBakeDiffuseLighting0 = input.backBakeDiffuseLighting0;
- bsdfData.backBakeDiffuseLighting1 = input.backBakeDiffuseLighting1;
- bsdfData.backBakeDiffuseLighting2 = input.backBakeDiffuseLighting2;
- bsdfData.emissionInput = rigLBtFSample.a;
- GetSixWayEmission(bsdfData,_SixWayEmissionRamp,_SixWayEmissionColor,CheckLocalFlags1(FLAG_BIT_PARTICLE_1_SIXWAY_RAMPMAP));//Init Emission
- bsdfData.alpha = rigRTBkSample.a * _BaseColor.a;
-
- ModifyBakedDiffuseLighting(bsdfData,inputData.bakedGI);
-
- half4 sixWay = UniversalFragmentSixWay(inputData,bsdfData);
-
-
- // half3 dir = _MainLightPosition.xyz;
- // dir = TransformToLocalFrame(dir, bsdfData);
- // return half4(dir,1);
-
- result = sixWay.rgb;
- alpha = sixWay.a;
-
- #endif
-
- #ifdef _ADDITIONAL_LIGHTS_VERTEX
- result.rgb *= input.vertexLight;
- #endif
-
- input.normalWSAndAnimBlend.xyz = inputData.normalWS;
-
- #else
- #ifdef _NORMALMAP
- float sgn = input.tangentWS.w; // should be either +1 or -1
- float3 bitangent = sgn * cross(input.normalWSAndAnimBlend.xyz, input.tangentWS.xyz);
- half3x3 tangentToWorld = half3x3(input.tangentWS.xyz, bitangent.xyz, input.normalWSAndAnimBlend.xyz);
- input.normalWSAndAnimBlend.xyz = TransformTangentToWorld(normalTS, tangentToWorld);
- #endif
- #endif
-
- #ifdef _MATCAP
- // URP
- half3 normalVS = mul(input.normalWSAndAnimBlend.xyz, (float3x3)UNITY_MATRIX_I_V); // 逆转置矩阵
- half3 positionVS = TransformWorldToView(input.positionWS);
-
-
- float3 r = reflect(positionVS, normalVS);
- r = normalize(r);
- float m = 2.828427f * sqrt(r.z + 1.0);
- float2 matCapUV = r.xy / m + 0.5;
- half3 matCapSample = SAMPLE_TEXTURE2D(_MatCapTex,sampler_linear_clamp,matCapUV);
-
- matCapSample *= _MatCapColor.rgb;
-
- half3 matCapMutilResult = result * matCapSample;
- half3 matAddResult = result + matCapSample;
- half3 matCapResult = lerp(matAddResult,matCapMutilResult,_MatCapInfo.x);
-
- result = lerp(result,matCapResult,_MatCapColor.a);
- #endif
-
-
-
- //流光部分
- half4 emission = half4(0, 0, 0,1);
- #if defined(_EMISSION)
- #ifdef _NOISEMAP
- if (!CheckLocalFlags(FLAG_BIT_PARTICLE_EMISSION_FOLLOW_MAINTEX_UV))
- {
- emission_uv += cum_noise * _Emi_Distortion_intensity;
- }
- #endif
- // emission = tex2D_TryLinearizeWithoutAlphaFX(_EmissionMap,emission_uv);
- emission = SampleTexture2DWithWrapFlags(_EmissionMap,emission_uv,FLAG_BIT_WRAPMODE_EMISSIONMAP);
- emission.xyz *= emission.a;
- _EmissionMapColor *= _EmissionMapColorIntensity;
- emission.xyz *= _EmissionMapColor;
-
- #endif
-
- result += emission;
-
-
- #if defined(_COLOR_RAMP)
- half rampValue = 0;
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_RAMP_COLOR_MAP_MODE_ON))
- {
- half4 RampColorSample = SampleTexture2DWithWrapFlags(_RampColorMap,colorRamp_uv,FLAG_BIT_WRAPMODE_RAMP_COLOR_MAP);
- rampValue = GetColorChannel(RampColorSample,FLAG_BIT_COLOR_CHANNEL_POS_0_RAMP_COLOR_MAP);
- }
- else
- {
- const int rampColorWrapMode = CheckLocalWrapFlags(FLAG_BIT_WRAPMODE_RAMP_COLOR_MAP);
- if (rampColorWrapMode == 0 || rampColorWrapMode == 2)
- {
- rampValue = frac(colorRamp_uv.x);
- }
- else
- {
- rampValue = saturate(colorRamp_uv.x);
- }
- }
-
- half3 colorRampColorArr[] = {_RampColor0.rgb,_RampColor1.rgb,_RampColor2.rgb,_RampColor3.rgb,_RampColor4.rgb,_RampColor5.rgb};
- half colorRampColorTimeArr[] = {_RampColor0.a,_RampColor1.a,_RampColor2.a,_RampColor3.a,_RampColor4.a,_RampColor5.a};
- int colorRampColorCount = _RampColorCount & 0xFFFF;
-
- half colorRampAlphaArr[] = {_RampColorAlpha0.x,_RampColorAlpha0.z,_RampColorAlpha1.x,_RampColorAlpha1.z,_RampColorAlpha2.x,_RampColorAlpha2.z};
- half colorRampAlphaTimeArr[] = {_RampColorAlpha0.y,_RampColorAlpha0.w,_RampColorAlpha1.y,_RampColorAlpha1.w,_RampColorAlpha2.y,_RampColorAlpha2.w};
- int colorRampAlphaCount = _RampColorCount >> 16;
-
- half4 rampColor;
- rampColor.rgb = GetGradientColorValue(colorRampColorArr,colorRampColorTimeArr,colorRampColorCount,rampValue);
- rampColor.a = GetGradientAlphaValue(colorRampAlphaArr,colorRampAlphaTimeArr,colorRampAlphaCount,rampValue);
-
- rampColor *= _RampColorBlendColor;
-
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_RAMP_COLOR_BLEND_ADD))
- {
- result += rampColor;
- alpha += rampColor.a;
- }
- else
- {
- result *= rampColor;
- alpha *= rampColor.a;
- }
- #endif
-
-
-
- //溶解部分
- #if defined(_DISSOLVE)
- #ifdef _NOISEMAP
- dissolve_uv += cum_noise * _DissolveOffsetRotateDistort.w;
-
- UNITY_FLATTEN
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_DISSOLVE_MASK))
- {
- dissolve_mask_uv += cum_noise * _DissolveOffsetRotateDistort.w;
- }
- #endif
-
- half4 dissolveMapSample = SampleTexture2DWithWrapFlags(_DissolveMap,dissolve_uv,FLAG_BIT_WRAPMODE_DISSOLVE_MAP);
-
- half dissolveValue = GetColorChannel(dissolveMapSample,FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MAP);
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DISSOVLE_VORONOI))
- {
- half cell;
- half noise1;
- noise1 = SimplexNoise(dissolve_noise_uv.xy,_Time.y*_DissolveVoronoi_Vec2.z);
-
- half noise2;
- Unity_Voronoi_float(dissolve_noise_uv.zw,_Time.y*_DissolveVoronoi_Vec2.w,_DissolveVoronoi_Vec.zw,noise2,cell);
- half overlayVoroni;
-
- half dissolveSample = dissolveValue;
- Unity_Blend_HardLight_half(noise1,noise2,_DissolveVoronoi_Vec2.x,overlayVoroni);
-
- Unity_Blend_HardLight_half(overlayVoroni,dissolveSample,_DissolveVoronoi_Vec2.y,dissolveValue);
-
-
- }
-
- // dissolveValue = SimpleSmoothstep(_Dissolve_Vec2.x,_Dissolve_Vec2.y,dissolveValue);
- dissolveValue = pow(dissolveValue,_Dissolve.y);
-
-
-
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_DISSOLVE_MASK))
- {
- half dissolveMaskValue = 0;
- half4 dissolveMaskSample = SampleTexture2DWithWrapFlags(_DissolveMaskMap,dissolve_mask_uv,FLAG_BIT_WRAPMODE_DISSOLVE_MASKMAP);
- dissolveMaskValue = GetColorChannel(dissolveMaskSample,FLAG_BIT_COLOR_CHANNEL_POS_0_DISSOLVE_MASK_MAP);
- _Dissolve.z += GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_MASK_INTENSITY,0,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- dissolveMaskValue += _Dissolve.z;
- // dissolveValue = dissolveMaskValue*dissolveValue;
- //
- // half mixedDisolveValue ;
- // Blend_HardLight_half(dissolveValue,dissolveMaskValue,mixedDisolveValue);
- // dissolveValue = mixedDisolveValue;
-
- dissolveValue = (dissolveValue +dissolveMaskValue)*0.5;//Smart Way By Panda
- }
-
- #ifdef _DISSOLVE_EDITOR_TEST //后续Test类的关键字要找机会排除
- return half4(dissolveValue.rrr,1);
- #endif
- half dissolveStrenth = _Dissolve.x + GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_DISSOLVE_INTENSITY,0,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
-
- half invSoftStep = 1/_Dissolve.w;
- half dissolveValueBeforeSoftStep = dissolveValue - ((dissolveStrenth)*(invSoftStep + 1)-1)*_Dissolve.w ;
- dissolveValue = dissolveValue*invSoftStep -(1+invSoftStep)*dissolveStrenth +1;
- // dissolveValue = smoothstep(dissolveStrenth-_Dissolve.w,dissolveStrenth,dissolveValue);//Smart Way By Panda
- dissolveValue = saturate(dissolveValue);
-
-
-
- alpha *= dissolveValue;
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DISSOVLE_USE_RAMP))
- {
- // half rampRange = (dissolveValueBeforeSoftStep - _Dissolve_Vec2.x)*_Dissolve_Vec2.y;
- half rampRange = dissolveValueBeforeSoftStep;
- rampRange = rampRange * _DissolveRampMap_ST.x +_DissolveRampMap_ST.z;
-
- half4 rampSample ;
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_DISSOLVE_RAMP_MAP))
- {
- rampSample = SampleTexture2DWithWrapFlags(_DissolveRampMap,half2(rampRange,0.5),FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP);
- }
- else
- {
- half3 dissolveRampColorArr[] = {_DissolveRampColor0.rgb,_DissolveRampColor1.rgb,_DissolveRampColor2.rgb,_DissolveRampColor3.rgb,_DissolveRampColor4.rgb,_DissolveRampColor5.rgb};
- half dissolveRampColorTimeArr[] = {_DissolveRampColor0.a,_DissolveRampColor1.a,_DissolveRampColor2.a,_DissolveRampColor3.a,_DissolveRampColor4.a,_DissolveRampColor5.a};
- int dissolveRampColorCount = _DissolveRampCount & 0xFFFF;
-
- half dissolveRampAlphaArr[] = {_DissolveRampAlpha0.x,_DissolveRampAlpha0.z,_DissolveRampAlpha1.x,_DissolveRampAlpha1.z,_DissolveRampAlpha2.x,_DissolveRampAlpha2.z};
- half dissolveRampAlphaTimeArr[] = {_DissolveRampAlpha0.y,_DissolveRampAlpha0.w,_DissolveRampAlpha1.y,_DissolveRampAlpha1.w,_DissolveRampAlpha2.y,_DissolveRampAlpha2.w};
- int dissolveRampAlphaCount = _DissolveRampCount >> 16;
-
- const int rampWrapMode = CheckLocalWrapFlags(FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP);
- if (rampWrapMode == 0 || rampWrapMode == 2)
- {
- rampRange = frac(rampRange);
- }
- else
- {
- rampRange = saturate(rampRange);
- }
-
-
- rampSample.rgb = GetGradientColorValue(dissolveRampColorArr,dissolveRampColorTimeArr,dissolveRampColorCount,rampRange);
- rampSample.a = GetGradientAlphaValue(dissolveRampAlphaArr,dissolveRampAlphaTimeArr,dissolveRampAlphaCount,rampRange);
- }
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DISSOLVE_RAMP_MULITPLY))
- {
- result = result * lerp(1,rampSample.rgb*_DissolveRampColor.rgb,rampSample.a*_DissolveRampColor.a);
- }
- else
- {
- result = lerp(result,rampSample.rgb*_DissolveRampColor.rgb,rampSample.a*_DissolveRampColor.a);
- }
- }
-
-
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DISSOLVE_LINE_MASK))
- {
- half lineMask = dissolveValueBeforeSoftStep;//SmoothStep要优化
- lineMask = saturate(NB_Remap01(lineMask,_Dissolve_Vec2.x-_Dissolve_Vec2.y,_Dissolve_Vec2 + _Dissolve_Vec2.y));
- lineMask = 1- lineMask;
-
- result = lerp(result,_DissolveLineColor.rgb,lineMask*_DissolveLineColor.a);
- }
- //
-
-
- #endif
-
- //颜色渐变
- #ifdef _COLORMAPBLEND
- #if defined(_NOISEMAP)
- if (!CheckLocalFlags(FLAG_BIT_PARTICLE_COLOR_BLEND_FOLLOW_MAINTEX_UV))
- {
- colorBlendMap_uv += cum_noise * _ColorBlendVec.x; //加入扭曲效果
- }
- #endif
- half4 colorBlend = SampleTexture2DWithWrapFlags(_ColorBlendMap,colorBlendMap_uv,FLAG_BIT_WRAPMODE_COLORBLENDMAP);
- colorBlend.rgb = colorBlend.rgb * _ColorBlendColor.rgb;
- colorBlend.a = lerp(1,colorBlend.a*_ColorBlendColor.a,_ColorBlendVec.z);
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_COLOR_BLEND_ALPHA_MULTIPLY_MODE))
- {
- result *= colorBlend.rgb;
- alpha *= colorBlend.a;
- }
- else
- {
- result.rgb = lerp(result.rgb,result.rgb * colorBlend.rgb,colorBlend.a);
- }
- #endif
-
- //菲涅
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_FRESNEL_ON))
- {
- half fresnelValue = 0;
- if(!ignoreFresnel())
- {
- half3 fresnelDir = normalize(input.fresnelViewDir+_FresnelRotation.rgb);
-
- half dotNV = dot(fresnelDir,input.normalWSAndAnimBlend.xyz) ;
- fresnelValue = dotNV;
-
-
- _FresnelUnit.x += GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_FRESNEL_OFFSET,0,input.VaryingsP_Custom1,input.VaryingsP_Custom2);;
-
- // half fresnelHardness = - _FresnelUnit.w*0.5 +0.5;
- fresnelValue = NB_Remap(fresnelValue,_FresnelUnit.x,_FresnelUnit.x + 1.01 - _FresnelUnit.w,0,1);
- UNITY_BRANCH
- if(!CheckLocalFlags(FLAG_BIT_PARTICLE_FRESNEL_INVERT_ON))
- {
- fresnelValue = 1- fresnelValue;
- }
- fresnelValue = pow(fresnelValue,_FresnelUnit.y);
-
-
- // fresnelValue = smoothstep(0.5-fresnelHardness,0.5+fresnelHardness,fresnelValue);
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_FRESNEL_COLOR_ON))
- {
- float fresnelColorIntensity = fresnelValue*_FresnelColor.a*_FresnelUnit.z;
-
- result = lerp(result,_FresnelColor.rgb,fresnelColorIntensity);
- if (!CheckLocalFlags(FLAG_BIT_PARTICLE_FRESNEL_COLOR_AFFETCT_BY_ALPHA))
- {
- alpha = max(alpha,fresnelColorIntensity);//颜色要不要不被主贴图Alpha影响呢?
- }
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_FRESNEL_FADE_ON))
- {
- fresnelValue *= alpha;
- alpha = lerp(alpha,fresnelValue,_FresnelUnit.z);
- }
-
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DEPTH_OUTLINE))
- {
- half depthOutlineValue = 1- SoftParticles(_DepthOutline_Vec.x, _DepthOutline_Vec.y, sceneZ,thisZ);
- depthOutlineValue *= _DepthOutline_Color.a;
- half3 originResult = result;
- //如何在一个pass里,完美的给出两个颜色的Fade。这个问题,没有想清楚。
- result = lerp(result,_DepthOutline_Color.rgb,clamp(depthOutlineValue*3,0,1));
- result = lerp(result,originResult,clamp(alpha-depthOutlineValue,0,1));
- alpha = max(alpha,depthOutlineValue);
-
- }
-
-
-
- //遮罩部分
- #if defined(_MASKMAP_ON)
-
- #if defined(_NOISEMAP)
- MaskMapuv += cum_noise * _MaskDistortion_intensity; //加入扭曲效果
- #endif
-
- half mask1 = 1;
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASKMAP_GRADIENT))
- {
- const int maskMapWrapMode = CheckLocalWrapFlags(FLAG_BIT_WRAPMODE_MASKMAP);
- half maskMapTimeValue;
- if (maskMapWrapMode == 0 || maskMapWrapMode == 2)
- {
- maskMapTimeValue = frac(MaskMapuv.x);
- }
- else
- {
- maskMapTimeValue = saturate(MaskMapuv.x);
- }
-
- half maskMapAlphaArr[] = {_MaskMapGradientFloat0.x,_MaskMapGradientFloat0.z,_MaskMapGradientFloat1.x,_MaskMapGradientFloat1.z,_MaskMapGradientFloat2.x,_MaskMapGradientFloat2.z};
- half maskMapAlphaTimeArr[] = {_MaskMapGradientFloat0.y,_MaskMapGradientFloat0.w,_MaskMapGradientFloat1.y,_MaskMapGradientFloat1.w,_MaskMapGradientFloat2.y,_MaskMapGradientFloat2.w};
- int maskMapAlphaCount = _MaskMapGradientCount;
- mask1 = GetGradientAlphaValue(maskMapAlphaArr,maskMapAlphaTimeArr,maskMapAlphaCount,maskMapTimeValue);
- }
- else
- {
- half4 maskmap1Sample = SampleTexture2DWithWrapFlags(_MaskMap, MaskMapuv,FLAG_BIT_WRAPMODE_MASKMAP);
- mask1 = GetColorChannel(maskmap1Sample,FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP1);
-
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASK_MAP2))
- {
- half mask2 = 1;
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASKMAP_2_GRADIENT))
- {
- const int maskMap2WrapMode = CheckLocalWrapFlags(FLAG_BIT_WRAPMODE_MASKMAP2);
- half maskMap2TimeValue;
- if (maskMap2WrapMode == 0 || maskMap2WrapMode == 3)
- {
- maskMap2TimeValue = frac(MaskMapuv2.y);
- }
- else
- {
- maskMap2TimeValue = saturate(MaskMapuv2.y);
- }
-
- half maskMap2AlphaArr[] = {_MaskMap2GradientFloat0.x,_MaskMap2GradientFloat0.z,_MaskMap2GradientFloat1.x,_MaskMap2GradientFloat1.z,_MaskMap2GradientFloat2.x,_MaskMap2GradientFloat2.z};
- half maskMap2AlphaTimeArr[] = {_MaskMap2GradientFloat0.y,_MaskMap2GradientFloat0.w,_MaskMap2GradientFloat1.y,_MaskMap2GradientFloat1.w,_MaskMap2GradientFloat2.y,_MaskMap2GradientFloat2.w};
- int maskMap2AlphaCount = _MaskMap2GradientCount;
- mask2 = GetGradientAlphaValue(maskMap2AlphaArr,maskMap2AlphaTimeArr,maskMap2AlphaCount,maskMap2TimeValue);
- }
- else
- {
- half4 maskMap2Sample = SampleTexture2DWithWrapFlags(_MaskMap2, MaskMapuv2,FLAG_BIT_WRAPMODE_MASKMAP2);
- mask2 = GetColorChannel(maskMap2Sample,FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP2);
- }
- mask1 *= mask2;
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASK_MAP3))
- {
- half mask3 = 1;
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASKMAP_3_GRADIENT))
- {
- const int maskMap3WrapMode = CheckLocalWrapFlags(FLAG_BIT_WRAPMODE_MASKMAP3);
- half maskMap3TimeValue;
- if (maskMap3WrapMode == 0 || maskMap3WrapMode == 2)
- {
- maskMap3TimeValue = frac(MaskMapuv3.x);
- }
- else
- {
- maskMap3TimeValue = saturate(MaskMapuv3.x);
- }
-
- half maskMap3AlphaArr[] = {_MaskMap3GradientFloat0.x,_MaskMap3GradientFloat0.z,_MaskMap3GradientFloat1.x,_MaskMap3GradientFloat1.z,_MaskMap3GradientFloat2.x,_MaskMap3GradientFloat2.z};
- half maskMap3AlphaTimeArr[] = {_MaskMap3GradientFloat0.y,_MaskMap3GradientFloat0.w,_MaskMap3GradientFloat1.y,_MaskMap3GradientFloat1.w,_MaskMap3GradientFloat2.y,_MaskMap3GradientFloat2.w};
- int maskMap3AlphaCount = _MaskMap3GradientCount;
- mask3 = GetGradientAlphaValue(maskMap3AlphaArr,maskMap3AlphaTimeArr,maskMap3AlphaCount,maskMap3TimeValue);
- }
- else
- {
- half4 maskMap3Sample = SampleTexture2DWithWrapFlags(_MaskMap3, MaskMapuv3,FLAG_BIT_WRAPMODE_MASKMAP3);
- mask3 = GetColorChannel(maskMap3Sample,FLAG_BIT_COLOR_CHANNEL_POS_0_MASKMAP3);
- }
- mask1 *= mask3;
- }
-
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASK_REFINE))
- {
- mask1 = pow(mask1,_MaskRefineVec.x);
- mask1 = mask1 * _MaskRefineVec.y;
- mask1 += _MaskRefineVec.z;
- }
-
- mask1 = lerp(1,mask1,_MaskMapVec.x);
- mask1 = saturate(mask1);
-
- alpha *= mask1; //mask边缘
- #endif
-
-
- //可以看https://www.cyanilux.com/tutorials/depth/
- // float4 projectedPosition = input.positionNDC;
- // float thisZ1 = LinearEyeDepth(projectedPosition.z / projectedPosition.w, _ZBufferParams);
-
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_DISTANCEFADE_ON))
- {
- half fade = DepthFactor(thisZ, _Fade.x, _Fade.y);
- alpha *= fade;
- }
-
-
- #if defined(_SOFTPARTICLES_ON)
-
- half softAlpha = SoftParticles(SOFT_PARTICLE_NEAR_FADE, SOFT_PARTICLE_INV_FADE_DISTANCE, sceneZ,thisZ);
- alpha *= softAlpha;
-
- #endif
-
-
-
-
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_SATURABILITY_ON))
- {
- half3 resultWB = luminance(result);
- _Saturability = GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_SATURATE,_Saturability,input.VaryingsP_Custom1,input.VaryingsP_Custom2);
- result.rgb = lerp(resultWB.rgb, result.rgb, _Saturability);
- }
-
-
- //和粒子颜色信息运算。雨轩:乘顶点色。
- if(!CheckLocalFlags1(FLAG_BIT_PARTICLE_1_IGNORE_VERTEX_COLOR))
- {
- result *= input.color.rgb;
- alpha *= input.color.a;
- }
- // 程序额外的颜色
- result *= _ColorA.rgb;
- alpha *= _ColorA.a;
- // // alpha *= _ColorA * 0.8;
-
-
- #ifdef _DEPTH_DECAL
- alpha *= decalAlpha;
- #endif
-
-
-
- half3 beforeFogResult = result;
- result = MixFog(result,input.positionWS.w);
- result = lerp(beforeFogResult, result, _fogintensity);
-
- // #ifndef _SCREEN_DISTORT_MODE
- // result.rgb = result.rgb * alpha;
- // #endif
-
- UNITY_FLATTEN
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_LINEARTOGAMMA_ON))
- {
- result.rgb = LinearToGammaSpace(result.rgb);
- }
-
-
- alpha *= _AlphaAll;
-
- #if defined (_ALPHAPREMULTIPLY_ON) || defined(_ALPHAMODULATE_ON)
- result *= alpha;
- #ifdef _ALPHAPREMULTIPLY_ON
- alpha *= _AdditiveToPreMultiplyAlphaLerp;
- #endif
- #endif
- half4 color = half4(result, alpha);
-
-
-
- #ifdef _ALPHATEST_ON
- clip(color.a - _Cutoff);
-
- #endif
-
- color = min(color,1000);
-
- return color;
- }
-
-#endif
diff --git a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitForwardPassNew.hlsl.meta b/Packages/NBShaders/Shader/HLSL/ParticlesUnlitForwardPassNew.hlsl.meta
deleted file mode 100644
index 8e3f4d72..00000000
--- a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitForwardPassNew.hlsl.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 9187c1d488f62d9458d6ce67858a43b3
-ShaderIncludeImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitInputNew.hlsl b/Packages/NBShaders/Shader/HLSL/ParticlesUnlitInputNew.hlsl
deleted file mode 100644
index 7eebe43d..00000000
--- a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitInputNew.hlsl
+++ /dev/null
@@ -1,1346 +0,0 @@
-#ifndef PARTICLESUNLITINPUT
- #define PARTICLESUNLITINPUT
-
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl"
-
-
- //---------------particleInput-------------------
- CBUFFER_START(UnityPerMaterial)
- float4 _SoftParticleFadeParams;
- float4 _CameraFadeParams;
- // #ifdef _INTERSECT_ON
- float _IntersectRadius;
- half4 _IntersectColor;
- // #endif
- half _AdditiveToPreMultiplyAlphaLerp;
- half _Saturability;
- half _HueShift;
- half _Contrast;
- half3 _ContrastMidColor;
- half4 _BaseMapColorRefine;
- half _AlphaAll;
- float4 _BaseMap_ST;
- float4 _BaseMap_AnimationSheetBlend_ST;//20240826 暂时只是给AnimationSheetHelper用。
- half _AnimationSheetHelperBlendIntensity;
- float4 _MaskMap_ST;
- half4 _BaseColor;
- half4 _BaseBackColor;
- half _BaseColorIntensityForTimeline;
- half4 _EmissionMap_ST;
- half4 _NoiseMap_ST;
- half4 _NoiseMaskMap_ST;
- half4 _DistortionDirection;
- half4 _BaseColorAddSubDiff;
- half _fogintensity;
- half _Emi_Distortion_intensity;
- half _BaseMapUVRotation;
- half _BaseMapUVRotationSpeed;
- float _MaskMapUVRotation;
- float _NoiseMapUVRotation;
- half _uvRapSoft;
- half4 _EmissionMapColor;
- half _EmissionMapColorIntensity;
-
- //--------------光照部分-------------
- float4 _BumpTex_ST;
- half _BumpScale;
- half4 _MaterialInfo;
- half4 _SpecularColor;
- //-----------SixWayLight----------
- half4 _SixWayInfo;
- half4 _SixWayEmissionColor;
-
- half4 _MatCapColor;
- half4 _MatCapInfo;
-
- half _EdgeFade;
- half4 _NoiseOffset;
- half4 _EmissionMapUVOffset;
- half _EmissionMapUVRotation;
- half _EmissionSelfAlphaWeight;
- half _TexDistortion_intensity;
- // //half _RJ_Distortion_intensity;
- // half _XianXingCH_UVRota;
- // half _jingxiangCH_dire;
-
- half _MaskDistortion_intensity;
- half4 _BaseMapMaskMapOffset;
- half4 _MaskMapOffsetAnition;
- half4 _MaskMap3OffsetAnition;
- half4 _MaskMapVec;
- half4 _MaskRefineVec;
-
- int _MaskMapGradientCount;
- half4 _MaskMapGradientFloat0;
- half4 _MaskMapGradientFloat1;
- half4 _MaskMapGradientFloat2;
- int _MaskMap2GradientCount;
- half4 _MaskMap2GradientFloat0;
- half4 _MaskMap2GradientFloat1;
- half4 _MaskMap2GradientFloat2;
- int _MaskMap3GradientCount;
- half4 _MaskMap3GradientFloat0;
- half4 _MaskMap3GradientFloat1;
- half4 _MaskMap3GradientFloat2;
-
- float4 _PCCenter;
- float4 _TWParameter;
- float _TWStrength;
- float4 _Fade;
- float _MaskMapRotationSpeed;
-
-
- half _FrePower;
- half _FresnelInOutSlider;
- half4 _FresnelRotation;
- half _FresnelSelfAlphaWeight;
- half4 _FresnelUnit;
- half4 _FresnelUnit2;
- half4 _DepthOutline_Vec;
- half4 _DepthOutline_Color;
- half4 _FresnelColor;
- half4 _ColorA;
- float4 _ClipRect;
-
- float4 _CylinderMatrix0;
- float4 _CylinderMatrix1;
- float4 _CylinderMatrix2;
- float4 _CylinderMatrix3;
-
- half4 _Color;
- float4 _UI_MainTex_ST;//在UI中,RawImage组件的功能和正常的TexST不一致,所以这里使用另外传的方式。
- float4 _MainTex_Reverse_ST;
-
- half _Cutoff;
-
- float4 _MaskMap2_ST;
- float4 _MaskMap3_ST;
-
- float time;
- half _FresnelFadeDistance;
-
- half4 LB_RT;
-
- half4 _Dissolve;
- half4 _DissolveMap_ST;
- half4 _DissolveOffsetRotateDistort;
- half4 _DissolveMaskMap_ST;
-
- half4 _DissolveLineColor;
- half4 _DissolveRampColor;
- float4 _DissolveVoronoi_Vec;
- half4 _DissolveVoronoi_Vec2;
- float4 _DissolveVoronoi_Vec3;
- float4 _DissolveVoronoi_Vec4;
- half4 _DissolveRampMap_ST;
- half4 _Dissolve_Vec2;
-
- half4 _ColorBlendMap_ST;
- float4 _ColorBlendMapOffset;
- half4 _ColorBlendColor;
- half4 _ColorBlendVec;
-
- half4 _RampColor0;
- half4 _RampColor1;
- half4 _RampColor2;
- half4 _RampColor3;
- half4 _RampColor4;
- half4 _RampColor5;
- half4 _RampColorAlpha0;
- half4 _RampColorAlpha1;
- half4 _RampColorAlpha2;
- uint _RampColorCount;
- half4 _RampColorBlendColor;
- float4 _RampColorMapOffset;
- half4 _RampColorMap_ST;
-
- half4 _DissolveRampColor0;
- half4 _DissolveRampColor1;
- half4 _DissolveRampColor2;
- half4 _DissolveRampColor3;
- half4 _DissolveRampColor4;
- half4 _DissolveRampColor5;
- half4 _DissolveRampAlpha0;
- half4 _DissolveRampAlpha1;
- half4 _DissolveRampAlpha2;
- uint _DissolveRampCount;
-
-
- half3 _VertexOffset_Vec;
- half3 _VertexOffset_CustomDir;
- half4 _VertexOffset_Map_ST;
-
- half4 _VertexOffset_MaskMap_ST;
- half3 _VertexOffset_MaskMap_Vec;
-
- half _ParallaxMapping_Intensity;
- half4 _ParallaxMapping_Map_ST;
- half4 _ParallaxMapping_Vec;
-
- uint _W9ParticleShaderFlags;
-
- uint _W9ParticleShaderFlags1;
-
- uint _W9ParticleShaderWrapFlags;
-
- uint _W9ParticleCustomDataFlag0;
- uint _W9ParticleCustomDataFlag1;
- uint _W9ParticleCustomDataFlag2;
- uint _W9ParticleCustomDataFlag3;
-
- uint _UVModeFlag0;
-
- uint _W9ParticleShaderColorChannelFlag;
-
- CBUFFER_END
-
-
- bool CheckLocalFlags(uint bits)
- {
- return (_W9ParticleShaderFlags&bits) != 0;
- }
- bool CheckLocalFlags1(uint bits)
- {
- return (_W9ParticleShaderFlags1&bits) != 0;
- }
- int CheckLocalWrapFlags(uint bits)
- {
- bool bit0 = (_W9ParticleShaderWrapFlags&bits) != 0;
- bool bit1 = (_W9ParticleShaderWrapFlags&(bits<<16)) != 0;
- if(!bit0 && !bit1)
- {
- return 0;
- }
- else if(bit0 && !bit1)
- {
- return 1;
- }
- else if(!bit0 && bit1)
- {
- return 2;
- }
- else if(bit0 && bit1)
- {
- return 3;
- }
- else
- {
- return -1;
- }
- }
-
-
- SamplerState sampler_linear_repeat;
- SamplerState sampler_linear_clamp;
- SamplerState sampler_linear_RepeatU_ClampV;
- SamplerState sampler_linear_ClampU_RepeatV;
-
- half4 SampleTexture2DWithWrapFlags(Texture2D tex,float2 uv,uint bits,bool sampleLOD = false,int lod = 0)
- {
- const int wrapMode = CheckLocalWrapFlags(bits);
- switch (wrapMode)
- {
- case 0:
- if (sampleLOD)
- {
- return SAMPLE_TEXTURE2D_LOD(tex,sampler_linear_repeat,uv,lod);
-
- }
- else
- {
- return tex.Sample(sampler_linear_repeat,uv);
- }
- break;
- case 1:
- if (sampleLOD)
- {
- return SAMPLE_TEXTURE2D_LOD(tex,sampler_linear_clamp,uv,lod);
-
- }
- else
- {
- return tex.Sample(sampler_linear_clamp,uv);
- }
- break;
- case 2:
- if (sampleLOD)
- {
- return SAMPLE_TEXTURE2D_LOD(tex,sampler_linear_RepeatU_ClampV,uv,lod);
-
- }
- else
- {
- return tex.Sample(sampler_linear_RepeatU_ClampV,uv);
- }
- break;
- case 3:
- if (sampleLOD)
- {
- return SAMPLE_TEXTURE2D_LOD(tex,sampler_linear_ClampU_RepeatV,uv,lod);
-
- }
- else
- {
- return tex.Sample(sampler_linear_ClampU_RepeatV,uv);
- }
- break;
- default:
- if (sampleLOD)
- {
- return SAMPLE_TEXTURE2D_LOD(tex,sampler_linear_repeat,uv,lod);
-
- }
- else
- {
- return tex.Sample(sampler_linear_repeat,uv);
- }
- break;
- }
- }
-
- half GetColorChannel(half4 color, int bitPos)
- {
- uint bits = _W9ParticleShaderColorChannelFlag >> bitPos;
- bits = bits & 3;
- if (bits == 0) return color.x;
- if (bits == 1) return color.y;
- if (bits == 2) return color.z;
- return color.w;
- }
-
-
- #include "../HLSL/EffectFlags.hlsl"
-
-
- samplerCUBE _FresnelHDRITex;
- sampler2D _MainTex;
-
-
-
- #define SOFT_PARTICLE_NEAR_FADE _SoftParticleFadeParams.x //�궨��SOFT_PARTICLE_NEAR_FADE ��Ϊ_SoftParticleFadeParams���Ե�x����~
- #define SOFT_PARTICLE_INV_FADE_DISTANCE _SoftParticleFadeParams.y
-
- #define CAMERA_NEAR_FADE _CameraFadeParams.x
- #define CAMERA_INV_FADE_DISTANCE _CameraFadeParams.y
-
- Texture2D _BaseMap;
- Texture2D _NoiseMap;
- Texture2D _NoiseMaskMap;
- Texture2D _EmissionMap;
- Texture2D _MaskMap;
- Texture2D _MaskMap2;
- Texture2D _MaskMap3;
- #ifdef _NORMALMAP
- Texture2D _BumpTex;
- #endif
-
- #ifdef _FX_LIGHT_MODE_SIX_WAY
- Texture2D _RigRTBk;
- Texture2D _RigLBtF;
- Texture2D _SixWayEmissionRamp;
- #endif
-
- #ifdef _SCREEN_DISTORT_MODE
- Texture2D _ScreenColorCopy1;
- #endif
-
-#ifdef _MATCAP
-
-#endif
-Texture2D _MatCapTex;
-
- // Pre-multiplied alpha helper
- #if defined(_ALPHAPREMULTIPLY_ON) //if( blend: One OneMinusSrcAlpha)
- #define ALBEDO_MUL albedo
- #else
- #define ALBEDO_MUL albedo.a
- #endif
-
-
- #ifdef SOFT_UI_FRAME
- sampler2D _SoftUIFrameMask;
- // half4 LB_RT;
- #endif
-
- #ifdef _DISSOLVE
- Texture2D _DissolveMap;
- Texture2D _DissolveMaskMap;
- Texture2D _DissolveRampMap;
- #endif
-
- # ifdef _COLORMAPBLEND
- Texture2D _ColorBlendMap;
- #endif
-
- #ifdef _COLOR_RAMP
- Texture2D _RampColorMap;
- #endif
-
-
-
- half4 tex2D_TryLinearizeWithoutAlphaFX(sampler2D tex, float2 uv)
- {
- half4 outColor = 0;
-
- #if defined(PARTICLE)//UI下使用ParticleBase不需要做 Gamma2Linear 转换
- UNITY_FLATTEN
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_UIEFFECT_ON))
- {
- outColor = tex2D(tex, uv);
- }
- else
- {
- outColor = TryLinearizeWithoutAlpha(tex2D(tex, uv));
- }
- #endif
- return outColor;
- }
- //
- // Color blending fragment function
- float4 MixParticleColor(float4 baseColor, float4 particleColor, float4 colorAddSubDiff)
- {
- #if defined(_COLOROVERLAY_ON) // Overlay blend
- float4 output = baseColor;
- output.rgb = lerp(1 - 2 * (1 - baseColor.rgb) * (1 - particleColor.rgb), 2 * baseColor.rgb * particleColor.rgb, step(baseColor.rgb, 0.5));
- output.a *= particleColor.a;
- return output;
- #elif defined(_COLORCOLOR_ON) // Color blend
- half3 aHSL = RgbToHsv(baseColor.rgb);
- half3 bHSL = RgbToHsv(particleColor.rgb);
- half3 rHSL = half3(bHSL.x, bHSL.y, aHSL.z);
- return half4(HsvToRgb(rHSL), baseColor.a * particleColor.a);
- #elif defined(_COLORADDSUBDIFF_ON) // Additive, Subtractive and Difference blends based on 'colorAddSubDiff'
- float4 output = baseColor;
- output.rgb = baseColor.rgb + particleColor.rgb * colorAddSubDiff.x;
- output.rgb = lerp(output.rgb, abs(output.rgb), colorAddSubDiff.y);
- output.a *= particleColor.a;
- return output;
- #else // Default to Multiply blend
- return baseColor * particleColor;
- #endif
- }
-
- // Soft particles - returns alpha value for fading particles based on the depth to the background pixel
- float SoftParticles(float near, float far, float sceneZ,float thisZ)
- {
- float fade = 1;
- if (near > 0.0 || far > 0.0)
- {
- // fade = saturate(far * ((sceneZ - near) - thisZ));
- float dist = sceneZ - thisZ;
- fade = NB_Remap(dist, near,far,0,1);
- }
- return fade;
- }
-
-
- // Camera fade - returns alpha value for fading particles based on camera distance
- half CameraFade(float near, float far, float thisZ)
- {
- return saturate((thisZ - near) * far);
- }
-
- //相交位置渐变功能
- half4 Intersect(float IntersectRadius,half4 IntersectColor,float sceneZ,float thisZ)
- {
- half fade = sceneZ - thisZ;
- fade =1- NB_Remap(fade,0,IntersectRadius,0,1);
-
- half4 c = 0;
- c.rgb = IntersectColor.rgb;
- c.a = fade*IntersectColor.a;
-
- return c;
- }
-
- //遮挡穿透显示功能。
- half OccludeOpacity(half preAlpha,half _OccludeOpacity,half sceneZ,half thisZ)
- {
- half fakeZtest = step(thisZ,sceneZ);
- return lerp(preAlpha*_OccludeOpacity,preAlpha,fakeZtest);
- }
-
-
- // Sample a texture and do blending for texture sheet animation if needed
- half4 BlendTexture(sampler2D _Texture, float2 uv, float3 blendUv)
- {
- half4 color = tex2D_TryLinearizeWithoutAlphaFX(_Texture, uv);
-
- half4 color2;
- #ifdef _FLIPBOOKBLENDING_ON
- color2 = tex2D_TryLinearizeWithoutAlphaFX(_Texture, blendUv.xy);
- color = lerp(color, color2, blendUv.z);
- #endif
-
- // if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER))
- // {
- // color2 = tex2D_TryLinearizeWithoutAlphaFX(_Texture, blendUv.xy);
- // color = lerp(color, color2, blendUv.z);
- // }
- return color;
- }
-
- half4 BlendTexture(Texture2D _Texture, float2 uv, float3 blendUv,uint bits)
- {
- half4 color = SampleTexture2DWithWrapFlags(_Texture,uv,bits);
- half4 color2;
- #ifdef _FLIPBOOKBLENDING_ON
- color2 = SampleTexture2DWithWrapFlags(_Texture,blendUv.xy,bits);
- color = lerp(color, color2, blendUv.z);
- #endif
-
- // if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER))
- // {
- // color2 = SampleTexture2DWithWrapFlags(_Texture, blendUv.xy,bits);
- // color = lerp(color, color2, blendUv.z);
- // }
- return color;
- }
-
- float2 UVOffsetAnimaiton(float2 UV,half2 OffsetSpeed)
- {
- float2 newUV = float2(OffsetSpeed.x*time+UV.x,OffsetSpeed.y*time+UV.y);
- return newUV;
- }
-
- // 采样噪波
- half4 SampleNoise(half4 NoiseOffset, Texture2D _Texture,float2 UV, half3 wordPos)
- {
-
- float2 UV2 = float2(NoiseOffset.x * time + UV.x, NoiseOffset.y * time + UV.y); //_Time.y
-
- half4 color = SampleTexture2DWithWrapFlags(_Texture, UV2 ,FLAG_BIT_WRAPMODE_NOISEMAP);
- // color.xy *= color.a;
-
- return color;
- }
-
-
- // // 替换颜色
- // half3 ReplaceColor_float(float3 In, float3 From, float3 To, float Range, float Fuzziness)
- // {
- // float Distance = distance(From, In);
- // half3 Out = lerp(To, In, saturate((Distance - Range) / max(Fuzziness, 0.001))); //e-f? 0.00001
- // return Out;
- // }
-
- //漩涡 圆形区域内变形。圆圈中心处的像素会旋转指定角度;圆圈中其他像素的旋转会随着相对于中心距离的变化而减小,在圆圈边缘处减小为零
- float2 UTwirl(float2 UV, float2 Center, float Strength)
- {
- float2 delta = UV - Center;
- float angle = Strength * length(delta);
- float x = cos(angle) * delta.x - sin(angle) * delta.y;
- float y = sin(angle) * delta.x + cos(angle) * delta.y;
- return float2(x + Center.x , y + Center.y );
-
- }
-
- //Fresnel
- half4 Unity_FresnelEffect(float3 Normal, float3 ViewDir, float Power, float Dire,half fresnelPos)
- {
- // half aa = saturate(dot(normalize(Normal), (ViewDir)));
- half aa = dot(normalize(Normal), (ViewDir));
- aa = (aa+1)*0.5;
- aa = NB_Remap(aa,fresnelPos,1,0,1);
- aa = lerp(aa, (1 - aa), Dire);
- half Out = pow( aa, Power);
- return Out;
- }
-
- half3 Rotation(half3 normalizedDirection,half3 rotation)
- {
- half4 Dir = half4(normalizedDirection,1);
- float4x4 M_RotationX = float4x4(
-
- 1,0,0,0,
- 0,cos(rotation.x),sin(rotation.x),0,
- 0,-sin(rotation.x),cos(rotation.x),0,
- 0,0,0,1
-
- );
- float4x4 M_RotationY = float4x4(
-
- cos(rotation.y),0,sin(rotation.y),0,
- 0,1,0,0,
- -sin(rotation.y),0,cos(rotation.y),0,
- 0,0,0,1
-
- );
- float4x4 M_RotationZ = float4x4(
-
- cos(rotation.z),sin(rotation.z),0,0,
- -sin(rotation.z),cos(rotation.z),0,0,
- 0,0,1,0,
- 0,0,0,1
-
- );
-
- return mul(M_RotationZ,mul(M_RotationY,mul(M_RotationX,Dir)));
-
- }
-
- //----------------公告板功能-----------------//
- half3 BillBoard(float3 camPos, float3 vertexPos, int billboardType, int _ReverseZ)
- {
- float3 Z = normalize(mul(unity_WorldToObject, float4(_WorldSpaceCameraPos,1)));
- if(_ReverseZ == 1)
- {
- Z *= -1;
- }
- Z.y *= billboardType;
-
- float3 Y = float3(0,1,0);
- float3 X = normalize(cross(Z,Y));
- Y = normalize(cross(X,Z));
- float4x4 M = float4x4(
- X.x, Y.x, Z.x, 0,
- X.y, Y.y, Z.y, 0,
- X.z, Y.z, Z.z, 0,
- 0,0,0,1
- );
- float3 newPos = mul(M, vertexPos);
- return newPos;
- }
-
- half3 BillBoardNormal(float3 camPos, float3 vertexPos, int billboardType, int _ReverseZ)
- {
- float3 Z = normalize(mul(unity_WorldToObject, float4(_WorldSpaceCameraPos,1)));
- if(_ReverseZ == 1)
- {
- Z *= -1;
- }
- Z.y *= billboardType;
-
- float3 Y = float3(0,1,0);
- float3 X = normalize(cross(Y,Z));
- Y = normalize(cross(X,Z));
- float4x4 M = float4x4(
- X.x, Y.x, Z.x, 0,
- X.y, Y.y, Z.y, 0,
- X.z, Y.z, Z.z, 0,
- 0,0,0,1
- );
- float3 newPos = -mul(M, vertexPos);
- return newPos;
- }
-
-
- float2 ParticleUVCommonProcess(float2 originUVAfterTwirlPolar,float4 scaleTilling,float2 offset = float2(0,0),float rotation = 0,float2 rotationCenter = float2(0.5,0.5))
- {
- float2 uv = originUVAfterTwirlPolar;
- uv = Rotate_Radians_float(uv,rotationCenter,rotation);
- uv = uv*scaleTilling.xy + scaleTilling.zw;
-
- uv = UVOffsetAnimaiton(uv,offset);
-
- return uv;
- }
-
- struct ParticleUVs
- {
- float2 mainTexUV;
- float2 specUV;
- float2 animBlendUV;
- float2 maskMapUV;
- float2 maskMap2UV;
- float2 maskMap3UV;
- float2 emissionUV;
- float2 dissolve_uv;
- float2 dissolve_mask_uv;
- float2 dissolve_noise1_UV;
- float2 dissolve_noise2_UV;
- float2 colorBlendUV;
- float2 noiseMapUV;
- float2 noiseMaskMapUV;
- float2 bumpTexUV;
- float2 colorRampMapUV;
- };
-
- BaseUVs ProcessBaseUVs(float4 meshTexcoord0, float2 specialUVInTexcoord3,float4 VaryingsP_Custom1,float4 VaryingsP_Custom2,float3 postionOS)
- {
- //UV2的内容在外边就决定好。
- float2 defaultUVChannel = meshTexcoord0.xy;
- float2 specialUVChannel = meshTexcoord0.zw;
- #if _FLIPBOOKBLENDING_ON
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_IS_PARTICLE_SYSTEM) & CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD2))
- {
- specialUVChannel = specialUVInTexcoord3;
- }
- #else
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_UV_FROM_MESH))
- {
- //Mesh条件下开启使用特殊UV通道的情况
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD1))
- {
- specialUVChannel = VaryingsP_Custom1.xy;
- }
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_USE_TEXCOORD2))
- {
- specialUVChannel = VaryingsP_Custom2.xy;
- }
- }
- else
- {
- //只有在粒子系统下开启特殊通道的情况,会在面板层引导合并相关内容。UI/Mesh不开启特殊通道没有意义。
- specialUVChannel = meshTexcoord0.zw;
- }
- #endif
-
-
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE))
- {
- defaultUVChannel = defaultUVChannel*_MainTex_Reverse_ST.xy +_MainTex_Reverse_ST.zw;
- }
- //TODO:补写MeshUV的实现
- float2 cylinderUV = meshTexcoord0.xy;
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_CYLINDER_CORDINATE))
- {
- float4x4 _CylinderUVMatrix = float4x4(_CylinderMatrix0,_CylinderMatrix1,_CylinderMatrix2,_CylinderMatrix3);
- postionOS = mul(_CylinderUVMatrix,float4(postionOS,1));
- cylinderUV = CylinderCoordinate(postionOS);
- }
-
- float2 UVAfterTwirlPolar = defaultUVChannel;
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_UTWIRL_ON))
- {
- UVAfterTwirlPolar = UTwirl(defaultUVChannel,_TWParameter.xy, _TWStrength);
- }
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_POLARCOORDINATES_ON))
- {
- float2 UVAfterTwirl = UVAfterTwirlPolar;
- UVAfterTwirlPolar = PolarCoordinates(UVAfterTwirlPolar,_PCCenter.xy);
- UVAfterTwirlPolar = lerp(UVAfterTwirl,UVAfterTwirlPolar,_PCCenter.z);
- }
- BaseUVs baseUVs = (BaseUVs)0;
- baseUVs.defaultUVChannel = defaultUVChannel;
- baseUVs.specialUVChannel = specialUVChannel;
- baseUVs.uvAfterTwirlPolar = UVAfterTwirlPolar;
- baseUVs.cylinderUV = cylinderUV;
- return baseUVs;
- }
-
- void ParticleProcessUV(float4 meshTexcoord0, float2 specialUVInTexcoord3,inout ParticleUVs particleUVs,float4 VaryingsP_Custom1,float4 VaryingsP_Custom2,float2 screenUV,float3 postionOS)
- {
- BaseUVs baseUVs= ProcessBaseUVs(meshTexcoord0,specialUVInTexcoord3,VaryingsP_Custom1,VaryingsP_Custom2,postionOS);
-
- particleUVs.specUV = baseUVs.specialUVChannel;
- float2 baseMapUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_MAINTEX,baseUVs);
-
- #ifdef _FLIPBOOKBLENDING_ON //开启序列帧融合
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_ANIMATION_SHEET_HELPER))
- {
- //走AnimationSheetHelper脚本的情况,永远和baseMap同步。
- particleUVs.animBlendUV = baseMapUV*_BaseMap_AnimationSheetBlend_ST.xy+_BaseMap_AnimationSheetBlend_ST.zw;
- }
- else
- {
- //走粒子的情况
- particleUVs.animBlendUV = meshTexcoord0.zw;
- }
- #endif
-
-
- #ifdef _SCREEN_DISTORT_MODE
- particleUVs.mainTexUV = screenUV;
- #else
- _BaseMapUVRotation += time * _BaseMapUVRotationSpeed;
- baseMapUV = Rotate_Radians_float(baseMapUV, half2(0.5, 0.5), _BaseMapUVRotation); //主贴图旋转
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_UIEFFECT_ON) & !CheckLocalFlags1(FLAG_BIT_PARTICLE_1_UIEFFECT_BASEMAP_MODE))
- {
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_UIEFFECT_SPRITE_MODE))
- {
- float2 originUV = meshTexcoord0.xy;//精灵主贴图不调整。
- particleUVs.mainTexUV = originUV*_UI_MainTex_ST.xy+_UI_MainTex_ST.zw;
- }
- else
- {
- particleUVs.mainTexUV = baseMapUV*_UI_MainTex_ST.xy+_UI_MainTex_ST.zw;
- }
- }
- else
- {
- baseMapUV.x += GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_X,0,VaryingsP_Custom1,VaryingsP_Custom2);
- baseMapUV.y += GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_MAINTEX_OFFSET_Y,0,VaryingsP_Custom1,VaryingsP_Custom2);
- particleUVs.mainTexUV = TRANSFORM_TEX(baseMapUV, _BaseMap); //主帖图UV重复和偏移
- }
- particleUVs.mainTexUV = UVOffsetAnimaiton(particleUVs.mainTexUV,_BaseMapMaskMapOffset.xy);
-
- #endif
-
- #if defined(_NORMALMAP)
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_BUMP_TEX_UV_FOLLOW_MAINTEX))
- {
- particleUVs.bumpTexUV = particleUVs.mainTexUV;
- }
- else
- {
- float2 bumpTexUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_BUMPTEX,baseUVs);
- bumpTexUV = TRANSFORM_TEX(bumpTexUV, _BumpTex);
- particleUVs.bumpTexUV = bumpTexUV;
- }
- #endif
-
-
-
- #if defined(_MASKMAP_ON)
-
- float2 MaskMapuv = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_MASKMAP,baseUVs);
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTILCE_MASKMAPROTATIONANIMATION_ON))
- {
- _MaskMapUVRotation += time * _MaskMapRotationSpeed;
- }
-
- MaskMapuv= Rotate_Radians_float(MaskMapuv, half2(0.5, 0.5), _MaskMapUVRotation);
-
- MaskMapuv = TRANSFORM_TEX(MaskMapuv, _MaskMap);
-
- MaskMapuv.x += GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_X,0,VaryingsP_Custom1,VaryingsP_Custom2);
- MaskMapuv.y += GetCustomData(_W9ParticleCustomDataFlag0,FLAGBIT_POS_0_CUSTOMDATA_MASK_OFFSET_Y,0,VaryingsP_Custom1,VaryingsP_Custom2);
-
- MaskMapuv = UVOffsetAnimaiton(MaskMapuv,_MaskMapOffsetAnition.xy);
- particleUVs.maskMapUV = MaskMapuv;
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASK_MAP2))
- {
- float2 maskMap2UV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_MASKMAP_2,baseUVs);
- maskMap2UV = Rotate_Radians_float(maskMap2UV,half2(0.5,0.5),_MaskMapVec.y);
- maskMap2UV = maskMap2UV * _MaskMap2_ST.xy + _MaskMap2_ST.zw;
-
- maskMap2UV = UVOffsetAnimaiton(maskMap2UV,_MaskMapOffsetAnition.zw);
- particleUVs.maskMap2UV = maskMap2UV;
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_MASK_MAP3))
- {
- float2 maskMap3UV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_MASKMAP_3,baseUVs);
- maskMap3UV = Rotate_Radians_float(maskMap3UV,half2(0.5,0.5),_MaskMapVec.z);
-
- maskMap3UV = maskMap3UV* _MaskMap3_ST.xy + _MaskMap3_ST.zw;
-
- maskMap3UV = UVOffsetAnimaiton(maskMap3UV,_MaskMap3OffsetAnition.xy);
- particleUVs.maskMap3UV = maskMap3UV;
- }
-
- #endif
-
-
- #if defined(_EMISSION)
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_EMISSION_FOLLOW_MAINTEX_UV))
- {
- particleUVs.emissionUV = particleUVs.mainTexUV;
- }
- else
- {
- float2 emissionUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_EMISSION_MAP,baseUVs);
- particleUVs.emissionUV = ParticleUVCommonProcess(emissionUV,_EmissionMap_ST,_EmissionMapUVOffset.xy,_EmissionMapUVRotation);
- }
- #endif
-
- #if defined(_DISSOLVE)
- // if(CheckLocalFlags1(FLAG_BIT_PARTICLE_CUSTOMDATA1X_DISSOLVETEXOFFSETX))
- // {
- // _DissolveMap_ST.z += VaryingsP_Custom1.x;
- // }
- // if(CheckLocalFlags1(FLAG_BIT_PARTICLE_CUSTOMDATA1Y_DISSOLVETEXOFFSETY))
- // {
- // _DissolveMap_ST.w += VaryingsP_Custom1.y;
- // }
- _DissolveMap_ST.z += GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_X,0,VaryingsP_Custom1,VaryingsP_Custom2);
- _DissolveMap_ST.w += GetCustomData(_W9ParticleCustomDataFlag1,FLAGBIT_POS_1_CUSTOMDATA_DISSOLVE_OFFSET_Y,0,VaryingsP_Custom1,VaryingsP_Custom2);
-
- float2 dissolveUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_DISSOLVE_MAP,baseUVs);
- particleUVs.dissolve_uv = ParticleUVCommonProcess(dissolveUV,_DissolveMap_ST,_DissolveOffsetRotateDistort.xy,_DissolveOffsetRotateDistort.z);
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_DISSOLVE_MASK))
- {
- float2 dissolveMaskUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_DISSOLVE_MASK_MAP,baseUVs);
- particleUVs.dissolve_mask_uv = ParticleUVCommonProcess(dissolveMaskUV,_DissolveMaskMap_ST,float2(0,0),_DissolveOffsetRotateDistort.z);
- }
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DISSOVLE_VORONOI))
- {
- float2 halfUV = dissolveUV;
- // halfUV.x = abs(halfUV.x-0.5);//20240729不明白当时为什么要做这个ABS处理。先注销掉看看。
- _DissolveVoronoi_Vec4.x += GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_X,0,VaryingsP_Custom1,VaryingsP_Custom2);
- _DissolveVoronoi_Vec4.y += GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE1_OFFSET_Y,0,VaryingsP_Custom1,VaryingsP_Custom2);
- _DissolveVoronoi_Vec4.z += GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_X,0,VaryingsP_Custom1,VaryingsP_Custom2);
- _DissolveVoronoi_Vec4.w += GetCustomData(_W9ParticleCustomDataFlag2,FLAGBIT_POS_2_CUSTOMDATA_DISSOLVE_NOISE2_OFFSET_Y,0,VaryingsP_Custom1,VaryingsP_Custom2);
- particleUVs.dissolve_noise1_UV = halfUV * _DissolveVoronoi_Vec.xy + _DissolveVoronoi_Vec4.xy + time*_DissolveVoronoi_Vec3.xy;
- particleUVs.dissolve_noise2_UV = halfUV * _DissolveVoronoi_Vec.zw + _DissolveVoronoi_Vec4.zw + time*_DissolveVoronoi_Vec3.zw;
- }
- #endif
-
- #ifdef _COLORMAPBLEND
- if (CheckLocalFlags(FLAG_BIT_PARTICLE_COLOR_BLEND_FOLLOW_MAINTEX_UV))
- {
- particleUVs.colorBlendUV = particleUVs.mainTexUV;
- }
- else
- {
- float2 colorBlendUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_COLOR_BLEND_MAP,baseUVs);
-
- particleUVs.colorBlendUV = ParticleUVCommonProcess(colorBlendUV,_ColorBlendMap_ST,_ColorBlendMapOffset.xy,_ColorBlendVec.w);
- }
- #endif
- #ifdef _COLOR_RAMP
- float2 colorRampMapUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_RAMP_COLOR_MAP,baseUVs);
- particleUVs.colorRampMapUV = ParticleUVCommonProcess(colorRampMapUV,_RampColorMap_ST,_RampColorMapOffset.xy,_RampColorMapOffset.w);
- #endif
- half cum_noise = 0;
-
- //TODO
-
- #if defined(_NOISEMAP)
-
- //和ParticleUVCommonProcess相比,此处没有UV动画,NoiseMap的UV流动在最终的SampleNoise中进行
- float2 noiseMapUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_NOISE_MAP,baseUVs);
- particleUVs.noiseMapUV = ParticleUVCommonProcess(noiseMapUV,_NoiseMap_ST,half2(0,0),_NoiseMapUVRotation);
-
- UNITY_BRANCH
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_NOISE_MASKMAP))
- {
- float2 noiseMaskMapUV = GetUVByUVMode(_UVModeFlag0,FLAG_BIT_UVMODE_POS_0_NOISE_MASK_MAP,baseUVs);
- particleUVs.noiseMaskMapUV = ParticleUVCommonProcess(noiseMaskMapUV,_NoiseMaskMap_ST,half2(0,0),0);
-
- }
- #endif
-
-
-
- }
-
- Texture2D _VertexOffset_Map;
- Texture2D _VertexOffset_MaskMap;
-
- // half3 _VertexOffset_Vec;
- // half3 _VertexOffset_CustomDir;
- // half4 _VertexOffset_Map_ST;
-
- half3 VetexOffset(half3 positionOS,half2 originUV,half2 originMaskUV,half3 normalOS)
- {
- half2 uv = TRANSFORM_TEX(originUV,_VertexOffset_Map);
- uv = UVOffsetAnimaiton(uv,_VertexOffset_Vec.xy);
- // half vertexOffsetSample = tex2Dlod(_VertexOffset_Map,half4(uv,0,0));
- half vertexOffsetSample = SampleTexture2DWithWrapFlags(_VertexOffset_Map,uv,FLAG_BIT_WRAPMODE_VERTEXOFFSET_MASKMAP,true,0);
- // UNITY_BRANCH
- // if(CheckLocalWrapFlags(FLAG_BIT_WRAPMODE_VERTEXOFFSETMAP))
- // {
- // vertexOffsetSample = SAMPLE_TEXTURE2D_LOD(_VertexOffset_Map,sampler_linear_clamp,uv,0);
- // }
- // else
- // {
- // vertexOffsetSample = SAMPLE_TEXTURE2D_LOD(_VertexOffset_Map,sampler_linear_repeat,uv,0);
- // }
-
- if (!CheckLocalFlags1(FLAG_BIT_PARTICLE_1_VERTEXOFFSET_START_FROM_ZERO))
- {
- vertexOffsetSample = vertexOffsetSample*2-1;
- }
-
- half3 finalPos;
- half vertexOffsetMask = 1;
- if (CheckLocalFlags1(FLAG_BIT_PARTICLE_1_VERTEXOFFSET_MASKMAP))
- {
- half2 maskUV = TRANSFORM_TEX(originMaskUV,_VertexOffset_MaskMap);
- maskUV = UVOffsetAnimaiton(maskUV,_VertexOffset_MaskMap_Vec.xy);
- half vertexOffsetMaskSample = SampleTexture2DWithWrapFlags(_VertexOffset_MaskMap,maskUV,FLAG_BIT_WRAPMODE_VERTEXOFFSET_MASKMAP,true,0);
- vertexOffsetMask = lerp(1,vertexOffsetMaskSample,_VertexOffset_MaskMap_Vec.z);
- }
-
- UNITY_BRANCH
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_VERTEX_OFFSET_NORMAL_DIR))
- {
- finalPos = positionOS + normalOS*_VertexOffset_Vec.z*vertexOffsetSample*vertexOffsetMask;
- }
- else
- {
- finalPos = positionOS + _VertexOffset_CustomDir*_VertexOffset_Vec.z*vertexOffsetSample*vertexOffsetMask;
- }
-
-
- return finalPos;
-
- }
-
- //向UV横向两边的色散。
- half4 DistortionChoraticaberrat(Texture2D baseTexture,half2 originUV, half2 uvAfterNoise,half ChoraticaberratIntensity,uint bits)
- {
- half2 delta = half2(originUV.x *2-1,0);
-
- if(CheckLocalFlags(FLAG_BIT_PARTICLE_NOISE_CHORATICABERRAT_WITH_NOISE))
- {
- half2 NoiseIntensity = uvAfterNoise - originUV;
- half noiseXIntensity = abs(NoiseIntensity.x);
- delta *= ChoraticaberratIntensity*noiseXIntensity;
- }
- else
- {
- delta *= ChoraticaberratIntensity;
- }
-
- half2 ra = SampleTexture2DWithWrapFlags(baseTexture,uvAfterNoise,bits).xw;
- ra.r *= ra.y;
- half2 ga = SampleTexture2DWithWrapFlags(baseTexture,uvAfterNoise - delta,bits).yw;
- ga.r *= ga.y;
- half2 ba = SampleTexture2DWithWrapFlags(baseTexture,uvAfterNoise - delta*2,bits).zw;
- ba.r *= ba.y;
- return half4(ra.r,ga.r,ba.r,clamp(ra.y*0.5+ga.y*0.5+ba.y*0.5,0,1));
- }
-
- bool needSceneDepth()
- {
- #if defined(_DEPTH_DECAL) || defined(_SOFTPARTICLES_ON)
- return true;
- #endif
-
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DEPTH_OUTLINE))
- {
- return true;
- }
-
- return false;
- }
-
- bool needEyeDepth()
- {
- #if defined(_SOFTPARTICLES_ON)
- return true;
- #endif
-
- if(CheckLocalFlags1(FLAG_BIT_PARTICLE_1_DEPTH_OUTLINE)||CheckLocalFlags(FLAG_BIT_PARTICLE_DISTANCEFADE_ON))
- {
- return true;
- }
-
- return false;
- }
-
- bool ignoreFresnel()
- {
- #if defined(PARTICLE_BACKFACE_PASS)
- return true;
- #endif
- return false;
- }
-
- Texture2D _ParallaxMapping_Map;
-
- half2 ParallaxMappingSimple(half2 texCoords, half3 viewDir)
- {
- float height = SampleTexture2DWithWrapFlags(_ParallaxMapping_Map,texCoords,FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP).r;
- height *= _ParallaxMapping_Intensity;
- viewDir = normalize(viewDir);
- viewDir.xy /= (viewDir.z);
- texCoords -= viewDir.xy * height;
- return texCoords;
- }
-
- half2 ParallaxMappingPeelDepth(half2 texCoords, half3 viewDir)
- {
- const float minLayers = 2;
- const float maxLayers = 32;
- float numLayers = lerp(maxLayers, minLayers, abs(dot(half3(0.0, 0.0, 1.0), viewDir)));//视线越垂直于表面,层数越少,反之越多。
- float layerDepth = 1/numLayers;
- float currentLayerDepth = 0;
- // viewDir.xy/=viewDir.z;
- half2 p = viewDir.xy*_ParallaxMapping_Intensity;
- half2 deltaTexcoord = p/numLayers;
-
- half2 currentTexcoords = texCoords;
- float currentMapDepthValue = SampleTexture2DWithWrapFlags(_ParallaxMapping_Map,currentTexcoords,FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP).r;
-
- [loop]
- while (currentLayerDepth < currentMapDepthValue )
- {
- currentTexcoords -= deltaTexcoord;
- currentMapDepthValue = SampleTexture2DWithWrapFlags(_ParallaxMapping_Map,currentTexcoords,FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP).r;
- currentLayerDepth += layerDepth;
- }
-
- return currentTexcoords;
-
- }
- half2 ParallaxOcclusionMapping(half2 texCoords, half3 viewDir)
- {
- // number of depth layers
- // const float minLayers = 10;
- // const float maxLayers = 10;
- const float minLayers = _ParallaxMapping_Vec.x;
- const float maxLayers = _ParallaxMapping_Vec.y;
- float numLayers = lerp(maxLayers, minLayers, abs(dot(half3(0.0, 0.0, 1.0), viewDir)));
- // calculate the size of each layer
- float layerDepth = 1.0 / numLayers;
- // depth of current layer
- float currentLayerDepth = 0.0;
- // the amount to shift the texture coordinates per layer (from vector P)
- half2 P = viewDir.xy / viewDir.z * _ParallaxMapping_Intensity;
- half2 deltaTexCoords = P / numLayers;
-
- // get initial values
- half2 currentTexCoords = texCoords;
- float currentDepthMapValue = SampleTexture2DWithWrapFlags(_ParallaxMapping_Map, currentTexCoords,FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP).r;
- currentLayerDepth = clamp(currentLayerDepth,0,1);
-
- int i = 0;
- [loop]
- while(currentLayerDepth < currentDepthMapValue && i= timeArr[arrCount - 1]) {
- return int2(arrCount - 1, arrCount); // 大于等于最大值
- }
-
- // 顺序查找第一个大于X的元素索引
- [unroll]
- for (int i = 0; i < arrCount; i++) {
- if (timeArr[i] > gradientTime) {
- return int2(i - 1, i); // 返回区间索引
- }
- }
- return int2(-1, 0); // 理论上不会执行此处
- }
- half GetGradientIndexInterval(half timeArr[6],int arrCount,int2 indexes,half gradientTime)
- {
- //超出范围的直接在外面就判断好。
- // half smallVal = indexes.x < 0 ? 0:timeArr[indexes.x];
- half smallVal = timeArr[indexes.x];
- // half bigVal = indexes.y >= arrCount ? 1 : timeArr[indexes.y];
- half bigVal = timeArr[indexes.y];
- return (gradientTime - smallVal) / (bigVal - smallVal);
- }
-
- half3 GetGradientColorValue(half3 colorArr[6],half timeArr[6], int arrCount,half gradientTime)
- {
- int2 indexes = GetGradientIndex(timeArr, arrCount, gradientTime);
- if (indexes.x < 0) return colorArr[0];
- if (indexes.y >= arrCount ) return colorArr[arrCount - 1];
- half interval = GetGradientIndexInterval(timeArr, arrCount, indexes, gradientTime);
- interval = SmoothStep01(interval);
- return lerp(colorArr[indexes.x], colorArr[indexes.y], interval);
- }
-
- half GetGradientAlphaValue(half alphaArr[6],half timeArr[6], int arrCount,half gradientTime)
- {
- int2 indexes = GetGradientIndex(timeArr, arrCount, gradientTime);
- if (indexes.x < 0) return alphaArr[0];
- if (indexes.y >= arrCount ) return alphaArr[arrCount - 1];
- half interval = GetGradientIndexInterval(timeArr, arrCount, indexes, gradientTime);
- interval = SmoothStep01(interval);//TODO:消耗很大,如何避免?
- half alpha = lerp(alphaArr[indexes.x], alphaArr[indexes.y], interval);
- alpha *= alpha;//Make Alpha Smoother
- return alpha ;
- }
-#endif
\ No newline at end of file
diff --git a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitInputNew.hlsl.meta b/Packages/NBShaders/Shader/HLSL/ParticlesUnlitInputNew.hlsl.meta
deleted file mode 100644
index 925dcdff..00000000
--- a/Packages/NBShaders/Shader/HLSL/ParticlesUnlitInputNew.hlsl.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 03da5256bb8bf0b4496b10ee6b449be4
-ShaderIncludeImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader/HLSL/SixWaySmokeLit.hlsl b/Packages/NBShaders/Shader/HLSL/SixWaySmokeLit.hlsl
deleted file mode 100644
index 7b82e04c..00000000
--- a/Packages/NBShaders/Shader/HLSL/SixWaySmokeLit.hlsl
+++ /dev/null
@@ -1,357 +0,0 @@
-#ifndef SIX_WAY_SMOKE_LIT_HLSL
-#define SIX_WAY_SMOKE_LIT_HLSL
-//这部分尽量借鉴 UnityEditor.VFX.HDRP.SixWaySmokeLit
-
-#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
-#include "ParticlesUnlitInputNew.hlsl"
-
-// Generated from UnityEditor.VFX.HDRP.SixWaySmokeLit+BSDFData
-// PackingRules = Exact
-struct BSDFData
-{
- uint materialFeatures;
- float absorptionRange;
- real4 diffuseColor;
- real3 fresnel0;
- real ambientOcclusion;
- float3 normalWS;
- float4 tangentWS;
- real3 geomNormalWS;
- real3 rigRTBk;
- real3 rigLBtF;
- real3 bakeDiffuseLighting0;//rigRTBk.x
- real3 bakeDiffuseLighting1;//rigRTBk.y
- real3 bakeDiffuseLighting2;// bsdfData.tangentWS.w > 0.0f ? rigRTBk.z : rigLBtF.z
- real3 backBakeDiffuseLighting0;//rigLBtF.x
- real3 backBakeDiffuseLighting1;//rigLBtF.y
- real3 backBakeDiffuseLighting2;// bsdfData.tangentWS.w > 0.0f ? rigLBtF.z : rigRTBk.z
-
- //-----NBShaders-----
- real3 emission;
- real emissionInput;//NegativeTex.a
- real alpha;//PositiveTex.a
-
-};
-
-#define ABSORPTION_EPSILON max(REAL_MIN, 1e-5)
-
-real3 ComputeDensityScales(real3 absorptionColor)
-{
- absorptionColor.rgb = max(ABSORPTION_EPSILON, absorptionColor.rgb);
-
- // Empirical value used to parametrize absorption from color
- const real absorptionStrength = 0.2f;
- return 1.0f + log2(absorptionColor.rgb) / log2(absorptionStrength);
-}
-
-real3 GetTransmissionWithAbsorption(real transmission, real4 absorptionColor, real absorptionRange)
-{
- #if defined(VFX_SIX_WAY_ABSORPTION)
- real3 densityScales = ComputeDensityScales(absorptionColor.rgb);
-
- #ifdef VFX_BLENDMODE_PREMULTIPLY
- absorptionRange *= (absorptionColor.a > 0) ? absorptionColor.a : 1.0f;
- #endif
-
- // real3 outTransmission = GetTransmissionWithAbsorption(transmission, densityScales, absorptionRange);
- real3 outTransmission = pow(saturate(transmission / absorptionRange), densityScales);
- outTransmission *= absorptionRange;
-
- return outTransmission;
- #else
- return transmission.xxx * absorptionColor.rgb; // simple multiply
- #endif
-}
-
-void ModifyBakedDiffuseLighting(BSDFData bsdfData, inout float3 bakeDiffuseLighting)
-{
- bakeDiffuseLighting = 0;
-
- // Scale to be energy conserving: Total energy = 4*pi; divided by 6 directions
- float scale = 4.0f * PI / 6.0f;
-
- float3 frontBakeDiffuseLighting = bsdfData.tangentWS.w > 0.0f ? bsdfData.bakeDiffuseLighting2 : bsdfData.backBakeDiffuseLighting2;
- float3 backBakeDiffuseLighting = bsdfData.tangentWS.w > 0.0f ? bsdfData.backBakeDiffuseLighting2 : bsdfData.bakeDiffuseLighting2;
-
- float3x3 bakeDiffuseLightingMat;
- bakeDiffuseLightingMat[0] = bsdfData.bakeDiffuseLighting0;
- bakeDiffuseLightingMat[1] = bsdfData.bakeDiffuseLighting1;
- bakeDiffuseLightingMat[2] = frontBakeDiffuseLighting;
- bakeDiffuseLighting += GetTransmissionWithAbsorption(bsdfData.rigRTBk.x, bsdfData.diffuseColor, bsdfData.absorptionRange) * bakeDiffuseLightingMat[0];
- bakeDiffuseLighting += GetTransmissionWithAbsorption(bsdfData.rigRTBk.y, bsdfData.diffuseColor, bsdfData.absorptionRange) * bakeDiffuseLightingMat[1];
- bakeDiffuseLighting += GetTransmissionWithAbsorption(bsdfData.rigRTBk.z, bsdfData.diffuseColor, bsdfData.absorptionRange) * bakeDiffuseLightingMat[2];
-
- bakeDiffuseLightingMat[0] = bsdfData.backBakeDiffuseLighting0;
- bakeDiffuseLightingMat[1] = bsdfData.backBakeDiffuseLighting1;
- bakeDiffuseLightingMat[2] = backBakeDiffuseLighting;
- bakeDiffuseLighting += GetTransmissionWithAbsorption(bsdfData.rigLBtF.x, bsdfData.diffuseColor, bsdfData.absorptionRange) * bakeDiffuseLightingMat[0];
- bakeDiffuseLighting += GetTransmissionWithAbsorption(bsdfData.rigLBtF.y, bsdfData.diffuseColor, bsdfData.absorptionRange) * bakeDiffuseLightingMat[1];
- bakeDiffuseLighting += GetTransmissionWithAbsorption(bsdfData.rigLBtF.z, bsdfData.diffuseColor, bsdfData.absorptionRange) * bakeDiffuseLightingMat[2];
-
- bakeDiffuseLighting *= scale;
-
-}
-
-//世界空间到切线空间方向转换
-float3 TransformToLocalFrame(float3 L, BSDFData bsdfData)
-{
- float3 zVec = -bsdfData.normalWS;
- float3 xVec = bsdfData.tangentWS.xyz;
- float3 yVec = -cross(zVec, xVec) * bsdfData.tangentWS.w;//原代码没有负值,实际测试需要负值
- float3x3 tbn = float3x3(xVec, yVec, zVec);
- return mul(tbn, L);
-}
-
-CBSDF EvaluateBSDF(float3 L, BSDFData bsdfData)
-{
- CBSDF cbsdf;
- ZERO_INITIALIZE(CBSDF, cbsdf);
-
- float3 dir = TransformToLocalFrame(L, bsdfData);
- float3 weights = dir >= 0 ? bsdfData.rigRTBk.xyz : bsdfData.rigLBtF.xyz;
- float3 sqrDir = dir*dir;
-
- cbsdf.diffR = GetTransmissionWithAbsorption(dot(sqrDir, weights), bsdfData.diffuseColor, bsdfData.absorptionRange);
-
- return cbsdf;
-}
-
-
-//这一步最好在面板上做完
-half GetAbsorptionRange(float absorptionStrenth)
-{
- return INV_PI + saturate(absorptionStrenth) * (1 - INV_PI);
-}
-
-
-
-
-//---------NBShaderUtility-----------
-
-//UseInVerTex
-void GetSixWayBakeDiffuseLight(real3 normalWS,real3 tangentWS,real3 biTangentWS,
- inout half3 bakeDiffuseLighting0,inout half3 bakeDiffuseLighting1,inout half3 bakeDiffuseLighting2,
- inout half3 backBakeDiffuseLighting0,inout half3 backBakeDiffuseLighting1,inout half3 backBakeDiffuseLighting2)
-{
- bakeDiffuseLighting0 = SampleSHVertex(tangentWS);
- bakeDiffuseLighting1 = SampleSHVertex(biTangentWS);
- bakeDiffuseLighting2 = SampleSHVertex(-normalWS);
- backBakeDiffuseLighting0 = SampleSHVertex(-tangentWS);
- backBakeDiffuseLighting1 = SampleSHVertex(-biTangentWS);
- backBakeDiffuseLighting2 = SampleSHVertex(normalWS);
-}
-
-LightingData CreateSixWayLightingData(InputData inputData, half3 emission)
-{
- LightingData lightingData;
-
- lightingData.giColor = inputData.bakedGI;
- lightingData.emissionColor = emission;
- lightingData.vertexLightingColor = 0;
- lightingData.mainLightColor = 0;
- lightingData.additionalLightsColor = 0;
-
- return lightingData;
-}
-
-void GetSixWayEmission(inout BSDFData bsdfData,Texture2D rampMap,half4 emissionColor,bool isRampMap)
-{
- float input = pow(bsdfData.emissionInput,_SixWayInfo.y);
- half3 emission = emissionColor * emissionColor.a;
- if (isRampMap)
- {
- half4 rampSample = rampMap.Sample(sampler_linear_clamp,half2(input,0.5));
- emission = emission * rampSample * rampSample.a;
- }
- else
- {
- emission *= input;
- }
- bsdfData.emission = emission;
-}
-
-half3 LightingSixWay(Light light,InputData inputData, BSDFData bsdfData)
-{
- half3 cbsdf_R = EvaluateBSDF(light.direction,bsdfData).diffR;
- half3 radiance = light.color * light.distanceAttenuation * light.shadowAttenuation;
- return PI * cbsdf_R * radiance;
-}
-
-
-//光照流程--->原型为UniversalFragmentBlinnPhong
-half4 UniversalFragmentSixWay(InputData inputData,BSDFData bsdfData)
-{
- // #if defined(DEBUG_DISPLAY)
- // half4 debugColor;
- //
- // if (CanDebugOverrideOutputColor(inputData, surfaceData, debugColor))
- // {
- // return debugColor;
- // }
- // #endif
-
-#ifdef _LIGHT_LAYERS
- uint meshRenderingLayers = GetMeshRenderingLayer();
-#endif
- half4 shadowMask = CalculateShadowMask(inputData);
- // AmbientOcclusionFactor aoFactor = CreateAmbientOcclusionFactor(inputData, surfaceData);
- AmbientOcclusionFactor aoFactor;
- aoFactor.directAmbientOcclusion = 1;
- aoFactor.indirectAmbientOcclusion = 1;
- Light mainLight = GetMainLight(inputData, shadowMask, aoFactor);
-
- // MixRealtimeAndBakedGI(mainLight, inputData.normalWS, inputData.bakedGI, aoFactor);
-
- // inputData.bakedGI *= surfaceData.albedo;
-
- // LightingData lightingData = CreateLightingData(inputData, surfaceData);
- LightingData lightingData = CreateSixWayLightingData(inputData,bsdfData.emission);
-
-#ifdef _LIGHT_LAYERS
- if (IsMatchingLightLayer(mainLight.layerMask, meshRenderingLayers))
-#endif
- {
- lightingData.mainLightColor += LightingSixWay(mainLight, inputData, bsdfData);
- }
-
- #if defined(_ADDITIONAL_LIGHTS)
- uint pixelLightCount = GetAdditionalLightsCount();
-
- #if USE_FORWARD_PLUS
- for (uint lightIndex = 0; lightIndex < min(URP_FP_DIRECTIONAL_LIGHTS_COUNT, MAX_VISIBLE_LIGHTS); lightIndex++)
- {
- FORWARD_PLUS_SUBTRACTIVE_LIGHT_CHECK
-
- Light light = GetAdditionalLight(lightIndex, inputData, shadowMask, aoFactor);
-#ifdef _LIGHT_LAYERS
- if (IsMatchingLightLayer(light.layerMask, meshRenderingLayers))
-#endif
- {
- lightingData.additionalLightsColor += LightingSixWay(light, inputData, bsdfData);
- }
- }
- #endif
-
- LIGHT_LOOP_BEGIN(pixelLightCount)
- Light light = GetAdditionalLight(lightIndex, inputData, shadowMask, aoFactor);
-#ifdef _LIGHT_LAYERS
- if (IsMatchingLightLayer(light.layerMask, meshRenderingLayers))
-#endif
- {
- lightingData.additionalLightsColor += LightingSixWay(light, inputData, bsdfData);
- }
- LIGHT_LOOP_END
- #endif
-
- #if defined(_ADDITIONAL_LIGHTS_VERTEX)
- lightingData.vertexLightingColor += inputData.vertexLighting * surfaceData.albedo;
- #endif
-
- return CalculateFinalColor(lightingData, bsdfData.alpha);
-}
-half3 LightingHalfLambert(half3 lightColor, half3 lightDir, half3 normal)
-{
- half NdotL = saturate(dot(normal, lightDir));
- NdotL = NdotL*0.5 + 0.5;
- return lightColor * NdotL;
-}
-half3 CalculateHalfLambertBlinnPhong(Light light, InputData inputData, SurfaceData surfaceData)
-{
- half3 attenuatedLightColor = light.color * (light.distanceAttenuation * light.shadowAttenuation);
- half3 lightDiffuseColor = LightingHalfLambert(attenuatedLightColor, light.direction, inputData.normalWS);
-
- half3 lightSpecularColor = half3(0,0,0);
- #if defined(_SPECGLOSSMAP) || defined(_SPECULAR_COLOR)
- half smoothness = exp2(10 * surfaceData.smoothness + 1);
-
- lightSpecularColor += LightingSpecular(attenuatedLightColor, light.direction, inputData.normalWS, inputData.viewDirectionWS, half4(surfaceData.specular, 1), smoothness);
- #endif
-
- #if _ALPHAPREMULTIPLY_ON
- return lightDiffuseColor * surfaceData.albedo * surfaceData.alpha + lightSpecularColor;
- #else
- return lightDiffuseColor * surfaceData.albedo + lightSpecularColor;
- #endif
-}
-half4 UniversalFragmentHalfLambert(InputData inputData, half3 diffuse, half4 specularGloss, half smoothness, half3 emission, half alpha, half3 normalTS)
-{
-
- SurfaceData surfaceData;
-
- surfaceData.albedo = diffuse;
- surfaceData.alpha = alpha;
- surfaceData.emission = emission;
- surfaceData.metallic = 0;
- surfaceData.occlusion = 1;
- surfaceData.smoothness = smoothness;
- surfaceData.specular = specularGloss.rgb;
- surfaceData.clearCoatMask = 0;
- surfaceData.clearCoatSmoothness = 1;
- surfaceData.normalTS = normalTS;
-
-
- // #if defined(DEBUG_DISPLAY)
- // half4 debugColor;
- //
- // if (CanDebugOverrideOutputColor(inputData, surfaceData, debugColor))
- // {
- // return debugColor;
- // }
- // #endif
-
- #ifdef _LIGHT_LAYERS
- uint meshRenderingLayers = GetMeshRenderingLayer();
- #endif
-
- half4 shadowMask = CalculateShadowMask(inputData);
- AmbientOcclusionFactor aoFactor = CreateAmbientOcclusionFactor(inputData, surfaceData);
- Light mainLight = GetMainLight(inputData, shadowMask, aoFactor);
-
- MixRealtimeAndBakedGI(mainLight, inputData.normalWS, inputData.bakedGI, aoFactor);
-
- inputData.bakedGI *= surfaceData.albedo;
-
- LightingData lightingData = CreateLightingData(inputData, surfaceData);
-#ifdef _LIGHT_LAYERS
- if (IsMatchingLightLayer(mainLight.layerMask, meshRenderingLayers))
-#endif
- {
- lightingData.mainLightColor += CalculateHalfLambertBlinnPhong(mainLight, inputData, surfaceData);
- }
-
- #if defined(_ADDITIONAL_LIGHTS)
- uint pixelLightCount = GetAdditionalLightsCount();
-
- #if USE_FORWARD_PLUS
- for (uint lightIndex = 0; lightIndex < min(URP_FP_DIRECTIONAL_LIGHTS_COUNT, MAX_VISIBLE_LIGHTS); lightIndex++)
- {
- FORWARD_PLUS_SUBTRACTIVE_LIGHT_CHECK
-
- Light light = GetAdditionalLight(lightIndex, inputData, shadowMask, aoFactor);
-#ifdef _LIGHT_LAYERS
- if (IsMatchingLightLayer(light.layerMask, meshRenderingLayers))
-#endif
- {
- lightingData.additionalLightsColor += CalculateBlinnPhong(light, inputData, surfaceData);
- }
- }
- #endif
-
- LIGHT_LOOP_BEGIN(pixelLightCount)
- Light light = GetAdditionalLight(lightIndex, inputData, shadowMask, aoFactor);
-#ifdef _LIGHT_LAYERS
- if (IsMatchingLightLayer(light.layerMask, meshRenderingLayers))
-#endif
- {
- lightingData.additionalLightsColor += CalculateHalfLambertBlinnPhong(light, inputData, surfaceData);
- }
- LIGHT_LOOP_END
- #endif
-
- #if defined(_ADDITIONAL_LIGHTS_VERTEX)
- lightingData.vertexLightingColor += inputData.vertexLighting * surfaceData.albedo;
- #endif
-
- return CalculateFinalColor(lightingData, surfaceData.alpha);
-}
-#endif
diff --git a/Packages/NBShaders/Shader/HLSL/SixWaySmokeLit.hlsl.meta b/Packages/NBShaders/Shader/HLSL/SixWaySmokeLit.hlsl.meta
deleted file mode 100644
index 99e32ec5..00000000
--- a/Packages/NBShaders/Shader/HLSL/SixWaySmokeLit.hlsl.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: 70e94bdedafe40bfb7f8e77cdc4bef0f
-timeCreated: 1751704445
\ No newline at end of file
diff --git a/Packages/NBShaders/Shader/ParticleBase.shader b/Packages/NBShaders/Shader/ParticleBase.shader
deleted file mode 100644
index 31b1bf4b..00000000
--- a/Packages/NBShaders/Shader/ParticleBase.shader
+++ /dev/null
@@ -1,733 +0,0 @@
-Shader "Effects/NBShader"
-{
- Properties
- {
- _MeshSourceMode("Mesh来源模式",Float) = 0
- _UIEffect_Toggle("UI模式_Toggle",Float) = 0
- _DistortionBothDirection_Toggle("__DistortionBothDirection_Toggle",Float) = 0
- _DistanceFade_Toggle("_DistanceFade_Toggle",Float) = 0
- _ChangeSaturability_Toggle("__ChangeSaturability_Toggle",Float) = 0
- _Mask_Toggle("__Mask_Toggle",Float) = 0
- _Mask_RotationToggle("__Mask_RotationToggle",Float) = 0
- _Mask2_Toggle("__Mask2_Toggle",Float) = 0
- _Mask3_Toggle("__Mask3_Toggle",Float) = 0
- _BaseBackColor_Toggle("__BaseBackColor_Toggle",Float) = 0
- _UseUV1_Toggle("__UseUV1_Toggle",Float) = 0
- _TransparentMode("_TransparentMode",Float) = 1
- _ForceZWriteToggle("_ForceZWriteToggle",Float) = 0
-
- _Dissolve_Toggle("__Dissolve_Toggle",Float) = 0
- _DissolveMask_Toggle("__DissolveMask_Toggle",Float) = 0
- _DissolveVoronoi_Toggle("__DissolveVoronoi_Toggle",Float) = 0
- _Dissolve_useRampMap_Toggle("__Dissolve_useRampMap_Toggle",Float) = 0
- _Dissolve_Test_Toggle("__Dissolve_Test_Toggle",Float) = 0
-
-
-
- _FresnelMode("__FresnelMode",Float) = 0
- _InvertFresnel_Toggle("__InvertFresnel_Toggle",Float) = 0
- _HueShift_Toggle("__HueShift_Toggle",Float) = 0
- _BackFaceColor_Toggle("_BackFaceColor_Toggle",Float) = 0
- _BackFirstPassToggle("_BackFirstPassToggle",Float) = 0
-
- _PolarCordinateOnlySpecialFunciton_Toggle("极坐标仅对特殊功能生效_Toggle",Float) = 0
-
- _CustomData1X_MainTexOffsetX_Toggle("_CustomData1X_MainTexOffsetX_Toggle",Float) = 0
- _CustomData1Y_MainTexOffsetY_Toggle("_CustomData1Y_MainTexOffsetY_Toggle",Float) = 0
- _CustomData1Z_Dissolve_Toggle("_CustomData1Z_Dissolve_Toggle",Float) = 0
- _CustomData1W_HueShift_Toggle("_CustomData1W_HueShift_Toggle",Float) = 0
- _CustomData2X_MaskMapOffsetX_Toggle("_CustomData2X_MaskMapOffsetX_Toggle",Float) = 0
- _CustomData2Y_MaskMapOffsetY_Toggle("_CustomData2Y_MaskMapOffsetY_Toggle",Float) = 0
- _CustomData2Z_FresnelOffset_Toggle("_CustomData2Z_FresnelOffset_Toggle",Float) = 0
- _CustomData2W_Toggle("_CustomData2W_Toggle",Float) = 0
-
-// [PerRendererData] [MainTexture] _MainTex("Sprite Texture-ignore", 2D) = "white" {}
- [PerRendererData] _MainTex ("Sprite Texture-ignore", 2D) = "white" {}
- _Color("颜色贴图叠加", Color) = (1,1,1,1)
- _UI_MainTex_ST("UI模式主贴图 xy:UV缩放 zw:UV偏移",vector) = (1,1,0,0)
- _MainTex_Reverse_ST("MainTex_Reverse_ST-ignore",Vector) = (1,1,0,0)
-
- _BaseMap ("主贴图 xy:UV缩放 zw:UV偏移", 2D) = "white" { }
- _BaseMapMaskMapOffset ("xy主贴图偏移速度", vector) = (0, 0, 0, 0)
-
- _BaseMapUVRotation ("主贴图旋转", Range(0, 360)) = 0
- _BaseMapUVRotationSpeed ("主贴图旋转速度",Float) = 0
- [HDR]_BaseColor ("主贴图颜色_hdr", Color) = (1, 1, 1, 1)//HDR颜色不需要做Gamma Linear转换,Unity默认用Linear颜色
-// _BaseColor ("Base Color", Color) = (1, 1, 1, 1)//HDR颜色不需要做Gamma Linear转换,Unity默认用Linear颜色
- [HDR]_BaseBackColor ("背面颜色_hdr", Color) = (1, 1, 1, 1)//HDR颜色不需要做Gamma Linear转换,Unity默认用Linear颜色
- _BaseColorIntensityForTimeline("整体颜色强度", Range(0,10)) = 1 //独立出来是以为Timeline K颜色的时候会很奇怪的影响色相
- _Saturability("饱和度", range(0,1)) = 0
- _Contrast_Toggle("__Contrast_Toggle",Float) = 0
- _Contrast("对比度", Float) = 1
- _ContrastMidColor ("对比度中值颜色", Color) = (0.5, 0.5, 0.5, 1)//HDR颜色不需要做Gamma Linear转换,Unity默认用Linear颜色
- _HueShift("色相",Range(0,1)) = 0
- _BaseMapColorRefine_Toggle ("__BaseMapColorRefine_Toggle",Float) = 0
- _BaseMapColorRefine("主贴图颜色Refine",Vector) = (1,1,2,1)
- _AlphaAll("整体透明度",Range(0,1)) = 1
- _IgnoreVetexColor_Toggle("_IgnoreVetexColor_Toggle",Float) = 0
-
- _SpecialUVChannelMode("特殊UV通道选择",Float) = 0
-
- _CylinderUVRotate("圆柱UV旋转",Vector) = (0,0,90,0)
- _CylinderUVPosOffset("圆柱UV位置偏移",Vector) = (0,0,0,0)
- _CylinderMatrix0("圆柱偏移矩阵0",Vector) = (0,0,0,0)
- _CylinderMatrix1("圆柱偏移矩阵1",Vector) = (0,0,0,0)
- _CylinderMatrix2("圆柱偏移矩阵2",Vector) = (0,0,0,0)
- _CylinderMatrix3("圆柱偏移矩阵3",Vector) = (0,0,0,0)
-
- _Cutoff ("裁剪位置", float) = 0
-
- //--------------光照部分-------------
- _FxLightMode("灯光模式",Float) = 0
- _BumpMapToggle("法线贴图开关",Float) = 0
- _BumpMapMaskMode("法线贴图多通道模式",Float) = 0
- _BumpScale("Scale", Float) = 1.0
- _BumpTex("Normal Map", 2D) = "bump" {}
- _BumpTexFollowMainTexUVToggle("法线跟随主贴图UV",Float) = 0
- _MaterialInfo("x:金属度,y:光滑度",Vector) = (1,1,0,0)
- _BlinnPhongSpecularToggle("BlinnPhong高光开关",Float) = 0
- [HDR]_SpecularColor("BlinnPhong高光颜色",Color) = (1,1,1,1)
- //-----------SixWayLight----------
- _RigRTBk("六路正方向图(P)",2D) = "white"{}
- _RigLBtF("六路反方向图(N)",2D) = "white"{}
- _SixWayColorAbsorptionToggle("六路光颜色吸收开关",Float) = 0
- _SixWayInfo("x:六路吸收强度",Vector) = (0.5,0,0,0)
- _SixWayEmissionRamp("六路自发光Ramp",2D) = "white"{}
- [HDR]_SixWayEmissionColor("六路自发光颜色",Color) = (1,0.5,0,1)
-
- //-----MatCap------
- _MatCapToggle("MatCap开关",Float) = 0
- _MatCapTex("MatCap图",2D) = "white"{}
- [HDR]_MatCapColor("MatCap颜色",Color) = (1,1,1,1)
- _MatCapInfo("x:MatCap叠加和相乘过渡",Vector) = (1,0,0,0)
-// _MatCapBlendMode("MatCap叠加模式",Float) = 0
-
- //时间缩放影响开关----------
- [HideInInspector] _TimeMode("__TimeMode",float) = 0.0
-
- _StencilWithoutPlayerToggle("剔除主角色开关",Float) = 0.0
-
-
-
-
-
- // MaskMap-----------
- _MaskRefineToggle("遮罩整体调整开关",Float) = 0
- _MaskRefineVec("遮罩整体调整:x:Pow,y:相乘,z:相加",Vector) = (1,1,0,0)
- _MaskMap ("遮罩贴图 xy:UV缩放 zw:UV偏移", 2D) = "white" { }
- _MaskMap2 ("遮罩2贴图 xy:UV缩放 zw:UV偏移", 2D) = "white"{}
- _MaskMap3 ("遮罩3贴图 xy:UV缩放 zw:UV偏移", 2D) = "white"{}
- _MaskMapOffsetAnition("xy:遮罩偏移速度,zw:遮罩2偏移速度", vector) = (0,0,0,0)
- _MaskMap3OffsetAnition("xy:遮罩3偏移速度", vector) = (0,0,0,0)
- _MaskMapUVRotation ("遮罩旋转", Range(0, 360)) = 0.0
- _MaskDistortion_intensity ("遮罩扭曲强度", float) = 0.0
- _MaskMapRotationSpeed("遮罩旋转速度", float) = 0.0
- _MaskMapVec("x整体遮罩强度,y遮罩2旋转,z遮罩3旋转",Vector) = (1,0,0,0)
-
- _MaskMapGradientToggle("遮罩渐变模式",Float) = 0
- _MaskMapGradientCount("颜色映射数量",Integer) = 2
- _MaskMapGradientFloat0("x:MaskAlpha0,y:Pos0,z:MaskAlpha1,w:Pos1",Vector) = (0,0,1,1)
- _MaskMapGradientFloat1("x:MaskAlpha2,y:Pos2,z:MaskAlpha3,w:Pos3",Vector) = (1,0,1,1)
- _MaskMapGradientFloat2("x:MaskAlpha4,y:Pos4,z:MaskAlpha5,w:Pos5",Vector) = (1,0,1,1)
- _MaskMap2GradientToggle("遮罩2渐变模式",Float) = 0
- _MaskMap2GradientCount("颜色映射数量",Integer) = 2
- _MaskMap2GradientFloat0("x:Mask2Alpha0,y:Pos0,z:Mask2Alpha1,w:Pos1",Vector) = (0,0,1,1)
- _MaskMap2GradientFloat1("x:Mask2Alpha2,y:Pos2,z:Mask2Alpha3,w:Pos3",Vector) = (1,0,1,1)
- _MaskMap2GradientFloat2("x:Mask2Alpha4,y:Pos4,z:Mask2Alpha5,w:Pos5",Vector) = (1,0,1,1)
- _MaskMap3GradientToggle("遮罩3渐变模式",Float) = 0
- _MaskMap3GradientCount("颜色映射数量",Integer) = 2
- _MaskMap3GradientFloat0("x:Mask3Alpha0,y:Pos0,z:Mask3Alpha1,w:Pos1",Vector) = (0,0,1,1)
- _MaskMap3GradientFloat1("x:Mask3Alpha2,y:Pos2,z:Mask3Alpha3,w:Pos3",Vector) = (1,0,1,1)
- _MaskMap3GradientFloat2("x:Mask3Alpha4,y:Pos4,z:Mask3Alpha5,w:Pos5",Vector) = (1,0,1,1)
-
- // 擦除----------------
- //[Header(ChaChu(Anima For CustomData.z).......)]
- //[KeywordEnum(NoChange,XianXing, JingXiang, Self)] _ch ("ChaChu mode", Float) = 0
- [HideInInspector] _Chachu ("__Chachu_ignore", Float) = 0.0
- _EdgeFade ("EdgeFade_ignore", Range(0, 1)) = 0.05
- _XianXingCH_UVRota ("XianXingCH_UVRota_ignore", float) = 0
- _jingxiangCH_dire ("Direction_ignore", Range(0, 1)) = 0
-
- // 漩涡 -------------------
- //[Toggle(_JIZUOBIAO)] _N121 ("JIZUOBIAO?", float) = 0
- [HideInInspector] _UTwirlEnabled ("__UTwirlEnabled", Float) = 0.0
- _TWParameter ("xy:旋转扭曲中心", vector) = (0.5, 0.5, 0, 0)
- _TWStrength ("旋转扭曲强度", float) = 0
-
-
- // 极坐标 -------------------
- //[Toggle(_JIZUOBIAO)] _N121 ("JIZUOBIAO?", float) = 0
- [HideInInspector]_PolarCoordinatesEnabled ("__PolarCoordinatesEnabled", Float) = 0.0
- _PCCenter ("xy:极坐标中心 z:极坐标强度", vector) = (0.5, 0.5, 1, 0)//位置坐标用的前两个分量,z分量给强度。
-
-
- // 噪波 --------------
- //[Toggle(_NOISEMAP)]_N ("NOISEMAP?", float) =0
- [HideInInspector] _noisemapEnabled ("__noisemapEnabled", Float) = 0.0
- [HideInInspector] _noiseMaskMap_Toggle ("__noiseMaskMap_Toggle", Float) = 0.0
- _NoiseMap ("扭曲贴图 xy:UV缩放 zw:UV偏移", 2D) = "white" { }
- _NoiseMaskMap ("扭曲遮罩贴图 xy:UV缩放 zw:UV偏移", 2D) = "white" { }
- _NoiseMapUVRotation("扭曲旋转",Range(0,360)) = 0
- _NoiseOffset ("xy:扭曲偏移速度 ", vector) = (0, 0, 0, 0)//w分量为本地uv坐标到世界坐标的变化
- _TexDistortion_intensity ("扭曲强度", float) = 0.5
- _DistortionDirection ("扭曲方向xy, 色散强度z", vector) = (1,1,0,0)
- _Distortion_Choraticaberrat_Toggle("扭曲色散开关_Toggle",Float) = 0
- _Distortion_Choraticaberrat_WithNoise_Toggle("色散受扭曲影响_Toggle",Float) = 1
-
- // 流光 ----------
- //[Header(LiuGuang(Anima For CustomData.w).......)]
- //[Toggle(_EMISSION)]_N1 ("EMISSION?", float) = 0
- [HideInInspector] _EmissionEnabled ("__EmissionEnabled", Float) = 0.0
- _EmissionMap ("流光贴图 xy:UV缩放 zw:UV偏移", 2D) = "white" { }
- _EmissionMapUVRotation ("流光贴图旋转", Range(0, 360)) = 0
- _Emi_Distortion_intensity ("流光贴图扭转强度", float) = 0
- _EmissionMapUVOffset ("xy:流光贴图偏移速度", vector) = (0, 0, 0, 0)
- _EmissionSelfAlphaWeight ("__EmissionSelfAlphaWeight_ignore", float) = 0
- _uvRapSoft ("LiuuvRapSoft-ignore", Range(0, 1)) = 0
- [HDR]_EmissionMapColor ("流光贴图颜色_hdr", Color) = (1, 1, 1, 1)
- _EmissionMapColorIntensity("流光颜色强度", float) = 1
- _EmissionFollowMainTexUV("流光跟随主贴图",Float) = 0
-
- //颜色渐变贴图--------
- _ColorBlendMap_Toggle("__ColorBlendMap_Toggle",Float) = 0
- _ColorBlendMap("颜色渐变贴图 xy:UV缩放 zw:UV偏移",2D) = "white"{}
- [HDR]_ColorBlendColor("颜色渐变叠加_hdr",Color) = (1,1,1,1)
- _ColorBlendMapOffset("xy:颜色渐变贴图偏移动画",Vector) = (0,0,0,0)
- _ColorBlendAlphaMultiplyMode("颜色渐变Alpha相乘开关",Float) = 0
- _ColorBlendFollowMainTexUV("颜色渐变UV跟随主贴图UV",Float) = 0
- _ColorBlendVec("x:颜色渐变扰动强度z:Alpha强度w:旋转",Vector) = (0,0,1,0)
-
- //颜色映射Ramp
- _RampColorToggle("颜色映射开关",Float) = 0
- _RampColorSourceMode("Ramp来源模式",Float) = 0
- _RampColorBlendMode("Ramp颜色混合模式",Float) = 0
- _RampColorMap("颜色映射黑白图",2D) = "white"{}
- _RampColor0("rgb:RampColor0,a:pos",Color) = (0,0,0,0)
- _RampColor1("rgb:RampColor1,a:pos",Color) = (1,0,0,1)
- _RampColor2("rgb:RampColor2,a:pos",Color) = (1,1,1,1)
- _RampColor3("rgb:RampColor3,a:pos",Color) = (1,1,1,1)
- _RampColor4("rgb:RampColor4,a:pos",Color) = (1,1,1,1)
- _RampColor5("rgb:RampColor5,a:pos",Color) = (1,1,1,1)
- _RampColorAlpha0("x:RampColorAlpha0,y:Pos0,z:RampColorAlpha1,w:Pos1",Vector) = (1,0,1,1)
- _RampColorAlpha1("x:RampColorAlpha2,y:Pos2,z:RampColorAlpha3,w:Pos3",Vector) = (1,0,1,1)
- _RampColorAlpha2("x:RampColorAlpha4,y:Pos4,z:RampColorAlpha5,w:Pos5",Vector) = (1,0,1,1)
- _RampColorCount("颜色映射数量",Integer) = 2
- [HDR]_RampColorBlendColor("颜色映射叠加颜色_hdr",Color) = (1,1,1,1)
- _RampColorMapOffset("xy:颜色映射贴图偏移动画,w:旋转",Vector) = (0,0,0,0)
-
-
- // Rongjie ------------------
- // [Header(RongJie(Anima For CustomData.y).......)]
- // [Toggle(_DISSOLVE)]_RJ ("RONGJIE?", float) = 0
- _Dissolve ("x:溶解强度 y:溶解值Pow z:过程溶解强度 w:溶解硬软度", vector) = (0.5, 1, 0, 0.1)
- _DissolveMap("溶解贴图 xy:UV缩放 zw:UV偏移",2D) = "grey"{}
- _DissolveMaskMap("局部溶解蒙版 xy:UV缩放 zw:UV偏移",2D) = "white"{}
- _DissolveOffsetRotateDistort("xy:溶解贴图偏移速度 z:溶解贴图旋转",Vector) = (0,0,0,0)
- [HDR]_DissolveLineColor("溶解描边颜色_hdr",Color) = (1,0,0,1)
- _DissolveVoronoi_Vec("xy:噪波1缩放,zw:噪波2缩放",Vector) = (1,1,2,2)
- _DissolveVoronoi_Vec2("x:噪波1和噪波2混合系数(圆尖),y:噪波整体和溶解贴图混合系数,z:噪波1速度,w:噪波2速度",Vector) = (1,1,2,2)
- _DissolveVoronoi_Vec3("xy:噪波1偏移速度,zw:噪波2偏移速度",Vector) = (0,0,0,0)
- _DissolveVoronoi_Vec4("xy:噪波1偏移,zw:噪波2偏移",Vector) = (0,0,0,0)
- _Dissolve_Vec2("x:Ramp位置偏移,y:Ramp范围",Vector) = (0.2,0.1,0,0)
- _DissolveRampMap("溶解Ramp图",2D) = "white"{}
- _DissolveRampColorBlendMode("溶解Ramp图混合模式",Float) = 0
- [HDR]_DissolveRampColor("溶解Ramp颜色_hdr",Color) = (1,1,1,1)
- _DissolveLineMaskToggle("溶解描边开关",Float) = 0
-
- _DissolveRampSourceMode("溶解Ramp来源模式",Float) = 0
- _DissolveRampColor0("rgb:DissolveRampColor0,a:pos",Color) = (1,0,0,0)
- _DissolveRampColor1("rgb:DissolveRampColor1,a:pos",Color) = (0,0,0,1)
- _DissolveRampColor2("rgb:DissolveRampColor2,a:pos",Color) = (1,1,1,1)
- _DissolveRampColor3("rgb:DissolveRampColor3,a:pos",Color) = (1,1,1,1)
- _DissolveRampColor4("rgb:DissolveRampColor4,a:pos",Color) = (1,1,1,1)
- _DissolveRampColor5("rgb:DissolveRampColor5,a:pos",Color) = (1,1,1,1)
- _DissolveRampAlpha0("x:DissolveRampAlpha0,y:Pos0,z:DissolveRampAlpha1,w:Pos1",Vector) = (1,0,1,1)
- _DissolveRampAlpha1("x:DissolveRampAlpha2,y:Pos2,z:DissolveRampAlpha3,w:Pos3",Vector) = (1,0,1,1)
- _DissolveRampAlpha2("x:DissolveRampAlpha4,y:Pos4,z:DissolveRampAlpha5,w:Pos5",Vector) = (1,0,1,1)
- _DissolveRampCount("溶解Ramp映射数量",Integer) = 2
-
-
- _CustomData1X ("ignore", float) = 0
- _CustomData1Y ("ignore", float) = 0
- //因为希望本Shader兼容CanvasRender,由于Canvas渲染只会传递TEXCOORD通道的xy分量(zw分量忽略)的特性,所以强制让CustomedData只传递xy分量。
- _CustomData2X ("ignore", float) = 0
-
- // -------------------------------------
- // Particle specific 属于粒子特殊的属性
- [ToggleOff] _CustomData ("__CustomData_Toggle", Float) = 0.0 //Toggleoff 和 Toggle 的区别
- [ToggleOff] _FlipbookBlending ("__flipbookblending_Toggle", Float) = 0.0 //Toggleoff 和 Toggle 的区别
-// _SoftParticlesNearFadeDistance ("Soft Particles Near Fade", Float) = 0.0
-// _SoftParticlesFarFadeDistance ("Soft Particles Far Fade", Float) = 1.0
- //[Toggle] _Fading ("Fading? =Default(1,2,0,0)", Float) = 0.0
- _CameraNearFadeDistance ("Camera Near Fade-ignore", Float) = 1.0
- _CameraFarFadeDistance ("Camera Far Fade-ignore", Float) = 2.0
- //临时
- _fogintensity ("雾影响强度", Range(0, 1)) = 1
- // -------------------------------------
- // Hidden properties - Generic 通用的隐藏属性
- _AdditiveToPreMultiplyAlphaLerp("相加到预乘混合",Range(0,1)) = 0.0
- [HideInInspector] _Blend ("__mode-ignore", Float) = 0.0
- [HideInInspector] _AlphaClip ("__clip-ignore", Float) = 0.0
- [HideInInspector] _SrcBlend ("__src-ignore", Float) = 1.0
- [HideInInspector] _DstBlend ("__dst-ignore", Float) = 0.0
- [HideInInspector] _Cull ("__cull-ignore", Float) = 2.0
- [HideInInspector] _ZTest ("__ztest-ignore", Float) = 4.0 //默认值LEqual
- [HideInInspector] _ZWrite("__ZWrite-ignore", Float) = 0 //默认值LEqual
- // [HideInInspector] _ZTestt ("__ztestt", Float) = 4.0//雨轩:注释掉了。。。这是个什么鬼。。。
-
- _CustomStencilTest ("__CustomStencilTest-ignore", Float) = 0
- _StencilKeyIndex("__StencilKeyIndex-ignore",Float) = 0
- [Enum(UnityEngine.Rendering.CompareFunction)] _StencilComp ("__StencilComp-ignore", Float) = 8
- _Stencil("Stencil ID-ignore", Float) = 0
- [Enum(UnityEngine.Rendering.StencilOp)]_StencilOp("Stencil Operation-ignore", Float) = 0
- _StencilWriteMask ("Stencil Write Mask-ignore", Float) = 255
- _StencilReadMask ("Stencil Read Mask-ignore", Float) = 255
- _ColorMask("Color Mask-ignore", Float) = 15
-
- //[HideInInspector] _ZTestO ("__ztest0", Float) = 1.0
- _FresnelFadeDistance ("菲涅尔透明乘数", float) = 1
- _FresnelUnit("菲涅尔通用", Vector) = (0,0.5,1,0.5)
-
- _DepthOutline_Toggle("深度描边",Float) = 0
- [HDR]_DepthOutline_Color("深度描边颜色_hdr",Color) = (1,1,1,1)
- _DepthOutline_Vec("菲涅尔深度描边参数",Vector) = (0,0.5,0,0)
- _FresnelColorAffectByAlpha("菲涅尔颜色受Alpha影响",Float) = 1
-// _DepthOutline_withoutFresnel_Toggle("深度描边关闭菲涅尔",Float) = 0
-// _FresnelUnit2("菲涅尔通用2", Vector) = (1,1,0,0)
-
- _DepthDecal_Toggle("深度贴花",Float) = 0
-
- _VertexOffset_Toggle("顶点偏移",Float) = 0
- _VertexOffset_Map("顶点偏移贴图",2D) = "white"{}
- _VertexOffset_Vec("xy:顶点偏移动画z:顶点偏移强度",Vector) = (0,0,1,0)
- _VertexOffset_NormalDir_Toggle("顶点偏移自定义方向开关",Float) = 0
- _VertexOffset_StartFromZero("顶点偏移从零开始开关",Float) = 0
- _VertexOffset_CustomDir("顶点偏移自定义方向",Vector) = (1,1,1,0)
-
- _VertexOffset_Mask_Toggle("顶点偏移遮罩开关",Float) = 0
- _VertexOffset_MaskMap("顶点偏移遮罩贴图",2D) = "white"{}
- _VertexOffset_MaskMap_Vec("xy:顶点偏移遮罩动画z:顶点偏移遮罩强度",Vector) = (0,0,1,0)
-
-
- _ParallaxMapping_Toggle("视差",Float) = 0
- _ParallaxMapping_Map("视差贴图",2D) = "white"{}
- _ParallaxMapping_Intensity("视差强度",Float) = 0.05
- _ParallaxMapping_Vec("遮蔽视差层数 x:最小值,y:最大值",Vector) = (5,30,0,0)
-
-
- // Particle specific 粒子特殊的隐藏属性
- [HideInInspector] _ColorMode ("_ColorMode", Float) = 0.0
- [HideInInspector] _BaseColorAddSubDiff ("_ColorMode", Vector) = (0, 0, 0, 0)
- [HideInInspector] _SoftParticlesEnabled ("__softparticlesenabled", Float) = 0.0
- [HideInInspector] _CameraFadingEnabled ("__camerafadingenabled", Float) = 0.0
- [HideInInspector] _SoftParticleFadeParams ("xy:软粒子远近裁剪面", Vector) = (0, 0.5, 0, 0)
- [HideInInspector] _CameraFadeParams ("__camerafadeparams_ignore", Vector) = (0, 0, 0, 0)
- [HideInInspector] _IntersectEnabled("__IntersectEnabled_ignore",Float) = 0.0
- [HideInInspector] _IntersectRadius("__IntersectRadius_ignore",Float) = 0.3
- [HideInInspector] _IntersectColor("__IntersectColor_ignore",Color) = (1,1,1,1)
-
- [HideInInspector] _ScreenDistortModeToggle("_ScreenDistortModeToggle",Float) = 0
-
- // Editmode props 编辑模式下的PropFlags?
- [HideInInspector] _QueueBias ("Queue偏移_QueueBias", Float) =0
-
- // ObsoleteProperties 弃用的属性????
- [HideInInspector] _FlipbookMode ("flipbook mode", Float) = 0
- [HideInInspector] _Mode ("mode", Float) = 0
- // [HideInInspector] _Color ("color", Color) = (1, 1, 1, 1)
-
- [HideInInspector]_fresnelEnabled ("__fresnelEnabled", Float) = 0.0
- [NoScaleOffset]_FresnelHDRITex("__FresnelHDRITex_ignore",Cube) = "white"{}
- [HDR]_FresnelColor ("菲涅尔颜色_hdr", COLOR) = (1, 1, 1, 1)
- _FresnelRotation("菲涅尔方向偏移",vector) = (0,0,0,0.5)
- _FresnelInOutSlider ("direction-ignore", Range(0, 1)) = 1
- _FrePower ("FrePower-ignore", Range(0,1)) = 0.5
- _FresnelSelfAlphaWeight("__FresnelSelfAlphaWeight-ignore",float) = 0
- //用于程序控制透明属性
- [HideInInspector] _ColorA ("ColorA-ignore", Color) = (1,1,1,1)
-
- _Portal_Toggle("模板视差开关",Float) = 0
- _Portal_MaskToggle("模板视差蒙版开关",Float) = 0
-
- //基于深度的a通道控制
- [HideInInspector] _Fade("xy:近距离透明过度范围", Vector) = (2,4,0,0)
-
- [HideInInspector] _InspectorData("__InspectorData-ignore",vector) = (1,1,0,0)
-
- [Header(ZOffset)]
- _ZOffset_Toggle("深度偏移_Toggle",Float) = 0
- _offsetFactor("深度偏移Sacle-ignore", range(-2000,2000)) = 0
- _offsetUnits("深度偏移单位距离-ignore", range(-2000,2000)) = 0
-
- [HideInInspector] _W9ParticleShaderFlags("_W9ParticleShaderFlags", Integer) = 0
- [HideInInspector] _W9ParticleShaderFlags1("_W9ParticleShaderFlags1", Integer) = 0
- [HideInInspector] _W9ParticleShaderWrapFlags("_W9ParticleShaderWrapFlags", Integer) = 0
- [HideInInspector] _W9ParticleCustomDataFlag0("_W9ParticleCustomDataFlag0", Integer) = 0
- [HideInInspector] _W9ParticleCustomDataFlag1("_W9ParticleCustomDataFlag1", Integer) = 0
- [HideInInspector] _W9ParticleCustomDataFlag2("_W9ParticleCustomDataFlag2", Integer) = 0
- [HideInInspector] _W9ParticleCustomDataFlag3("_W9ParticleCustomDataFlag3", Integer) = 0
- [HideInInspector] _UVModeFlag0("_UVModeFlag0", Integer) = 0
- [HideInInspector] _W9ParticleShaderGUIFoldToggle("_W9ParticleShaderGUIFoldToggle", Integer) = 3//前2个开关默认打开
- [HideInInspector] _W9ParticleShaderGUIFoldToggle1("_W9ParticleShaderGUIFoldToggle1", Integer) = 255//这边默认全开
- [HideInInspector] _W9ParticleShaderGUIFoldToggle2("_W9ParticleShaderGUIFoldToggle2", Integer) = 255//这边默认全开
- [HideInInspector] _W9ParticleShaderColorChannelFlag("_W9ParticleShaderColorChannelFlag", Integer) = 3//默认主贴图开A通道
-
-
- SaturabilityRangeVec("_Saturability",Vector) = (0,1,0,0)
- TexDistortionintensityRangeVec("_TexDistortion_intensity",Vector) = (-1,1,0,0)
- MaskDistortionIntensityRangeVec("_MaskDistortion_intensity",Vector) = (-2,2,0,0)
- EmiDistortionIntensityRangeVec("_TexDistortion_intensity",Vector) = (-1,1,0,0)
- BumpScaleRangeVec("_BumpScale",Vector) = (-1,1,0,0)
- DissolveXRangeVec("_Dissolve.x",Vector) = (-1,2,0,0)
- Dissolve2XRangeVec("_Dissolve_Vec2.x",Vector) = (0,1,0,0)
- Dissolve2YRangeVec("_Dissolve_Vec2.y",Vector) = (0,1,0,0)
- AlphaAllRangeVec("_AlphaAll",Vector) = (0,1,0,0)
-// _offsetUnits("深度偏移单位距离-ignore", range(-2000,2000)) = 0
- }
- SubShader
- {
- Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "PreviewType"="Sphere" "CanUseSpriteAtlas"="True" }
-
- Stencil
- {
- Ref [_Stencil]
- Comp [_StencilComp]
- Pass [_StencilOp]
- ReadMask [_StencilReadMask]
- WriteMask [_StencilWriteMask]
- }
-
- //BlendOp[_BlendOp] //考虑注释~
- Blend[_SrcBlend][_DstBlend]
- ZWrite [_ZWrite]//粒子不写入深度缓冲
- ZTest[_ZTest]
-
- ColorMask [_ColorMask]
-
- // ------------------------------------------------------------------
- // 预渲染反面Pass,基本理念。先剔除正面棉片,渲染反面面片(一般在后),然后常规Pass再渲染正面(一般在前)
- // 这样可以应对大部分的特效半透明渲染的次序问题。
- // URP下的多Pass渲染,需要使用特定的LightModeTag:
- // https://zhuanlan.zhihu.com/p/469589277#:~:text=%E6%B3%A8%E6%84%8F%E7%AC%AC%E4%BA%8C%E4%B8%AA%E5%85%89%E7%85%A7pass%E7%9A%84%E5%85%89%E7%85%A7tag%E4%B8%BA%20%22LightMode%22%20%3D%20%22SRPDefaultUnlit%22%EF%BC%8C%E8%BF%99%E6%98%AF%E5%9B%A0%E4%B8%BA%E5%BF%85%E9%A1%BB%E8%AE%BE%E7%BD%AE%E4%B8%BA%E7%89%B9%E5%AE%9A%E7%9A%84%E5%87%A0%E4%B8%AALightMode%20%E6%89%8D%E8%83%BD%E6%AD%A3%E7%A1%AE%E8%A2%AB%E6%B8%B2%E6%9F%93%E3%80%82%E5%85%B7%E4%BD%93%E5%93%AA%E5%87%A0%E4%B8%AA%20LightMode%20%E8%A7%81URP%E5%8C%85%E9%87%8C%E7%9A%84%20Runtime/Passes%20%E9%87%8C%E7%9A%84%20DrawObjectsPass.cs%E8%84%9A%E6%9C%AC%EF%BC%8C%E9%87%8C%E9%9D%A2%E6%9C%89%E5%A6%82%E4%B8%8B%E4%BB%A3%E7%A0%81%EF%BC%9A
- // 开关Pass,同样也需要用到LightTag
- // https://blog.csdn.net/shaoy1234567/article/details/106494878
-
- Pass
- {
- Tags
- {
- "LightMode" = "SRPDefaultUnlit" "Queue"="Opaque"
- }
- offset [_offsetFactor], [_offsetUnits]
- Name "SRPDefaultUnlit"
- Cull Front
-
- HLSLPROGRAM
- #define PARTICLE
- #pragma target 4.5
- #pragma exclude_renderers d3d11_9x
- #pragma exclude_renderers d3d9
-
- #pragma enable_d3d11_debug_symbols // 保留D3D11调试符号
-
- // -------------------------------------
- // Material Keywords
- #pragma shader_feature_local _ _SCREEN_DISTORT_MODE
- #pragma shader_feature_local _ _MASKMAP_ON
- // #pragma shader_feature_local _MASKMAP
- // #pragma shader_feature_local _MASKMAP2
- //#pragma shader_feature_local _NOISEMAP
- #pragma shader_feature_local _NOISEMAP
- //#pragma shader_feature_local _EMISSION //流光
- #pragma shader_feature_local _EMISSION
- //#pragma shader_feature_local _ _DISSOLVE //溶解
- #pragma shader_feature_local _DISSOLVE
- //后续Test类的关键字要找机会排除
- #pragma shader_feature_local _DISSOLVE_EDITOR_TEST
- #pragma shader_feature_local _COLORMAPBLEND//颜色渐变
- #pragma shader_feature_local _COLOR_RAMP//颜色映射
-
- //将光照和UI混用,达到节省Keywords的目的。
- #pragma multi_compile _ UNITY_UI_CLIP_RECT _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS//UI 2D遮罩
- // #pragma multi_compile _ _UIPARTICLE_ON//用于UIParticle组件动态更改参数//暂时注释掉,觉得没什么意义
- #pragma multi_compile _ SOFT_UI_FRAME EVALUATE_SH_MIXED EVALUATE_SH_VERTEX//用于UI软蒙版
-
- #pragma shader_feature_local _PARCUSTOMDATA_ON
-
- //用于特效层关键字
- // #pragma shader_feature_local _UIEFFECT_ON
-
- #pragma shader_feature_local _ FRESNEL_CUBEMAP FRESNEL_REFLECTIONPROBE
-
-
- // -------------------------------------
- // Particle Keywords
- #pragma shader_feature_local _ _ALPHAPREMULTIPLY_ON _ALPHAMODULATE_ON //设置alpah Add 。。组合
- #pragma shader_feature_local _ALPHATEST_ON
- //#pragma shader_feature_local _ _COLOROVERLAY_ON _COLORCOLOR_ON _COLORADDSUBDIFF_ON //粒子颜色和材质颜色的混合运算 暂时先不要了
- #pragma shader_feature_local _FLIPBOOKBLENDING_ON
- #pragma shader_feature_local _SOFTPARTICLES_ON
- // #pragma shader_feature_local _OCCLUDEOPACITY_ON
- // #pragma shader_feature_local _ _SATURABILITY_ON
-
- //UnscaleTime用于接收项目传的公开不受缩放影响的Time值
- #pragma shader_feature_local _UNSCALETIME
- //scriptableTime用于程序每帧传值
- #pragma shader_feature_local _SCRIPTABLETIME
- //#pragma shader_feature_local _DISTORTION_ON
- #pragma shader_feature_local _NOISEMAP_NORMALIZEED
-
- #pragma shader_feature_local _DEPTH_DECAL
- #pragma shader_feature_local _PARALLAX_MAPPING
-
- #pragma shader_feature_local _STENCIL_WITHOUT_PLAYER
-
- //LIGHTING
- #pragma shader_feature_local _FX_LIGHT_MODE_UNLIT _FX_LIGHT_MODE_BLINN_PHONG _FX_LIGHT_MODE_HALF_LAMBERT _FX_LIGHT_MODE_PBR _FX_LIGHT_MODE_SIX_WAY
- #pragma shader_feature_local _ _NORMALMAP
- #pragma shader_feature_local _ _MATCAP
- #pragma shader_feature_local _ _SPECULAR_COLOR
- #pragma shader_feature_local _ VFX_SIX_WAY_ABSORPTION
-
-
- // -------------------------------------
- // Unity defined keywords
- // 之后进行优化时再说。
- #pragma multi_compile_fog
- // #define FOG_EXP2 1
-
-
- // #if defined(_SOFTPARTICLES_ON)
- // #define NEED_EYE_DEPTH
- // #endif
-
- #define PARTICLE_BACKFACE_PASS
-
- #pragma vertex vertParticleUnlit
- #pragma fragment fragParticleUnlit
-
- // #include "UnityCG.cginc"
- // #include "AutoLight.cginc"
- // #include "UnityUI.cginc"
-
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl"
-
- #include "Packages/com.xuanxuan.render.utility/Shader/HLSL/XuanXuan_Utility.hlsl"
- #include "HLSL/ParticlesUnlitForwardPassNew.hlsl"
-
- ENDHLSL
-
- }
-
- // ------------------------------------------------------------------
- // Forward pass.
- Pass
- {
- Tags
- {
- "LightMode" = "UniversalForward"
- } //Queue设置是希望特效渲染在场景透明物体前面
- offset [_offsetFactor], [_offsetUnits]
- Cull[_Cull]
-
- HLSLPROGRAM
- #define PARTICLE
- //20240228 target3.0 顶点着色器限制16个输出。提高版本
- #pragma target 4.5
-
- // -------------------------------------
- // Material Keywords
-
- #pragma enable_d3d11_debug_symbols // 保留D3D11调试符号
-
- #pragma shader_feature_local _ _SCREEN_DISTORT_MODE
- #pragma shader_feature_local _ _MASKMAP_ON
- // #pragma shader_feature_local _MASKMAP
- // #pragma shader_feature_local _MASKMAP2
- //#pragma shader_feature_local _NOISEMAP
- #pragma shader_feature_local _NOISEMAP
- //#pragma shader_feature_local _EMISSION //流光
- #pragma shader_feature_local _EMISSION
- //#pragma shader_feature_local _ _DISSOLVE //溶解
- #pragma shader_feature_local _DISSOLVE
- //后续Test类的关键字要找机会排除
- #pragma shader_feature_local _DISSOLVE_EDITOR_TEST
- #pragma shader_feature_local _COLORMAPBLEND//颜色渐变
- #pragma shader_feature_local _COLOR_RAMP//颜色映射
-
-
-
- #pragma multi_compile_local _ UNITY_UI_CLIP_RECT _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS //UI 2D遮罩
- // #pragma shader_feature_local _ _CH_XIANXING _CH_JINGXIANG _CH_SELF //线性擦除 径向擦除 mask擦除
- #pragma shader_feature_local _PARCUSTOMDATA_ON
-
- //用于特效层关键字
- // #pragma shader_feature_local _UIEFFECT_ON
-
- #pragma shader_feature_local _ FRESNEL_CUBEMAP FRESNEL_REFLECTIONPROBE
-
-
- // #pragma multi_compile _ _UIPARTICLE_ON//用于UIParticle组件动态更改参数//暂时注释掉,觉得没什么意义
- #pragma multi_compile _ SOFT_UI_FRAME EVALUATE_SH_MIXED EVALUATE_SH_VERTEX//用于UI软蒙版
- // -------------------------------------
- // Particle Keywords
- #pragma shader_feature_local _ _ALPHAPREMULTIPLY_ON _ALPHAMODULATE_ON //设置alpah Add 。。组合
- #pragma shader_feature_local _ALPHATEST_ON
- //#pragma shader_feature_local _ _COLOROVERLAY_ON _COLORCOLOR_ON _COLORADDSUBDIFF_ON //粒子颜色和材质颜色的混合运算 暂时先不要了
- #pragma shader_feature_local _FLIPBOOKBLENDING_ON
- #pragma shader_feature_local _SOFTPARTICLES_ON
- // #pragma shader_feature_local _OCCLUDEOPACITY_ON
- // #pragma shader_feature_local _ _SATURABILITY_ON
-
- //UnscaleTime用于接收项目传的公开不受缩放影响的Time值
- #pragma shader_feature_local _UNSCALETIME
- //scriptableTime用于程序每帧传值
- #pragma shader_feature_local _SCRIPTABLETIME
- //#pragma shader_feature_local _DISTORTION_ON
- #pragma shader_feature_local _NOISEMAP_NORMALIZEED
-
- #pragma shader_feature_local _DEPTH_DECAL
- #pragma shader_feature_local _PARALLAX_MAPPING
-
- #pragma shader_feature_local _STENCIL_WITHOUT_PLAYER
-
- //LIGHTING
- #pragma shader_feature_local _FX_LIGHT_MODE_UNLIT _FX_LIGHT_MODE_BLINN_PHONG _FX_LIGHT_MODE_HALF_LAMBERT _FX_LIGHT_MODE_PBR _FX_LIGHT_MODE_SIX_WAY
- #pragma shader_feature_local _ _NORMALMAP
- #pragma shader_feature_local _ _MATCAP
- #pragma shader_feature_local _ _SPECULAR_COLOR
- #pragma shader_feature_local _ VFX_SIX_WAY_ABSORPTION
-
- // -------------------------------------
- // Unity defined keywords
- // 之后进行优化时再说。
- #pragma multi_compile_fog
- // #define FOG_EXP2 1
-
- #pragma vertex vertParticleUnlit
- #pragma fragment fragParticleUnlit
-
-
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- // The DeclareDepthTexture.hlsl file contains utilities for sampling the Camera
- // depth texture.
-
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl"
- #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl"
-
- #include "Packages/com.xuanxuan.render.utility/Shader/HLSL/XuanXuan_Utility.hlsl"
- #include "HLSL/ParticlesUnlitForwardPassNew.hlsl"
-
-
- ENDHLSL
-
- }
-
- // ------------------------------------------------------------------
- // Forward pass.
- Pass
- {
- Tags
- {
- "LightMode" = "Universal2D"
- } //Queue设置是希望特效渲染在场景透明物体前面
- offset [_offsetFactor], [_offsetUnits]
- Cull[_Cull]
-
- HLSLPROGRAM
- #define PARTICLE
- //20240228 target3.0 顶点着色器限制16个输出。提高版本
- #pragma target 4.5
-
- // -------------------------------------
- // Material Keywords
-
- #pragma enable_d3d11_debug_symbols // 保留D3D11调试符号
-
- #pragma shader_feature_local _ _SCREEN_DISTORT_MODE
- #pragma shader_feature_local _ _MASKMAP_ON
- // #pragma shader_feature_local _MASKMAP
- // #pragma shader_feature_local _MASKMAP2
- //#pragma shader_feature_local _NOISEMAP
- #pragma shader_feature_local _NOISEMAP
- //#pragma shader_feature_local _EMISSION //流光
- #pragma shader_feature_local _EMISSION
- //#pragma shader_feature_local _ _DISSOLVE //溶解
- #pragma shader_feature_local _DISSOLVE
- //后续Test类的关键字要找机会排除
- #pragma shader_feature_local _DISSOLVE_EDITOR_TEST
- #pragma shader_feature_local _COLORMAPBLEND//颜色渐变
- #pragma shader_feature_local _COLOR_RAMP//颜色映射
-
-
-
- #pragma multi_compile_local _ UNITY_UI_CLIP_RECT _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS //UI 2D遮罩
- // #pragma shader_feature_local _ _CH_XIANXING _CH_JINGXIANG _CH_SELF //线性擦除 径向擦除 mask擦除
- #pragma shader_feature_local _PARCUSTOMDATA_ON
-
- //用于特效层关键字
- // #pragma shader_feature_local _UIEFFECT_ON
-
- #pragma shader_feature_local _ FRESNEL_CUBEMAP FRESNEL_REFLECTIONPROBE
-
-
- // #pragma multi_compile _ _UIPARTICLE_ON//用于UIParticle组件动态更改参数//暂时注释掉,觉得没什么意义
- #pragma multi_compile _ SOFT_UI_FRAME EVALUATE_SH_MIXED EVALUATE_SH_VERTEX//用于UI软蒙版
- // -------------------------------------
- // Particle Keywords
- #pragma shader_feature_local _ _ALPHAPREMULTIPLY_ON _ALPHAMODULATE_ON //设置alpah Add 。。组合
- #pragma shader_feature_local _ALPHATEST_ON
- //#pragma shader_feature_local _ _COLOROVERLAY_ON _COLORCOLOR_ON _COLORADDSUBDIFF_ON //粒子颜色和材质颜色的混合运算 暂时先不要了
- #pragma shader_feature_local _FLIPBOOKBLENDING_ON
- #pragma shader_feature_local _SOFTPARTICLES_ON
- // #pragma shader_feature_local _OCCLUDEOPACITY_ON
- // #pragma shader_feature_local _ _SATURABILITY_ON
-
- //UnscaleTime用于接收项目传的公开不受缩放影响的Time值
- #pragma shader_feature_local _UNSCALETIME
- //scriptableTime用于程序每帧传值
- #pragma shader_feature_local _SCRIPTABLETIME
- //#pragma shader_feature_local _DISTORTION_ON
- #pragma shader_feature_local _NOISEMAP_NORMALIZEED
-
- #pragma shader_feature_local _DEPTH_DECAL
- #pragma shader_feature_local _PARALLAX_MAPPING
-
- #pragma shader_feature_local _STENCIL_WITHOUT_PLAYER
-
- //LIGHTING
- #pragma shader_feature_local _FX_LIGHT_MODE_UNLIT _FX_LIGHT_MODE_BLINN_PHONG _FX_LIGHT_MODE_HALF_LAMBERT _FX_LIGHT_MODE_PBR _FX_LIGHT_MODE_SIX_WAY
- #pragma shader_feature_local _ _NORMALMAP
- #pragma shader_feature_local _ _MATCAP
- #pragma shader_feature_local _ _SPECULAR_COLOR
- #pragma shader_feature_local _ VFX_SIX_WAY_ABSORPTION
-
- // -------------------------------------
- // Unity defined keywords
- // 之后进行优化时再说。
- #pragma multi_compile_fog
- // #define FOG_EXP2 1
-
- #pragma vertex vertParticleUnlit
- #pragma fragment fragParticleUnlit
-
-
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
- // The DeclareDepthTexture.hlsl file contains utilities for sampling the Camera
- // depth texture.
-
- #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DeclareDepthTexture.hlsl"
- #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonMaterial.hlsl"
-
- #include "Packages/com.xuanxuan.render.utility/Shader/HLSL/XuanXuan_Utility.hlsl"
- #include "HLSL/ParticlesUnlitForwardPassNew.hlsl"
-
-
- ENDHLSL
-
- }
- }
-
- CustomEditor "NBShaderEditor.ParticleBaseGUI"
-}
\ No newline at end of file
diff --git a/Packages/NBShaders/Shader/ParticleBase.shader.meta b/Packages/NBShaders/Shader/ParticleBase.shader.meta
deleted file mode 100644
index 8058ad6c..00000000
--- a/Packages/NBShaders/Shader/ParticleBase.shader.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 7184a95c20fc1a441a8815af4c795ccd
-ShaderImporter:
- externalObjects: {}
- defaultTextures: []
- nonModifiableTextures: []
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/Shader/StencilConfig.asset b/Packages/NBShaders/Shader/StencilConfig.asset
deleted file mode 100644
index 9a4c3b6c..00000000
--- a/Packages/NBShaders/Shader/StencilConfig.asset
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d71900d2b399429be3a2f64d96f575381d105dd03f8e6bffe27d1bd00c4bfdd7
-size 1532
diff --git a/Packages/NBShaders/Shader/StencilConfig.asset.meta b/Packages/NBShaders/Shader/StencilConfig.asset.meta
deleted file mode 100644
index fbd9e6e5..00000000
--- a/Packages/NBShaders/Shader/StencilConfig.asset.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d7093501998f1b24483fa6c8eddcf8fb
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 11400000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/NBShaders/package.json b/Packages/NBShaders/package.json
deleted file mode 100644
index 5e8c0a79..00000000
--- a/Packages/NBShaders/package.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "name": "com.xuanxuan.nb.shaders",
- "version": "0.0.1",
- "displayName": "NBShaders",
- "description": "NB特效渲染相关功能",
- "unity": "2019.1"
-}
\ No newline at end of file
diff --git a/Packages/NBShaders/package.json.meta b/Packages/NBShaders/package.json.meta
deleted file mode 100644
index 54c0d7a4..00000000
--- a/Packages/NBShaders/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 48379e0a1548d0744956d75379b0c724
-PackageManifestImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor.meta b/Packages/XuanXuanRenderUtility/Editor.meta
deleted file mode 100644
index a0f47e55..00000000
--- a/Packages/XuanXuanRenderUtility/Editor.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: fd758a702a9040fcb8614b232817cff9
-timeCreated: 1721290722
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/BinaryIntAttribute.cs b/Packages/XuanXuanRenderUtility/Editor/BinaryIntAttribute.cs
deleted file mode 100644
index da8c7e63..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/BinaryIntAttribute.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using UnityEditor;
-using UnityEngine;
-using System;
-// using Unity.Properties;
-
-public class BinaryIntAttribute : PropertyAttribute
-{
- public int binaryBits;
- public bool showInputFiled;
- public int tabNums;
-
-
- public BinaryIntAttribute(int Bits = 32,bool showInput = false,int tab = 0)
- {
- binaryBits = Bits;
- showInputFiled = showInput;
- tabNums = tab;
- }
-}
-
-[CustomPropertyDrawer(typeof(BinaryIntAttribute))]
-public class BinaryIntDrawer : PropertyDrawer
-{
-
- public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
- {
-
- GUIStyle richTextStyle = EditorStyles.label;
- richTextStyle.richText = true;
- BinaryIntAttribute binaryIntAttribute = (BinaryIntAttribute)attribute;
- // int value = property.intValue;
- // int largestBit = 0;
- // for (int i = 0; i < 32; i++)
- // {
- // if ((~value & (1 << i)) == 0)
- // {
- // largestBit = i;
- // }
- // }
- //
- // int addZeroCount = 0;
- // if (largestBit < binaryIntAttribute.binaryBits)
- // {
- // addZeroCount = binaryIntAttribute.binaryBits - largestBit - 1;
- // }
- //
- // string addZeroString = "";
- // for (int i = 0; i < addZeroCount; i++)
- // {
- // addZeroString += "0";
- // }
- // string binary = addZeroString+Convert.ToString(property.intValue, 2);
- string binary = DrawBinaryInt(property.intValue, binaryIntAttribute.binaryBits);
-
- string tabs = "";
- for (int i = 0; i < binaryIntAttribute.tabNums; i++)
- {
- tabs += "\t";
- }
-
- if (binaryIntAttribute.showInputFiled)
- {
- string labelText = property.displayName + tabs + "" + binary + "";
- Rect intRect = EditorGUI.PrefixLabel(position,new GUIContent(labelText),richTextStyle);
- property.intValue = EditorGUI.IntField( intRect,property.intValue);
- }
- else
- {
- EditorGUILayout.LabelField(property.displayName + tabs);
- EditorGUILayout.LabelField(binary);
- }
- }
-
- public static string DrawBinaryInt(int value ,int binaryBits)
- {
- int largestBit = 0;
- for (int i = 0; i < 32; i++)
- {
- if ((~value & (1 << i)) == 0)
- {
- largestBit = i;
- }
- }
-
- int addZeroCount = 0;
- if (largestBit < binaryBits)
- {
- addZeroCount = binaryBits - largestBit - 1;
- }
-
- string addZeroString = "";
- for (int i = 0; i < addZeroCount; i++)
- {
- addZeroString += "0";
- }
- string binary = addZeroString+Convert.ToString(value, 2);
- return binary;
- }
-}
-
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/BinaryIntAttribute.cs.meta b/Packages/XuanXuanRenderUtility/Editor/BinaryIntAttribute.cs.meta
deleted file mode 100644
index 1d933dac..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/BinaryIntAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4517deaf5f31a5848b6a58304d1f516f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/GradientRefletctionHelper.cs b/Packages/XuanXuanRenderUtility/Editor/GradientRefletctionHelper.cs
deleted file mode 100644
index 466573a8..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/GradientRefletctionHelper.cs
+++ /dev/null
@@ -1,249 +0,0 @@
-using System;
-using System.Reflection;
-using UnityEngine;
-//因为GradientPicker窗口,在窗口打开时使用的是Gradient对象的Cache。
-//如果有Undo操作,导致MaterialProperty更新了,但Gradient却更新不到ColorPicer里。所以在这里进行强制更新。
-//后续需要强制更新Picker的时候,也可以用这里。
-//DeepSeek写的。谨慎用。
-public static class GradientReflectionHelper
-{
- #region GradientPicker 相关
-
- private static Type _gradientPickerType;
-
- // SetCurrentGradient 方法
- private static MethodInfo _setGradientMethod;
- private static Action _setGradientDelegate;
-
- // RefreshGradientData 方法
- private static MethodInfo _refreshMethod;
- private static Action _refreshDelegate;
-
- #endregion
-
- #region GradientPreviewCache 相关
-
- private static Type _gradientCacheType;
- private static MethodInfo _clearCacheMethod;
- private static Action _clearCacheDelegate;
-
- #endregion
-
- // 初始化状态
- private static bool _initialized;
- private static bool _isValid;
- private static readonly object _initLock = new object();
-
- #region 公共API
-
- [System.Diagnostics.Conditional("UNITY_EDITOR")]
- public static void SetCurrentGradient(Gradient gradient)
- {
- ExecuteAction(() =>
- {
- if (_setGradientDelegate != null)
- _setGradientDelegate(gradient);
- else if (_setGradientMethod != null)
- _setGradientMethod.Invoke(null, new object[] { gradient });
- }, "SetCurrentGradient");
- }
-
- [System.Diagnostics.Conditional("UNITY_EDITOR")]
- public static void RefreshGradientData()
- {
- ExecuteAction(() =>
- {
- if (_refreshDelegate != null)
- _refreshDelegate();
- else if (_refreshMethod != null)
- _refreshMethod.Invoke(null, null);
- }, "RefreshGradientData");
- }
-
- [System.Diagnostics.Conditional("UNITY_EDITOR")]
- public static void ClearGradientCache()
- {
- ExecuteAction(() =>
- {
- if (_clearCacheDelegate != null)
- _clearCacheDelegate();
- else if (_clearCacheMethod != null)
- _clearCacheMethod.Invoke(null, null);
- }, "ClearGradientCache");
- }
-
- #endregion
-
- #region 核心实现
-
- private static void ExecuteAction(Action action, string methodName)
- {
- if (!Application.isEditor) return;
-
- EnsureInitialized();
- if (!_isValid) return;
-
- try
- {
- action?.Invoke();
- }
- catch (Exception ex)
- {
- Debug.LogError($"[GradientReflection] {methodName} failed: {ex.Message}");
- // 可选择性地禁用后续调用
- // _isValid = false;
- }
- }
-
- private static void EnsureInitialized()
- {
- if (_initialized) return;
-
- lock (_initLock)
- {
- if (_initialized) return;
-
- try
- {
- // 1. 初始化 GradientPicker 类型
- _gradientPickerType = Type.GetType("UnityEditor.GradientPicker, UnityEditor");
- if (_gradientPickerType != null)
- {
- // 初始化 SetCurrentGradient
- _setGradientMethod = GetStaticMethod(
- _gradientPickerType,
- "SetCurrentGradient",
- new[] { typeof(Gradient) }
- );
- if (_setGradientMethod != null)
- {
- _setGradientDelegate = CreateActionDelegate(_setGradientMethod);
- }
-
- // 初始化 RefreshGradientData
- _refreshMethod = GetStaticMethod(
- _gradientPickerType,
- "RefreshGradientData",
- Type.EmptyTypes
- );
- if (_refreshMethod != null)
- {
- _refreshDelegate = CreateActionDelegate(_refreshMethod);
- }
- }
- else
- {
- Debug.LogWarning("[GradientReflection] GradientPicker type not found");
- }
-
- // 2. 初始化 GradientPreviewCache
- _gradientCacheType = Type.GetType("UnityEditorInternal.GradientPreviewCache, UnityEditor");
- if (_gradientCacheType != null)
- {
- _clearCacheMethod = GetStaticMethod(
- _gradientCacheType,
- "ClearCache",
- Type.EmptyTypes
- );
- if (_clearCacheMethod != null)
- {
- _clearCacheDelegate = CreateActionDelegate(_clearCacheMethod);
- }
- }
- else
- {
- Debug.LogWarning("[GradientReflection] GradientPreviewCache type not found");
- }
-
- // 3. 验证初始化状态
- _isValid = (_setGradientMethod != null || _refreshMethod != null) &&
- _clearCacheMethod != null;
-
- if (!_isValid)
- {
- Debug.LogWarning($"[GradientReflection] Initialization incomplete. " +
- $"SetCurrentGradient: {(_setGradientMethod != null ? "OK" : "Missing")}, " +
- $"RefreshGradientData: {(_refreshMethod != null ? "OK" : "Missing")}, " +
- $"ClearCache: {(_clearCacheMethod != null ? "OK" : "Missing")}");
- }
- else
- {
- // Debug.Log("[GradientReflection] Initialized successfully");
- }
- }
- catch (Exception e)
- {
- Debug.LogError($"[GradientReflection] Initialization failed: {e}");
- _isValid = false;
- }
- finally
- {
- _initialized = true;
- }
- }
- }
-
- private static MethodInfo GetStaticMethod(Type type, string methodName, Type[] parameterTypes)
- {
- if (type == null) return null;
-
- return type.GetMethod(
- methodName,
- BindingFlags.Public | BindingFlags.Static,
- null,
- parameterTypes,
- null
- );
- }
-
- private static Action CreateActionDelegate(MethodInfo method)
- {
- try
- {
- return (Action)Delegate.CreateDelegate(typeof(Action), method);
- }
- catch (Exception ex)
- {
- Debug.LogWarning($"[GradientReflection] Failed to create delegate for {method.Name}: {ex.Message}");
- return null;
- }
- }
-
- private static Action CreateActionDelegate(MethodInfo method)
- {
- try
- {
- return (Action)Delegate.CreateDelegate(typeof(Action), method);
- }
- catch (Exception ex)
- {
- Debug.LogWarning($"[GradientReflection] Failed to create delegate for {method.Name}: {ex.Message}");
- return null;
- }
- }
-
- #endregion
-
- #region 辅助功能
-
- ///
- /// 检查是否所有反射方法都可用
- ///
- public static bool IsFullySupported => _isValid;
-
- ///
- /// 获取反射初始化状态
- ///
- public static string GetReflectionStatus()
- {
- if (!_initialized) return "Not Initialized";
-
- return $"GradientPicker: {(_gradientPickerType != null ? "Found" : "Missing")}\n" +
- $"- SetCurrentGradient: {(_setGradientMethod != null ? "OK" : "Missing")}\n" +
- $"- RefreshGradientData: {(_refreshMethod != null ? "OK" : "Missing")}\n" +
- $"GradientPreviewCache: {(_gradientCacheType != null ? "Found" : "Missing")}\n" +
- $"- ClearCache: {(_clearCacheMethod != null ? "OK" : "Missing")}";
- }
-
- #endregion
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/GradientRefletctionHelper.cs.meta b/Packages/XuanXuanRenderUtility/Editor/GradientRefletctionHelper.cs.meta
deleted file mode 100644
index 1b399df3..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/GradientRefletctionHelper.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: ebe6cf7ae30f4357bae940f8ce409628
-timeCreated: 1753589587
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/MaterialPropertyAgentInspector.cs b/Packages/XuanXuanRenderUtility/Editor/MaterialPropertyAgentInspector.cs
deleted file mode 100644
index 02e2d9a7..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/MaterialPropertyAgentInspector.cs
+++ /dev/null
@@ -1,236 +0,0 @@
-using UnityEditor;
-using UnityEngine;
-using UnityEditor.Experimental.GraphView;
-using System;
-using System.Collections.Generic;
-
-// #if UNITY_EDITOR
-[CustomEditor(typeof(MaterialPropertyAgent))]
-public class MaterialPropertyAgentInspector : UnityEditor.Editor
-{
- private MaterialPropertyAgent agent;
-
- private void OnEnable()
- {
- agent = (MaterialPropertyAgent)target;
- }
-
- private GUIContent materialIndexContent = new GUIContent("材质序号:", "只有模型模式下需要使用,谨慎修改");
- public override void OnInspectorGUI()
- {
- serializedObject.Update();
- EditorGUI.BeginChangeCheck();
- if (!agent.isGetByComponet)
- {
- EditorGUILayout.PropertyField(serializedObject.FindProperty("customRenderer"),new GUIContent("指定Renderer"));
- }
- if (agent.isRendererMode)
- {
- EditorGUILayout.BeginHorizontal();
- int lastIndex = agent.materialIndex;
- agent.materialIndex = EditorGUILayout.IntField(materialIndexContent ,agent.materialIndex);
- if (lastIndex != agent.materialIndex)
- {
- agent.initMatAndShaderByMaterialIndexChange();
- }
- EditorGUILayout.LabelField("材质名:"+agent.mat.name+"\t"+"Shader名:"+agent.shader.name);
- EditorGUILayout.EndHorizontal();
- }
-
- DrawPropertyData(ref agent.data0, "Data0", serializedObject.FindProperty("data0"));
- DrawPropertyData(ref agent.data1, "Data1", serializedObject.FindProperty("data1"));
- DrawPropertyData(ref agent.data2, "Data2", serializedObject.FindProperty("data2"));
- DrawPropertyData(ref agent.data3, "Data3", serializedObject.FindProperty("data3"));
- DrawPropertyData(ref agent.data4, "Data4", serializedObject.FindProperty("data4"));
- DrawPropertyData(ref agent.data5, "Data5", serializedObject.FindProperty("data5"));
- EditorGUILayout.BeginHorizontal();
- if (GUILayout.Button("添加"))
- {
- agent.addProperteData();
- }
- if (GUILayout.Button("全部删除"))
- {
- agent.removeAllProperty();
- }
- EditorGUILayout.EndHorizontal();
- serializedObject.ApplyModifiedProperties();
- if (EditorGUI.EndChangeCheck())
- {
- PrefabUtility.RecordPrefabInstancePropertyModifications(agent);
- if (!agent.isGetByComponet && agent.mat)
- {
- if(matEditor) DestroyImmediate(matEditor);
- matEditor = (MaterialEditor)CreateEditor(agent.mat);
- }
- }
-
- if (!agent.isGetByComponet && agent.mat)
- {
- DrawMaterialInspector(matEditor,agent.mat);
- }
- }
-
- void DrawPropertyData(ref MaterialPropertyAgent.PropertyData data, string dataLabel, SerializedProperty property)
- {
- EditorGUI.BeginProperty(EditorGUILayout.GetControlRect(false, 0f), GUIContent.none, property);
- if (data.isActive)
- {
- EditorGUILayout.LabelField(dataLabel, EditorStyles.boldLabel);
-
- EditorGUI.indentLevel++;
-
- EditorGUILayout.BeginHorizontal();
- float originLabelWidth = EditorGUIUtility.labelWidth;
- EditorGUIUtility.labelWidth = 80;
- // data.index = EditorGUILayout.Popup("属性名:", data.index, agent.shaderPropNameArr);
- // data.index = EditorGUILayout.Popup("属性名:", data.index, agent.shaderPropDescripArr);
- // string dataDesript = data.descripName;
- if (GUILayout.Button(data.descripName, EditorStyles.popup))
- {
- int dataIndexInAgent = data.dataIndexInAgent;
-
- StringListSerchProvider provider = ScriptableObject.CreateInstance();
- provider.Initialize(agent.shaderPropDescripsForSerch, (x) =>
- {
- if (x != null)
- {
- AfterShaderPropSerch(dataIndexInAgent,x);
- }
- });
- SearchWindow.Open(new SearchWindowContext(GUIUtility.GUIToScreenPoint(Event.current.mousePosition)), provider);
- // SearchWindow.Open(new SearchWindowContext(GUIUtility.GUIToScreenPoint(Event.current.mousePosition)),
- // new StringListSerchProvider(agent.shaderPropDescripsForSerch, (x) =>
- // {
- // if (x != null)
- // {
- // AfterShaderPropSerch(dataIndexInAgent,x);
- // }
- // }));
- }
-
-
-
- EditorGUILayout.LabelField("属性类型:", data.type.ToString());
-
- EditorGUILayout.EndHorizontal();
- EditorGUIUtility.labelWidth = originLabelWidth;
- switch (data.type)
- {
- case MaterialPropertyAgent.shaderPropertyType.Color:
- SerializedProperty colorProp = property.FindPropertyRelative("colorValue");
- if (data.descripName.ToLower().Contains("hdr"))
- {
- colorProp.colorValue = EditorGUILayout.ColorField(new GUIContent(data.propName + " :") , colorProp.colorValue,true,true,true);
- }
- else
- {
- colorProp.colorValue = EditorGUILayout.ColorField(data.propName + " :", colorProp.colorValue);
- }
- break;
- case MaterialPropertyAgent.shaderPropertyType.Vector:
- case MaterialPropertyAgent.shaderPropertyType.TexEnv:
- SerializedProperty vecProp = property.FindPropertyRelative("vecValue");
- if (data.type == MaterialPropertyAgent.shaderPropertyType.Vector)
- {
- vecProp.vector4Value = EditorGUILayout.Vector4Field(data.propName + " :", vecProp.vector4Value);
- }
- else if (data.type == MaterialPropertyAgent.shaderPropertyType.TexEnv)
- {
- vecProp.vector4Value = EditorGUILayout.Vector4Field(data.propName + ":", vecProp.vector4Value);
-
- }
- break;
- case MaterialPropertyAgent.shaderPropertyType.Float:
- case MaterialPropertyAgent.shaderPropertyType.Range:
- SerializedProperty floatProp = property.FindPropertyRelative("floatValue");
- if (data.type == MaterialPropertyAgent.shaderPropertyType.Float)
- {
- floatProp.floatValue = EditorGUILayout.FloatField(data.propName + ":", floatProp.floatValue);
- }
- else if (data.type == MaterialPropertyAgent.shaderPropertyType.Range)
- {
- floatProp.floatValue = EditorGUILayout.Slider(data.propName + ":", floatProp.floatValue, data.rangMin, data.rangMax);
-
- }
- break;
-
- }
-
- if (GUILayout.Button("删除", new[] { GUILayout.Width(200) }))
- {
- data.isActive = false;
- }
- EditorGUI.indentLevel--;
- // EditorGUILayout.Space();
- }
- EditorGUI.EndProperty();
- }
-
- //因为Action不能有Ref。所以有了这个丑陋的HardCode
- public void AfterShaderPropSerch(int dataIndexInAgent, string propertyDesrpt)
- {
- switch (dataIndexInAgent)
- {
- case 0:
- AfterShaderPropSerch(ref agent.data0,propertyDesrpt);
- break;
- case 1:
- AfterShaderPropSerch(ref agent.data1,propertyDesrpt);
- break;
- case 2:
- AfterShaderPropSerch(ref agent.data2,propertyDesrpt);
- break;
- case 3:
- AfterShaderPropSerch(ref agent.data3,propertyDesrpt);
- break;
- case 4:
- AfterShaderPropSerch(ref agent.data4,propertyDesrpt);
- break;
- case 5:
- AfterShaderPropSerch(ref agent.data5,propertyDesrpt);
- break;
-
-
- }
- }
-
- public void AfterShaderPropSerch(ref MaterialPropertyAgent.PropertyData data, string propertyDesrpt)
- {
- int preservedIndex = data.index;
- // string propname = data.propName;
- data.index = Array.FindIndex(agent.shaderPropDescripArr, x=> x.Equals(propertyDesrpt) );
- // Debug.Log();
- if (preservedIndex != data.index)//证明用户进行了更改
- {
- if (!agent.isCanUsedIndex(data.index))
- {
- //TODO给一个报错提示
- Debug.LogError("材质属性已经存在:" + ShaderUtil.GetPropertyDescription(agent.shader, data.index));
- data.index = agent.getCanUsedIndex();
- }
- //此处进行内容刷新
- data.setValueByPropChange();
- }
- }
-
- private MaterialEditor matEditor;
- void DrawMaterialInspector(MaterialEditor editor,Material mat)
- {
- if (editor != null && mat != null)
- {
- // Draw the material's foldout and the material shader field
- // Required to call _materialEditor.OnInspectorGUI ();
- editor.DrawHeader();
- // We need to prevent the user to edit Unity default materials
- bool isDefaultMaterial = !AssetDatabase.GetAssetPath (mat).StartsWith ("Assets");
- using (new EditorGUI.DisabledGroupScope(isDefaultMaterial)) {
-
- // Draw the material properties
- // Works only if the foldout of _materialEditor.DrawHeader () is open
- editor.OnInspectorGUI ();
- }
- }
- }
-
-}
-// #endif
diff --git a/Packages/XuanXuanRenderUtility/Editor/MaterialPropertyAgentInspector.cs.meta b/Packages/XuanXuanRenderUtility/Editor/MaterialPropertyAgentInspector.cs.meta
deleted file mode 100644
index 94c4f3b2..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/MaterialPropertyAgentInspector.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: b9544bec10c84ecca289bece4a630d65
-timeCreated: 1702126025
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIHelper.cs b/Packages/XuanXuanRenderUtility/Editor/ShaderGUIHelper.cs
deleted file mode 100644
index c0a1cd50..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIHelper.cs
+++ /dev/null
@@ -1,1946 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.AnimatedValues;
-// using UnityEditor.Rendering.Universal.ShaderGUI;
-using UnityEngine;
-using Random = UnityEngine.Random;
-using System.Reflection;
-using UnityEngine.UIElements;
-using UnityEditor;
-namespace NBShaderEditor
-{
- /*
- 多选材质面板的原则记录:
- 0、多选后 同时只会有1个matEditor。每个属性只会有一个MaterialProperty。但会有多个Mat以及Mat属性值。会有多个ShaderFlag以及ShaderFlag值。
- 1、当多选后,属性处于Mixed状态时。对propety.Value进行设置是不合法的。只有非Mixed状态才会完全设置。包括这样对property.Value值进行判断也是非法的。如果在不确定Mixed的情况下,应该通过遍历Mats[i].Get或Set进行操作。Flag亦同理。
- 2、drawBlock应该都传Property,让DrawBlock内能知道Mixed状态。然后在Block内需要判断状态是否明确才进行相关的操作。
- 3、drawBlock一般放需要绘制的行为。对数值修改的行为统一放到OnValueChangeCheckBlock。
- 4、所有在GUI上存储,并需要后续判断的状态,需要可以标记mixed状态。如果是枚举,需要有一个指定为-1的UnKnownOrMixed枚举。如果是bool,应该改为int值,并规定-1为UnKnownOrMixed状态。
- 5、对于属性值的更改设定,都应该在OnValueChange的情况下进行。
- 6、对于Toggle作用的方法,均应该有EditorOnly的Property进行标记Toggle储存。Keywords或者Flag应该是设定结果,而非Toggle标记。
- 7、DrawVectorComponent这种多个GUI公用一个property属性的情况,需要有手动的提供各个Component是否是Mixed的方案。
- */
- public class ShaderGUIHelper
- {
- public ShaderGUIHelper()
- {
- Undo.undoRedoPerformed += OnUndoRedoPerformed;
- }
- private void OnUndoRedoPerformed()//定义一个Undo回调
- {
- if(!shader) return;//会有一些空的Helper对象
- DrawGradientUndoPerformed();
- ResetTool?.NeedUpdate();
- }
-
- public class ShaderPropertyPack
- {
- public MaterialProperty property;
- public string name;
- public int index;
- }
-
- public List mats;
- public MaterialEditor matEditor;
- public Shader shader;
- // public List ShaderPropertyPacks = new List();
- public Dictionary ShaderPropertyPacksDic =
- new Dictionary();
- public ShaderFlagsBase[] shaderFlags = null;
-
- public bool isClearUnUsedTexture = false;
-
- Color defaultBackgroundColor;
- Color animatedBackgroundColor=>Color.red;
-
- public void Init(MaterialEditor materialEditor, MaterialProperty[] properties,
- ShaderFlagsBase[] shaderFlags_in = null, List mats_in = null)
- {
- defaultBackgroundColor = GUI.backgroundColor;
- shaderFlags = shaderFlags_in;
- // ShaderPropertyPacks.Clear();
- matEditor = materialEditor;
- mats = mats_in;
- if (mats[0].shader != shader)
- {
- shader = mats[0].shader;
- ShaderPropertyPacksDic.Clear();
- for (int i = 0; i < ShaderUtil.GetPropertyCount(shader); i++)
- {
- ShaderPropertyPack pack = new ShaderPropertyPack();
- pack.name = ShaderUtil.GetPropertyName(shader, i);
- for (int index = 0; index < properties.Length; ++index)
- {
- if (properties[index] != null && properties[index].name == pack.name)
- {
- pack.property = properties[index];
- pack.index = index;
- break;
- }
- else
- {
- if (index == properties.Length - 1)
- {
- Debug.LogError(pack.name + "找不到Properties");
- }
- }
- }
-
- // ShaderPropertyPacks.Add(pack);
- ShaderPropertyPacksDic.Add(pack.name,pack);
- }
- }
- else
- {
- for (int i = 0; i < ShaderUtil.GetPropertyCount(shader); i++)
- {
- string propertyName = ShaderUtil.GetPropertyName(shader, i);
- ShaderPropertyPacksDic[propertyName].property = properties[i];
- }
-
- }
-
-
- if (ResetTool == null)
- {
- ResetTool = new ShaderGUIResetTool(this);
- }
- else
- {
- ResetTool.EndInit();
- ResetTool.Update();
- }
-
- isClearUnUsedTexture = false;
-
- }
-
- private ShaderGUIToolBar _toolBar;
-
- public ShaderGUIResetTool ResetTool;
- public List renderersUsingThisMaterial = new List();
-
- public bool IsPropertyAnimated(string propertyName,params string[] componentNames)
- {
- if (AnimationMode.InAnimationMode())
- {
- string propertyPath = "material." + propertyName;
-
- foreach (var r in renderersUsingThisMaterial)
- {
- if (componentNames.Length > 0)
- {
- foreach (var component in componentNames)
- {
- string propertyPathWithComponent = propertyPath +"." +component;
- if (AnimationMode.IsPropertyAnimated(r, propertyPathWithComponent))
- {
- return true;
- }
- }
- }
- else
- {
- if (AnimationMode.IsPropertyAnimated(r, propertyPath))
- {
- // Debug.Log(propertyName);
- return true;
- }
- }
- }
- }
-
- return false;
- }
-
- public void DrawToolBar()
- {
- if (_toolBar == null) _toolBar = new ShaderGUIToolBar(this);
- _toolBar.DrawToolbar();
- }
-
- public void DrawToggleFoldOut(int foldOutFlagBit,int foldOutFlagIndex, int animBoolIndex,string label, string propertyName,
- int flagBitsName = 0,
- int flagIndex = 0, string shaderKeyword = null, string shaderPassName = null, bool isIndentBlock = true, FontStyle fontStyle = FontStyle.Normal,
- Action drawBlock = null,Action drawEndChangeCheck = null,bool isSharedGlobalParent = false)
- {
- bool foldOutState = shaderFlags[0].CheckFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- AnimBool animBool = GetAnimBool(foldOutFlagBit, animBoolIndex, foldOutFlagIndex); //foldOut里的第一组。
- animBool.target = foldOutState;
- DrawToggleFoldOut(ref animBool, label, propertyName, flagBitsName, flagIndex, shaderKeyword,
- shaderPassName, isIndentBlock, fontStyle, drawBlock, drawEndChangeCheck,isSharedGlobalParent:isSharedGlobalParent);
- foldOutState = animBool.target;
- if (foldOutState)
- {
- shaderFlags[0].SetFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- else
- {
- shaderFlags[0].ClearFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- }
-
- public void ColorProperty(string label, string propertyName,bool showAlpha = true)
- {
- EditorGUILayout.BeginHorizontal();
- ShaderPropertyPack shaderPropertyPack = ShaderPropertyPacksDic[propertyName];
- MaterialProperty prop = shaderPropertyPack.property;
- Color color = shaderPropertyPack.property.colorValue;
- Rect position = EditorGUILayout.GetControlRect();
- // MaterialEditor.BeginProperty(position, prop);
-
- EditorGUI.BeginChangeCheck();
- bool hdr = (prop.propertyFlags & UnityEngine.Rendering.ShaderPropertyFlags.HDR) != 0;
- if (IsPropertyAnimated(propertyName,"r","g","b","a"))
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- color = EditorGUI.ColorField(position, new GUIContent(label), prop.colorValue, true, showAlpha, hdr);
- GUI.backgroundColor = defaultBackgroundColor;
- Action onEndChaneChange = () =>
- {
- prop.colorValue = color;
- ResetTool.CheckOnValueChange((label,propertyName));
- };
- if (EditorGUI.EndChangeCheck())
- {
- onEndChaneChange();
- }
- ResetTool.DrawResetModifyButton(new Rect(),(label,shaderPropertyPack.name),shaderPropertyPack,resetAction: () =>
- {
- color = prop.colorValue;
- },onValueChangedCallBack: onEndChaneChange);
- // MaterialEditor.EndProperty();
- // matEditor.ColorProperty(GetProperty(propertyName), label);
-
- EditorGUILayout.EndHorizontal();
- ResetTool.EndResetModifyButtonScope();
- }
-
- public void DrawBigBlockFoldOut(int foldOutFlagBit,int foldOutFlagIndex,int animBoolIndex ,string label, Action drawBlock,bool isResetButtonBias = true)
- {
- EditorGUILayout.Space();
- DrawFoldOut(foldOutFlagBit,foldOutFlagIndex,animBoolIndex, label,FontStyle.Bold, drawBlock,isResetButtonBias);
- GuiLine();
- }
-
- private AnimBool[] animBoolArr = new AnimBool[96];//先假定有3组。和存好的bit一一对应。
-
- public AnimBool GetAnimBool(int flagBit, int AnimBoolIndex,int flagIndex)
- {
- int bitPos = 0;
- for (int i = 0; i < 32; i++)
- {
- if ((flagBit & (1 << i)) > 0)
- {
- bitPos = i;
- break;
- }
- }
- int arrIndex = AnimBoolIndex * 32 + bitPos;
- // Debug.Log(arrIndex.ToString() +"---"+ animBoolArr[arrIndex]);
- if (animBoolArr[arrIndex] == null)
- {
- animBoolArr[arrIndex] = new AnimBool(shaderFlags[0].CheckFlagBits(flagBit,index:flagIndex));
- }
-
- return animBoolArr[arrIndex];
- }
-
- public void DrawFoldOut(int foldOutFlagBit,int foldOutFlagIndex,int animBoolIndex, String label,FontStyle fontStyle = FontStyle.Normal, Action drawBlock = null,bool isResetButtonBias = true)
- {
- bool foldOutState = shaderFlags[0].CheckFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- AnimBool animBool = GetAnimBool(foldOutFlagBit, animBoolIndex, foldOutFlagIndex);
- animBool.target = foldOutState;
-
- EditorGUILayout.BeginHorizontal();
- var rect = EditorGUILayout.GetControlRect();
- var foldoutRect = new Rect(rect.x, rect.y, rect.width, rect.height);
- foldoutRect.width -= 2 * ResetTool.ResetButtonSize;
- var labelRect = new Rect(rect.x + 2f, rect.y, rect.width - 2f, rect.height);
- var resetRect = rect;
- resetRect.x = rect.x + rect.width - ResetTool.ResetButtonSize ;
- if (isResetButtonBias) resetRect.x -= 3f;
- resetRect.width = ResetTool.ResetButtonSize;
-
- animBool.target = EditorGUI.Foldout(foldoutRect, animBool.target, string.Empty, true);
-
- FontStyle origFontStyle = EditorStyles.label.fontStyle;
- EditorStyles.label.fontStyle = fontStyle;
- EditorGUI.LabelField(labelRect, label);
- EditorStyles.label.fontStyle = origFontStyle;
-
- ResetTool.DrawResetModifyButton(resetRect,label);
- EditorGUILayout.EndHorizontal();
-
- float faded = animBool.faded;
- if (faded == 0) faded = 0.00001f;
- EditorGUILayout.BeginFadeGroup(faded);
- EditorGUI.indentLevel++;
- drawBlock?.Invoke();
- EditorGUI.indentLevel--;
- EditorGUILayout.EndFadeGroup();
- foldOutState = animBool.target;
- if (foldOutState)
- {
- shaderFlags[0].SetFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- else
- {
- shaderFlags[0].ClearFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- ResetTool.EndResetModifyButtonScope();
- }
-
- public void DrawBigBlockWithToggle(String label, string propertyName, int flagBitsName = 0, int flagIndex = 0,
- string shaderKeyword = null, string shaderPassName = null, string shaderPassName2 = null,
- Action drawBlock = null)
- {
-
- DrawToggle(label, propertyName, flagBitsName, flagIndex, shaderKeyword, shaderPassName, shaderPassName2,
- isIndentBlock: true, FontStyle.Bold, drawBlock: drawBlock);
- GuiLine();
-
- }
-
- public void DrawToggleFoldOut(ref AnimBool foldOutAnimBool, String label, string propertyName,
- int flagBitsName = 0,
- int flagIndex = 0, string shaderKeyword = null, string shaderPassName = null, bool isIndentBlock = true,
- FontStyle fontStyle = FontStyle.Normal,
- Action drawBlock = null, Action drawEndChangeCheck = null,bool isSharedGlobalParent = false)
- {
- ShaderPropertyPack propertyPack = ShaderPropertyPacksDic[propertyName];
- MaterialProperty toggleProp = GetProperty(propertyName);
-
- if (fontStyle == FontStyle.Bold)
- {
- EditorGUILayout.Space();
- }
-
- EditorGUILayout.BeginHorizontal();
- var rect = EditorGUILayout.GetControlRect();
- var toggleRect = rect;
- toggleRect.x += EditorGUIUtility.labelWidth;
- toggleRect.width -= EditorGUIUtility.labelWidth;
-
- var foldoutRect = new Rect(rect.x, rect.y, rect.width, rect.height);
- foldoutRect.width = toggleRect.x - foldoutRect.x;
- var labelRect = new Rect(rect.x , rect.y, rect.width , rect.height);
-
- // bool isToggle = false;
- // 必须先画Toggle,不然按钮会被FoldOut和Label覆盖。
- DrawToggle(string.Empty, propertyName, flagBitsName, flagIndex, shaderKeyword, shaderPassName, isIndentBlock: false, fontStyle: FontStyle.Normal, rect: toggleRect, drawEndChangeCheck: drawEndChangeCheck,isSharedGlobalParent:isSharedGlobalParent);
-
- foldOutAnimBool.target = EditorGUI.Foldout(foldoutRect, foldOutAnimBool.target, string.Empty, true);
- var origFontStyle = EditorStyles.label.fontStyle;
- EditorStyles.label.fontStyle = fontStyle;
-
- EditorGUI.LabelField(labelRect, label);
- EditorStyles.label.fontStyle = origFontStyle;
- EditorGUILayout.EndHorizontal();
- if (isIndentBlock) EditorGUI.indentLevel++;
- float faded = foldOutAnimBool.faded;
- if (faded == 0) faded = 0.00001f; //用于欺骗FadeGroup,不要让他真的关闭了。这样会藏不住相关的GUI。我们的目的是,GUI藏住,但是逻辑还是在跑。drawBlock要执行。
- EditorGUILayout.BeginFadeGroup(faded);
- {
- bool isDisabledGroup = toggleProp.hasMixedValue || toggleProp.floatValue < 0.5f;
- EditorGUI.BeginDisabledGroup(isDisabledGroup);
- drawBlock?.Invoke(toggleProp);
- EditorGUI.EndDisabledGroup();
- }
- EditorGUILayout.EndFadeGroup();
- if (isIndentBlock) EditorGUI.indentLevel--;
-
- ResetTool.EndResetModifyButtonScope();//开始是在DrawToggle里开始的
-
- }
-
- public void DrawToggle(String label, string propertyName, int flagBitsName = 0, int flagIndex = 0,
- string shaderKeyword = null, string shaderPassName = null, string shaderPassName2 = null,
- bool isIndentBlock = true, FontStyle fontStyle = FontStyle.Normal, Rect rect = new Rect(),
- Action drawBlock = null, Action drawEndChangeCheck = null,bool isSharedGlobalParent = false)
- {
- if (GetProperty(propertyName) == null)
- return;
-
- if (fontStyle == FontStyle.Bold)
- {
- EditorGUILayout.Space();
- }
-
- MaterialProperty toggleProperty = GetProperty(propertyName);
- ShaderPropertyPack propertyPack = ShaderPropertyPacksDic[propertyName];
- EditorGUI.showMixedValue = toggleProperty.hasMixedValue;
-
- EditorGUI.BeginChangeCheck();
- bool isToggle = toggleProperty.floatValue > 0.5f ? true : false;
- var origFontStyle = EditorStyles.label.fontStyle;
- EditorStyles.label.fontStyle = fontStyle;
- Rect resetButtonRect = rect;
- if (label.Length == 0) //给FoldOut功能使用。
- {
- rect.x += 2f;
- isToggle = EditorGUI.Toggle(rect, isToggle, EditorStyles.toggle);
- resetButtonRect.x = resetButtonRect.x + resetButtonRect.width - ResetTool.ResetButtonSize;
- resetButtonRect.width = ResetTool.ResetButtonSize;
- }
- else
- {
- EditorGUILayout.BeginHorizontal();
- isToggle = EditorGUILayout.Toggle(label, isToggle);
- }
-
- EditorStyles.label.fontStyle = origFontStyle;
- Action onEndChangeCheck = () =>
- {
- toggleProperty.floatValue = isToggle ? 1.0f : 0.0f;
- ResetTool.CheckOnValueChange((label,propertyName));
- if (!toggleProperty.hasMixedValue)
- {
- for (int i = 0; i < mats.Count; i++)
- {
- if (isToggle)
- {
- mats[i].SetFloat(propertyName,1);
-
- if (flagBitsName != 0 && shaderFlags[i] != null)
- {
- shaderFlags[i].SetFlagBits(flagBitsName, index: flagIndex);
- }
-
- if (shaderKeyword != null)
- {
- mats[i].EnableKeyword(shaderKeyword);
- }
-
- if (shaderPassName != null)
- {
- mats[i].SetShaderPassEnabled(shaderPassName, true);
- }
-
- if (shaderPassName2 != null)
- {
- mats[i].SetShaderPassEnabled(shaderPassName2, true);
- }
- }
- else
- {
-
- mats[i].SetFloat(propertyName,0);
-
-
- if (flagBitsName != 0 && shaderFlags[i] != null)
- {
- shaderFlags[i].ClearFlagBits(flagBitsName, index: flagIndex);
- }
-
- if (shaderKeyword != null)
- {
- mats[i].DisableKeyword(shaderKeyword);
- }
-
- if (shaderPassName != null)
- {
- mats[i].SetShaderPassEnabled(shaderPassName, false);
- }
-
- if (shaderPassName2 != null)
- {
- mats[i].SetShaderPassEnabled(shaderPassName2, false);
- }
- }
- }
- }
- drawEndChangeCheck?.Invoke(toggleProperty);
- };
- if (EditorGUI.EndChangeCheck())
- {
- onEndChangeCheck();
- }
-
-
- ResetTool.DrawResetModifyButton(resetButtonRect,(label,propertyPack.name),propertyPack,resetAction: () =>
- {
- isToggle = propertyPack.property.floatValue > 0.5f ? true : false;
- },onValueChangedCallBack:onEndChangeCheck,isSharedGlobalParent:isSharedGlobalParent);
-
- if (label.Length > 0)
- {
- EditorGUILayout.EndHorizontal();
- }
-
- if (isIndentBlock) EditorGUI.indentLevel++;
- drawBlock?.Invoke(toggleProperty);
- if (isIndentBlock) EditorGUI.indentLevel--;
-
- EditorGUI.showMixedValue = false;
- if (rect.width <= 0)
- {
- ResetTool.EndResetModifyButtonScope();//如果是DrawFoldOut,需要在DrawFoldOut里去结束。
- }
- }
-
- void RangeVecHasMixedValue(string rangePropertyName, out bool minValueHasMixed, out bool maxValueHasMixed)
- {
- minValueHasMixed = false;
- maxValueHasMixed = false;
- if (mats.Count > 1)
- {
- MaterialProperty rangeProperty = GetProperty(rangePropertyName);
- float minValue = 0;
- float maxValue = 0;
- for (int i = 0; i < mats.Count; i++)
- {
- Vector4 rangeVec = mats[i].GetVector(rangePropertyName);
- if (i == 0)
- {
- minValue = rangeVec.x;
- maxValue = rangeVec.y;
- }
- else
- {
- if (!Mathf.Approximately(minValue, rangeVec.x))
- {
- minValueHasMixed = true;
- }
-
- if (!Mathf.Approximately(maxValue, rangeVec.y))
- {
- maxValueHasMixed = true;
- }
- }
- }
- }
- }
-
- bool RangePropIsDefaultValue(string rangePropertyName)
- {
- MaterialProperty rangeProperty = GetProperty(rangePropertyName);
- return mats[0].GetVector(rangePropertyName) == shader.GetPropertyDefaultVectorValue(ShaderPropertyPacksDic[rangePropertyName].index) && !rangeProperty.hasMixedValue;
- }
-
- void DrawSlider(string label, ref float value,ref float min,ref float max,bool isValueMixed,string rangePropertyName = null,bool propIsAnimated = false)
- {
- if (rangePropertyName == null)
- {
- EditorGUI.showMixedValue = isValueMixed;
- if (propIsAnimated) GUI.backgroundColor = animatedBackgroundColor;
- value = EditorGUILayout.Slider(label,value,min,max);
- GUI.backgroundColor = defaultBackgroundColor;
- EditorGUI.showMixedValue = false;
- }
- else
- {
- Rect rect = EditorGUILayout.GetControlRect();
- Rect labelRect = rect;
- labelRect.width = EditorGUIUtility.labelWidth;
- Rect valueRect = rect;
- valueRect.x += EditorGUIUtility.labelWidth;
- valueRect.width -= EditorGUIUtility.labelWidth;
- // EditorGUI.DrawRect(valueRect,Color.red);
- float rangeWidth = 50f;
- Rect minRect = valueRect;
- minRect.width = rangeWidth;
- minRect.x -= indent;
- minRect.width += indent;
- // EditorGUI.DrawRect(minRect,Color.green);
- Rect maxRect = valueRect;
- maxRect.x += valueRect.width;
- maxRect.x -= rangeWidth;
- maxRect.width = rangeWidth;
- maxRect.x -= indent;
- maxRect.width += indent;
- valueRect.x += rangeWidth;
- valueRect.width -= 2*rangeWidth;
- valueRect.x -= indent;
- valueRect.width += indent;
- valueRect.x += 4f;
- valueRect.width -= 8f;
- EditorGUI.LabelField(labelRect, label);
-
- RangeVecHasMixedValue(rangePropertyName,out bool minValueHasMixed,out bool maxValueHasMixed);
-
- EditorGUI.showMixedValue = minValueHasMixed;
- min = EditorGUI.FloatField(minRect, GUIContent.none, min);
- EditorGUI.showMixedValue = maxValueHasMixed;
- max = EditorGUI.FloatField(maxRect, GUIContent.none, max);
- EditorGUI.showMixedValue = isValueMixed;
- if (propIsAnimated)
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- value = EditorGUI.Slider(valueRect, value, min, max);
- GUI.backgroundColor = defaultBackgroundColor;
- EditorGUI.showMixedValue = false;
- }
- }
-
- public void DrawSlider(string label, string propertyName,float min = 0,float max = 1,string rangePropertyName = null, Action drawBlock = null)
- {
- bool hasMixedValue = GetProperty(propertyName).hasMixedValue;
- float f = GetProperty(propertyName).floatValue;
- bool customedRange = rangePropertyName != null;
- Vector4 rangeVec = Vector4.zero;
- if (customedRange)
- {
- rangeVec = GetProperty(rangePropertyName).vectorValue;
- }
- EditorGUILayout.BeginHorizontal();
- EditorGUI.BeginChangeCheck();
- if (IsPropertyAnimated(propertyName))
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
-
- bool isPropAnimated = IsPropertyAnimated(propertyName);
- if (customedRange)
- {
- DrawSlider(label, ref f, ref rangeVec.x,ref rangeVec.y,hasMixedValue,rangePropertyName,isPropAnimated);
- }
- else
- {
- DrawSlider(label, ref f, ref min,ref max,hasMixedValue,propIsAnimated:isPropAnimated);
- }
-
- GUI.backgroundColor = defaultBackgroundColor;
- Action endChangCallBack= () =>
- {
- GetProperty(propertyName).floatValue = f;
- if (customedRange)
- {
- GetProperty(rangePropertyName).vectorValue = rangeVec;
- }
- ResetTool.CheckOnValueChange((label,propertyName));
- };
- EditorGUI.showMixedValue = false;
- if (EditorGUI.EndChangeCheck())
- {
- endChangCallBack.Invoke();
- }
- ResetTool.DrawResetModifyButton(new Rect(),(label,propertyName),resetCallBack: () =>
- {
- f = shader.GetPropertyDefaultFloatValue(ShaderPropertyPacksDic[propertyName].index);
- if (customedRange)
- {
- rangeVec = shader.GetPropertyDefaultVectorValue(ShaderPropertyPacksDic[rangePropertyName].index);
- }
- },onValueChangedCallBack: () =>
- {
- endChangCallBack();
- }
- ,checkHasModifyOnValueChange:
- () =>
- {
- bool isModify = !Mathf.Approximately(mats[0].GetFloat(propertyName),shader.GetPropertyDefaultFloatValue(ShaderPropertyPacksDic[propertyName].index));
- if (customedRange)
- {
- isModify |= !RangePropIsDefaultValue(rangePropertyName);
- }
- return isModify;
- },checkHasMixedValueOnValueChange:
- () =>
- {
- bool hasMixedValue = false;
- hasMixedValue |= GetProperty(propertyName).hasMixedValue;
- if (customedRange)
- {
- RangeVecHasMixedValue(rangePropertyName,out bool minValueHasMixed,out bool maxValueHasMixed);
- hasMixedValue |= minValueHasMixed;
- hasMixedValue |= maxValueHasMixed;
- }
- return hasMixedValue;
- });
- EditorGUILayout.EndHorizontal();
- drawBlock?.Invoke(f);
- ResetTool.EndResetModifyButtonScope();
- }
-
-
- public void DrawFloat(string label, string propertyName, bool isReciprocal = false,
- Action drawBlock = null)
- {
- EditorGUI.showMixedValue = GetProperty(propertyName).hasMixedValue;
- MaterialProperty floatProperty = GetProperty(propertyName);
- float f = floatProperty.floatValue;
- if (isReciprocal) f = 1 / f;
- EditorGUI.BeginChangeCheck();
- Action endChangeCallback = () =>
- {
- floatProperty.floatValue = f;
- ResetTool.CheckOnValueChange((label,propertyName));
- };
-
- EditorGUILayout.BeginHorizontal();
- if (IsPropertyAnimated(propertyName))
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- f = EditorGUILayout.FloatField(label, f);
- GUI.backgroundColor = defaultBackgroundColor;
-
- if (isReciprocal) f = 1 / f;
- if (EditorGUI.EndChangeCheck())
- {
- endChangeCallback.Invoke();
- }
-
- ResetTool.DrawResetModifyButton(new Rect(),(label,propertyName),ShaderPropertyPacksDic[propertyName],resetAction: () =>
- {
- f = floatProperty.floatValue;
- },onValueChangedCallBack:endChangeCallback);
- EditorGUILayout.EndHorizontal();
-
- drawBlock?.Invoke(floatProperty);
- EditorGUI.showMixedValue = false;
- ResetTool.EndResetModifyButtonScope();
- }
-
- Vector2 GetVec2InVec4(Vector4 vec4,bool isFirstLine)
- {
- if (isFirstLine)
- {
- return new Vector2(vec4.x, vec4.y);
- }
- else
- {
- return new Vector2(vec4.z, vec4.w);
- }
- }
-
- Vector4 SetVec2InVec4(Vector4 vec4,bool isFirstLine,Vector2 vec2Value)
- {
- if (isFirstLine)
- {
- vec4.x = vec2Value.x;
- vec4.y = vec2Value.y;
- return vec4;
- }
- else
- {
- vec4.z = vec2Value.x;
- vec4.w = vec2Value.y;
- return vec4;
- }
- }
-
- Vector2 GetVecInTwoLineDefaultValue(string propertyName, bool isFirstLine)
- {
- ShaderPropertyPack propertyPack = ShaderPropertyPacksDic[propertyName];
- Vector4 defaultVector = shader.GetPropertyDefaultVectorValue(propertyPack.index);
- if (isFirstLine)
- {
- return new Vector2(defaultVector.x, defaultVector.y);
- }
- else
- {
- return new Vector2(defaultVector.z, defaultVector.w);
- }
- }
-
- bool Vector4In2LineHasMixedValue(string propertyName, bool isFirstLine)
- {
- MaterialProperty matProp = GetProperty(propertyName);
- if (matProp.hasMixedValue)
- {
- Vector2 val = Vector2.zero;
- for (int i = 0; i < mats.Count; i++)
- {
- Vector2 matValue = GetVec2InVec4(mats[i].GetVector(propertyName), isFirstLine);
- if (i == 0)
- {
- val = matValue;
- }
- else
- {
- if (!val.Equals(matValue) )
- {
- return true;
- }
- }
- }
- }
-
- return false;
- }
-
- public void DrawVector4In2Line(string propertyName, string label , bool isFirstLine,
- Action drawBlock = null)
- {
- EditorGUI.showMixedValue = Vector4In2LineHasMixedValue(propertyName, isFirstLine);
- MaterialProperty property = GetProperty(propertyName);
- (string,string) nameTuple = (label,propertyName);
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.BeginHorizontal();
-
- Vector2 vec2 = GetVec2InVec4(property.vectorValue, isFirstLine);
- // vec2 = EditorGUILayout.Vector2Field(label, vec2);
- Rect rect = EditorGUILayout.GetControlRect(true);
- Rect labelRect = rect;
- labelRect.width = EditorGUIUtility.labelWidth - indent;
- EditorGUI.LabelField(labelRect, label);
- Rect vec2Rect = rect;
- vec2Rect.x += labelRect.width;
- vec2Rect.width -= labelRect.width;
- if (isFirstLine)
- {
- if (IsPropertyAnimated(propertyName, "x", "y"))
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- }
- else
- {
- if (IsPropertyAnimated(propertyName, "z", "w"))
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- }
- vec2 = EditorGUI.Vector2Field(vec2Rect,"", vec2);
- GUI.backgroundColor = defaultBackgroundColor;
-
- Action vec2OnEndChangeCheck = () =>
- {
- int shaderID = Shader.PropertyToID(propertyName);
- for (int i = 0; i < mats.Count; i++)
- {
- Vector4 vec4 = mats[i].GetVector(shaderID);
- vec4 = SetVec2InVec4(vec4, isFirstLine, vec2);
- if (mats.Count == 1)
- {
- GetProperty(propertyName).vectorValue = vec4; //为了K动画,多选不能K动画。
- }
- else
- {
- mats[i].SetVector(shaderID, vec4);
- }
- }
- ResetTool.CheckOnValueChange(nameTuple);
- };
-
-
- if (EditorGUI.EndChangeCheck())
- {
- vec2OnEndChangeCheck();
- }
- EditorGUI.showMixedValue = false;
-
- ResetTool.DrawResetModifyButton(new Rect(),nameTuple,
- resetCallBack:()=>
- {
- vec2 = GetVecInTwoLineDefaultValue(propertyName, isFirstLine);
- vec2OnEndChangeCheck();
- },
- onValueChangedCallBack:vec2OnEndChangeCheck,
- checkHasModifyOnValueChange: () => GetVec2InVec4(mats[0].GetVector(propertyName), isFirstLine) != GetVecInTwoLineDefaultValue(propertyName, isFirstLine),
- checkHasMixedValueOnValueChange:()=>Vector4In2LineHasMixedValue(propertyName, isFirstLine));
-
- drawBlock?.Invoke();
- ResetTool.EndResetModifyButtonScope();
- EditorGUILayout.EndHorizontal();
-
- }
-
- float GetCompInVec4(Vector4 vec, string comp)
- {
- float f = 0;
- switch (comp)
- {
- case "x":
- f = vec.x;
- break;
- case "y":
- f = vec.y;
- break;
- case "z":
- f = vec.z;
- break;
- case "w":
- f = vec.w;
- break;
- }
-
- return f;
- }
-
- float GetCompDefaultValueInVec4(string propertyName, string comp)
- {
- ShaderPropertyPack propertyPack = ShaderPropertyPacksDic[propertyName];
- Vector4 defaultValue = shader.GetPropertyDefaultVectorValue(propertyPack.index);
- return GetCompInVec4(defaultValue, comp);
- }
-
- Vector4 SetCompInVec4(Vector4 vec, string comp, float value)
- {
- switch (comp)
- {
- case "x":
- vec.x = value;
- break;
- case "y":
- vec.y = value;
- break;
- case "z":
- vec.z = value;
- break;
- case "w":
- vec.w = value;
- break;
- }
-
- return vec;
- }
-
- bool Vector4ComponentHasMixedValue(string propertyName, string channel)
- {
- MaterialProperty property = GetProperty(propertyName);
- if (property.hasMixedValue)
- {
- float val = 0;
- for (int i = 0; i < mats.Count; i++)
- {
- if (i == 0)
- {
- val = GetCompInVec4(mats[i].GetVector(propertyName),channel) ;
- }
- else
- {
- if (!val.Equals(GetCompInVec4(mats[i].GetVector(propertyName),channel)) )
- {
- return true;
- }
- }
- }
- }
-
- return false;
-
- }
- public void DrawVector4Component(string label, string propertyName, string channel, bool isSlider,float minValue = 0,float maxValue = 1,
- string rangeVecPropName = null, float powerSlider = 1, float multiplier = 1,
- bool isReciprocal = false, Action drawBlock = null, Action drawEndChangeCheckBlock = null)
- {
- bool hasMixedValue = Vector4ComponentHasMixedValue(propertyName, channel);
- (string, string) nameTuple = (label, propertyName);
- Vector4 vec = GetProperty(propertyName).vectorValue;
- float f = GetCompInVec4(vec, channel);
- Vector4 rangeVec = Vector4.zero;
- bool isCustomedRange = rangeVecPropName != null;
- if (isCustomedRange)
- {
- rangeVec = GetProperty(rangeVecPropName).vectorValue;
- }
- f *= multiplier;
- if (isReciprocal) f = 1 / f;
- EditorGUILayout.BeginHorizontal();
- EditorGUI.BeginChangeCheck();
- bool propIsAnimated = IsPropertyAnimated(propertyName, channel);
- if (isSlider)
- {
- if (powerSlider > 1)
- {
- if (propIsAnimated) GUI.backgroundColor = animatedBackgroundColor;
- f = PowerSlider(EditorGUILayout.GetControlRect(new GUILayoutOption[] { GUILayout.Height(18) }),
- new GUIContent(label), f, minValue, maxValue, powerSlider);
- GUI.backgroundColor = defaultBackgroundColor;
- }
- else
- {
- if (isCustomedRange)
- {
- DrawSlider(label,ref f,ref rangeVec.x,ref rangeVec.y,hasMixedValue,rangeVecPropName,propIsAnimated);
- }
- else
- {
- DrawSlider(label,ref f,ref minValue,ref maxValue,hasMixedValue,propIsAnimated:propIsAnimated);
- }
- }
- }
- else
- {
- EditorGUI.showMixedValue = hasMixedValue;
- if(propIsAnimated) GUI.backgroundColor = animatedBackgroundColor;
- f = EditorGUILayout.FloatField(label, f);
- GUI.backgroundColor = defaultBackgroundColor;
- EditorGUI.showMixedValue = false;
- }
-
- if (isReciprocal) f = 1 / f;
- f /= multiplier;
-
- Action floatVecEndChangeCheck = () =>
- {
- int id= Shader.PropertyToID(propertyName);
- for (int i = 0; i < mats.Count; i++)
- {
- Vector4 val = mats[i].GetVector(id);
- val = SetCompInVec4(val, channel, f);
- if (mats.Count == 1)
- {
- GetProperty(propertyName).vectorValue = val;//为了K动画,多选不能K动画。
- }
- else
- {
- mats[i].SetVector(id, val);
- }
- if (isCustomedRange)
- {
- mats[i].SetVector(rangeVecPropName, rangeVec);
- }
- }
-
- drawEndChangeCheckBlock?.Invoke(f, hasMixedValue);
- ResetTool.CheckOnValueChange(nameTuple);
- };
-
- if (EditorGUI.EndChangeCheck())
- {
- floatVecEndChangeCheck();
- }
-
- ResetTool.DrawResetModifyButton(new Rect(),nameTuple,
- resetCallBack:()=>
- {
- f = GetCompDefaultValueInVec4(propertyName, channel);
- if (isCustomedRange)
- {
- rangeVec = shader.GetPropertyDefaultVectorValue(ShaderPropertyPacksDic[rangeVecPropName].index);
- }
- floatVecEndChangeCheck();
- },onValueChangedCallBack:floatVecEndChangeCheck,
- checkHasModifyOnValueChange: () =>
- {
- bool isEqual = Mathf.Approximately(GetCompInVec4(mats[0].GetVector(propertyName), channel), GetCompDefaultValueInVec4(propertyName, channel));
- if (isCustomedRange)
- {
- isEqual &= RangePropIsDefaultValue(rangeVecPropName);
- }
- return !isEqual;
- },
- checkHasMixedValueOnValueChange: () =>
- {
- bool hasMixedValue = Vector4ComponentHasMixedValue(propertyName, channel);
- if (isCustomedRange)
- {
- RangeVecHasMixedValue(rangeVecPropName, out bool minValueHasMixed, out bool maxValueHasMixed);
- hasMixedValue |= minValueHasMixed;
- hasMixedValue |= maxValueHasMixed;
- }
-
- return hasMixedValue;
- });
- EditorGUILayout.EndHorizontal();
-
- drawBlock?.Invoke(f,hasMixedValue);
- ResetTool.EndResetModifyButtonScope();
- EditorGUI.showMixedValue = false;
- }
-
- public void DrawVector4XYZComponet(string label, string propertyName, Action drawBlock = null)
- {
- EditorGUI.showMixedValue = GetProperty(propertyName).hasMixedValue;
- (string, string) nameTuple = (label, propertyName);
- Vector4 originVec = GetProperty(propertyName).vectorValue;
- Vector3 vec = originVec;
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.BeginHorizontal();
- vec = EditorGUILayout.Vector3Field(label, vec);
- EditorGUI.showMixedValue = false;
- Action drawEndChangeCheck = () =>
- {
- GetProperty(propertyName).vectorValue = new Vector4(vec.x, vec.y, vec.z, originVec.w);
- ResetTool.CheckOnValueChange(nameTuple);
-
- };
- if (EditorGUI.EndChangeCheck())
- {
- drawEndChangeCheck();
- }
-
- ResetTool.DrawResetModifyButton(new Rect(),nameTuple,ShaderPropertyPacksDic[propertyName],resetAction: () =>
- {
- vec = GetProperty(propertyName).vectorValue;
- },onValueChangedCallBack:drawEndChangeCheck,vectorValeType:VectorValeType.XYZ);
- EditorGUILayout.EndHorizontal();
- drawBlock?.Invoke(vec);
- ResetTool.EndResetModifyButtonScope();
- }
-
- public enum SamplerWarpMode
- {
- Repeat,
- Clamp,
- RepeatX_ClampY,
- ClampX_RepeatY
- }
-
- public Rect GetRectAfterLabelWidth(Rect rect, bool ignoreIndent = false)
- {
- Rect rectAfterLabelWidth = MaterialEditor.GetRectAfterLabelWidth(rect); //右边缘是准的。
- Rect leftAlignedFieldRect = MaterialEditor.GetLeftAlignedFieldRect(rect); //左边缘是准的,实际有2f空隙。
- float x = leftAlignedFieldRect.x + 2f;
- float width = rectAfterLabelWidth.x + rectAfterLabelWidth.width - x;
-
- var newRec = new Rect(x, rectAfterLabelWidth.y, width, rectAfterLabelWidth.height);
-
- if (ignoreIndent)
- {
- float indent = (float)EditorGUI.indentLevel * 15f;
- newRec.x -= indent;
- newRec.width += indent;
- }
- return newRec;
- }
- public void DrawTextureFoldOut(int foldOutFlagBit,int foldOutFlagIndex,int animBoolIndex,string label, string texturePropertyName,
- string colorPropertyName = null, bool drawScaleOffset = true, bool drawWrapMode = false,
- int flagBitsName = 0, int flagIndex = 2, Action drawBlock = null)
- {
- bool foldOutState = shaderFlags[0].CheckFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- AnimBool animBool = GetAnimBool(foldOutFlagBit, animBoolIndex, foldOutFlagIndex);
- animBool.target = foldOutState;
- DrawTextureFoldOut(ref animBool, label, texturePropertyName, colorPropertyName, drawScaleOffset,
- drawWrapMode, flagBitsName, flagIndex, drawBlock);
- foldOutState = animBool.target;
- if (foldOutState)
- {
- shaderFlags[0].SetFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- else
- {
- shaderFlags[0].ClearFlagBits(foldOutFlagBit, index: foldOutFlagIndex);
- }
- }
-
-
- public void DrawTextureFoldOut(ref AnimBool foldOutAnimBool, string label, string texturePropertyName,
- string colorPropertyName = null, bool drawScaleOffset = true, bool drawWrapMode = false,
- int wrapModeFlagBitsName = 0, int flagIndex = 2, Action drawBlock = null)
- {
- // EditorGUILayout.BeginHorizontal();
- // var rect = EditorGUILayout.GetControlRect(false,68f);//MaterialEditor.GetTextureFieldHeight() => 64f;
- // var foldoutRect = new Rect(rect.x, rect.y, rect.width , rect.height);
- // var textureThumbnialRect = new Rect(rect.x , rect.y, rect.width, rect.height);
- // Texture texture = matEditor.TextureProperty(textureThumbnialRect,GetProperty(texturePropertyName), label, drawScaleOffset);
- Texture texture = TextureProperty(GetProperty(texturePropertyName), label, drawScaleOffset);
- // EditorGUILayout.EndHorizontal();
-
- if (colorPropertyName != null)
- {
- // Rect colorPropRect = GetRectAfterLabelWidth(rect, true);
- // colorPropRect.x -= EditorGUI.indentLevel
- // EditorGUI.indentLevel++;
- // Rect colorPropRect = EditorGUILayout.GetControlRect(false);
- // Color color = matEditor.ColorProperty(colorPropRect, GetProperty(colorPropertyName), "");
- ColorProperty("",colorPropertyName,true);
- // EditorGUI.indentLevel--;
- }
- var foldoutRect = EditorGUILayout.GetControlRect(false);//MaterialEditor.GetTextureFieldHeight() => 64f;
- Rect labelRect = foldoutRect;
- labelRect.width = EditorGUIUtility.labelWidth;
- EditorGUI.LabelField(labelRect, label+"相关功能", EditorStyles.boldLabel);
- foldOutAnimBool.target = EditorGUI.Foldout(foldoutRect, foldOutAnimBool.target, "", true);
- float faded = foldOutAnimBool.faded;
- if (faded == 0) faded = 0.00001f;
- EditorGUILayout.BeginFadeGroup(faded);
- EditorGUI.BeginDisabledGroup(texture == null);
-
- DrawAfterTexture(true, label, texturePropertyName, drawWrapMode, wrapModeFlagBitsName, flagIndex,
- drawBlock);
-
- EditorGUI.EndDisabledGroup();
- EditorGUILayout.EndFadeGroup();
- }
-
- public void DrawTexture(string label, string texturePropertyName, string colorPropertyName = null,
- bool drawScaleOffset = true, bool drawWrapMode = false, int wrapModeFlagBitsName = 0, int flagIndex = 2,
- Action drawBlock = null)
- {
- bool hasTexture = mats[0].GetTexture(texturePropertyName) != null;
- Texture texture = TextureProperty(GetProperty(texturePropertyName), label, drawScaleOffset);
- if (colorPropertyName != null)
- {
- ColorProperty("",colorPropertyName,true);
- }
-
- DrawAfterTexture(hasTexture, label, texturePropertyName, drawWrapMode, wrapModeFlagBitsName,
- flagIndex, drawBlock);
- }
-
- Texture TextureProperty(MaterialProperty textureProperty, string label, bool drawScaleOffset)
- {
- ShaderPropertyPack texturePropertyPack = ShaderPropertyPacksDic[textureProperty.name];
- if (!GUI.enabled && isClearUnUsedTexture&&textureProperty.textureValue)
- {
- Debug.Log("清除掉贴图:"+textureProperty.name,textureProperty.textureValue);
- texturePropertyPack.property.textureValue = null;
- }
- float indentWidth = 15f;
- float currentIndentWidth = EditorGUI.indentLevel * indentWidth;
- float singleLineHeight = EditorGUIUtility.singleLineHeight;
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.GetControlRect(GUILayout.Width(EditorGUI.indentLevel * indentWidth));
- float textureFieldHeight = 3*singleLineHeight;
- var textureRect = EditorGUILayout.GetControlRect(GUILayout.Height(textureFieldHeight),GUILayout.Width(textureFieldHeight));
-
- EditorGUILayout.BeginVertical();
- var textureLabelRect = EditorGUILayout.GetControlRect();
- textureLabelRect.x -= currentIndentWidth;
- textureLabelRect.width += currentIndentWidth;
- EditorGUI.LabelField(textureLabelRect,label,EditorStyles.boldLabel);
-
- var textureResetButtonRect = textureLabelRect;
- textureResetButtonRect.x += textureResetButtonRect.width;
- textureResetButtonRect.x -= ResetTool.ResetButtonSize;
- textureResetButtonRect.width = ResetTool.ResetButtonSize;
-
- float tillingOffsetLabelWidth = 30f;
- Rect tillingRect = EditorGUILayout.GetControlRect();
- Rect tillingVec2Rect = tillingRect;
- tillingVec2Rect.x += tillingOffsetLabelWidth;
- tillingVec2Rect.width -= tillingOffsetLabelWidth;
- tillingVec2Rect.width -= ResetTool.ResetButtonSize;
- tillingVec2Rect.width -= 2f;
- Rect tillingResetButtonRect = tillingRect;
- tillingResetButtonRect.x = tillingResetButtonRect.x + tillingResetButtonRect.width - ResetTool.ResetButtonSize;
- tillingResetButtonRect.width = ResetTool.ResetButtonSize;
- Rect offsetRect = EditorGUILayout.GetControlRect();
- Rect offsetVec2Rect = offsetRect;
- offsetVec2Rect.x += tillingOffsetLabelWidth;
- offsetVec2Rect.width -= tillingOffsetLabelWidth;
- offsetVec2Rect.width -= ResetTool.ResetButtonSize;
- offsetVec2Rect.width -= 2f;
- Rect offsetResetButtonRect = offsetRect;
- offsetResetButtonRect.x = offsetResetButtonRect.x + offsetResetButtonRect.width - ResetTool.ResetButtonSize;
- offsetResetButtonRect.width = ResetTool.ResetButtonSize;
- EditorGUILayout.EndVertical();
- EditorGUILayout.EndHorizontal();
-
- Texture texture = textureProperty.textureValue;
- Action drawTextureEndChangeCheck = () =>
- {
- textureProperty.textureValue = texture;
- ResetTool.CheckOnValueChange((label,texturePropertyPack.property.name));
- };
- EditorGUI.BeginChangeCheck();
- texture = (Texture)EditorGUI.ObjectField(textureRect,texture,typeof(Texture2D));
- if (EditorGUI.EndChangeCheck())
- {
- drawTextureEndChangeCheck();
- }
- ResetTool.DrawResetModifyButton(textureResetButtonRect,(label,texturePropertyPack.name),texturePropertyPack,resetAction: () =>
- {
- texture = null;
- },onValueChangedCallBack:drawTextureEndChangeCheck);
- ResetTool.EndResetModifyButtonScope();
-
- if (drawScaleOffset)
- {
- DrawScaleOffset(texturePropertyPack, tillingRect, tillingVec2Rect, tillingResetButtonRect, offsetRect,
- offsetVec2Rect, offsetResetButtonRect);
- }
- return texture;
- }
-
- static float indent => (float) EditorGUI.indentLevel * 15f;
- public void TextureScaleOffsetProperty(string texturePropertyName)
- {
- ShaderPropertyPack texturePropertyPack = ShaderPropertyPacksDic[texturePropertyName];
- // EditorGUILayout.BeginHorizontal();
- Rect tillingRect = EditorGUILayout.GetControlRect();
- // EditorGUILayout.EndHorizontal();
- Rect tillingLabelRect = new Rect(tillingRect.x + indent, tillingRect.y, EditorGUIUtility.labelWidth - indent, tillingRect.height);
- tillingLabelRect.width = EditorGUIUtility.labelWidth;
- Rect tillingVec2Rect = tillingRect;
- tillingVec2Rect.x += tillingLabelRect.width;
- tillingVec2Rect.x -= indent;
- tillingVec2Rect.width -= 3f;
- tillingVec2Rect.width -= tillingLabelRect.width;
- tillingVec2Rect.width += indent;
- tillingVec2Rect.width -= ResetTool.ResetButtonSize;
- Rect tillingResetButtonRect = tillingRect;
- tillingResetButtonRect.x = tillingResetButtonRect.x + tillingResetButtonRect.width - ResetTool.ResetButtonSize;
- tillingResetButtonRect.width = ResetTool.ResetButtonSize;
-
-
- Rect offsetRect = EditorGUILayout.GetControlRect();
- Rect offsetLabelRect = new Rect(offsetRect.x + indent, offsetRect.y, EditorGUIUtility.labelWidth - indent, offsetRect.height);
- offsetLabelRect.width = EditorGUIUtility.labelWidth;
- Rect offsetVec2Rect = offsetRect;
- offsetVec2Rect.x += offsetLabelRect.width;
- offsetVec2Rect.x -= indent;
- offsetVec2Rect.width -= 3f;
- offsetVec2Rect.width -= offsetLabelRect.width;
- offsetVec2Rect.width += indent;
- offsetVec2Rect.width -= ResetTool.ResetButtonSize;
- Rect offsetResetButtonRect = offsetRect;
- offsetResetButtonRect.x = offsetResetButtonRect.x + offsetResetButtonRect.width - ResetTool.ResetButtonSize;
- offsetResetButtonRect.width = ResetTool.ResetButtonSize;
-
- DrawScaleOffset(texturePropertyPack,tillingLabelRect,tillingVec2Rect,tillingResetButtonRect,offsetLabelRect,offsetVec2Rect,offsetResetButtonRect);
-
- }
-
- public void DrawScaleOffset(ShaderPropertyPack texturePropertyPack, Rect tillingRect, Rect tillingVec2Rect,
- Rect tillingResetButtonRect, Rect offsetRect, Rect offsetVec2Rect, Rect offsetResetButtonRect)
- {
- MaterialProperty textureProperty = texturePropertyPack.property;
- Vector4 tillingOffset = textureProperty.textureScaleAndOffset;
- string tillingLabel = "Tilling";
- var tillingTuple = (tillingLabel, textureProperty.name + "_ST");
- GUI.Label(tillingRect,tillingLabel);
- Vector2 tilling = new Vector2(tillingOffset.x, tillingOffset.y);
- Action drawTillingEndChangeCheck = () =>
- {
- tillingOffset.x = tilling.x;
- tillingOffset.y = tilling.y;
- textureProperty.textureScaleAndOffset = tillingOffset;
- ResetTool.CheckOnValueChange(tillingTuple);
-
- };
- EditorGUI.BeginChangeCheck();
- if (IsPropertyAnimated(tillingTuple.Item2, "x","y") )
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- tilling = EditorGUI.Vector2Field(tillingVec2Rect, "", tilling);
- GUI.backgroundColor = defaultBackgroundColor;
- if (EditorGUI.EndChangeCheck())
- {
- drawTillingEndChangeCheck();
- }
-
- ResetTool.DrawResetModifyButton(tillingResetButtonRect,tillingTuple,texturePropertyPack,resetAction: () =>
- {
- tilling = Vector2.one;
- },onValueChangedCallBack:drawTillingEndChangeCheck,VectorValeType.Tilling);
- ResetTool.EndResetModifyButtonScope();
-
- string offsetLabel = "Offset";
- var offsetTuple = (offsetLabel, textureProperty.name + "_ST");
- GUI.Label(offsetRect,offsetLabel);
- Vector2 offset = new Vector2(tillingOffset.z, tillingOffset.w);
- Action drawOffsetEndChangeCheck = () =>
- {
- tillingOffset.z = offset.x;
- tillingOffset.w = offset.y;
- textureProperty.textureScaleAndOffset = tillingOffset;
- ResetTool.CheckOnValueChange(offsetTuple);
-
- };
- EditorGUI.BeginChangeCheck();
- if (IsPropertyAnimated(offsetTuple.Item2, "z","w"))
- {
- GUI.backgroundColor = animatedBackgroundColor;
- }
- offset = EditorGUI.Vector2Field(offsetVec2Rect, "", offset);
- GUI.backgroundColor = defaultBackgroundColor;
- if (EditorGUI.EndChangeCheck())
- {
- drawOffsetEndChangeCheck();
- }
-
- ResetTool.DrawResetModifyButton(offsetResetButtonRect,offsetTuple,texturePropertyPack,resetAction: () =>
- {
- offset = Vector2.zero;
- },onValueChangedCallBack:drawOffsetEndChangeCheck,VectorValeType.Offset);
- ResetTool.EndResetModifyButtonScope();
- }
- bool WrapModeFlagHasMixedValue(int wrapModeFlagBitsName, int flagIndex)
- {
- int tmpWrapMode = 0;
- for (int i = 0; i < shaderFlags.Length; i++)
- {
- if (i == 0)
- {
- tmpWrapMode = GetWrapModeFlagValue(wrapModeFlagBitsName,flagIndex,shaderFlags[i]);
- }
- else
- {
- if (!tmpWrapMode.Equals(GetWrapModeFlagValue(wrapModeFlagBitsName, flagIndex, shaderFlags[i])))
- {
- return true;
- }
- }
- }
-
- return false;
- }
-
- int GetWrapModeFlagValue(int wrapModeFlagBitsName, int flagIndex,ShaderFlagsBase shaderFlag)
- {
- int tmpWrapMode = shaderFlag.CheckFlagBits(wrapModeFlagBitsName, index: flagIndex) ? 1 : 0;
- tmpWrapMode = shaderFlag.CheckFlagBits(wrapModeFlagBitsName << 16, index: flagIndex)
- ? tmpWrapMode + 2
- : tmpWrapMode;
- return tmpWrapMode;
- }
-
- void SetWrapModeFlagValue(int wrapModeFlagBitsName, int flagIndex,int wrapModeValue)
- {
- for (int i = 0; i < shaderFlags.Length; i++)
- {
- switch (wrapModeValue)
- {
- case 0:
- shaderFlags[i].ClearFlagBits(wrapModeFlagBitsName, index: flagIndex);
- shaderFlags[i].ClearFlagBits(wrapModeFlagBitsName << 16, index: flagIndex);
- break;
- case 1:
- shaderFlags[i].SetFlagBits(wrapModeFlagBitsName, index: flagIndex);
- shaderFlags[i].ClearFlagBits(wrapModeFlagBitsName << 16, index: flagIndex);
- break;
- case 2:
- shaderFlags[i].ClearFlagBits(wrapModeFlagBitsName, index: flagIndex);
- shaderFlags[i].SetFlagBits(wrapModeFlagBitsName << 16, index: flagIndex);
- break;
- case 3:
- shaderFlags[i].SetFlagBits(wrapModeFlagBitsName, index: flagIndex);
- shaderFlags[i].SetFlagBits(wrapModeFlagBitsName << 16, index: flagIndex);
- break;
- }
- }
- }
-
- public void DrawWrapMode(string texturelabel,int wrapModeFlagBitsName = 0, int flagIndex = 2)
- {
- bool hasMixedValue = WrapModeFlagHasMixedValue(wrapModeFlagBitsName, flagIndex);
- EditorGUI.showMixedValue = hasMixedValue;
- string wrapLabel = texturelabel + "循环模式";
- (string, string) wrapNameTuple = (wrapLabel, "");
-
- int tmpWrapMode = GetWrapModeFlagValue(wrapModeFlagBitsName, flagIndex,shaderFlags[0]);
- Action onWrapModeEndChangeCheck = () =>
- {
- SetWrapModeFlagValue(wrapModeFlagBitsName, flagIndex, tmpWrapMode);
- hasMixedValue = WrapModeFlagHasMixedValue(wrapModeFlagBitsName, flagIndex);
- ResetTool.CheckOnValueChange(wrapNameTuple);
- };
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.BeginHorizontal();
- tmpWrapMode = EditorGUILayout.Popup(new GUIContent(wrapLabel), tmpWrapMode,
- Enum.GetNames(typeof(SamplerWarpMode)));
- if (EditorGUI.EndChangeCheck())
- {
- onWrapModeEndChangeCheck();
- }
- ResetTool.DrawResetModifyButton(new Rect(),wrapNameTuple,resetCallBack: () =>
- {
- tmpWrapMode = 0;
- },onValueChangedCallBack:onWrapModeEndChangeCheck,() =>
- {
- bool hasModified = GetWrapModeFlagValue(wrapModeFlagBitsName, flagIndex,shaderFlags[0]) != 0 ? true : false;
- return hasModified;
- }, () => WrapModeFlagHasMixedValue(wrapModeFlagBitsName, flagIndex));
- EditorGUILayout.EndHorizontal();
- ResetTool.EndResetModifyButtonScope();
- }
- public void DrawAfterTexture(bool hasTexture, string label, string texturePropertyName, bool drawWrapMode = false, int wrapModeFlagBitsName = 0, int flagIndex = 2,
- Action drawBlock = null)
- {
- // EditorGUI.indentLevel++;
- EditorGUI.BeginDisabledGroup(!hasTexture);
- if (drawWrapMode)
- {
- DrawWrapMode(label, wrapModeFlagBitsName,flagIndex);
- }
-
- drawBlock?.Invoke(GetProperty(texturePropertyName));
- // EditorGUI.indentLevel--;
- EditorGUI.EndDisabledGroup();
- }
-
-
- public void DrawPopUp(string label, string propertyName, string[] options, string[] toolTips = null,
- Action drawBlock = null,Action drawOnValueChangedBlock = null,bool isSharedGlobalParent = false)
- {
- MaterialProperty property = GetProperty(propertyName);
- if (property == null) return;
- EditorGUI.showMixedValue = property.hasMixedValue;
-
- float mode = property.floatValue;
- EditorGUI.BeginChangeCheck();
- GUIContent[] optionGUIContents = new GUIContent[options.Length];
- for (int i = 0; i < optionGUIContents.Length; i++)
- {
- if (toolTips != null && toolTips.Length == options.Length)
- {
- optionGUIContents[i] = new GUIContent(options[i], toolTips[i]);
- }
- else
- {
- optionGUIContents[i] = new GUIContent(options[i]);
- }
- }
-
- Action drawOnValueChanged = () =>
- {
- property.floatValue = mode;
- drawOnValueChangedBlock?.Invoke(property);
- ResetTool.CheckOnValueChange((label,propertyName));
- };
-
- EditorGUILayout.BeginHorizontal();
- mode = EditorGUILayout.Popup(new GUIContent(label), (int)mode, optionGUIContents);
- if (EditorGUI.EndChangeCheck())
- {
- drawOnValueChanged.Invoke();
- }
- ResetTool.DrawResetModifyButton(new Rect(),(label,propertyName),ShaderPropertyPacksDic[propertyName],resetAction: () =>
- {
- mode = property.floatValue;
- },onValueChangedCallBack:drawOnValueChanged);
- EditorGUILayout.EndHorizontal();
-
- drawBlock?.Invoke(property);
- ResetTool.EndResetModifyButtonScope();
- EditorGUI.showMixedValue = false;
- }
-
- public MaterialProperty GetProperty(string propertyName)
- {
- // foreach (ShaderPropertyPack pack in ShaderPropertyPacks)
- // {
- // if (pack.name == propertyName)
- // {
- // return pack.property;
- // }
- // }
- if (ShaderPropertyPacksDic.ContainsKey(propertyName))
- {
- return ShaderPropertyPacksDic[propertyName].property;
- }
-
- // Debug.LogError("材质球" + mat.name + "找不到属性" + propertyName, mat);
- return null;
- }
-
- bool RenderQueueHasMixedValue()
- {
- int queue = 0;
- for (int i = 0; i < mats.Count; i++)
- {
- if (i == 0)
- {
- queue = mats[i].renderQueue;
- }
- else
- {
- if (queue != mats[i].renderQueue)
- {
- return true;
- }
- }
- }
- return false;
- }
-
- public void DrawRenderQueue(MaterialProperty queueBiasProp)
- {
- Rect rect = EditorGUILayout.GetControlRect();
- Rect labelRect = new Rect(rect.x, rect.y, EditorGUIUtility.labelWidth, rect.height);
- int queueLabelWidth = 55;
- Rect queueLabelRect = new Rect(labelRect.x , labelRect.y, queueLabelWidth, rect.height);
- Rect queueNumberRect = new Rect(queueLabelRect.x + queueLabelWidth , queueLabelRect.y,EditorGUIUtility.labelWidth - queueLabelWidth, rect.height);
- EditorGUI.LabelField(queueLabelRect, "Queue:" );
- EditorGUI.showMixedValue = RenderQueueHasMixedValue();
- EditorGUI.BeginDisabledGroup(true);
- EditorGUI.TextField(queueNumberRect, mats[0].renderQueue.ToString());
- EditorGUI.EndDisabledGroup();
- EditorGUI.showMixedValue = false;
- Rect afterLabelRect = GetRectAfterLabelWidth(rect);
- int QueueBias = (int)queueBiasProp.floatValue;
- EditorGUI.showMixedValue = queueBiasProp.hasMixedValue;
- EditorGUI.BeginChangeCheck();
- QueueBias = EditorGUI.IntField(afterLabelRect, "QueueBias:", QueueBias);
- if (EditorGUI.EndChangeCheck())
- {
- queueBiasProp.floatValue = QueueBias;
- }
- EditorGUI.showMixedValue = false;
- }
-
- void GuiLine(int i_height = 1)
- {
-
- Rect rect = EditorGUILayout.GetControlRect(false, i_height);
- rect.height = i_height;
- EditorGUI.DrawRect(rect, new Color(0.5f, 0.5f, 0.5f, 0.5f));
-
- }
-
- public static float PowerSlider(Rect position, GUIContent label, float value, float leftValue, float rightValue,
- float power)
- {
- var editorGuiType = typeof(EditorGUI);
- var methodInfo = editorGuiType.GetMethod(
- "PowerSlider",
- System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static,
- null,
- new[] { typeof(Rect), typeof(GUIContent), typeof(float), typeof(float), typeof(float), typeof(float) },
- null);
- if (methodInfo != null)
- {
- return (float)methodInfo.Invoke(null,
- new object[] { position, label, value, leftValue, rightValue, power });
- }
-
- return leftValue;
- }
-
-
- private GradientAlphaKey[] defaultGradientAlphaKey = new GradientAlphaKey[]
- { new GradientAlphaKey(1, 0), new GradientAlphaKey(1, 1) };
-
-
- float RGBLuminance(Color color)
- {
- return 0.2126f* color.r + 0.7152f * color.g + 0.0722f * color.b;
- }
-
- private bool isUpateGradientPickerCache = false;
-
- public void DrawGradientUndoPerformed()
- {
- isUpateGradientPickerCache = true;
- }
- Dictionary gradientsUpdateDic = new Dictionary();
-
- void GetGradientKeyCount(MaterialProperty countProperty,
- MaterialProperty[] colorProperties, MaterialProperty[] alphaProperties,out int countPropertyIntValue,out int colorKeysCount,out int alphaKeysCount)
- {
-
- countPropertyIntValue = countProperty.intValue;
- if (colorProperties != null && alphaProperties != null)
- {
- colorKeysCount = countPropertyIntValue & 0xFFFF;
- alphaKeysCount = countPropertyIntValue >> 16;
- }
- else
- {
- colorKeysCount = countPropertyIntValue;
- alphaKeysCount = 2;
- }
- }
- bool GradientPropertyHasMixedValue(MaterialProperty countProperty,
- MaterialProperty[] colorProperties = null, MaterialProperty[] alphaProperties = null)
- {
-
-
- GetGradientKeyCount(countProperty, colorProperties, alphaProperties,out int countPropertyIntValue, out int colorKeysCount,out int alphaKeysCount);
-
- bool hasMixedValue = false;
- hasMixedValue |= countProperty.hasMixedValue;
- if (colorProperties != null)
- {
- for(int i = 0; i < colorKeysCount; i++)
- {
- hasMixedValue |= colorProperties[i].hasMixedValue;
- }
- }
- if (alphaProperties != null)
- {
- for (int i = 0; i < Mathf.CeilToInt(alphaKeysCount/2f); i++)
- {
- hasMixedValue |= alphaProperties[i].hasMixedValue;
- }
- }
- return hasMixedValue;
-
-
- }
-
- void GetGradientConditionBool(MaterialProperty[] colorProperties,
- MaterialProperty[] alphaProperties, out bool isBlackAndWhiteGradient,
- out bool isNoAlphaColorGradient)
- {
- isBlackAndWhiteGradient = colorProperties == null && alphaProperties != null;
- isNoAlphaColorGradient = colorProperties != null && alphaProperties == null;
- }
-
- void SetGradientByProperty(Gradient gradient, MaterialProperty countProperty,
- MaterialProperty[] colorProperties = null, MaterialProperty[] alphaProperties = null)
- {
- GetGradientConditionBool(colorProperties,alphaProperties,out bool isBlackAndWhiteGradient,out bool isNoAlphaColorGradient);
- GetGradientKeyCount(countProperty, colorProperties, alphaProperties,out int countPropertyIntValue, out int colorKeysCount,out int alphaKeysCount);
-
- if (colorProperties != null || isBlackAndWhiteGradient)
- {
- GradientColorKey[] colorKeys;
- if (gradient.colorKeys.Length != colorKeysCount)
- {
- colorKeys = new GradientColorKey[colorKeysCount];
- }
- else
- {
- colorKeys = gradient.colorKeys;
- }
- for (int i = 0; i < colorKeysCount; i++)
- {
- if (isBlackAndWhiteGradient)
- {
- Vector4 vec = alphaProperties[i / 2].vectorValue;
- Color c = Color.white;
- if (i % 2 == 0)
- {
- c.r = vec.x;
- c.g = vec.x;
- c.b = vec.x;
- }
- else
- {
- c.r = vec.z;
- c.g = vec.z;
- c.b = vec.z;
- }
- // Debug.Log(i);
- // Debug.Log(c);
- colorKeys[i].color = c;
- colorKeys[i].time = i % 2 == 0 ? vec.y : vec.w;
- }
- else
- {
- Color c = colorProperties[i].colorValue;
- colorKeys[i].color = c;
- colorKeys[i].time = c.a;
- }
- }
- gradient.colorKeys = colorKeys;
- }
-
- if (isBlackAndWhiteGradient || isNoAlphaColorGradient || alphaProperties == null)
- {
- gradient.alphaKeys = defaultGradientAlphaKey;
- }
- else
- {
-
- GradientAlphaKey[] alphaKeys;
- if (gradient.alphaKeys.Length != alphaKeysCount)
- {
- alphaKeys = new GradientAlphaKey[alphaKeysCount];
- }
- else
- {
- alphaKeys = gradient.alphaKeys;
- }
-
- for (int i = 0; i < alphaKeysCount ; i++)
- {
- Vector4 vec = alphaProperties[i / 2].vectorValue;
- if (i % 2 == 0)
- {
- alphaKeys[i].alpha = vec.x;
- alphaKeys[i].time = vec.y;
- }
- else
- {
- alphaKeys[i].alpha = vec.z;
- alphaKeys[i].time = vec.w;
- }
- }
- gradient.alphaKeys = alphaKeys;
-
- }
- }
- //如果是黑白Gradient,则取Gradient的颜色的黑白值(这样在面板上可视化比较好)
- //如果既有颜色,也有Alpha。则在CountProperty上采取前16位和后16位编码。
- //原则:gradient对象只是一个操作中介。取值应该直接在MatProperty上去,Set值也应该在验证合法后才能Set,不合法应该提出警告。
- public void DrawGradient(Gradient gradient,bool hdr,ColorSpace colorSpace,string label,int maxCount,string countPropertyName,MaterialProperty[] colorProperties = null,MaterialProperty[] alphaProperties = null)
- {
- (string,string) nameTuple = (label, countPropertyName);
- if (isUpateGradientPickerCache)
- {
- foreach (var keys in gradientsUpdateDic.Keys.ToList())
- {
- gradientsUpdateDic[keys] = true;
- }
-
- isUpateGradientPickerCache = false;
- }
- MaterialProperty countProperty = GetProperty(countPropertyName);
- Rect rect = EditorGUILayout.GetControlRect();
-
- // var labelRect = new Rect(rect.x + 2f, rect.y, rect.width - 2f, rect.height);
- // EditorGUI.LabelField(labelRect,label);
- var gradientRect = rect;
- gradientRect.width -= ResetTool.ResetButtonSize;
- gradientRect.width -= 2f;
- var gradientResetButtonRect = rect;
- gradientResetButtonRect.x = gradientResetButtonRect.x + gradientResetButtonRect.width - ResetTool.ResetButtonSize;
- gradientResetButtonRect.width = ResetTool.ResetButtonSize;
-
-
- if (gradient == null||gradientsUpdateDic[gradient])
- {
- if (gradient == null)
- {
- gradient = new Gradient();
- // gradient.colorSpace = ColorSpace.Gamma;
- gradientsUpdateDic.Add(gradient,false);
- }
-
- gradientsUpdateDic[gradient] = false;
- SetGradientByProperty(gradient,countProperty, colorProperties, alphaProperties);
-
- GradientReflectionHelper.RefreshGradientData();
- // Debug.Log("----------------SetCurrentGradient------------------");
- }
-
- EditorGUI.showMixedValue = GradientPropertyHasMixedValue(countProperty, colorProperties, alphaProperties);
- GetGradientKeyCount(countProperty, colorProperties, alphaProperties,out int countPropertyIntValue, out int colorKeysCount,out int alphaKeysCount);
- GetGradientConditionBool(colorProperties, alphaProperties,out bool isBlackAndWhiteGradient,out bool isNoAlphaColorGradient);
-
- EditorGUI.BeginChangeCheck();
- gradient = EditorGUI.GradientField(gradientRect, new GUIContent(label),gradient,hdr,colorSpace);
-
- Action onGradientEndChangeCheck = () =>
- {
- gradientsUpdateDic[gradient] = true;
- int countPropertyValue = countPropertyIntValue;
-
- if (colorProperties != null || isBlackAndWhiteGradient)
- {
- int finalColorKeysCount = gradient.colorKeys.Length;
- if (finalColorKeysCount <= maxCount)
- {
- if (isBlackAndWhiteGradient)
- {
- int floatPropertyCount = Mathf.CeilToInt((float)finalColorKeysCount / (2f));
- for (int i = 0; i < floatPropertyCount; i++)
- {
- Vector4 vec = Vector4.zero;
- vec.x = gradient.colorKeys[i*2].color.r;
- vec.y = gradient.colorKeys[i*2].time;
- if (i * 2 + 1 < gradient.colorKeys.Length)
- {
- vec.z = gradient.colorKeys[i * 2 + 1].color.r;
- vec.w = gradient.colorKeys[i * 2 + 1].time;
- }
-
- alphaProperties[i].vectorValue = vec;
- }
- }
- else
- {
- for (int i = 0; i < finalColorKeysCount; i++)
- {
-
- Color c = gradient.colorKeys[i].color;
- c.a = gradient.colorKeys[i].time;
- colorProperties[i].colorValue = c;
- }
- }
-
- countPropertyValue &= (0xFFFF <<16);
- countPropertyValue |= finalColorKeysCount;
- }
- }
-
- if (!(isBlackAndWhiteGradient || isNoAlphaColorGradient || alphaProperties == null))
- {
- int finalAlphaKeysCount = gradient.alphaKeys.Length;
- if (finalAlphaKeysCount <= maxCount)
- {
- int floatPropertyCount = Mathf.CeilToInt((float)finalAlphaKeysCount / (2f));
- for (int i = 0; i < floatPropertyCount; i++)
- {
- Vector4 vec = Vector4.zero;
- vec.x = gradient.alphaKeys[i*2].alpha;
- vec.y = gradient.alphaKeys[i*2].time;
- if (i * 2 + 1 < gradient.alphaKeys.Length)
- {
- vec.z = gradient.alphaKeys[i * 2 + 1].alpha;
- vec.w = gradient.alphaKeys[i * 2 + 1].time;
- }
- alphaProperties[i].vectorValue = vec;
- }
-
- countPropertyValue &= (0xFFFF);
- int alphaCount = finalAlphaKeysCount << 16;
- countPropertyValue |= alphaCount;
- }
- }
-
- countProperty.intValue = countPropertyValue;
- ResetTool.CheckOnValueChange(nameTuple);
-
- };
-
- if (EditorGUI.EndChangeCheck())
- {
- onGradientEndChangeCheck();
- }
-
-
- ResetTool.DrawResetModifyButton(gradientResetButtonRect,nameTuple,resetCallBack: () =>
- {
- ShaderPropertyPack countPropPack = ShaderPropertyPacksDic[countPropertyName];
-
- countPropPack.property.intValue = 2;
-
- if (colorProperties != null)
- {
- foreach (var colorProp in colorProperties)
- {
- ShaderPropertyPack colorPropPack = ShaderPropertyPacksDic[colorProp.name];
- colorPropPack.property.colorValue =
- shader.GetPropertyDefaultVectorValue(colorPropPack.index);
- }
- }
-
- if (alphaProperties != null)
- {
- foreach (var alphaProps in alphaProperties)
- {
- ShaderPropertyPack alphaPropPack = ShaderPropertyPacksDic[alphaProps.name];
- alphaPropPack.property.vectorValue = shader.GetPropertyDefaultVectorValue(alphaPropPack.index);
- }
- }
- SetGradientByProperty(gradient,countProperty, colorProperties, alphaProperties);
-
- },onValueChangedCallBack:onGradientEndChangeCheck,
- checkHasMixedValueOnValueChange: () =>
- GradientPropertyHasMixedValue(countProperty, colorProperties, alphaProperties),
- checkHasModifyOnValueChange: () =>
- {
- bool hasModified = false;
- ShaderPropertyPack countPropPack = ShaderPropertyPacksDic[countPropertyName];
-
- bool hasCountModified = !Mathf.Approximately(mats[0].GetInteger(countPropPack.name),2);
- hasModified |= hasCountModified;
- if (colorProperties != null)
- {
- foreach (var colorProp in colorProperties)
- {
- ShaderPropertyPack colorPropPack = ShaderPropertyPacksDic[colorProp.name];
- hasModified |= mats[0].GetVector(colorPropPack.name) !=
- shader.GetPropertyDefaultVectorValue(colorPropPack.index);
- }
- }
-
- if (alphaProperties != null)
- {
- foreach (var alphaProps in alphaProperties)
- {
- ShaderPropertyPack alphaPropPack = ShaderPropertyPacksDic[alphaProps.name];
- Vector4 vec = mats[0].GetVector(alphaPropPack.name);
- Vector4 defaultVec = shader.GetPropertyDefaultVectorValue(alphaPropPack.index);
- hasModified |= vec != defaultVec;
- }
- }
- return hasModified;
- });
-
- ResetTool.EndResetModifyButtonScope();
- }
-
-
-
-
- }
-
- public enum VectorValeType
- {
- X,Y,Z,W,XY,ZW,XYZ,XYZW,Tilling,Offset,Undefine
- }
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIHelper.cs.meta b/Packages/XuanXuanRenderUtility/Editor/ShaderGUIHelper.cs.meta
deleted file mode 100644
index 7ffea5ac..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9279ba81938dc1548b9e9d8297bdcd57
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIResetTool.cs b/Packages/XuanXuanRenderUtility/Editor/ShaderGUIResetTool.cs
deleted file mode 100644
index 279976b1..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIResetTool.cs
+++ /dev/null
@@ -1,399 +0,0 @@
-using System.Collections.Generic;
-using System;
-using PlasticGui;
-using UnityEngine;
-using UnityEngine.UIElements;
-using ShaderPropertyPack = NBShaderEditor.ShaderGUIHelper.ShaderPropertyPack;
-using UnityEditor;
-namespace NBShaderEditor
-{
- public class ShaderGUIResetTool
- {
- private ShaderGUIHelper _helper;
- private Shader _shader;
- public bool IsInitResetData = false;
-
- private Stack<(string,string)> _scopeContextStack = new Stack<(string,string)>();
-
- public void CheckAllModifyOnValueChange()
- {
- foreach (var item in ResetItemDict.Values)
- {
- item.HasModified = item.CheckHasModifyOnValueChange();
- }
- }
- public void Init(ShaderGUIHelper helper)
- {
- _helper = helper;
- _shader = helper.shader;
- IsInitResetData = true;
- ResetItemDict.Clear();
- _scopeContextStack.Clear();
- }
-
- public void EndInit()
- {
- IsInitResetData = false;
- }
-
- public void Update()
- {
- if (_needUpdate)
- {
- _needUpdate = false;
- CheckAllModifyOnValueChange();
- }
- }
-
- private bool _needUpdate = false;
- public void NeedUpdate()
- {
- _needUpdate = true;
- }
-
- public ShaderGUIResetTool(ShaderGUIHelper helper)
- {
- Init(helper);
- }
-
- public Dictionary<(string, string), ResetItem> ResetItemDict = new Dictionary<(string, string), ResetItem>();
-
- public class ResetItem
- {
- public ResetItem Parent;
- public List ChildResetItems = new List();
- public Action ResetCallBack;
- public Action OnValueChangedCallBack;
- public Func CheckHasModifyOnValueChange;
- public Func CheckHasMixedValueOnValueChange;
- public (string, string) NameTuple;
- public bool HasModified = false;
- public bool HasMixedValue =false;
- public bool ChildHasModified = false;
- public bool ChildHasMixedValue = false;
-
-
- public void Init((string, string) nameTuple,Action resetCallBack,Action onValueChangedCallBack,Func checkHasModifyOnValueChange,Func checkHasMixedValueOnValueChange)
- {
- NameTuple = nameTuple;
- ResetCallBack = resetCallBack;
- OnValueChangedCallBack = onValueChangedCallBack;
- CheckHasModifyOnValueChange = checkHasModifyOnValueChange;
- CheckHasMixedValueOnValueChange = checkHasMixedValueOnValueChange;
- }
-
- public void Execute(bool isParentCall = false)
- {
- ResetCallBack?.Invoke();
- OnValueChangedCallBack?.Invoke();
- HasModified = CheckHasModifyOnValueChange();
- HasMixedValue = CheckHasMixedValueOnValueChange();
- CheckOnValueChange(isParentCall);
- foreach (var item in ChildResetItems)
- {
- item.Execute(true);
- }
- }
-
-
- public void CheckOnValueChange(bool isParentCall = false)
- {
- HasModified = CheckHasModifyOnValueChange();
- HasMixedValue = CheckHasMixedValueOnValueChange();
- foreach (var childItem in ChildResetItems)
- {
- HasMixedValue |= childItem.HasMixedValue;
- HasModified |= childItem.HasModified;
- }
-
- if (!isParentCall && Parent != null)
- {
- Parent.CheckOnValueChange();
- }
- }
- }
-
- public void CheckOnValueChange((string,string) nameTuple)
- {
- if (ResetItemDict.ContainsKey(nameTuple))
- {
- ResetItemDict[nameTuple].CheckOnValueChange();
-
- }
- else
- {
- Debug.LogError("不包含ResetItemDict:"+nameTuple);
- }
- }
-
- public void DrawResetModifyButton(Rect rect,(string, string) nameTuple, Action resetCallBack,
- Action onValueChangedCallBack,Func checkHasModifyOnValueChange,Func checkHasMixedValueOnValueChange,bool isSharedGlobalParent = false)
- {
- ConstructResetItem(nameTuple,resetCallBack,onValueChangedCallBack,checkHasModifyOnValueChange,checkHasMixedValueOnValueChange,isSharedGlobalParent);
- DrawResetModifyButtonFinal(rect,nameTuple);
- }
- public void DrawResetModifyButton(Rect rect,(string,string)nameTuple,ShaderPropertyPack pack, Action resetAction,Action onValueChangedCallBack,VectorValeType vectorValeType = VectorValeType.Undefine,bool isSharedGlobalParent = false)
- {
-
- // (string, string) nameTuple = (label, pack.property.name);
- ConstructResetItem(nameTuple,
- resetAction: ()=>{
- SetPropertyToDefaultValue(pack,vectorValeType);
- resetAction?.Invoke();
- },onValueChangedCallBack:onValueChangedCallBack,
- checkHasModifyOnValueChange: () => IsPropertyModified(pack,vectorValeType),
- checkHasMixedValueOnValueChange: () => pack.property.hasMixedValue,
- isSharedGlobalParent: isSharedGlobalParent
- );
- if (ResetItemDict.ContainsKey(nameTuple))
- {
- DrawResetModifyButtonFinal(rect,nameTuple);
- }
- }
-
- public void DrawResetModifyButton(Rect rect, string label)
- {
- //大部分功能都是触发子类
- ConstructResetItem((label, ""), resetAction: () => { },onValueChangedCallBack: () => { }, () => false, () => false);
- DrawResetModifyButtonFinal(rect,(label,""));
- }
-
- //isSharedGlobalParent==>有些组件是公用的,比如极坐标一类。这些是不会设置父Item的。
- public void ConstructResetItem((string,string) nameTuple, Action resetAction,
- Action onValueChangedCallBack,Func checkHasModifyOnValueChange,Func checkHasMixedValueOnValueChange,bool isSharedGlobalParent = false)
- {
- if(!IsInitResetData) return;
- if (!ResetItemDict.ContainsKey(nameTuple))
- {
- ResetItem item = new ResetItem();
- item.Init(nameTuple,resetAction,onValueChangedCallBack,checkHasModifyOnValueChange,checkHasMixedValueOnValueChange);
- ResetItemDict.Add(nameTuple,item);
-
- if (_scopeContextStack.Count > 0 && !isSharedGlobalParent)
- {
- var contextNameTuple = _scopeContextStack.Peek();
- ResetItem parentItem = ResetItemDict[contextNameTuple];
- parentItem.ChildResetItems.Add(item);
- item.Parent = parentItem;
- }
- item.CheckOnValueChange();//Init
- }
- else
- {
- // Debug.LogError("ResetItem已经存在:"+nameTuple.ToString());
- }
- //就算是已经ContainsKey了,也Push和Pop一下。没有作用,但让写法更简单。
- _scopeContextStack.Push(nameTuple);
- }
-
-
- public void EndResetModifyButtonScope()
- {
- if(!IsInitResetData) return;
- if(_scopeContextStack.Count == 0) return;
- _scopeContextStack.Pop();
- }
-
- public float ResetButtonSize => EditorGUIUtility.singleLineHeight;
-
- private GUIContent resetIconContent = new GUIContent();
- //仅仅只是Drawer
- private void DrawResetModifyButtonFinal(Rect position, (string, string) nameTuple)
- {
- ResetItem item;
- // GUILayout.FlexibleSpace();
- if (ResetItemDict.ContainsKey(nameTuple))
- {
- item = ResetItemDict[nameTuple];
- }
- else
- {
- return;
- }
- float btnSize = ResetButtonSize;
- string iconText;
- bool isDisabled = true;
- GUIStyle iconStyle;
- if (item.HasModified || item.HasMixedValue)
- {
- isDisabled = false;
- iconText = "R";
- iconStyle = GUI.skin.button;
- }
- else
- {
- isDisabled = true;
- iconText = "";
- iconStyle = GUI.skin.label;
- }
-
- resetIconContent.text = iconText;
- EditorGUI.BeginDisabledGroup(isDisabled);
- // if (GUILayout.Button(iconTexture, GUILayout.Width(btnSize), GUILayout.Height(btnSize)))
- if (position.width <= 0)
- {
- position = GUILayoutUtility.GetRect(resetIconContent, GUI.skin.button, GUILayout.Width(btnSize),
- GUILayout.Height(btnSize));
- }
- if(GUI.Button(position,resetIconContent,iconStyle))
- {
- item.Execute();
- }
- EditorGUI.EndDisabledGroup();
- }
-
- public void SetPropertyToDefaultValue(ShaderPropertyPack pack,VectorValeType vectorValeType = VectorValeType.Undefine)
- {
- MaterialProperty property = pack.property;
- UnityEngine.Rendering.ShaderPropertyType propertyType = property.propertyType;
- if (pack.property.propertyType == UnityEngine.Rendering.ShaderPropertyType.Texture && vectorValeType != VectorValeType.Undefine)
- {
- propertyType = UnityEngine.Rendering.ShaderPropertyType.Vector;//Tilling or Offset
- }
- switch (propertyType)
- {
- case UnityEngine.Rendering.ShaderPropertyType.Color:
- Vector4 colorValue = _shader.GetPropertyDefaultVectorValue(pack.index);
- property.colorValue = new Color(colorValue.x, colorValue.y, colorValue.z, colorValue.x);
- break;
-
- case UnityEngine.Rendering.ShaderPropertyType.Vector:
- Vector4 defaultVecValue;
- Vector4 vecValue;
- if (vectorValeType == VectorValeType.Tilling || vectorValeType == VectorValeType.Offset)
- {
- defaultVecValue = new Vector4(1f, 1f, 0f, 0f);
- vecValue = property.textureScaleAndOffset;
-
- }
- else
- {
- defaultVecValue = _shader.GetPropertyDefaultVectorValue(pack.index);
- vecValue = property.vectorValue;
- }
- switch (vectorValeType)
- {
- case VectorValeType.Undefine: Debug.LogError("VectorValeType is undefined"); break;
- case VectorValeType.X: vecValue.x = defaultVecValue.x;property.vectorValue = vecValue;break;
- case VectorValeType.Y: vecValue.y = defaultVecValue.y;property.vectorValue = vecValue;break;
- case VectorValeType.Z: vecValue.z = defaultVecValue.z;property.vectorValue = vecValue;break;
- case VectorValeType.W: vecValue.w = defaultVecValue.w;property.vectorValue = vecValue;break;
- case VectorValeType.XY:vecValue.x = defaultVecValue.x; vecValue.y = defaultVecValue.y;
- property.vectorValue = vecValue;break;
- case VectorValeType.Tilling:vecValue.x = defaultVecValue.x; vecValue.y = defaultVecValue.y;
- property.textureScaleAndOffset = vecValue;break;
- case VectorValeType.ZW:vecValue.z = defaultVecValue.z; vecValue.w = defaultVecValue.w;
- property.vectorValue = vecValue;break;
- case VectorValeType.Offset:vecValue.z = defaultVecValue.z; vecValue.w = defaultVecValue.w;
- property.textureScaleAndOffset = vecValue;break;
- case VectorValeType.XYZ:vecValue.x = defaultVecValue.x; vecValue.y = defaultVecValue.y;
- vecValue.z = defaultVecValue.z; property.vectorValue = vecValue;break;
- case VectorValeType.XYZW: property.vectorValue = defaultVecValue;break;
- }
- break;
-
- case UnityEngine.Rendering.ShaderPropertyType.Float or UnityEngine.Rendering.ShaderPropertyType.Range:
- float value = _shader.GetPropertyDefaultFloatValue(pack.index);
- property.floatValue = value;
- break;
-
- case UnityEngine.Rendering.ShaderPropertyType.Texture:
- if (property.textureValue == null)
- {
- break;
- }
- else
- {
- property.textureValue = null;
- break;
- }
- // return property.textureValue.name == shader.GetPropertyTextureDefaultName(pack.index) ? false : true;
-
- default:
- // 如果不属于上述类型,输出提示信息
- Debug.Log($"{property.displayName} has no default value or unsupported type");
- break;
- }
- }
-
- public bool IsPropertyModified(ShaderPropertyPack pack,VectorValeType vectorValeType = VectorValeType.Undefine)
- {
- MaterialProperty property = pack.property;
- UnityEngine.Rendering.ShaderPropertyType propertyType = property.propertyType;
- if (pack.property.propertyType == UnityEngine.Rendering.ShaderPropertyType.Texture && vectorValeType != VectorValeType.Undefine)
- {
- propertyType = UnityEngine.Rendering.ShaderPropertyType.Vector;//Tilling or Offset
- }
- switch (propertyType)
- {
- case UnityEngine.Rendering.ShaderPropertyType.Color:
- Vector4 colorValue = _shader.GetPropertyDefaultVectorValue(pack.index);
- Color color = new Color(colorValue.x, colorValue.y, colorValue.z, colorValue.w);
- return property.colorValue == color ? false : true;
-
- case UnityEngine.Rendering.ShaderPropertyType.Vector:
-
- Vector4 defaultVecValue;
- Vector4 vecValue;
- if (vectorValeType == VectorValeType.Tilling || vectorValeType == VectorValeType.Offset)
- {
- defaultVecValue = new Vector4(1f, 1f, 0f, 0f);
- vecValue = property.textureScaleAndOffset;
-
- }
- else
- {
- defaultVecValue = _shader.GetPropertyDefaultVectorValue(pack.index);
- vecValue = property.vectorValue;
- }
-
-
- Vector2 defaultVecXYValue = new Vector2(defaultVecValue.x, defaultVecValue.y);
- Vector2 defaultVecZWValue = new Vector2(defaultVecValue.z, defaultVecValue.w);
- Vector2 vecXYValue = new Vector2(vecValue.x, vecValue.y);
- Vector2 vecZWValue = new Vector2(vecValue.z, vecValue.w);
- Vector2 defaultVecXYZValue = new Vector3(defaultVecValue.x, defaultVecValue.y,defaultVecValue.z);
- Vector2 vecXYZValue = new Vector3(vecValue.x, vecValue.y,vecValue.z);
-
-
- bool isVecModified = false;
- switch (vectorValeType)
- {
- case VectorValeType.Undefine: Debug.LogError("VectorValeType is undefined"); break;
- case VectorValeType.X: isVecModified = Mathf.Approximately(vecValue.x,defaultVecValue.x) ? false : true;break;
- case VectorValeType.Y: isVecModified = Mathf.Approximately(vecValue.y,defaultVecValue.y) ? false : true;break;
- case VectorValeType.Z: isVecModified = Mathf.Approximately(vecValue.z,defaultVecValue.z) ? false : true;break;
- case VectorValeType.W: isVecModified = Mathf.Approximately(vecValue.w,defaultVecValue.w) ? false : true;break;
- case VectorValeType.XY:case VectorValeType.Tilling:
- isVecModified = vecXYValue == defaultVecXYValue ? false : true;break;
- case VectorValeType.ZW:case VectorValeType.Offset:
- isVecModified = vecZWValue == defaultVecZWValue ? false : true;break;
- case VectorValeType.XYZ:isVecModified = vecXYZValue == defaultVecXYZValue ? false : true ; break;
- case VectorValeType.XYZW:isVecModified= vecValue == defaultVecValue? false : true ; break;
- }
- return isVecModified;
-
- case UnityEngine.Rendering.ShaderPropertyType.Float or UnityEngine.Rendering.ShaderPropertyType.Range:
- return Mathf.Approximately(property.floatValue, _shader.GetPropertyDefaultFloatValue(pack.index)) ? false : true;
-
- case UnityEngine.Rendering.ShaderPropertyType.Texture:
- if (property.textureValue == null)
- {
- return false;
- }
- else
- {
- return property.textureValue.name == "textureExternal" ? false : true;
- }
- // return property.textureValue.name == shader.GetPropertyTextureDefaultName(pack.index) ? false : true;
-
- default:
- // 如果不属于上述类型,输出提示信息
- return false;
- // Debug.Log($"{property.displayName} has no default value or unsupported type");
- // break;
- }
- }
- }
-
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIResetTool.cs.meta b/Packages/XuanXuanRenderUtility/Editor/ShaderGUIResetTool.cs.meta
deleted file mode 100644
index 3c1c17a4..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIResetTool.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: 73135babda09451c9e5798b36897637b
-timeCreated: 1754727843
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIToolBar.cs b/Packages/XuanXuanRenderUtility/Editor/ShaderGUIToolBar.cs
deleted file mode 100644
index 20a4c8cd..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIToolBar.cs
+++ /dev/null
@@ -1,248 +0,0 @@
-
-using UnityEngine;
-using UnityEditor;
-using System.Collections.Generic;
-namespace NBShaderEditor
-{
-
- public class ShaderGUIToolBar
- {
- public ShaderGUIHelper Helper;
-
- private int viewModeIndex;
- private readonly string[] viewModes = { "List", "Grid" };
- // private string searchText = "";
- private MaterialEditor _editor=>Helper.matEditor;
- public ShaderGUIToolBar(ShaderGUIHelper helper)
- {
- Helper = helper;
- }
-
- private static Material copiedMaterial;
- private static Shader copiedShader;
-
- // 帮助链接URL
- private const string HELP_URL = "https://owejt9diz2c.feishu.cn/wiki/BHz8wHHSjiYJagk7WrmcAcconlb?from=from_copylink";
-
- private Vector2 imagePos;
- private Texture2D icon;
- private Texture2D image;
-
- public void DrawToolbar()
- {
-
- float BtnWidth = 30f;
- // 开始工具栏区域 (背景)
- EditorGUILayout.BeginHorizontal(EditorStyles.toolbar);
-
- // 1. 选择当前材质
- if (GUILayout.Button(EditorGUIUtility.IconContent("Material On Icon","跳到当前材质|跳到当前材质"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- EditorGUIUtility.PingObject(Helper.mats[0]);
- }
-
- if (GUILayout.Button(EditorGUIUtility.IconContent("TreeEditor.Trash","清除没有使用的贴图|清除没有使用的贴图"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- foreach (var mat in Helper.mats)
- {
- CleanUnusedTextureProperties(Helper.mats[0]);//先清理不属于当前Shader的贴图
- }
- Helper.isClearUnUsedTexture = true;
- }
-
- if (GUILayout.Button(new GUIContent("C","复制材质属性"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- copiedMaterial = Helper.mats[0];
- copiedShader = copiedMaterial.shader;
- }
-
- if (GUILayout.Button(new GUIContent("V","粘贴材质属性"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- if (copiedShader)
- {
- Helper.mats[0].shader = copiedShader;
- }
-
- if (copiedMaterial)
- {
- Helper.mats[0].CopyPropertiesFromMaterial(copiedMaterial);
- }
- }
- if (GUILayout.Button(new GUIContent("R","特殊重置功能"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- ShowResetPopupMenu();
- }
- if (GUILayout.Button(EditorGUIUtility.IconContent("d_UnityEditor.HierarchyWindow","折叠所有控件|折叠所有控件"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- for (int i = 0;i 0;
- // Helper.searchText = searchText;
- // }
- //
- // // 清除搜索按钮
- // if (GUILayout.Button("", cancelButton))
- // {
- // searchText = "";
- // GUI.FocusControl(null); // 移除焦点
- // }
- // }
- // EditorGUILayout.EndHorizontal();
-
- // // 4. 右侧按钮组
- // if (GUILayout.Button(EditorGUIUtility.IconContent("TreeEditor.Refresh"), EditorStyles.toolbarButton))
- // {
- // Debug.Log("Refresh clicked");
- // }
- //
- // // 选项菜单
- // if (GUILayout.Button(EditorGUIUtility.IconContent("_Popup"), EditorStyles.toolbarButton))
- // {
- // // 创建下拉菜单
- // GenericMenu menu = new GenericMenu();
- // menu.AddItem(new GUIContent("Option 1"), false, () => Debug.Log("Option 1"));
- // menu.AddItem(new GUIContent("Option 2"), false, () => Debug.Log("Option 2"));
- // menu.ShowAsContext();
- // }
- // 贴图加载
- if (icon == null)
- icon = AssetDatabase.LoadAssetAtPath(AssetDatabase.GUIDToAssetPath("eaa39f504c2ce7646aece103ba9c4766"));
- if (image == null)
- image = AssetDatabase.LoadAssetAtPath(AssetDatabase.GUIDToAssetPath("cc6c30349a33a1d4c8242a9ef1a68830"));
- if (GUILayout.Button(new GUIContent(icon,"爸爸!"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- // 弹出 PopupWindow
- // 弹出浮动窗口
- FloatingImageWindow.ShowWindow(image);
- }
-
-
- if (GUILayout.Button(EditorGUIUtility.IconContent("d__Help@2x","说明文档|说明文档"), EditorStyles.toolbarButton,GUILayout.Width(BtnWidth)))
- {
- // 打开浏览器跳转到帮助链接
- Application.OpenURL(HELP_URL);
- }
-
- EditorGUILayout.EndHorizontal(); // 结束工具栏
- }
-
- private void ShowResetPopupMenu()
- {
- GenericMenu menu = new GenericMenu();
-
- menu.AddItem(new GUIContent("重置特殊UV通道"), false, () =>
- {
- Helper.ResetTool.ResetItemDict[("特殊UV通道选择","_SpecialUVChannelMode")].Execute();
- });
- menu.AddItem(new GUIContent("重置旋转扭曲"), false, () =>
- {
- Helper.ResetTool.ResetItemDict[("","_UTwirlEnabled")].Execute();
- });
- menu.AddItem(new GUIContent("重置极坐标"), false, () =>
- {
- Helper.ResetTool.ResetItemDict[("","_PolarCoordinatesEnabled")].Execute();
- });
-
- // 弹出位置可以用 Event.current.mousePosition
- menu.DropDown(new Rect(Event.current.mousePosition, Vector2.zero));
- }
-
- private void CleanUnusedTextureProperties(Material mat)
- {
- if (mat == null || mat.shader == null) return;
-
- Shader shader = mat.shader;
-
- // 收集 Shader 里声明过的贴图属性
- var shaderTexProps = new HashSet();
- int count = ShaderUtil.GetPropertyCount(shader);
- for (int i = 0; i < count; i++)
- {
- if (ShaderUtil.GetPropertyType(shader, i) == ShaderUtil.ShaderPropertyType.TexEnv)
- {
- shaderTexProps.Add(ShaderUtil.GetPropertyName(shader, i));
- }
- }
-
- // 遍历材质所有贴图属性,找到 shader 不再声明的
- var allProps = mat.GetTexturePropertyNames();
- foreach (var propName in allProps)
- {
- if (!shaderTexProps.Contains(propName))
- {
- if (mat.GetTexture(propName) != null)
- {
- mat.SetTexture(propName, null);
- Debug.Log($"清理 {mat.name} 的无效贴图属性: {propName}");
- }
- }
- }
- }
-
- // EditorWindow 显示图片
- public class FloatingImageWindow : EditorWindow
- {
- private Texture2D popupImage;
-
- public static void ShowWindow(Texture2D image)
- {
- // 创建窗口
- FloatingImageWindow window = CreateInstance();
- window.titleContent = new GUIContent("谢谢爸爸");
- window.popupImage = image;
-
- // 设置初始尺寸
- if (image != null)
- window.position = new Rect(Screen.width / 2f - image.width / 2f,
- Screen.height / 2f - image.height / 2f,
- image.width,
- image.height);
- else
- window.position = new Rect(Screen.width / 2f - 100, Screen.height / 2f - 100, 200, 200);
-
- window.ShowUtility(); // 浮动窗口
- }
-
- private void OnGUI()
- {
- if (popupImage != null)
- {
- // 绘制图片
- Rect rect = new Rect(0, 0, position.width, position.height);
- GUI.DrawTexture(rect, popupImage, ScaleMode.ScaleToFit);
- }
-
- // 可选:增加关闭按钮
- if (GUI.Button(new Rect(position.width - 25, 5, 20, 20), "X"))
- {
- Close();
- }
- }
- }
-
- }
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIToolBar.cs.meta b/Packages/XuanXuanRenderUtility/Editor/ShaderGUIToolBar.cs.meta
deleted file mode 100644
index a9d9c689..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/ShaderGUIToolBar.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: deccdbc6963a48b2ace3358cbba67689
-timeCreated: 1754406958
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/StencilTestHelper.cs b/Packages/XuanXuanRenderUtility/Editor/StencilTestHelper.cs
deleted file mode 100644
index 8084aad4..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/StencilTestHelper.cs
+++ /dev/null
@@ -1,158 +0,0 @@
-
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Rendering;
-// using Sirenix.OdinInspector;
-// using Sirenix.OdinInspector.Editor;
-using UnityEditor;
-
-namespace stencilTestHelper
-{
-
- [Serializable]
- public class StencilValues
- {
- public int DefaultQueue = 2000;
- [BinaryInt(8,true,2)]
- public int Ref = 0;
- public CompareFunction Comp = CompareFunction.Always;
- public StencilOp Pass = StencilOp.Keep;
- public StencilOp Fail = StencilOp.Keep;
- public StencilOp ZFail = StencilOp.Keep;
- [BinaryInt(8,true,1)]
- public int ReadMask = 255;
- [BinaryInt(8,true,1)]
- public int WriteMask = 255;
- }
-
-
-
- public static class StencilTestHelper
- {
- // private static StencilValuesConfig stencilValuesConfig;
- public class StencilPropertyNames
- {
- public string stencil = "_Stencil";
- public string stencilComp = "_StencilComp";
- public string stencilOp = "_StencilOp";
- public string stencilWriteMask = "_StencilWriteMask";
- public string stencilReadMask = "_StencilReadMask";
- public string stencilZFail = "_StencilZFail";
- public string stencilFail = "_StencilFail";
- public string stencilKexIndex = "_StencilKeyIndex";
-
- public StencilPropertyNames()
- {
- }
-
- public StencilPropertyNames(string stencilName, string stencilCompName, string stencilOpName,
- string stencilWriteMaskName, string stencilReadMaskName, string stencilZFailName,
- string stencilFailName,string stencilKexIndexName)
- {
- if (!string.IsNullOrEmpty(stencilName))
- {
- stencil = stencilName;
- }
- if (!string.IsNullOrEmpty(stencilCompName))
- {
- stencilComp = stencilCompName;
- }
- if (!string.IsNullOrEmpty(stencilOpName))
- {
- stencilOp = stencilOpName;
- }
- if (!string.IsNullOrEmpty(stencilWriteMaskName))
- {
- stencilWriteMask = stencilWriteMaskName;
- }
- if (!string.IsNullOrEmpty(stencilReadMaskName))
- {
- stencilReadMask = stencilReadMaskName;
- }
- if (!string.IsNullOrEmpty(stencilZFailName))
- {
- stencilZFail = stencilZFailName;
- }
- if (!string.IsNullOrEmpty(stencilFailName))
- {
- stencilFail = stencilFailName;
- }
-
- if (!string.IsNullOrEmpty(stencilKexIndexName))
- {
- stencilKexIndex = stencilKexIndexName;
- }
- }
- }
-
-
- private static StencilPropertyNames defaultStencilPropertyNames = new StencilPropertyNames();
-
- // public static void SetMaterialStencil(Material mat,StencilValues stencilValues,out int defaultQueue)
- public static void SetMaterialStencil(Material mat, string stencilConfigKey,StencilValuesConfig stencilValuesConfig, out int defaultQueue,StencilPropertyNames stencilPropertyNames = null)
- {
- if (stencilValuesConfig == null)
- {
- Debug.LogError(mat.name+": 缺少模板预设,设置Stencil失败");
- // stencilValuesConfig =
- // AssetDatabase.LoadAssetAtPath(
- // "Assets/AddressableAssets/Shader/StencilConfig.asset");
- }
-
-
- if (stencilPropertyNames == null)
- {
- stencilPropertyNames = defaultStencilPropertyNames;
- }
-
- StencilValues stencilValues;
- if (stencilValuesConfig.ContainsKey(stencilConfigKey))
- {
- stencilValues = stencilValuesConfig[stencilConfigKey];
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencil))
- {
- mat.SetFloat(stencilPropertyNames.stencil, stencilValues.Ref);
- }
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilComp) )
- {
- mat.SetFloat(stencilPropertyNames.stencilComp, (float)stencilValues.Comp);
- }
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilOp))
- {
- mat.SetFloat(stencilPropertyNames.stencilOp, (float)stencilValues.Pass);
- }
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilWriteMask))
- {
- mat.SetFloat(stencilPropertyNames.stencilWriteMask, stencilValues.WriteMask);
- }
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilReadMask))
- {
- mat.SetFloat(stencilPropertyNames.stencilReadMask, stencilValues.ReadMask);
- }
-
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilZFail))
- {
- mat.SetFloat(stencilPropertyNames.stencilZFail, (float)stencilValues.ZFail);
- }
-
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilFail))
- {
- mat.SetFloat(stencilPropertyNames.stencilFail, (float)stencilValues.Fail);
- }
-
- if (!string.IsNullOrEmpty(stencilPropertyNames.stencilKexIndex))
- {
- mat.SetFloat(stencilPropertyNames.stencilKexIndex,stencilValuesConfig.GetKeyIndex(stencilConfigKey));
- }
-
- defaultQueue = stencilValues.DefaultQueue;
- }
- else
- {
- Debug.LogError("无法设置材质模板参数,因为没有配置模板值", mat);
- defaultQueue = mat.renderQueue;
- }
- }
- }
-}
diff --git a/Packages/XuanXuanRenderUtility/Editor/StencilTestHelper.cs.meta b/Packages/XuanXuanRenderUtility/Editor/StencilTestHelper.cs.meta
deleted file mode 100644
index 5d9dbb9c..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/StencilTestHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a7d6268a1ca7d824d8da2adf4cb8f74a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/StencilValuesConfig.cs b/Packages/XuanXuanRenderUtility/Editor/StencilValuesConfig.cs
deleted file mode 100644
index d452458a..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/StencilValuesConfig.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace stencilTestHelper
-{
-
- public class StencilValuesConfig : ScriptableObject
- {
- // public Dictionary Config = new Dictionary();
- // public StencilValuesConfigDictionary Config = new StencilValuesConfigDictionary();
- [Serializable]
- public class KeyStencilValues
- {
- public string key;
- public StencilValues Values;
- }
-
- [SerializeField]
- public List Config = new List();
-
- public bool ContainsKey(string key)
- {
- if (GetStencilValues(key) != null)
- {
- return true;
- }
- else
- {
- return false;
- }
- }
-
- public StencilValues GetStencilValues(string key)
- {
- foreach (var item in Config)
- {
- if (item.key == key)
- {
- return item.Values;
- }
- }
- Debug.LogError("StencilValuesConfig: 不存在Key"+key);
- return null;
- }
-
- public int GetKeyIndex(string key)
- {
- for (int i = 0; i < Config.Count; i++)
- {
- if (Config[i].key == key)
- {
- return i;
- }
- }
- Debug.LogError("StencilValuesConfig: 不存在Key"+key);
- return -1;
- }
-
- public string GetKeyByIndex(int index)
- {
- return Config[index].key;
- }
-
-
- public StencilValues this[string key]
- {
- get
- {
- return GetStencilValues(key);
- }
- }
-
- }
-
-
-}
diff --git a/Packages/XuanXuanRenderUtility/Editor/StencilValuesConfig.cs.meta b/Packages/XuanXuanRenderUtility/Editor/StencilValuesConfig.cs.meta
deleted file mode 100644
index a335f0b0..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/StencilValuesConfig.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9177edf81a5b2354490ec4d66c4c069d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/StringListSerchProvider.cs b/Packages/XuanXuanRenderUtility/Editor/StringListSerchProvider.cs
deleted file mode 100644
index c7956621..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/StringListSerchProvider.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Experimental.GraphView;
-using UnityEngine;
-using UnityEditor;
-
-public class StringListSerchProvider : ScriptableObject , ISearchWindowProvider
-// public class StringListSerchProvider
-{
-
- public List CreateSearchTree(SearchWindowContext context)
- {
- List serchList = new List();
- serchList.Add(new SearchTreeGroupEntry(new GUIContent("List"),0));
- List listItemAfterSort = listItems.ToList();
-
- sortListItems(ref listItemAfterSort);
-
- List groups = new List();
- foreach (var item in listItemAfterSort)
- {
- string[] entryTitle = item.Split("/");
- string groupName = "";
- for (int i = 0; i < entryTitle.Length - 1; i++)
- {
- groupName += entryTitle[i];
- if (!groups.Contains(groupName))
- {
- serchList.Add(new SearchTreeGroupEntry(new GUIContent(entryTitle[i]),i+1));
- }
- groupName += "/";
- }
-
- SearchTreeEntry entry = new SearchTreeEntry(new GUIContent(entryTitle.Last()));
- entry.level = entryTitle.Length;
- entry.userData = item;//这里是serch操作点击最后的返回值,是什么都可以的。
- // Debug.Log(entry.userData);
- serchList.Add(entry);
- }
-
-
- return serchList;
-
- }
-
- public bool OnSelectEntry(SearchTreeEntry searchTreeEntry, SearchWindowContext context)
- {
- string data = (string)searchTreeEntry.userData;
- onSetIndexCallback?.Invoke(data);
- return true;
- }
-
- private string[] listItems;
- private Action onSetIndexCallback;
- public StringListSerchProvider(string[] items, Action callBack)
- {
- listItems = items;
- onSetIndexCallback = callBack;
- }
-
- public void Initialize(string[] items, Action callBack)
- {
- listItems = items;
- onSetIndexCallback = callBack;
- }
-
- // private List sortListItems;
-
- void sortListItems(ref List list)
- {
- // sortListItems = listItems.ToList();
- list.Sort((a, b) =>
- {
- string[] splits1 = a.Split('/');
- string[] splits2 = b.Split('/');
-
- for (int i = 0; i < splits1.Length; i++)
- {
- if (i >= splits2.Length)
- {
- return 1;
- }
-
- int value = splits1[i].CompareTo(splits2[i]);
- if (value != 0)
- {
- if (splits1.Length != splits2.Length && (i == splits1.Length - 1 || i == splits2.Length - 1))
- {
- return splits1.Length < splits2.Length ? 1 : -1;
- }
-
- return value;
- }
- }
-
- return 0;
- });
- }
-}
diff --git a/Packages/XuanXuanRenderUtility/Editor/StringListSerchProvider.cs.meta b/Packages/XuanXuanRenderUtility/Editor/StringListSerchProvider.cs.meta
deleted file mode 100644
index 11c6efc2..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/StringListSerchProvider.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: aec459410f5254c4bb4d42e7ec8b4b5e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/Textures.meta b/Packages/XuanXuanRenderUtility/Editor/Textures.meta
deleted file mode 100644
index c40ac4a1..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/Textures.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 37a388ed2acdda44cba962b4f9196106
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/Textures/GiveMeMoney.jpg b/Packages/XuanXuanRenderUtility/Editor/Textures/GiveMeMoney.jpg
deleted file mode 100644
index 2533fe16..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/Textures/GiveMeMoney.jpg
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6f21f18d3694a0b783c66852df66cc0bc2d9fcfbb055f14a1e3d2fb2e1c2542f
-size 51165
diff --git a/Packages/XuanXuanRenderUtility/Editor/Textures/GiveMeMoney.jpg.meta b/Packages/XuanXuanRenderUtility/Editor/Textures/GiveMeMoney.jpg.meta
deleted file mode 100644
index 1cb5dfe4..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/Textures/GiveMeMoney.jpg.meta
+++ /dev/null
@@ -1,127 +0,0 @@
-fileFormatVersion: 2
-guid: cc6c30349a33a1d4c8242a9ef1a68830
-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: 0
- 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: 2
- compressionQuality: 20
- crunchedCompression: 1
- 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
- - serializedVersion: 3
- buildTarget: Android
- 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/Packages/XuanXuanRenderUtility/Editor/Textures/alipayLogo.png b/Packages/XuanXuanRenderUtility/Editor/Textures/alipayLogo.png
deleted file mode 100644
index 72def0a8..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/Textures/alipayLogo.png
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fc0a02c728520c9e6f3115f254c4f205bc6c7682c0cdc3bc52a0833b3aac3b3c
-size 2970
diff --git a/Packages/XuanXuanRenderUtility/Editor/Textures/alipayLogo.png.meta b/Packages/XuanXuanRenderUtility/Editor/Textures/alipayLogo.png.meta
deleted file mode 100644
index 588d13b5..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/Textures/alipayLogo.png.meta
+++ /dev/null
@@ -1,127 +0,0 @@
-fileFormatVersion: 2
-guid: eaa39f504c2ce7646aece103ba9c4766
-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: 1
- 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
- - serializedVersion: 3
- buildTarget: Android
- 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/Packages/XuanXuanRenderUtility/Editor/com.xuanxuan.render.utility.Editor.asmdef b/Packages/XuanXuanRenderUtility/Editor/com.xuanxuan.render.utility.Editor.asmdef
deleted file mode 100644
index 827f4716..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/com.xuanxuan.render.utility.Editor.asmdef
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "com.xuanxuan.render.utility.Editor",
- "rootNamespace": "",
- "references": [
- "GUID:8f9e4d586616f13449cfeb86c5f704c2",
- "GUID:df380645f10b7bc4b97d4f5eb6303d95",
- "GUID:0e3b0e6ce60c7a34094f8f9822c0b7f2"
- ],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": [],
- "allowUnsafeCode": false,
- "overrideReferences": false,
- "precompiledReferences": [],
- "autoReferenced": true,
- "defineConstraints": [],
- "versionDefines": [],
- "noEngineReferences": false
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Editor/com.xuanxuan.render.utility.Editor.asmdef.meta b/Packages/XuanXuanRenderUtility/Editor/com.xuanxuan.render.utility.Editor.asmdef.meta
deleted file mode 100644
index 76c1a94a..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/com.xuanxuan.render.utility.Editor.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8495541fcd41b0c40b5b6e6e7a7639d1
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Editor/refreshMaterialInspectorWindow.cs b/Packages/XuanXuanRenderUtility/Editor/refreshMaterialInspectorWindow.cs
deleted file mode 100644
index 03ec1534..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/refreshMaterialInspectorWindow.cs
+++ /dev/null
@@ -1,187 +0,0 @@
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using UnityEngine;
-using UnityEditor;
-
-public class RefreshMaterialInspectorWindow : EditorWindow
-{
- [MenuItem("ArtTools/刷新选中材质球面板")]
- static void refershSelectMaterialInspector()
- {
- EditorWindow.GetWindow("材质球刷新");
- }
- public static bool isRefreshing = false;
- List materials = new List();
- int i = 0;
- private void OnGUI()
- {
- if (GUILayout.Button("开始刷新材质面板"))
- {
- materials.Clear();
- foreach (UnityEngine.Object o in Selection.GetFiltered(typeof(Material), SelectionMode.DeepAssets))
- {
- string path = AssetDatabase.GetAssetPath(o);
- string fileExtension = Path.GetExtension(path);
- if (fileExtension == ".mat")
- {
- materials.Add((Material)o);
-
- }
- }
- i = 0;
- }
- }
-
- private void OnEnable()
- {
- Debug.Log("刷新材质打开");
-
- isRefreshing = true;
- }
-
- private void Update()
- {
- if(materials.Count <= 0) return;
- if (i < materials.Count)
- {
- // isRefreshing = true;
- // SetNormalToUV1(materials[i]);
- Selection.activeObject = materials[i];
- Debug.Log(materials[i].name,materials[i]);
- EditorUtility.DisplayProgressBar("材质球刷新", $"{i + 1}/{materials.Count}", (i + 1) / (float)materials.Count);
- i++;
- // isRefreshing = false;
- }
- if (i >= materials.Count)
- {
- EditorUtility.ClearProgressBar();
- materials.Clear();
- Debug.Log("材质刷新结束,isRefreshing布尔值 = "+isRefreshing);
-
- }
-
-
- }
-
- void OnDisable()
- {
- Debug.Log("刷新材质关闭");
- isRefreshing = false;
-
- }
-
- // void SetNormalToUV1(Material mat)
- // {
- // if (mat.HasProperty("_NormalFrom"))
- // {
- // mat.SetInteger("_NormalFrom",1);
- // }
- // }
- //
- // // [MenuItem("Assets/测试刷新材质", priority = 1)]
- // public static void TestRefeshMaterial()
- // {
- // W9ParticleShaderFlags flags = new W9ParticleShaderFlags();
- // int id = Shader.PropertyToID("_Mask2_Toggle");
- // foreach (UnityEngine.Object o in Selection.GetFiltered(typeof(Material), SelectionMode.DeepAssets))
- // {
- // Material mat = o as Material;
- // if (mat.shader.name == "XuanXuan/Effects/Particle_NiuBi")
- // {
- // bool isToggle = mat.GetFloat(id) > 0.5f;
- // if (isToggle)
- // {
- // mat.DisableKeyword("_MASKMAP2");
- // flags.SetMaterial(mat);
- // flags.SetFlagBits(W9ParticleShaderFlags.FLAG_BIT_PARTICLE_1_MASK_MAP2,index:1);
- // }
- // // flags.SetMaterial(mat);
- // }
- // }
- // AssetDatabase.SaveAssets();
- // }
- //
- // [MenuItem("Assets/Effect Tool/刷新选中文件夹内材质Wrap模式", priority = 1)]
- // public static void SetSelectParticleMaterialWrapMode()
- // {
- // foreach (UnityEngine.Object o in Selection.GetFiltered(typeof(Material), SelectionMode.DeepAssets))
- // {
- // Material mat = (Material)o;
- // // Debug.Log(mat.shader.name);
- // SetParticleMaterialWrapMode((Material)o);
- // }
- // AssetDatabase.SaveAssets();
- // }
- //
- // public static void SetParticleMaterialWrapMode(Material mat)
- // {
- //
- // if (mat.shader.name == "XuanXuan/Effects/Particle_NiuBi")
- // {
- // W9ParticleShaderFlags flags = new W9ParticleShaderFlags(mat);
- // SetWrapModeFlag(flags,mat,"_BaseMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_BASEMAP);
- // SetWrapModeFlag(flags,mat,"_MaskMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP);
- // SetWrapModeFlag(flags,mat,"_MaskMap2",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_MASKMAP2);
- // SetWrapModeFlag(flags,mat,"_NoiseMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_NOISEMAP);
- // SetWrapModeFlag(flags,mat,"_EmissionMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_EMISSIONMAP);
- // SetWrapModeFlag(flags,mat,"_DissolveMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_DISSOLVE_MAP);
- // SetWrapModeFlag(flags,mat,"_DissolveMaskMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_DISSOLVE_MASKMAP);
- // SetWrapModeFlag(flags,mat,"_DissolveRampMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_DISSOLVE_RAMPMAP);
- // SetWrapModeFlag(flags,mat,"_ColorBlendMap",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_COLORBLENDMAP);
- // SetWrapModeFlag(flags,mat,"_VertexOffset_Map",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_VERTEXOFFSETMAP);
- // SetWrapModeFlag(flags,mat,"_ParallaxMapping_Map",W9ParticleShaderFlags.FLAG_BIT_WRAPMODE_PARALLAXMAPPINGMAP);
- // }
- // }
- //
- // public static void SetParticleMaterialMaskStrenth(Material mat)
- // {
- // if (mat.shader.name == "XuanXuan/Effects/Particle_NiuBi")
- // {
- // Vector4 vec = mat.GetVector("_MaskMap3OffsetAnition");
- // if (vec.z < 1)
- // {
- // Vector4 newVec = new Vector4(vec.x, vec.y, 1, vec.w);
- // mat.SetVector("_MaskMap3OffsetAnition",newVec);
- // }
- // }
- // }
- //
- // static void SetWrapModeFlag(W9ParticleShaderFlags flags, Material mat, string matTexPropertyName, int flagBit)
- // {
- // if (mat.GetTexture(matTexPropertyName) != null)
- // {
- // Texture tex = mat.GetTexture(matTexPropertyName);
- // Debug.Log(tex.name);
- // if (tex.wrapMode == TextureWrapMode.Clamp)
- // {
- // Debug.Log("This is Clamp");
- // flags.SetFlagBits(flagBit,index:2);
- // }
- // else if (tex.wrapMode == TextureWrapMode.Repeat)
- // {
- // Debug.Log("This is Repeat");
- // flags.ClearFlagBits(flagBit,index:2);
- // }
- // }
- // }
-
-
-
-
- // static IEnumerator refreshMaterialInspector(Material[] materials)
- // {
- // for (int i = 0; i < materials.Length; i++)
- // {
- // EditorUtility.DisplayProgressBar("材质球刷新", $"{i + 1}/{materials.Length}", (i + 1) / (float)materials.Length);
- // Debug.Log(i);
- // // Selection.activeObject = materials[i];
- // yield return null;
- // }
- // EditorUtility.ClearProgressBar();
- // // yield break;
- // }
-}
-
-
diff --git a/Packages/XuanXuanRenderUtility/Editor/refreshMaterialInspectorWindow.cs.meta b/Packages/XuanXuanRenderUtility/Editor/refreshMaterialInspectorWindow.cs.meta
deleted file mode 100644
index bee009b9..00000000
--- a/Packages/XuanXuanRenderUtility/Editor/refreshMaterialInspectorWindow.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 317bb692129be184ebd7249bba265210
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Runtime.meta b/Packages/XuanXuanRenderUtility/Runtime.meta
deleted file mode 100644
index 538ef33f..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 72e9a7523c1a5994c8fb317e7a9514e0
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Runtime/ButtonAttributes.cs b/Packages/XuanXuanRenderUtility/Runtime/ButtonAttributes.cs
deleted file mode 100644
index 56c4694e..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/ButtonAttributes.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using System.Reflection;
-using UnityEngine;
-#if UNITY_EDITOR
-using UnityEditor;
-#endif
-
-public class InspectorButtonAttribute:PropertyAttribute
-{
- public string Label;
- public string MethodName;
-
- public InspectorButtonAttribute(string label,string methodName)
- {
- this.Label = label;
- this.MethodName = methodName;
- }
-}
-
-#if UNITY_EDITOR
-[CustomPropertyDrawer(typeof(InspectorButtonAttribute))]
-public class InspectorButtonPropertyDrawer : PropertyDrawer
-{
- public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
- {
-
- InspectorButtonAttribute buttonAttribute = (InspectorButtonAttribute)attribute;
-
-
- // 绘制按钮
- if (GUI.Button(position, buttonAttribute.Label))
- {
- // 获取包含该方法的对象
- var targetObject = property.serializedObject.targetObject;
-
- // 获取方法信息
- var methodInfo = targetObject.GetType().GetMethod(buttonAttribute.MethodName,BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
-
- if (methodInfo != null)
- {
- // 调用方法
- methodInfo.Invoke(targetObject, null);
- }
- else
- {
- Debug.LogError($"Method '{buttonAttribute.MethodName}' not found in {targetObject.name}.");
- }
- }
- }
-
- public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
- {
- return EditorGUIUtility.singleLineHeight; // 返回按钮的高度
- }
-}
-#endif
-
-
diff --git a/Packages/XuanXuanRenderUtility/Runtime/ButtonAttributes.cs.meta b/Packages/XuanXuanRenderUtility/Runtime/ButtonAttributes.cs.meta
deleted file mode 100644
index 8897a871..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/ButtonAttributes.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: 45f557806bb54c4dbeaec7a2ded5be83
-timeCreated: 1737792133
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Runtime/MaterialPropertyAgent.cs b/Packages/XuanXuanRenderUtility/Runtime/MaterialPropertyAgent.cs
deleted file mode 100644
index 04bcefca..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/MaterialPropertyAgent.cs
+++ /dev/null
@@ -1,562 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.UI;
-
-
-//TODO增加一键去重功能。测试排查BUG
-[ExecuteInEditMode]
-public class MaterialPropertyAgent : MonoBehaviour,IMaterialModifier
-{
- [System.Serializable]
- public struct PropertyData
- {
- [HideInInspector] public int dataIndexInAgent;
- [HideInInspector] public MaterialPropertyAgent agent;
- [HideInInspector] public int id;
-
-
- public int index;
- [HideInInspector] public string propName;
-
- public shaderPropertyType type;
-
-
- public string descripName;
-
-
- public Color colorValue;
-
- public Vector4 vecValue;
-
- public float floatValue;
-
- [SerializeField] public IEnumerable propNameList;
- [HideInInspector] public bool isActive;
- [HideInInspector] public Shader shader;
- [HideInInspector] public Material mat;
-
-#if UNITY_EDITOR
- public float rangMin { get; set; }
- public float rangMax { get; set; }
-
- public void setValueByPropChange()
- {
- agent.refreshShderPropNameList();
- if (!agent.isCanUsedIndex(index))
- {
- index = agent.getCanUsedIndex();
- }
-
- string propertyName = UnityEditor.ShaderUtil.GetPropertyName(shader, index);
- id = Shader.PropertyToID(propertyName);
- descripName = UnityEditor.ShaderUtil.GetPropertyDescription(shader, index);
- type = (shaderPropertyType) UnityEditor.ShaderUtil.GetPropertyType(shader, index);
- if (type == shaderPropertyType.TexEnv)
- {
- propName = UnityEditor.ShaderUtil.GetPropertyName(shader, index) + "_ST";
- }
- else
- {
- propName = UnityEditor.ShaderUtil.GetPropertyName(shader, index);
- }
-
- switch (type)
- {
- case shaderPropertyType.Color:
- colorValue = mat.GetColor(id);
- break;
- case shaderPropertyType.Float:
- floatValue = mat.GetFloat(id);
- break;
- case shaderPropertyType.Range:
- rangMin = UnityEditor.ShaderUtil.GetRangeLimits(shader, index, 1);
- rangMax = UnityEditor.ShaderUtil.GetRangeLimits(shader, index, 2);
- floatValue = mat.GetFloat(id);
- break;
- case shaderPropertyType.Vector:
- vecValue = mat.GetVector(id);
- break;
- case shaderPropertyType.TexEnv:
- string stName = UnityEditor.ShaderUtil.GetPropertyName(shader, index) + "_ST";
- vecValue = mat.GetVector(stName);
- break;
- }
- }
-
- public void inActivateThis()
- {
- isActive = false;
- }
-#endif
- }
-
- //因为ShaderUtil只是用于Editor,所以复制一个枚举对属性类型进行识别。
-
- public enum shaderPropertyType
- {
- //
- // 摘要:
- // Color Property.
- Color = 0,
-
- //
- // 摘要:
- // Vector Property.
- Vector = 1,
-
- //
- // 摘要:
- // Float Property.
- Float = 2,
-
- //
- // 摘要:
- // Range Property.
- Range = 3,
-
- //
- // 摘要:
- // Texture Property.
- TexEnv = 4
- }
-
-
- public PropertyData data0 = new PropertyData();
-
- public PropertyData data1 = new PropertyData();
-
- public PropertyData data2 = new PropertyData();
-
- public PropertyData data3 = new PropertyData();
-
- public PropertyData data4 = new PropertyData();
-
- public PropertyData data5 = new PropertyData();
-
- public Shader shader;
- public Material mat;
-
-
- public int materialIndex = 0;
- public Renderer customRenderer;
-
- void initMatAndShader(bool initMat = false)
- {
- if (!initMat)
- {
- if (mat != null) return;
- }
-
- if (customRenderer || GetComponent())
- {
- Material[] materials;
- Renderer r;
- if (customRenderer)
- {
- r = customRenderer;
- }
- else
- {
- r = GetComponent();
- }
- if (Application.isPlaying)
- {
- materials = r.materials;
- }
- else
- {
- materials = r.sharedMaterials;
- }
-
- mat = materials[materialIndex];
- shader = mat.shader;
- }
- else if (this.GetComponent())
- {
- Graphic graphic = this.GetComponent();
-
-//测试,要不要用IMaterialModifier来处理
- // if (Application.isPlaying)
- // {
- // graphic.material = Material.Instantiate(graphic.material);
- // }
-
- mat = graphic.material;
-
-
- shader = mat.shader;
- }
- else
- {
- Debug.LogError("MaterialPropertyAgent未找到材质", this.gameObject);
- }
- }
-
- private void Start()
- {
- if (Application.isPlaying)
- {
- initMatAndShader(true);
- }
- else
- {
- initMatAndShader(false);
- }
- }
-
- private void Update()
- {
- if (mat == null)
- {
- // initMatAndShader();
- return;
- }
-
- updateData(data0);
- updateData(data1);
- updateData(data2);
- updateData(data3);
- updateData(data4);
- updateData(data5);
- }
-
- void updateData(PropertyData data)
- {
- if (!data.isActive) return;
- if (mat == null) return;
- switch (data.type)
- {
- case shaderPropertyType.Color:
- mat.SetColor(data.propName, data.colorValue);
- break;
- case shaderPropertyType.Vector:
- case shaderPropertyType.TexEnv:
- mat.SetVector(data.propName, data.vecValue);
- break;
- case shaderPropertyType.Float:
- case shaderPropertyType.Range:
- mat.SetFloat(data.propName, data.floatValue);
- break;
- }
- }
-
- //实际上是修改了graphic.materialForRendering
- public Material GetModifiedMaterial(Material baseMaterial)
- {
- if (mat)
- {
- return mat;
- }
- else
- {
- return baseMaterial;
- }
- }
-
-#if UNITY_EDITOR
-
- private void OnRenderObject()
- {
- if (!UnityEditor.EditorApplication.isPlaying)
- {
- Update();
- }
- }
-
- public void addProperteData()
- {
- refreshShderPropNameList();
-
- if (!data0.isActive)
- {
- initData(ref data0, 0);
- }
- else if (!data1.isActive)
- {
- initData(ref data1, 1);
- }
- else if (!data2.isActive)
- {
- initData(ref data2, 2);
- }
- else if (!data3.isActive)
- {
- initData(ref data3, 3);
- }
- else if (!data4.isActive)
- {
- initData(ref data4, 4);
- }
- else if (!data5.isActive)
- {
- initData(ref data5, 5);
- }
- else
- {
- Debug.Log("已用掉可用的6个属性");
- }
- }
-
- public void removeAllProperty()
- {
- data0.isActive = false;
- data1.isActive = false;
- data2.isActive = false;
- data3.isActive = false;
- data4.isActive = false;
- data5.isActive = false;
- }
-
- public void initData(ref PropertyData data, int dataIndexInAgent)
- {
- data.dataIndexInAgent = dataIndexInAgent;
- data.agent = this;
- data.shader = shader;
- data.mat = mat;
- data.isActive = true;
-
- data.index = getCanUsedIndex();
- data.setValueByPropChange();
- }
-
- #region TODO自动排除已用Property
-
- List usedPropertyName = new List();
-
- void collectUsedPropName()
- {
- usedPropertyName.Clear();
- if (data0.isActive)
- {
- usedPropertyName.Add(data0.propName);
- }
-
- if (data1.isActive)
- {
- usedPropertyName.Add(data1.propName);
- }
-
- if (data2.isActive)
- {
- usedPropertyName.Add(data2.propName);
- }
-
- if (data3.isActive)
- {
- usedPropertyName.Add(data3.propName);
- }
-
- if (data4.isActive)
- {
- usedPropertyName.Add(data4.propName);
- }
-
- if (data5.isActive)
- {
- usedPropertyName.Add(data5.propName);
- }
- }
-
- public int getCanUsedIndex()
- {
- int index = -1;
- collectUsedPropName();
- for (int i = 0; i < shaderPropNameArr.Length; i++)
- {
- string propertyName;
- if (UnityEditor.ShaderUtil.GetPropertyType(shader, i) == UnityEditor.ShaderUtil.ShaderPropertyType.TexEnv)
- {
- propertyName = shaderPropNameArr[i] + "_ST";
- }
- else
- {
- propertyName = shaderPropNameArr[i];
- }
-
- if (usedPropertyName.Contains(propertyName)) continue;
- index = i;
- break;
- }
-
- return index;
- }
-
- public bool isCanUsedIndex(int i)
- {
- string propertyName;
- if (UnityEditor.ShaderUtil.GetPropertyType(shader, i) == UnityEditor.ShaderUtil.ShaderPropertyType.TexEnv)
- {
- propertyName = shaderPropNameArr[i] + "_ST";
- }
- else
- {
- propertyName = shaderPropNameArr[i];
- }
-
- collectUsedPropName();
- if (usedPropertyName.Contains(propertyName))
- {
- return false;
- }
- else
- {
- return true;
- }
- }
-
- #endregion
-
- public string[] shaderPropNameArr;
- public string[] shaderPropDescripArr;
- public string[] shaderPropDescripsForSerch;
-
- private void OnValidate()
- {
- // if (XLuaManager.Instance != null)
- // {
- // if (XLuaManager.Instance.HasGameStart)//判断是游戏运行状态才进行实例化
- // {
- // return;//游戏进行中不允许编辑
- // }
- // }
- // Debug.Log("MaterialPropertyAgent : " + "OnValidate");
- refreshShderPropNameList();
- if (TryGetComponent(out Renderer r)||customRenderer)
- {
- isRendererMode = true;
- }
- else
- {
- isRendererMode = false;
- }
-
- if (TryGetComponent(out Renderer r2) || TryGetComponent(out Graphic g))
- {
- isGetByComponet = true;
- }
- else
- {
- isGetByComponet = false;
- }
- }
- public bool isRendererMode = false;
- public bool isGetByComponet = false;
- public void initMatAndShaderByMaterialIndexChange()
- {
- initMatAndShader(true);
- refreshShderPropNameList();
- if (data0.isActive && data0.shader != mat.shader) {data0.shader = mat.shader;data0.mat = mat;}
- if (data1.isActive && data1.shader != mat.shader) {data1.shader = mat.shader;data1.mat = mat;}
- if (data2.isActive && data2.shader != mat.shader) {data2.shader = mat.shader;data2.mat = mat;}
- if (data3.isActive && data3.shader != mat.shader) {data3.shader = mat.shader;data3.mat = mat;}
- if (data4.isActive && data4.shader != mat.shader) {data4.shader = mat.shader;data4.mat = mat;}
- if (data5.isActive && data5.shader != mat.shader) {data5.shader = mat.shader;data5.mat = mat;}
-
- }
-
-
- List shaderPropNameList = new List();
- private List shaderPropDescripList = new List();
- private List shaderPropDescripListForSerch = new List();
- public void refreshShderPropNameList()
- {
- initMatAndShader();
- if (shader == null) return;
-
- shaderPropNameList.Clear();
- shaderPropDescripList.Clear();
- shaderPropDescripListForSerch.Clear();
- for (int i = 0; i < UnityEditor.ShaderUtil.GetPropertyCount(shader); i++)
- {
- shaderPropNameList.Add(UnityEditor.ShaderUtil.GetPropertyName(shader, i));
- string descript = UnityEditor.ShaderUtil.GetPropertyDescription(shader, i);
- shaderPropDescripList.Add(descript);
- string lowerDesc = descript.ToLower();
- if (!(lowerDesc.Contains("ignore") || lowerDesc.Contains("mode") || lowerDesc.Contains("toggle") ||
- lowerDesc.Contains("enable") || lowerDesc.Contains("flag")))
- {
- shaderPropDescripListForSerch.Add(descript);
- }
- }
-
- shaderPropNameArr = shaderPropNameList.ToArray();
- shaderPropDescripArr = shaderPropDescripList.ToArray();
- shaderPropDescripsForSerch = shaderPropDescripListForSerch.ToArray();
- }
-#endif
-}
-
-
-/*
-[CustomPropertyDrawer(typeof(MaterialPropertyAgent.PropertyData))]
-public class PropertyAgentPropertyDataDrawer : PropertyDrawer
-{
- public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
- {
- EditorGUI.BeginProperty(position, label, property);
-
- var isActive = property.FindPropertyRelative("isActive");
- if (isActive.boolValue)
- {
- EditorGUILayout.LabelField(label, EditorStyles.boldLabel);
-
- EditorGUI.indentLevel++;
-
- EditorGUILayout.BeginHorizontal();
- var index = property.FindPropertyRelative("index");
- MaterialPropertyAgent agent = property.FindPropertyRelative("agent").objectReferenceValue as MaterialPropertyAgent;
- int preservedIndex = index.intValue;
- float originLabelWidth = EditorGUIUtility.labelWidth;
- EditorGUIUtility.labelWidth = 80;
- index.intValue = EditorGUILayout.Popup("属性名:", index.intValue, agent.shaderPropNameArr);
- if (preservedIndex != index.intValue)//证明用户进行了更改
- {
- if (!agent.isCanUsedIndex(index.intValue))
- {
- //TODO给一个报错提示
- Debug.Log(ShaderUtil.GetPropertyDescription(agent.shader, index.intValue));
- index.intValue = agent.getCanUsedIndex();
- }
- //此处进行内容刷新
- data.setValueByPropChange();
- }
-
-
- EditorGUILayout.LabelField("属性类型:", data.type.ToString());
-
- EditorGUILayout.EndHorizontal();
- EditorGUIUtility.labelWidth = originLabelWidth;
- switch (data.type)
- {
- case MaterialPropertyAgent.shaderPropertyType.Color:
- data.colorValue = EditorGUILayout.ColorField(data.descripName + " :", data.colorValue);
- break;
- case MaterialPropertyAgent.shaderPropertyType.Vector:
- data.vecValue = EditorGUILayout.Vector4Field(data.descripName + " :", data.vecValue);
- break;
- case MaterialPropertyAgent.shaderPropertyType.Float:
- data.floatValue = EditorGUILayout.FloatField(data.descripName + ":", data.floatValue);
- break;
- case MaterialPropertyAgent.shaderPropertyType.Range:
- data.floatValue = EditorGUILayout.Slider(data.descripName + ":", data.floatValue, data.rangMin, data.rangMax);
- break;
- case MaterialPropertyAgent.shaderPropertyType.TexEnv:
- data.vecValue = EditorGUILayout.Vector4Field(data.propName + "_ST:", data.vecValue);
- break;
- }
-
- if (GUILayout.Button("删除", new[] { GUILayout.Width(200) }))
- {
- data.isActive = false;
- }
- EditorGUI.indentLevel--;
- EditorGUILayout.Space();
- }
- }
-
- EditorGUI.EndProperty();
- }
-
-}
-*/
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Runtime/MaterialPropertyAgent.cs.meta b/Packages/XuanXuanRenderUtility/Runtime/MaterialPropertyAgent.cs.meta
deleted file mode 100644
index 2e4b6ba9..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/MaterialPropertyAgent.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 781e80efab11a1d438f7c4d37603bdff
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Runtime/ShaderFlagsBase.cs b/Packages/XuanXuanRenderUtility/Runtime/ShaderFlagsBase.cs
deleted file mode 100644
index 01449c4c..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/ShaderFlagsBase.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-using System;
-using UnityEngine;
-
-public abstract class ShaderFlagsBase
-{
-
- private Material _material;
-
- public Material material
- {
- get
- {
- return _material;
- }
- }
-
- protected ShaderFlagsBase(Material material)
- {
- _material = material;
- }
-
- public void SetMaterial(Material material)
- {
- _material = material;
- }
-
- public Material GetMaterial()
- {
- return _material;
- }
-
- public abstract int GetShaderFlagsId(int index = 0);
- protected abstract string GetShaderFlagsName(int index = 0);
-
- private void SetIntValue(Material material, int flagBits,int index = 0)
- {
-#if UNITY_EDITOR
- material.SetInteger(GetShaderFlagsId(index), flagBits);
-#else
- material.SetInteger(GetShaderFlagsId(index), flagBits);
-#endif
- }
-
- public void SetFlagBits(int flagBits, MaterialPropertyBlock propertyBlock = null,int index = 0)
- {
- if (propertyBlock is null)
- {
- if (_material is null) return;
- int flags = _material.GetInteger(GetShaderFlagsId(index));
- SetIntValue(_material, flags | flagBits,index);
- }
- else
- {
- int flags = propertyBlock.GetInt(GetShaderFlagsId(index));
- propertyBlock.SetInt(GetShaderFlagsId(index), flags|flagBits);
- }
- }
-
- public void ClearFlagBits(int flagBits, MaterialPropertyBlock propertyBlock = null,int index = 0)
- {
- if (propertyBlock is null)
- {
- if (_material is null) return;
- int flags = _material.GetInteger(GetShaderFlagsId(index));
- SetIntValue(_material, flags&~flagBits,index);
- }
- else
- {
- int flags = propertyBlock.GetInteger(GetShaderFlagsId(index));
- propertyBlock.SetInteger(GetShaderFlagsId(index), flags&~flagBits);
- }
- }
-
- public bool CheckFlagBits(int flagBits, MaterialPropertyBlock propertyBlock = null,int index = 0)
- {
- int flags = 0;
- if (propertyBlock is null)
- {
- if (_material is null) throw new NullReferenceException("material");
- flags = _material.GetInteger(GetShaderFlagsId(index));
- }
- else
- {
- flags = propertyBlock.GetInteger(GetShaderFlagsId(index));
- }
- return (flags & flagBits) != 0;
- }
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Runtime/ShaderFlagsBase.cs.meta b/Packages/XuanXuanRenderUtility/Runtime/ShaderFlagsBase.cs.meta
deleted file mode 100644
index cd25db0b..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/ShaderFlagsBase.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: 3bcf591e67bd470e9375d72c63838643
-timeCreated: 1655437380
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Runtime/com.xuanxuan.render.utility.asmdef b/Packages/XuanXuanRenderUtility/Runtime/com.xuanxuan.render.utility.asmdef
deleted file mode 100644
index 04532762..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/com.xuanxuan.render.utility.asmdef
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "com.xuanxuan.render.utility",
- "rootNamespace": "",
- "references": [
- "GUID:15fc0a57446b3144c949da3e2b9737a9"
- ],
- "includePlatforms": [],
- "excludePlatforms": [],
- "allowUnsafeCode": true,
- "overrideReferences": false,
- "precompiledReferences": [],
- "autoReferenced": true,
- "defineConstraints": [],
- "versionDefines": [],
- "noEngineReferences": false
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/Runtime/com.xuanxuan.render.utility.asmdef.meta b/Packages/XuanXuanRenderUtility/Runtime/com.xuanxuan.render.utility.asmdef.meta
deleted file mode 100644
index 58d046aa..00000000
--- a/Packages/XuanXuanRenderUtility/Runtime/com.xuanxuan.render.utility.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 8f9e4d586616f13449cfeb86c5f704c2
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Shader.meta b/Packages/XuanXuanRenderUtility/Shader.meta
deleted file mode 100644
index 6308fd13..00000000
--- a/Packages/XuanXuanRenderUtility/Shader.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 97647516635f92f43a6cd4807c3899d8
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL.meta b/Packages/XuanXuanRenderUtility/Shader/HLSL.meta
deleted file mode 100644
index 784e53ca..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: fa89a0fdb680e154f89c18f1a7fea2c6
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL/XuanXuan_Utility.hlsl b/Packages/XuanXuanRenderUtility/Shader/HLSL/XuanXuan_Utility.hlsl
deleted file mode 100644
index 5e11fdd5..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL/XuanXuan_Utility.hlsl
+++ /dev/null
@@ -1,371 +0,0 @@
-#ifndef XUANXUAN_UTILITY
-#define XUANXUAN_UTILITY
-
-
-
-//引入自UnityCG.cginc
-#define UNITY_PI 3.14159265359f
-#define UNITY_TWO_PI 6.28318530718f
-#define UNITY_FOUR_PI 12.56637061436f
-#define UNITY_INV_PI 0.31830988618f
-#define UNITY_INV_TWO_PI 0.15915494309f
-#define UNITY_INV_FOUR_PI 0.07957747155f
-#define UNITY_HALF_PI 1.57079632679f
-#define UNITY_INV_HALF_PI 0.636619772367f
-
-#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
-
-inline half NB_Remap(half x, half inMin, half inMax, half outMin, half outMax)
-{
- // x= clamp(x,inMin,inMax);
- return saturate((x - inMin) / (inMax - inMin)) * (outMax - outMin) + outMin;
-}
-
-inline half NB_Remap01(half x, half inMin, half inMax)
-{
- // x= clamp(x,inMin,inMax);
- return saturate((x - inMin) / (inMax - inMin));
-}
-
-inline half NB_RemapNoClamp(half x, half inMin, half inMax, half outMin, half outMax)
-{
- // x= clamp(x,inMin,inMax);
- return ((x - inMin) / (inMax - inMin)) * (outMax - outMin) + outMin;
-}
-
-//原生SmoothStep开销很大:https://zhuanlan.zhihu.com/p/34629262
-//在很多时候可以用简单线性映射代替。
-half SimpleSmoothstep(half min,half max,half interp)
-{
- return saturate((interp - min)/(max-min));
-}
-
-half4 TryLinearize(half4 color)
-{
- #if defined(UNITY_COLORSPACE_GAMMA)
- return pow(color, 2.2f);
- #else
- return color;
- #endif
-}
-
-half4 TryLinearizeWithoutAlpha(half4 color)
-{
- #if defined(UNITY_COLORSPACE_GAMMA)
- return half4(pow(color.rgb, 2.2f), color.a);
- #else
- return color;
- #endif
-}
-
-half3 TryLinearize(half3 color)
-{
- #if defined(UNITY_COLORSPACE_GAMMA)
- return pow(color, 2.2f);
- #else
- return color;
- #endif
-}
-
-half2 TryLinearize(half2 color)
-{
- #if defined(UNITY_COLORSPACE_GAMMA)
- return pow(color, 2.2f);
- #else
- return color;
- #endif
-}
-
-half TryLinearize(half color)
-{
- #if defined(UNITY_COLORSPACE_GAMMA)
- return pow(color, 2.2f);
- #else
- return color;
- #endif
-}
-
-half4 tex2D_TryLinearizeWithoutAlpha(sampler2D tex, float2 uv)
-{
- #if defined(UNITY_COLORSPACE_GAMMA)
- return TryLinearizeWithoutAlpha(tex2D(tex, uv));
- #else
- return tex2D(tex, uv);
- #endif
-}
-
-inline float LinearToGammaSpaceExact (float value)
-{
- if (value <= 0.0F)
- return 0.0F;
- else if (value <= 0.0031308F)
- return 12.92F * value;
- else if (value < 1.0F)
- return 1.055F * pow(value, 0.4166667F) - 0.055F;
- else
- return pow(value, 0.45454545F);
-}
-
-// real FastSRGBToLinear(real c)
-// {
-// return c * (c * (c * 0.305306011 + 0.682171111) + 0.012522878);
-// }
-
-float2 Rotate_Radians_float(float2 UV, float2 Center, float Rotation)
-{
- if(Rotation == 0)
- {
- return UV;
- }
-
- // Rotation = Rotation / 180 * 3.14; //从角度转为弧度。
- Rotation *= 0.01745329222; //从角度转为弧度。
- UV -= Center;
- float s = sin(Rotation);
- float c = cos(Rotation);
- float2x2 rMatrix = float2x2(c, -s, s, c);
- rMatrix *= 0.5;
- rMatrix += 0.5;
- rMatrix = rMatrix * 2 - 1;
- UV.xy = mul(UV.xy, rMatrix);
- UV += Center;
- return UV;
-}
-
-inline half luminance(half3 color)
-{
- return dot(color, float3(0.2126f, 0.7152f, 0.0722f));
-}
-
-inline half DepthFactor(float Z, float near, float far)
-{
- Z = saturate((Z-near)/(far - near));
- return Z;
-}
-
-//抽自Unity.cginc
-inline half3 LinearToGammaSpace (half3 linRGB)
-{
- linRGB = max(linRGB, half3(0.h, 0.h, 0.h));
- // An almost-perfect approximation from http://chilliant.blogspot.com.au/2012/08/srgb-approximations-for-hlsl.html?m=1
- return max(1.055h * pow(linRGB, 0.416666667h) - 0.055h, 0.h);
-
- // Exact version, useful for debugging.
- //return half3(LinearToGammaSpaceExact(linRGB.r), LinearToGammaSpaceExact(linRGB.g), LinearToGammaSpaceExact(linRGB.b));
-}
-
-//ASE
-float2 voronoihash1( float2 p )
-{
-
- p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) );
- return frac( sin( p ) *43758.5453);
-}
-
-//ASE
-float voronoi1( float2 v, float time, inout float2 id, inout float2 mr, float smoothness )
-{
- float2 n = floor( v );
- float2 f = frac( v );
- float F1 = 8.0;
- float F2 = 8.0; float2 mg = 0;
- for ( int j = -1; j <= 1; j++ )
- {
- for ( int i = -1; i <= 1; i++ )
- {
- float2 g = float2( i, j );
- float2 o = voronoihash1( n + g );
- o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o;
- float d = 0.5 * dot( r, r );
- if( d x0.y ? float2(1, 0) : float2(0, 1);
- float2 x1 = x0 + C1 - i1;
- float2 x2 = x0 + C1 * 2 - 1;
-
- // Permutations
- i = wglnoise_mod289(i); // Avoid truncation effects in permutation
- float3 p = wglnoise_permute( i.y + float3(0, i1.y, 1));
- p = wglnoise_permute(p + i.x + float3(0, i1.x, 1));
-
- // Gradients: 41 points uniformly over a unit circle.
- // The ring size 17*17 = 289 is close to a multiple of 41 (41*7 = 287)
- float3 phi = p / 41 * 3.14159265359 * 2;
- float2 g0 = float2(cos(phi.x), sin(phi.x));
- float2 g1 = float2(cos(phi.y), sin(phi.y));
- float2 g2 = float2(cos(phi.z), sin(phi.z));
-
- // Compute noise and gradient at P
- float3 m = float3(dot(x0, x0), dot(x1, x1), dot(x2, x2));
- float3 px = float3(dot(g0, x0), dot(g1, x1), dot(g2, x2));
-
- m = max(0.5 - m, 0);
- float3 m3 = m * m * m;
- float3 m4 = m * m3;
-
- float3 temp = -8 * m3 * px;
- float2 grad = m4.x * g0 + temp.x * x0 +
- m4.y * g1 + temp.y * x1 +
- m4.z * g2 + temp.z * x2;
-
- return 99.2 * float3(grad, dot(m4, px));
-}
-
-float SimplexNoise(float2 v)
-{
- return SimplexNoiseGrad(v).z;
-}
-
-#endif
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise2D.hlsl.meta b/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise2D.hlsl.meta
deleted file mode 100644
index 6b1fb6c3..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise2D.hlsl.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 66b8605d5d2f14d408b0f4aee5f9d25a
-timeCreated: 1498976326
-licenseType: Pro
-ShaderImporter:
- defaultTextures: []
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise3D.hlsl b/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise3D.hlsl
deleted file mode 100644
index bbe90070..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise3D.hlsl
+++ /dev/null
@@ -1,76 +0,0 @@
-//
-// Description : Array and textureless GLSL 2D/3D/4D simplex
-// noise functions.
-// Author : Ian McEwan, Ashima Arts.
-// Maintainer : ijm
-// Lastmod : 20110822 (ijm)
-// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
-// Distributed under the MIT License. See LICENSE file.
-// https://github.com/ashima/webgl-noise
-//
-
-#ifndef _INCLUDE_JP_KEIJIRO_NOISESHADER_SIMPLEX_NOISE_3D_HLSL_
-#define _INCLUDE_JP_KEIJIRO_NOISESHADER_SIMPLEX_NOISE_3D_HLSL_
-
-#include "Common.hlsl"
-
-float4 SimplexNoiseGrad(float3 v)
-{
- // First corner
- float3 i = floor(v + dot(v, 1.0 / 3));
- float3 x0 = v - i + dot(i, 1.0 / 6);
-
- // Other corners
- float3 g = x0.yzx <= x0.xyz;
- float3 l = 1 - g;
- float3 i1 = min(g.xyz, l.zxy);
- float3 i2 = max(g.xyz, l.zxy);
-
- float3 x1 = x0 - i1 + 1.0 / 6;
- float3 x2 = x0 - i2 + 1.0 / 3;
- float3 x3 = x0 - 0.5;
-
- // Permutations
- i = wglnoise_mod289(i); // Avoid truncation effects in permutation
- float4 p = wglnoise_permute( i.z + float4(0, i1.z, i2.z, 1));
- p = wglnoise_permute(p + i.y + float4(0, i1.y, i2.y, 1));
- p = wglnoise_permute(p + i.x + float4(0, i1.x, i2.x, 1));
-
- // Gradients: 7x7 points over a square, mapped onto an octahedron.
- // The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)
- float4 gx = lerp(-1, 1, frac(floor(p / 7) / 7));
- float4 gy = lerp(-1, 1, frac(floor(p % 7) / 7));
- float4 gz = 1 - abs(gx) - abs(gy);
-
- bool4 zn = gz < -0.01;
- gx += zn * (gx < -0.01 ? 1 : -1);
- gy += zn * (gy < -0.01 ? 1 : -1);
-
- float3 g0 = normalize(float3(gx.x, gy.x, gz.x));
- float3 g1 = normalize(float3(gx.y, gy.y, gz.y));
- float3 g2 = normalize(float3(gx.z, gy.z, gz.z));
- float3 g3 = normalize(float3(gx.w, gy.w, gz.w));
-
- // Compute noise and gradient at P
- float4 m = float4(dot(x0, x0), dot(x1, x1), dot(x2, x2), dot(x3, x3));
- float4 px = float4(dot(g0, x0), dot(g1, x1), dot(g2, x2), dot(g3, x3));
-
- m = max(0.5 - m, 0);
- float4 m3 = m * m * m;
- float4 m4 = m * m3;
-
- float4 temp = -8 * m3 * px;
- float3 grad = m4.x * g0 + temp.x * x0 +
- m4.y * g1 + temp.y * x1 +
- m4.z * g2 + temp.z * x2 +
- m4.w * g3 + temp.w * x3;
-
- return 107 * float4(grad, dot(m4, px));
-}
-
-float SimplexNoise(float3 v)
-{
- return SimplexNoiseGrad(v).w;
-}
-
-#endif
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise3D.hlsl.meta b/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise3D.hlsl.meta
deleted file mode 100644
index 48962bca..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/Shader/SimplexNoise3D.hlsl.meta
+++ /dev/null
@@ -1,9 +0,0 @@
-fileFormatVersion: 2
-guid: 2b1bb9b67aabb824998a7d2e026d2606
-timeCreated: 1498976326
-licenseType: Pro
-ShaderImporter:
- defaultTextures: []
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/package.json b/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/package.json
deleted file mode 100644
index a57b1f83..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/package.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "author": "Keijiro Takahashi",
- "description": "Noise Shader provides lightweight 2D/3D gradient noise functions for shader use.",
- "displayName": "Noise Shader",
- "keywords": [ "unity" ],
- "license": "MIT",
- "name": "jp.keijiro.noiseshader",
- "repository": "github:keijiro/NoiseShader",
- "unity": "2019.3",
- "unityRelease": "0f1",
- "version": "2.0.0"
-}
-
diff --git a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/package.json.meta b/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/package.json.meta
deleted file mode 100644
index 168c6744..00000000
--- a/Packages/XuanXuanRenderUtility/Shader/HLSL/jp.keijiro.noiseshader/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 39ccfaa9af9f4dc84a876b1b1c3ae8bb
-PackageManifestImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/XuanXuanRenderUtility/package.json b/Packages/XuanXuanRenderUtility/package.json
deleted file mode 100644
index 5daa2e72..00000000
--- a/Packages/XuanXuanRenderUtility/package.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "name": "com.xuanxuan.render.utility",
- "version": "0.0.1",
- "displayName": "XuanXuanRenderUtility",
- "description": "XuanXuanRenderUtility",
- "unity": "2019.1"
-}
\ No newline at end of file
diff --git a/Packages/XuanXuanRenderUtility/package.json.meta b/Packages/XuanXuanRenderUtility/package.json.meta
deleted file mode 100644
index 5f77bf5d..00000000
--- a/Packages/XuanXuanRenderUtility/package.json.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 45aa6b78bfd3f814b8fbc72aeba1affd
-PackageManifestImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json
index 331748fd..e01dfdeb 100644
--- a/Packages/packages-lock.json
+++ b/Packages/packages-lock.json
@@ -406,20 +406,8 @@
},
"url": "https://packages.unity.com"
},
- "com.xuanxuan.nb.postprocessing": {
- "version": "file:NBPostProcessing",
- "depth": 0,
- "source": "embedded",
- "dependencies": {}
- },
- "com.xuanxuan.nb.shaders": {
- "version": "file:NBShaders",
- "depth": 0,
- "source": "embedded",
- "dependencies": {}
- },
- "com.xuanxuan.render.utility": {
- "version": "file:XuanXuanRenderUtility",
+ "com.xuanxuan.nb.fx": {
+ "version": "file:NB_FX",
"depth": 0,
"source": "embedded",
"dependencies": {}
diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset
index df0d0374..0173f2e5 100644
--- a/ProjectSettings/GraphicsSettings.asset
+++ b/ProjectSettings/GraphicsSettings.asset
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b97767bdd6d6cc3fafd6a7f86074c8a234c0ef0255e6c849fe7e8f947b75f96b
-size 2852
+oid sha256:21ccee8a99e4dcdca104a1e060a52bdf63f65bdbe84fefe93534eb243f80c167
+size 2781
diff --git a/ProjectSettings/NBShaderFeatureLevels.asset b/ProjectSettings/NBShaderFeatureLevels.asset
new file mode 100644
index 00000000..38c4afc7
--- /dev/null
+++ b/ProjectSettings/NBShaderFeatureLevels.asset
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d265c44a515bf3c0787d60a40e6e291ad54f5dab66a8b55a5ddfc47c418d05b
+size 4547
diff --git a/ProjectSettings/NB_FXSettings.asset b/ProjectSettings/NB_FXSettings.asset
new file mode 100644
index 00000000..42d8e34a
--- /dev/null
+++ b/ProjectSettings/NB_FXSettings.asset
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ed699c800201ac01f5ec73b5b9f0371b684962d8a36ea7914a42008320685edb
+size 471
diff --git a/UserSettings/EditorUserSettings.asset b/UserSettings/EditorUserSettings.asset
index 655c0400..8dee6eb7 100644
--- a/UserSettings/EditorUserSettings.asset
+++ b/UserSettings/EditorUserSettings.asset
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:296b22a6c799033f87b30c1238780144180be02efcca61ef93d6e8a43d4a34de
-size 3683
+oid sha256:d6319da4b275dda32a828bf103a7b9a6d09c70850a3451959cb07e332fa508cd
+size 3687
diff --git a/UserSettings/Layouts/CurrentMaximizeLayout.dwlt b/UserSettings/Layouts/CurrentMaximizeLayout.dwlt
index c0dcbb2e..99b29d71 100644
--- a/UserSettings/Layouts/CurrentMaximizeLayout.dwlt
+++ b/UserSettings/Layouts/CurrentMaximizeLayout.dwlt
@@ -47,10 +47,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Game\u200B"
m_Pos:
serializedVersion: 2
- x: 271.33334
+ x: 270.6667
y: 78.66667
- width: 922
- height: 487.3333
+ width: 922.66675
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -72,7 +72,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
- m_TargetSize: {x: 1920, y: 1080}
+ m_TargetSize: {x: 2732, y: 2048}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
@@ -81,16 +81,16 @@ MonoBehaviour:
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
- m_SelectedSizes: 03000000000000001200000006000000000000000000000000000000000000000000000000000000
+ m_SelectedSizes: 03000000000000001200000015000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
- m_HBaseRangeMin: -640
- m_HBaseRangeMax: 640
- m_VBaseRangeMin: -360
- m_VBaseRangeMax: 360
+ m_HBaseRangeMin: -910.6667
+ m_HBaseRangeMax: 910.6667
+ m_VBaseRangeMin: -682.6667
+ m_VBaseRangeMax: 682.6667
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
@@ -108,23 +108,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
- width: 922
- height: 466.3333
- m_Scale: {x: 0.64768517, y: 0.64768517}
- m_Translation: {x: 461, y: 233.16666}
+ width: 922.66675
+ height: 533
+ m_Scale: {x: 0.39038086, y: 0.39038086}
+ m_Translation: {x: 461.3334, y: 266.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
- x: -711.76556
- y: -360
- width: 1423.5311
- height: 720
+ x: -1181.7521
+ y: -682.6667
+ width: 2363.5042
+ height: 1365.3334
m_MinimalGUI: 1
- m_defaultScale: 0.64768517
- m_LastWindowPixelSize: {x: 1383, y: 731}
+ m_defaultScale: 0.39038086
+ m_LastWindowPixelSize: {x: 1384.0001, y: 831}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 00000000000000000000
@@ -145,7 +145,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Children:
- {fileID: 4}
- - {fileID: 16}
+ - {fileID: 17}
m_Position:
serializedVersion: 2
x: 0
@@ -203,7 +203,7 @@ MonoBehaviour:
x: 0
y: 0
width: 1195.3334
- height: 513.3333
+ height: 580
m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
@@ -226,10 +226,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
- width: 271.33334
- height: 513.3333
- m_MinSize: {x: 200, y: 200}
- m_MaxSize: {x: 4000, y: 4000}
+ width: 270.66666
+ height: 580
+ m_MinSize: {x: 201, y: 226}
+ m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 7}
m_Panes:
- {fileID: 7}
@@ -259,8 +259,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 78.66667
- width: 270.33334
- height: 487.3333
+ width: 269.66666
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -278,37 +278,17 @@ MonoBehaviour:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
- - m_Data: 48546
+ - m_Data: 153856
m_LastClickedID:
- m_Data: 0
+ m_Data: 153856
m_ExpandedIDs:
- - m_Data: -108648
- - m_Data: -94366
- - m_Data: -94330
- - m_Data: -87070
- - m_Data: -87048
- - m_Data: -87012
- - m_Data: -49606
- - m_Data: -47774
- - m_Data: -14502
- - m_Data: -1338
- - m_Data: 102028
- - m_Data: 102060
- - m_Data: 103324
- - m_Data: 256180
- - m_Data: 256254
- - m_Data: 256286
- - m_Data: 256290
- - m_Data: 256456
- - m_Data: 256864
- - m_Data: 257170
- - m_Data: 257262
- - m_Data: 257486
- - m_Data: 257494
+ - m_Data: -396126
+ - m_Data: -55988
+ - m_Data: -1346
m_RenameOverlay:
m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
+ m_Name: par_04
+ m_OriginalName: par_04
m_EditFieldRect:
serializedVersion: 2
x: 0
@@ -316,10 +296,10 @@ MonoBehaviour:
width: 0
height: 0
m_UserData:
- m_Data: 0
+ m_Data: 132906
m_IsWaitingForDelay: 0
m_IsRenaming: 0
- m_OriginalEventType: 11
+ m_OriginalEventType: 0
m_IsRenamingFilename: 0
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 6}
@@ -345,10 +325,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
- x: 271.33334
+ x: 270.66666
y: 0
- width: 924
- height: 513.3333
+ width: 924.66675
+ height: 580
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 2}
@@ -380,10 +360,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Scene\u200B"
m_Pos:
serializedVersion: 2
- x: 271.33334
+ x: 270.6667
y: 78.66667
- width: 922
- height: 487.3333
+ width: 922.66675
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1052,9 +1032,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
- m_Target: {x: 70.46575, y: -40.140606, z: 90.52266}
+ m_Target: {x: -0.5405235, y: 2.8840332, z: 907.6481}
speed: 2
- m_Value: {x: 70.46575, y: -40.140606, z: 90.52266}
+ m_Value: {x: -0.5405235, y: 2.8840332, z: 907.6481}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -1100,13 +1080,13 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
- m_Target: {x: -0.01900035, y: 0.013590706, z: -0.0003011617, w: -0.9998659}
+ m_Target: {x: 0.16703576, y: 0.50507236, z: -0.10018564, w: 0.8409851}
speed: 2
- m_Value: {x: -0.018997714, y: 0.01358882, z: -0.0003011199, w: -0.9997272}
+ m_Value: {x: 0.16701137, y: 0.5049986, z: -0.100171015, w: 0.84086233}
m_Size:
- m_Target: 48.76874
+ m_Target: 185.30441
speed: 2
- m_Value: 48.76874
+ m_Value: 185.30441
m_Ortho:
m_Target: 0
speed: 2
@@ -1263,9 +1243,9 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
- y: 513.3333
+ y: 580
width: 1195.3334
- height: 300
+ height: 233.33331
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 12}
@@ -1274,6 +1254,7 @@ MonoBehaviour:
- {fileID: 13}
- {fileID: 14}
- {fileID: 15}
+ - {fileID: 16}
m_Selected: 0
m_LastSelected: 1
--- !u!114 &12
@@ -1299,9 +1280,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
- y: 592
+ y: 658.6667
width: 1194.3334
- height: 274
+ height: 207.33331
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1326,7 +1307,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- - Assets/Wwise/MonoBehaviour/Editor/EditorPlatformHelpers/iOS
+ - Assets/ThemeBundles/DepartureToMultiverse/Prefabs/NoteEffects
m_Globs: []
m_ProductIds:
m_AnyWithAssetOrigin: 0
@@ -1336,62 +1317,20 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 16
m_LastFolders:
- - Assets/Wwise/MonoBehaviour/Editor/EditorPlatformHelpers/iOS
+ - Assets/ThemeBundles/DepartureToMultiverse/Prefabs/NoteEffects
m_LastFoldersGridSize: 16
m_LastProjectPath: D:\Projects\ichni Official
m_LockTracker:
m_IsLocked: 0
m_LastLocalAssetsSearchArea: 1
m_FolderTreeState:
- scrollPos: {x: 0, y: 1010}
+ scrollPos: {x: 0, y: 780.66675}
m_SelectedIDs:
- - m_Data: 100976
+ - m_Data: 97658
m_LastClickedID:
- m_Data: 100976
+ m_Data: 97658
m_ExpandedIDs:
- m_Data: 0
- - m_Data: 82090
- - m_Data: 82092
- - m_Data: 82094
- - m_Data: 82096
- - m_Data: 82098
- - m_Data: 82100
- - m_Data: 82102
- - m_Data: 82104
- - m_Data: 82106
- - m_Data: 82108
- - m_Data: 82110
- - m_Data: 82112
- - m_Data: 82114
- - m_Data: 82116
- - m_Data: 82118
- - m_Data: 82120
- - m_Data: 82126
- - m_Data: 82128
- - m_Data: 82130
- - m_Data: 82132
- - m_Data: 82134
- - m_Data: 82136
- - m_Data: 82138
- - m_Data: 82140
- - m_Data: 82142
- - m_Data: 82144
- - m_Data: 82146
- - m_Data: 82148
- - m_Data: 82150
- - m_Data: 82152
- - m_Data: 82154
- - m_Data: 82156
- - m_Data: 82158
- - m_Data: 82160
- - m_Data: 82162
- - m_Data: 82164
- - m_Data: 82166
- - m_Data: 82168
- - m_Data: 82170
- - m_Data: 82172
- - m_Data: 82174
- - m_Data: 82176
- m_Data: 82178
- m_Data: 82180
- m_Data: 82182
@@ -1407,6 +1346,7 @@ MonoBehaviour:
- m_Data: 82202
- m_Data: 82204
- m_Data: 82206
+ - m_Data: 82208
- m_Data: 82210
- m_Data: 82212
- m_Data: 82214
@@ -1427,28 +1367,77 @@ MonoBehaviour:
- m_Data: 82244
- m_Data: 82246
- m_Data: 82248
- - m_Data: 82250
- m_Data: 82252
- m_Data: 82254
- m_Data: 82256
- m_Data: 82258
- m_Data: 82260
+ - m_Data: 82262
- m_Data: 82264
- m_Data: 82266
- m_Data: 82268
+ - m_Data: 82270
+ - m_Data: 82272
- m_Data: 82274
- m_Data: 82276
- - m_Data: 82796
- - m_Data: 82854
- - m_Data: 82858
- - m_Data: 100978
- - m_Data: 100980
- - m_Data: 125440
+ - m_Data: 82278
+ - m_Data: 82280
+ - m_Data: 82282
+ - m_Data: 82284
+ - m_Data: 82286
+ - m_Data: 82288
+ - m_Data: 82290
+ - m_Data: 82292
+ - m_Data: 82294
+ - m_Data: 82296
+ - m_Data: 82298
+ - m_Data: 82300
+ - m_Data: 82302
+ - m_Data: 82304
+ - m_Data: 82306
+ - m_Data: 82308
+ - m_Data: 82310
+ - m_Data: 82312
+ - m_Data: 82314
+ - m_Data: 82316
+ - m_Data: 82318
+ - m_Data: 82320
+ - m_Data: 82322
+ - m_Data: 82324
+ - m_Data: 82326
+ - m_Data: 82328
+ - m_Data: 82330
+ - m_Data: 82332
+ - m_Data: 82334
+ - m_Data: 82336
+ - m_Data: 82338
+ - m_Data: 82340
+ - m_Data: 82342
+ - m_Data: 82344
+ - m_Data: 82346
+ - m_Data: 82348
+ - m_Data: 82350
+ - m_Data: 82352
+ - m_Data: 82354
+ - m_Data: 82356
+ - m_Data: 82358
+ - m_Data: 82360
+ - m_Data: 82362
+ - m_Data: 82364
+ - m_Data: 82366
+ - m_Data: 82368
+ - m_Data: 82370
+ - m_Data: 82372
+ - m_Data: 82374
+ - m_Data: 82376
+ - m_Data: 82378
+ - m_Data: 87000
+ - m_Data: 87024
- m_Data: 1000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
+ m_Name: NoteEffects
+ m_OriginalName: NoteEffects
m_EditFieldRect:
serializedVersion: 2
x: 0
@@ -1456,10 +1445,10 @@ MonoBehaviour:
width: 0
height: 0
m_UserData:
- m_Data: 0
+ m_Data: 97658
m_IsWaitingForDelay: 0
m_IsRenaming: 0
- m_OriginalEventType: 11
+ m_OriginalEventType: 0
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 11}
@@ -1477,50 +1466,6 @@ MonoBehaviour:
m_Data: 0
m_ExpandedIDs:
- m_Data: 0
- - m_Data: 82090
- - m_Data: 82092
- - m_Data: 82094
- - m_Data: 82096
- - m_Data: 82098
- - m_Data: 82100
- - m_Data: 82102
- - m_Data: 82104
- - m_Data: 82106
- - m_Data: 82108
- - m_Data: 82110
- - m_Data: 82112
- - m_Data: 82114
- - m_Data: 82116
- - m_Data: 82118
- - m_Data: 82120
- - m_Data: 82122
- - m_Data: 82124
- - m_Data: 82126
- - m_Data: 82128
- - m_Data: 82130
- - m_Data: 82132
- - m_Data: 82134
- - m_Data: 82136
- - m_Data: 82138
- - m_Data: 82140
- - m_Data: 82142
- - m_Data: 82144
- - m_Data: 82146
- - m_Data: 82148
- - m_Data: 82150
- - m_Data: 82152
- - m_Data: 82154
- - m_Data: 82156
- - m_Data: 82158
- - m_Data: 82160
- - m_Data: 82162
- - m_Data: 82164
- - m_Data: 82166
- - m_Data: 82168
- - m_Data: 82170
- - m_Data: 82172
- - m_Data: 82174
- - m_Data: 82176
- m_Data: 82178
- m_Data: 82180
- m_Data: 82182
@@ -1571,6 +1516,57 @@ MonoBehaviour:
- m_Data: 82272
- m_Data: 82274
- m_Data: 82276
+ - m_Data: 82278
+ - m_Data: 82280
+ - m_Data: 82282
+ - m_Data: 82284
+ - m_Data: 82286
+ - m_Data: 82288
+ - m_Data: 82290
+ - m_Data: 82292
+ - m_Data: 82294
+ - m_Data: 82296
+ - m_Data: 82298
+ - m_Data: 82300
+ - m_Data: 82302
+ - m_Data: 82304
+ - m_Data: 82306
+ - m_Data: 82308
+ - m_Data: 82310
+ - m_Data: 82312
+ - m_Data: 82314
+ - m_Data: 82316
+ - m_Data: 82318
+ - m_Data: 82320
+ - m_Data: 82322
+ - m_Data: 82324
+ - m_Data: 82326
+ - m_Data: 82328
+ - m_Data: 82330
+ - m_Data: 82332
+ - m_Data: 82334
+ - m_Data: 82336
+ - m_Data: 82338
+ - m_Data: 82340
+ - m_Data: 82342
+ - m_Data: 82344
+ - m_Data: 82346
+ - m_Data: 82348
+ - m_Data: 82350
+ - m_Data: 82352
+ - m_Data: 82354
+ - m_Data: 82356
+ - m_Data: 82358
+ - m_Data: 82360
+ - m_Data: 82362
+ - m_Data: 82364
+ - m_Data: 82366
+ - m_Data: 82368
+ - m_Data: 82370
+ - m_Data: 82372
+ - m_Data: 82374
+ - m_Data: 82376
+ - m_Data: 82378
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -1598,8 +1594,8 @@ MonoBehaviour:
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs:
- - m_Data: 48546
- m_LastClickedInstanceID: 48546
+ - m_Data: 153856
+ m_LastClickedInstanceID: 153856
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs:
- m_Data: 0
@@ -1610,8 +1606,8 @@ MonoBehaviour:
- m_Data: 74112
m_RenameOverlay:
m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
+ m_Name: DTM_NoteVisualFlick
+ m_OriginalName: DTM_NoteVisualFlick
m_EditFieldRect:
serializedVersion: 2
x: 0
@@ -1619,10 +1615,10 @@ MonoBehaviour:
width: 0
height: 0
m_UserData:
- m_Data: 0
+ m_Data: 97250
m_IsWaitingForDelay: 0
m_IsRenaming: 0
- m_OriginalEventType: 11
+ m_OriginalEventType: 0
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 11}
@@ -1660,9 +1656,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
- y: 592
+ y: 658.6667
width: 1194.3334
- height: 274
+ height: 207.33331
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1757,6 +1753,197 @@ MonoBehaviour:
m_OverlaysVisible: 1
m_DynamicPanelBehavior: 0
--- !u!114 &16
+MonoBehaviour:
+ m_ObjectHideFlags: 52
+ 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: 12373, guid: 0000000000000000e000000000000000, type: 0}
+ m_Name:
+ m_EditorClassIdentifier: UnityEditor.dll::UnityEditor.AudioMixerWindow
+ m_MinSize: {x: 50, y: 50}
+ m_MaxSize: {x: 4000, y: 4000}
+ m_TitleContent:
+ m_Text: Audio Mixer
+ m_Image: {fileID: -3283902137440876849, guid: 0000000000000000d000000000000000,
+ type: 0}
+ m_Tooltip:
+ m_TextWithWhitespace: "Audio Mixer\u200B"
+ m_Pos:
+ serializedVersion: 2
+ x: 0
+ y: 658.6667
+ width: 1194.3334
+ height: 207.33331
+ m_SerializedDataModeController:
+ m_DataMode: 0
+ m_PreferredDataMode: 0
+ m_SupportedDataModes:
+ isAutomatic: 1
+ m_ViewDataDictionary: {fileID: 0}
+ m_OverlayCanvas:
+ m_LastAppliedPresetName: Default
+ m_SaveData: []
+ m_ContainerData: []
+ m_DynamicPanelContainerData: []
+ m_OverlaysVisible: 1
+ m_DynamicPanelBehavior: 0
+ m_MixersTreeState:
+ scrollPos: {x: 0, y: 0}
+ m_SelectedIDs: []
+ m_LastClickedID:
+ m_Data: 0
+ m_ExpandedIDs:
+ - m_Data: 1010101010
+ m_RenameOverlay:
+ m_UserAcceptedRename: 0
+ m_Name:
+ m_OriginalName:
+ m_EditFieldRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ m_UserData:
+ m_Data: 0
+ m_IsWaitingForDelay: 0
+ m_IsRenaming: 0
+ m_OriginalEventType: 11
+ m_IsRenamingFilename: 0
+ m_TrimLeadingAndTrailingWhitespace: 0
+ m_ClientGUIView: {fileID: 0}
+ m_SearchString:
+ m_CreateAssetUtility:
+ m_EndAction: {fileID: 0}
+ m_InstanceID: 0
+ m_Path:
+ m_Icon: {fileID: 0}
+ m_ResourceFile:
+ m_LayoutStripsOnTop:
+ m_VerticalSplitter:
+ ID: 0
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 65
+ - 35
+ relativeSizes:
+ - 0.65
+ - 0.35000002
+ minSizes:
+ - 85
+ - 105
+ maxSizes:
+ - 0
+ - 0
+ lastTotalSize: 0
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_HorizontalSplitter:
+ ID: 0
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 60
+ - 60
+ - 60
+ - 60
+ relativeSizes:
+ - 0.25
+ - 0.25
+ - 0.25
+ - 0.25
+ minSizes:
+ - 85
+ - 85
+ - 85
+ - 85
+ maxSizes:
+ - 0
+ - 0
+ - 0
+ - 0
+ lastTotalSize: 0
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_LayoutStripsOnRight:
+ m_VerticalSplitter:
+ ID: 0
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 60
+ - 60
+ - 60
+ - 60
+ relativeSizes:
+ - 0.25
+ - 0.25
+ - 0.25
+ - 0.25
+ minSizes:
+ - 100
+ - 85
+ - 85
+ - 85
+ maxSizes:
+ - 0
+ - 0
+ - 0
+ - 0
+ lastTotalSize: 0
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_HorizontalSplitter:
+ ID: 97
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 358.66666
+ - 836
+ relativeSizes:
+ - 0.3
+ - 0.7
+ minSizes:
+ - 160
+ - 160
+ maxSizes:
+ - 0
+ - 0
+ lastTotalSize: 1194.6666
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_SectionOrder: 00000000030000000100000002000000
+ m_LayoutMode: 1
+ m_SortGroupsAlphabetically: 0
+ m_ShowReferencedBuses: 1
+ m_ShowBusConnections: 0
+ m_ShowBusConnectionsOfSelection: 0
+--- !u!114 &17
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -1775,17 +1962,17 @@ MonoBehaviour:
y: 0
width: 511.33325
height: 813.3333
- m_MinSize: {x: 275, y: 50}
- m_MaxSize: {x: 4000, y: 4000}
- m_ActualView: {fileID: 17}
+ m_MinSize: {x: 276, y: 126}
+ m_MaxSize: {x: 4001, y: 4026}
+ m_ActualView: {fileID: 19}
m_Panes:
- - {fileID: 17}
- {fileID: 18}
- {fileID: 19}
- {fileID: 20}
- m_Selected: 0
+ - {fileID: 21}
+ m_Selected: 1
m_LastSelected: 3
---- !u!114 &17
+--- !u!114 &18
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -1837,7 +2024,7 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
---- !u!114 &18
+--- !u!114 &19
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -1882,14 +2069,14 @@ MonoBehaviour:
m_CachedPref: 184.33334
m_ControlHash: 1412526313
m_PrefName: Preview_InspectorPreview
- m_LastInspectedObjectInstanceID: 48546
+ m_LastInspectedObjectInstanceID: -1
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
---- !u!114 &19
+--- !u!114 &20
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -1934,14 +2121,14 @@ MonoBehaviour:
m_CachedPref: 165.66669
m_ControlHash: 1412526313
m_PrefName: Preview_InspectorPreview
- m_LastInspectedObjectInstanceID: 48546
+ m_LastInspectedObjectInstanceID: -1
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
---- !u!114 &20
+--- !u!114 &21
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
diff --git a/UserSettings/Layouts/default-6000.dwlt b/UserSettings/Layouts/default-6000.dwlt
index 70db7835..9670b9f4 100644
--- a/UserSettings/Layouts/default-6000.dwlt
+++ b/UserSettings/Layouts/default-6000.dwlt
@@ -73,7 +73,7 @@ MonoBehaviour:
height: 36
m_MinSize: {x: 50, y: 50}
m_MaxSize: {x: 4000, y: 4000}
- m_ActualView: {fileID: 13}
+ m_ActualView: {fileID: 14}
--- !u!114 &4
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -118,7 +118,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 1
- controlID: 57
+ controlID: 87258
draggingID: 0
--- !u!114 &6
MonoBehaviour:
@@ -144,7 +144,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
- controlID: 58
+ controlID: 87259
draggingID: 0
--- !u!114 &7
MonoBehaviour:
@@ -165,12 +165,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
- width: 1195.3334
+ width: 1153.3334
height: 813.3333
m_MinSize: {x: 200, y: 112}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
- controlID: 59
+ controlID: 87233
draggingID: 0
--- !u!114 &8
MonoBehaviour:
@@ -191,12 +191,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
- width: 1195.3334
- height: 513.3333
+ width: 1153.3334
+ height: 580
m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
- controlID: 60
+ controlID: 87234
draggingID: 0
--- !u!114 &9
MonoBehaviour:
@@ -215,13 +215,13 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
- width: 270.66666
- height: 513.3333
+ width: 260.66666
+ height: 580
m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026}
- m_ActualView: {fileID: 15}
+ m_ActualView: {fileID: 16}
m_Panes:
- - {fileID: 15}
+ - {fileID: 16}
m_Selected: 0
m_LastSelected: 0
--- !u!114 &10
@@ -239,17 +239,17 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
- x: 270.66666
+ x: 260.66666
y: 0
- width: 924.66675
- height: 513.3333
+ width: 892.66675
+ height: 580
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
- m_ActualView: {fileID: 16}
+ m_ActualView: {fileID: 17}
m_Panes:
- - {fileID: 16}
- - {fileID: 14}
- {fileID: 17}
+ - {fileID: 15}
+ - {fileID: 18}
m_Selected: 0
m_LastSelected: 1
--- !u!114 &11
@@ -268,17 +268,18 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
- y: 513.3333
- width: 1195.3334
- height: 300
+ y: 580
+ width: 1153.3334
+ height: 233.33331
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
- m_ActualView: {fileID: 18}
+ m_ActualView: {fileID: 19}
m_Panes:
- - {fileID: 18}
- {fileID: 19}
- {fileID: 20}
- {fileID: 21}
+ - {fileID: 22}
+ - {fileID: 23}
m_Selected: 0
m_LastSelected: 1
--- !u!114 &12
@@ -296,21 +297,134 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
- x: 1195.3334
+ x: 1153.3334
y: 0
- width: 511.33325
+ width: 553.33325
height: 813.3333
m_MinSize: {x: 276, y: 76}
m_MaxSize: {x: 4001, y: 4026}
- m_ActualView: {fileID: 22}
+ m_ActualView: {fileID: 24}
m_Panes:
- - {fileID: 22}
- - {fileID: 23}
+ - {fileID: 13}
- {fileID: 24}
- {fileID: 25}
- m_Selected: 0
- m_LastSelected: 2
+ - {fileID: 26}
+ - {fileID: 27}
+ m_Selected: 1
+ m_LastSelected: 0
--- !u!114 &13
+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: 41147144ff556e246b736135eb26f185, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Unity.RenderPipelines.Core.Editor::UnityEditor.Rendering.DebugWindow
+ m_MinSize: {x: 800, y: 300}
+ m_MaxSize: {x: 4000, y: 4000}
+ m_TitleContent:
+ m_Text: Rendering Debugger
+ m_Image: {fileID: 0}
+ m_Tooltip:
+ m_TextWithWhitespace: "Rendering Debugger\u200B"
+ m_Pos:
+ serializedVersion: 2
+ x: 1153.3334
+ y: 78.66667
+ width: 552.33325
+ height: 787.3333
+ m_SerializedDataModeController:
+ m_DataMode: 0
+ m_PreferredDataMode: 0
+ m_SupportedDataModes:
+ isAutomatic: 1
+ m_ViewDataDictionary: {fileID: 0}
+ m_OverlayCanvas:
+ m_LastAppliedPresetName: Default
+ m_SaveData: []
+ m_ContainerData: []
+ m_DynamicPanelContainerData: []
+ m_OverlaysVisible: 1
+ m_DynamicPanelBehavior: 0
+ m_WidgetStates:
+ m_Keys:
+ - Display Stats -> Frame Stats
+ - Display Stats -> Bottlenecks
+ - Display Stats -> Detailed Stats
+ - Frequently Used -> Rendering Debug
+ - Frequently Used -> Material Filters
+ - Frequently Used -> Lighting Debug Modes
+ - Rendering -> Pixel Validation
+ - Rendering -> HDR Output
+ - Rendering -> GPU Resident Drawer Settings
+ - Rendering -> Occlusion Context Stats
+ - Rendering -> Instance Culler Stats
+ - Rendering -> Render Graph
+ - Material -> Material Validation
+ - Volume -> Camera
+ - Volume -> Component
+ - Display Stats -> Detailed Stats -> Update every second with average
+ - Display Stats -> Detailed Stats -> Hide empty scopes
+ - Display Stats -> Detailed Stats -> Profiling Scopes
+ - Frequently Used -> Rendering Debug -> Map Overlays
+ - Frequently Used -> Rendering Debug -> -> Map Size
+ - Frequently Used -> Rendering Debug -> HDR
+ - Frequently Used -> Rendering Debug -> MSAA
+ - Frequently Used -> Rendering Debug -> TAA Debug Mode
+ - Frequently Used -> Rendering Debug -> Post-processing
+ - Frequently Used -> Rendering Debug -> Additional Wireframe Modes
+ - Frequently Used -> Rendering Debug -> Overdraw Mode
+ - Frequently Used -> Rendering Debug -> -> Max Overdraw Count
+ - Frequently Used -> Rendering Debug -> Mipmap Streaming -> Disable Mip Caching
+ - Frequently Used -> Rendering Debug -> Mipmap Streaming -> Debug View
+ - Frequently Used -> Material Filters -> Material Override
+ - Frequently Used -> Material Filters -> Vertex Attribute
+ - Frequently Used -> Lighting Debug Modes -> Lighting Debug Mode
+ - Frequently Used -> Lighting Debug Modes -> HDR Debug Mode
+ - Frequently Used -> Lighting Debug Modes -> Lighting Features
+ - Material -> Material Validation -> Material Validation Mode
+ m_Values:
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ - {fileID: 0}
+ m_Settings: {fileID: 0}
+--- !u!114 &14
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -332,7 +446,7 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
- y: 0
+ y: 42.666668
width: 1706.6666
height: 36
m_SerializedDataModeController:
@@ -559,10 +673,10 @@ MonoBehaviour:
displayed: 1
id: Play Mode Controls
index: 0
- contents: '{"m_Layout":4,"m_Collapsed":false,"m_Folded":false,"m_Floating":false,"m_FloatingSnapOffset":{"x":-781.3333129882813,"y":-36.0},"m_SnapOffsetDelta":{"x":0.0,"y":0.0},"m_FloatingSnapCorner":3,"m_Size":{"x":0.0,"y":0.0},"m_SizeOverridden":false}'
+ contents: '{"m_Layout":4,"m_Collapsed":false,"m_Folded":false,"m_Floating":false,"m_FloatingSnapOffset":{"x":-781.333251953125,"y":-36.0},"m_SnapOffsetDelta":{"x":0.0,"y":0.0},"m_FloatingSnapCorner":3,"m_Size":{"x":0.0,"y":0.0},"m_SizeOverridden":false}'
floating: 0
collapsed: 0
- snapOffset: {x: -781.3333, y: -36}
+ snapOffset: {x: -781.33325, y: -36}
snapOffsetDelta: {x: 0, y: 0}
snapCorner: 3
layout: 4
@@ -618,7 +732,7 @@ MonoBehaviour:
m_DynamicPanelContainerData: []
m_OverlaysVisible: 1
m_DynamicPanelBehavior: 0
---- !u!114 &14
+--- !u!114 &15
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -640,10 +754,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Game\u200B"
m_Pos:
serializedVersion: 2
- x: 270.6667
+ x: 260.6667
y: 78.66667
- width: 922.66675
- height: 487.3333
+ width: 890.66675
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -674,7 +788,7 @@ MonoBehaviour:
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
- m_SelectedSizes: 03000000000000001200000006000000000000000000000000000000000000000000000000000000
+ m_SelectedSizes: 03000000000000001200000015000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
@@ -692,7 +806,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
- m_EnableMouseInput: 0
+ m_EnableMouseInput: 1
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
@@ -701,30 +815,30 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
- width: 922.66675
- height: 466.3333
- m_Scale: {x: 0.64768517, y: 0.64768517}
- m_Translation: {x: 461.33337, y: 233.16666}
+ width: 890.66675
+ height: 533
+ m_Scale: {x: 0.6958334, y: 0.6958334}
+ m_Translation: {x: 445.33337, y: 266.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
- x: -712.2803
- y: -360
- width: 1424.5605
- height: 720
+ x: -640
+ y: -382.994
+ width: 1280
+ height: 765.988
m_MinimalGUI: 1
- m_defaultScale: 0.64768517
- m_LastWindowPixelSize: {x: 922.66675, y: 487.3333}
+ m_defaultScale: 0.6958334
+ m_LastWindowPixelSize: {x: 1336.0001, y: 831}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 00000000000000000000
m_XRRenderMode: 0
m_RenderTexture: {fileID: 0}
m_showToolbar: 1
---- !u!114 &15
+--- !u!114 &16
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -747,9 +861,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
- y: 24
- width: 269.66666
- height: 487.3333
+ y: 78.66667
+ width: 259.66666
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -770,15 +884,42 @@ MonoBehaviour:
m_LastClickedID:
m_Data: 0
m_ExpandedIDs:
- - m_Data: -13608
- - m_Data: -13180
- - m_Data: -10902
- - m_Data: -8312
- - m_Data: -1338
+ - m_Data: -533198
+ - m_Data: -532770
+ - m_Data: -530468
+ - m_Data: -527862
+ - m_Data: -520162
+ - m_Data: -519734
+ - m_Data: -517448
+ - m_Data: -514858
+ - m_Data: -455372
+ - m_Data: -455364
+ - m_Data: -455352
+ - m_Data: -452048
+ - m_Data: -446284
+ - m_Data: -441396
+ - m_Data: -410798
+ - m_Data: -410788
+ - m_Data: -410780
+ - m_Data: -410644
+ - m_Data: -406882
+ - m_Data: -406850
+ - m_Data: -406844
+ - m_Data: -406780
+ - m_Data: -406774
+ - m_Data: -406610
+ - m_Data: -398638
+ - m_Data: -398634
+ - m_Data: -398628
+ - m_Data: -398620
+ - m_Data: -398608
+ - m_Data: -396126
+ - m_Data: -55988
+ - m_Data: -1346
m_RenameOverlay:
m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
+ m_Name: TrackRenderer
+ m_OriginalName: TrackRenderer
m_EditFieldRect:
serializedVersion: 2
x: 0
@@ -786,10 +927,10 @@ MonoBehaviour:
width: 0
height: 0
m_UserData:
- m_Data: 0
+ m_Data: -406858
m_IsWaitingForDelay: 0
m_IsRenaming: 0
- m_OriginalEventType: 11
+ m_OriginalEventType: 0
m_IsRenamingFilename: 0
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 9}
@@ -800,7 +941,7 @@ MonoBehaviour:
m_IsLocked: 0
m_CurrentSortingName: TransformSorting
m_WindowGUID: 4c969a2b90040154d917609493e03593
---- !u!114 &16
+--- !u!114 &17
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -822,10 +963,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Scene\u200B"
m_Pos:
serializedVersion: 2
- x: 271.66666
- y: 24
- width: 922.66675
- height: 487.3333
+ x: 260.6667
+ y: 78.66667
+ width: 890.66675
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1494,9 +1635,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
- m_Target: {x: 64.95202, y: 20.644072, z: 7235.9395}
+ m_Target: {x: 0.13010406, y: -3.9978065, z: 6046.298}
speed: 2
- m_Value: {x: 64.95202, y: 20.644072, z: 7235.9395}
+ m_Value: {x: 0.42972642, y: 0.064101696, z: 0.10551739}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -1542,13 +1683,13 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
- m_Target: {x: -0.23046315, y: 0.41502702, z: -0.10957123, w: -0.8734504}
+ m_Target: {x: 0.09883887, y: 0.018740486, z: -0.0017335806, w: 0.9950739}
speed: 2
- m_Value: {x: -0.23046315, y: 0.41502702, z: -0.10957123, w: -0.8734504}
+ m_Value: {x: -0.18042754, y: 0.25265226, z: -0.048016366, w: -0.94937205}
m_Size:
- m_Target: 324.6959
+ m_Target: 11.926286
speed: 2
- m_Value: 324.6959
+ m_Value: 2.2818341
m_Ortho:
m_Target: 0
speed: 2
@@ -1569,7 +1710,7 @@ MonoBehaviour:
m_LastSceneViewRotation: {x: -0.0018017952, y: 0.09097248, z: -0.00016610812, w: -0.9958704}
m_LastSceneViewOrtho: 0
m_Viewpoint:
- m_SceneView: {fileID: 16}
+ m_SceneView: {fileID: 17}
m_CameraOverscanSettings:
m_Opacity: 50
m_Scale: 1
@@ -1582,7 +1723,7 @@ MonoBehaviour:
name: Light Overlap
section: Baked Global Illumination
m_ViewIsLockedToObject: 0
---- !u!114 &17
+--- !u!114 &18
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -1604,10 +1745,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Animator\u200B"
m_Pos:
serializedVersion: 2
- x: -2153.3333
- y: -7.9999924
- width: 1384
- height: 882.6667
+ x: 260.6667
+ y: 78.66667
+ width: 890.66675
+ height: 554
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1689,7 +1830,7 @@ MonoBehaviour:
m_CurrentEditor: 0
m_LayerEditor:
m_SelectedLayerIndex: 0
---- !u!114 &18
+--- !u!114 &19
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -1712,9 +1853,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
- y: 537.3333
- width: 1194.3334
- height: 274
+ y: 658.6667
+ width: 1152.3334
+ height: 207.33331
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1739,7 +1880,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- - Assets/Resources/Beatmaps/Chapter0/Space Rain/Special
+ - Assets/Shaders
m_Globs: []
m_ProductIds:
m_AnyWithAssetOrigin: 0
@@ -1749,18 +1890,18 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 16
m_LastFolders:
- - Assets/Resources/Beatmaps/Chapter0/Space Rain/Special
+ - Assets/Shaders
m_LastFoldersGridSize: 16
m_LastProjectPath: D:\Projects\ichni Official
m_LockTracker:
m_IsLocked: 0
m_LastLocalAssetsSearchArea: 1
m_FolderTreeState:
- scrollPos: {x: 0, y: 802}
+ scrollPos: {x: 0, y: 527}
m_SelectedIDs:
- - m_Data: 82862
+ - m_Data: 87006
m_LastClickedID:
- m_Data: 82862
+ m_Data: 87006
m_ExpandedIDs:
- m_Data: 0
- m_Data: 82178
@@ -1789,7 +1930,6 @@ MonoBehaviour:
- m_Data: 82224
- m_Data: 82226
- m_Data: 82228
- - m_Data: 82230
- m_Data: 82232
- m_Data: 82234
- m_Data: 82236
@@ -1841,7 +1981,6 @@ MonoBehaviour:
- m_Data: 82328
- m_Data: 82330
- m_Data: 82332
- - m_Data: 82334
- m_Data: 82336
- m_Data: 82338
- m_Data: 82340
@@ -1864,14 +2003,14 @@ MonoBehaviour:
- m_Data: 82374
- m_Data: 82376
- m_Data: 82378
- - m_Data: 82380
- - m_Data: 82382
- - m_Data: 82384
- - m_Data: 82386
+ - m_Data: 87000
+ - m_Data: 87024
+ - m_Data: 94662
+ - m_Data: 1000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
+ m_Name: Models
+ m_OriginalName: Models
m_EditFieldRect:
serializedVersion: 2
x: 0
@@ -1879,10 +2018,10 @@ MonoBehaviour:
width: 0
height: 0
m_UserData:
- m_Data: 0
+ m_Data: 97246
m_IsWaitingForDelay: 0
m_IsRenaming: 0
- m_OriginalEventType: 11
+ m_OriginalEventType: 0
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 11}
@@ -1936,7 +2075,6 @@ MonoBehaviour:
- m_Data: 82244
- m_Data: 82246
- m_Data: 82248
- - m_Data: 82250
- m_Data: 82252
- m_Data: 82254
- m_Data: 82256
@@ -2001,10 +2139,9 @@ MonoBehaviour:
- m_Data: 82374
- m_Data: 82376
- m_Data: 82378
- - m_Data: 82380
- - m_Data: 82382
- - m_Data: 82384
- - m_Data: 82386
+ - m_Data: 87000
+ - m_Data: 87024
+ - m_Data: 1000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -2043,8 +2180,8 @@ MonoBehaviour:
- m_Data: 74112
m_RenameOverlay:
m_UserAcceptedRename: 0
- m_Name:
- m_OriginalName:
+ m_Name: Flick_HitFX
+ m_OriginalName: Flick_HitFX
m_EditFieldRect:
serializedVersion: 2
x: 0
@@ -2052,10 +2189,10 @@ MonoBehaviour:
width: 0
height: 0
m_UserData:
- m_Data: 0
+ m_Data: 116466
m_IsWaitingForDelay: 0
m_IsRenaming: 0
- m_OriginalEventType: 11
+ m_OriginalEventType: 0
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 11}
@@ -2070,7 +2207,7 @@ MonoBehaviour:
m_GridSize: 16
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 209
---- !u!114 &19
+--- !u!114 &20
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -2093,9 +2230,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
- y: 592
- width: 1194.3334
- height: 274
+ y: 658.6667
+ width: 1152.3334
+ height: 207.33331
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -2109,7 +2246,7 @@ MonoBehaviour:
m_DynamicPanelContainerData: []
m_OverlaysVisible: 1
m_DynamicPanelBehavior: 0
---- !u!114 &20
+--- !u!114 &21
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -2151,7 +2288,7 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: 48546
---- !u!114 &21
+--- !u!114 &22
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -2189,7 +2326,198 @@ MonoBehaviour:
m_DynamicPanelContainerData: []
m_OverlaysVisible: 1
m_DynamicPanelBehavior: 0
---- !u!114 &22
+--- !u!114 &23
+MonoBehaviour:
+ m_ObjectHideFlags: 52
+ 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: 12373, guid: 0000000000000000e000000000000000, type: 0}
+ m_Name:
+ m_EditorClassIdentifier: UnityEditor.dll::UnityEditor.AudioMixerWindow
+ m_MinSize: {x: 50, y: 50}
+ m_MaxSize: {x: 4000, y: 4000}
+ m_TitleContent:
+ m_Text: Audio Mixer
+ m_Image: {fileID: -3283902137440876849, guid: 0000000000000000d000000000000000,
+ type: 0}
+ m_Tooltip:
+ m_TextWithWhitespace: "Audio Mixer\u200B"
+ m_Pos:
+ serializedVersion: 2
+ x: 0
+ y: 658.6667
+ width: 1194.3334
+ height: 207.33331
+ m_SerializedDataModeController:
+ m_DataMode: 0
+ m_PreferredDataMode: 0
+ m_SupportedDataModes:
+ isAutomatic: 1
+ m_ViewDataDictionary: {fileID: 0}
+ m_OverlayCanvas:
+ m_LastAppliedPresetName: Default
+ m_SaveData: []
+ m_ContainerData: []
+ m_DynamicPanelContainerData: []
+ m_OverlaysVisible: 1
+ m_DynamicPanelBehavior: 0
+ m_MixersTreeState:
+ scrollPos: {x: 0, y: 0}
+ m_SelectedIDs: []
+ m_LastClickedID:
+ m_Data: 0
+ m_ExpandedIDs:
+ - m_Data: 1010101010
+ m_RenameOverlay:
+ m_UserAcceptedRename: 0
+ m_Name:
+ m_OriginalName:
+ m_EditFieldRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ m_UserData:
+ m_Data: 0
+ m_IsWaitingForDelay: 0
+ m_IsRenaming: 0
+ m_OriginalEventType: 11
+ m_IsRenamingFilename: 0
+ m_TrimLeadingAndTrailingWhitespace: 0
+ m_ClientGUIView: {fileID: 0}
+ m_SearchString:
+ m_CreateAssetUtility:
+ m_EndAction: {fileID: 0}
+ m_InstanceID: 0
+ m_Path:
+ m_Icon: {fileID: 0}
+ m_ResourceFile:
+ m_LayoutStripsOnTop:
+ m_VerticalSplitter:
+ ID: 0
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 65
+ - 35
+ relativeSizes:
+ - 0.65
+ - 0.35000002
+ minSizes:
+ - 85
+ - 105
+ maxSizes:
+ - 0
+ - 0
+ lastTotalSize: 0
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_HorizontalSplitter:
+ ID: 0
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 60
+ - 60
+ - 60
+ - 60
+ relativeSizes:
+ - 0.25
+ - 0.25
+ - 0.25
+ - 0.25
+ minSizes:
+ - 85
+ - 85
+ - 85
+ - 85
+ maxSizes:
+ - 0
+ - 0
+ - 0
+ - 0
+ lastTotalSize: 0
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_LayoutStripsOnRight:
+ m_VerticalSplitter:
+ ID: 0
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 60
+ - 60
+ - 60
+ - 60
+ relativeSizes:
+ - 0.25
+ - 0.25
+ - 0.25
+ - 0.25
+ minSizes:
+ - 100
+ - 85
+ - 85
+ - 85
+ maxSizes:
+ - 0
+ - 0
+ - 0
+ - 0
+ lastTotalSize: 0
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_HorizontalSplitter:
+ ID: 97
+ splitterInitialOffset: 0
+ currentActiveSplitter: -1
+ realSizes:
+ - 358.66666
+ - 836
+ relativeSizes:
+ - 0.3
+ - 0.7
+ minSizes:
+ - 160
+ - 160
+ maxSizes:
+ - 0
+ - 0
+ lastTotalSize: 1194.6666
+ splitSize: 6
+ xOffset: 0
+ m_Version: 1
+ oldRealSizes:
+ oldMinSizes:
+ oldMaxSizes:
+ oldSplitSize: 0
+ m_SectionOrder: 00000000030000000100000002000000
+ m_LayoutMode: 1
+ m_SortGroupsAlphabetically: 0
+ m_ShowReferencedBuses: 1
+ m_ShowBusConnections: 0
+ m_ShowBusConnectionsOfSelection: 0
+--- !u!114 &24
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -2211,9 +2539,9 @@ MonoBehaviour:
m_TextWithWhitespace: "Inspector\u200B"
m_Pos:
serializedVersion: 2
- x: 1196.3334
- y: 24
- width: 510.33325
+ x: 1153.3334
+ y: 78.66667
+ width: 552.33325
height: 787.3333
m_SerializedDataModeController:
m_DataMode: 0
@@ -2241,7 +2569,7 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
---- !u!114 &23
+--- !u!114 &25
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -2263,9 +2591,9 @@ MonoBehaviour:
m_TextWithWhitespace: "Inspector\u200B"
m_Pos:
serializedVersion: 2
- x: 1195.3334
+ x: 1153.3334
y: 78.66667
- width: 510.33325
+ width: 552.33325
height: 787.3333
m_SerializedDataModeController:
m_DataMode: 0
@@ -2287,13 +2615,13 @@ MonoBehaviour:
m_ControlHash: 1412526313
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: -1
- m_LastVerticalScrollValue: 0
+ m_LastVerticalScrollValue: 51.333374
m_GlobalObjectId:
m_InspectorMode: 0
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
---- !u!114 &24
+--- !u!114 &26
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
@@ -2345,7 +2673,7 @@ MonoBehaviour:
m_LockTracker:
m_IsLocked: 0
m_PreviewWindow: {fileID: 0}
---- !u!114 &25
+--- !u!114 &27
MonoBehaviour:
m_ObjectHideFlags: 52
m_CorrespondingSourceObject: {fileID: 0}
diff --git a/ichni Official_WwiseProject/.cache/LMDB/data.mdb b/ichni Official_WwiseProject/.cache/LMDB/data.mdb
index 427603de..414868cb 100644
Binary files a/ichni Official_WwiseProject/.cache/LMDB/data.mdb and b/ichni Official_WwiseProject/.cache/LMDB/data.mdb differ
diff --git a/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.validationcache b/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.validationcache
index 20fd6e22..0c1e3be3 100644
--- a/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.validationcache
+++ b/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.validationcache
@@ -15,8 +15,8 @@
-
-
+
+
diff --git a/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.wsettings b/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.wsettings
index 4b9d9132..ca1826c9 100644
--- a/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.wsettings
+++ b/ichni Official_WwiseProject/ichni Official_WwiseProject.soull.wsettings
@@ -49,7 +49,7 @@
-
+
@@ -93,7 +93,7 @@
-
+
@@ -125,16 +125,16 @@
-
+
-
+
-
+
@@ -154,7 +154,7 @@
-
+
@@ -165,16 +165,16 @@
-
+
-
+
-
+
@@ -367,7 +367,7 @@
-
+