diff --git a/BulkCargo_UnityProject/Assets/StreamingAssets/configure.json.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader.meta similarity index 67% rename from BulkCargo_UnityProject/Assets/StreamingAssets/configure.json.meta rename to BulkCargo_UnityProject/Assets/GameAssets/Shader.meta index 2e281e78..2c6679a3 100644 --- a/BulkCargo_UnityProject/Assets/StreamingAssets/configure.json.meta +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader.meta @@ -1,5 +1,6 @@ fileFormatVersion: 2 -guid: 36ce379c5afc140469a854f89499f92b +guid: 0efb48f01d619df458c6171da413537a +folderAsset: yes DefaultImporter: externalObjects: {} userData: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated.meta new file mode 100644 index 00000000..85fe2d38 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6b2d0608d2baae845b4273a51e65869a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Credits.txt b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Credits.txt new file mode 100644 index 00000000..5a90b046 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Credits.txt @@ -0,0 +1,6 @@ +Created by The Four Headed Cat @fourheadedcat - https://twitter.com/fourheadedcat +Sample of shader with "Highlighted animation" feature, to highlight objects for example. Including the use of the switch node and a ping pong animation between two values. +You are free to modify and use any of the available shader examples in your own projects. + +Keep them coming, contribute today! +http://amplify.pt/unity/amplify-shader-editor/contribute diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Credits.txt.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Credits.txt.meta new file mode 100644 index 00000000..70257ff2 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Credits.txt.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bb5a0cae8352440795cd2300173c1cd0 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.lighting b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.lighting new file mode 100644 index 00000000..3d3b6841 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.lighting @@ -0,0 +1,64 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!850595691 &4890085278179872738 +LightingSettings: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Highlight Animated + serializedVersion: 4 + m_GIWorkflowMode: 1 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_RealtimeEnvironmentLighting: 1 + m_BounceScale: 1 + m_AlbedoBoost: 1 + m_IndirectOutputScale: 1 + m_UsingShadowmask: 1 + m_BakeBackend: 1 + m_LightmapMaxSize: 1024 + m_BakeResolution: 40 + m_Padding: 2 + m_LightmapCompression: 3 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAO: 0 + m_MixedBakeMode: 2 + m_LightmapsBakeMode: 1 + m_FilterMode: 1 + m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_RealtimeResolution: 2 + m_ForceWhiteAlbedo: 0 + m_ForceUpdates: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 256 + m_FinalGatherFiltering: 1 + m_PVRCulling: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_LightProbeSampleCountMultiplier: 4 + m_PVRBounces: 2 + m_PVRMinBounces: 1 + m_PVREnvironmentMIS: 1 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_PVRTiledBaking: 0 diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.lighting.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.lighting.meta new file mode 100644 index 00000000..3768a110 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.lighting.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ce6aa96813d748d8a338eb608f620911 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 4890085278179872738 + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.mat b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.mat new file mode 100644 index 00000000..ad2af7d8 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.mat @@ -0,0 +1,129 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Highlight Animated + m_Shader: {fileID: 4800000, guid: c51d0759509e493dae1826cc12e56e3d, type: 3} + m_ValidKeywords: [] + m_InvalidKeywords: + - _HIGHLIGHTED_ON + m_LightmapFlags: 2 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _Albedo: + m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Emission: + m_Texture: {fileID: 2800000, guid: f4ef9b0dca354d7aaf185497d6b77ea5, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Normal: + m_Texture: {fileID: 2800000, guid: abfd39fa1d6a42ba9b322e4301333932, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Oclussion: + m_Texture: {fileID: 2800000, guid: ffc41f1810014593ba2069132ba4d0f3, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Specular: + m_Texture: {fileID: 2800000, guid: 6618005f6bafebf40b3d09f498401fba, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _texcoord: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaCutoff: 0.5 + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HighlightSpeed: 93.6 + - _Highlighted: 1 + - _MaxHighLightLevel: 1 + - _Metallic: 0 + - _MinHighLightLevel: 0.154 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _QueueControl: 0 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + - __dirty: 0 + m_Colors: + - _Color: {r: 1, g: 0.952896, b: 0.9103774, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _HighlightColor: {r: 0.7065311, g: 0.97058815, b: 0.95966166, a: 1} + m_BuildTextureStacks: [] diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.mat.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.mat.meta new file mode 100644 index 00000000..3fdec9e3 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 05e33d31558f487ba7cf853c84482a4d +timeCreated: 1492642686 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.shader b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.shader new file mode 100644 index 00000000..466b210f --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.shader @@ -0,0 +1,3367 @@ +// Made with Amplify Shader Editor v1.9.3.3 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "AmplifyShaderPack/Community/Highlight Animated" +{ + Properties + { + [HideInInspector] _AlphaCutoff("Alpha Cutoff ", Range(0, 1)) = 0.5 + [HideInInspector] _EmissionColor("Emission Color", Color) = (1,1,1,1) + _Color("Color", Color) = (0.9044118,0.6640914,0.03325041,0) + _Albedo("Albedo", 2D) = "white" {} + _Normal("Normal", 2D) = "bump" {} + _Emission("Emission", 2D) = "black" {} + _Oclussion("Oclussion", 2D) = "white" {} + _HighlightColor("Highlight Color", Color) = (0.7065311,0.9705882,0.9596617,1) + _MinHighLightLevel("MinHighLightLevel", Range( 0 , 1)) = 0.8 + _MaxHighLightLevel("MaxHighLightLevel", Range( 0 , 1)) = 0.9 + _HighlightSpeed("Highlight Speed", Range( 0 , 200)) = 60 + [Toggle]_Highlighted("Highlighted", Float) = 0 + + + //_TransmissionShadow( "Transmission Shadow", Range( 0, 1 ) ) = 0.5 + //_TransStrength( "Trans Strength", Range( 0, 50 ) ) = 1 + //_TransNormal( "Trans Normal Distortion", Range( 0, 1 ) ) = 0.5 + //_TransScattering( "Trans Scattering", Range( 1, 50 ) ) = 2 + //_TransDirect( "Trans Direct", Range( 0, 1 ) ) = 0.9 + //_TransAmbient( "Trans Ambient", Range( 0, 1 ) ) = 0.1 + //_TransShadow( "Trans Shadow", Range( 0, 1 ) ) = 0.5 + //_TessPhongStrength( "Tess Phong Strength", Range( 0, 1 ) ) = 0.5 + //_TessValue( "Tess Max Tessellation", Range( 1, 32 ) ) = 16 + //_TessMin( "Tess Min Distance", Float ) = 10 + //_TessMax( "Tess Max Distance", Float ) = 25 + //_TessEdgeLength ( "Tess Edge length", Range( 2, 50 ) ) = 16 + //_TessMaxDisp( "Tess Max Displacement", Float ) = 25 + + [HideInInspector][ToggleOff] _SpecularHighlights("Specular Highlights", Float) = 1.0 + [HideInInspector][ToggleOff] _EnvironmentReflections("Environment Reflections", Float) = 1.0 + [HideInInspector][ToggleOff] _ReceiveShadows("Receive Shadows", Float) = 1.0 + + [HideInInspector] _QueueOffset("_QueueOffset", Float) = 0 + [HideInInspector] _QueueControl("_QueueControl", Float) = -1 + + [HideInInspector][NoScaleOffset] unity_Lightmaps("unity_Lightmaps", 2DArray) = "" {} + [HideInInspector][NoScaleOffset] unity_LightmapsInd("unity_LightmapsInd", 2DArray) = "" {} + [HideInInspector][NoScaleOffset] unity_ShadowMasks("unity_ShadowMasks", 2DArray) = "" {} + } + + SubShader + { + LOD 0 + + + + Tags { "RenderPipeline"="UniversalPipeline" "RenderType"="Opaque" "Queue"="Geometry" "UniversalMaterialType"="Lit" } + + Cull Back + ZWrite On + ZTest LEqual + Offset 0 , 0 + AlphaToMask Off + + + + HLSLINCLUDE + #pragma target 3.5 + #pragma prefer_hlslcc gles + // ensure rendering platforms toggle list is visible + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Filtering.hlsl" + + #ifndef ASE_TESS_FUNCS + #define ASE_TESS_FUNCS + float4 FixedTess( float tessValue ) + { + return tessValue; + } + + float CalcDistanceTessFactor (float4 vertex, float minDist, float maxDist, float tess, float4x4 o2w, float3 cameraPos ) + { + float3 wpos = mul(o2w,vertex).xyz; + float dist = distance (wpos, cameraPos); + float f = clamp(1.0 - (dist - minDist) / (maxDist - minDist), 0.01, 1.0) * tess; + return f; + } + + float4 CalcTriEdgeTessFactors (float3 triVertexFactors) + { + float4 tess; + tess.x = 0.5 * (triVertexFactors.y + triVertexFactors.z); + tess.y = 0.5 * (triVertexFactors.x + triVertexFactors.z); + tess.z = 0.5 * (triVertexFactors.x + triVertexFactors.y); + tess.w = (triVertexFactors.x + triVertexFactors.y + triVertexFactors.z) / 3.0f; + return tess; + } + + float CalcEdgeTessFactor (float3 wpos0, float3 wpos1, float edgeLen, float3 cameraPos, float4 scParams ) + { + float dist = distance (0.5 * (wpos0+wpos1), cameraPos); + float len = distance(wpos0, wpos1); + float f = max(len * scParams.y / (edgeLen * dist), 1.0); + return f; + } + + float DistanceFromPlane (float3 pos, float4 plane) + { + float d = dot (float4(pos,1.0f), plane); + return d; + } + + bool WorldViewFrustumCull (float3 wpos0, float3 wpos1, float3 wpos2, float cullEps, float4 planes[6] ) + { + float4 planeTest; + planeTest.x = (( DistanceFromPlane(wpos0, planes[0]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos1, planes[0]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos2, planes[0]) > -cullEps) ? 1.0f : 0.0f ); + planeTest.y = (( DistanceFromPlane(wpos0, planes[1]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos1, planes[1]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos2, planes[1]) > -cullEps) ? 1.0f : 0.0f ); + planeTest.z = (( DistanceFromPlane(wpos0, planes[2]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos1, planes[2]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos2, planes[2]) > -cullEps) ? 1.0f : 0.0f ); + planeTest.w = (( DistanceFromPlane(wpos0, planes[3]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos1, planes[3]) > -cullEps) ? 1.0f : 0.0f ) + + (( DistanceFromPlane(wpos2, planes[3]) > -cullEps) ? 1.0f : 0.0f ); + return !all (planeTest); + } + + float4 DistanceBasedTess( float4 v0, float4 v1, float4 v2, float tess, float minDist, float maxDist, float4x4 o2w, float3 cameraPos ) + { + float3 f; + f.x = CalcDistanceTessFactor (v0,minDist,maxDist,tess,o2w,cameraPos); + f.y = CalcDistanceTessFactor (v1,minDist,maxDist,tess,o2w,cameraPos); + f.z = CalcDistanceTessFactor (v2,minDist,maxDist,tess,o2w,cameraPos); + + return CalcTriEdgeTessFactors (f); + } + + float4 EdgeLengthBasedTess( float4 v0, float4 v1, float4 v2, float edgeLength, float4x4 o2w, float3 cameraPos, float4 scParams ) + { + float3 pos0 = mul(o2w,v0).xyz; + float3 pos1 = mul(o2w,v1).xyz; + float3 pos2 = mul(o2w,v2).xyz; + float4 tess; + tess.x = CalcEdgeTessFactor (pos1, pos2, edgeLength, cameraPos, scParams); + tess.y = CalcEdgeTessFactor (pos2, pos0, edgeLength, cameraPos, scParams); + tess.z = CalcEdgeTessFactor (pos0, pos1, edgeLength, cameraPos, scParams); + tess.w = (tess.x + tess.y + tess.z) / 3.0f; + return tess; + } + + float4 EdgeLengthBasedTessCull( float4 v0, float4 v1, float4 v2, float edgeLength, float maxDisplacement, float4x4 o2w, float3 cameraPos, float4 scParams, float4 planes[6] ) + { + float3 pos0 = mul(o2w,v0).xyz; + float3 pos1 = mul(o2w,v1).xyz; + float3 pos2 = mul(o2w,v2).xyz; + float4 tess; + + if (WorldViewFrustumCull(pos0, pos1, pos2, maxDisplacement, planes)) + { + tess = 0.0f; + } + else + { + tess.x = CalcEdgeTessFactor (pos1, pos2, edgeLength, cameraPos, scParams); + tess.y = CalcEdgeTessFactor (pos2, pos0, edgeLength, cameraPos, scParams); + tess.z = CalcEdgeTessFactor (pos0, pos1, edgeLength, cameraPos, scParams); + tess.w = (tess.x + tess.y + tess.z) / 3.0f; + } + return tess; + } + #endif //ASE_TESS_FUNCS + ENDHLSL + + + Pass + { + + Name "Forward" + Tags { "LightMode"="UniversalForward" } + + Blend One Zero, One Zero + ZWrite On + ZTest LEqual + Offset 0 , 0 + ColorMask RGBA + + + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #pragma multi_compile_instancing + #pragma instancing_options renderinglayer + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #pragma multi_compile_fog + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #pragma shader_feature_local_fragment _SPECULAR_SETUP + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma shader_feature_local _RECEIVE_SHADOWS_OFF + #pragma shader_feature_local_fragment _SPECULARHIGHLIGHTS_OFF + #pragma shader_feature_local_fragment _ENVIRONMENTREFLECTIONS_OFF + + #pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN + #pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS + #pragma multi_compile_fragment _ _ADDITIONAL_LIGHT_SHADOWS + #pragma multi_compile_fragment _ _REFLECTION_PROBE_BLENDING + #pragma multi_compile_fragment _ _REFLECTION_PROBE_BOX_PROJECTION + #pragma multi_compile_fragment _ _SHADOWS_SOFT + #pragma multi_compile_fragment _ _SCREEN_SPACE_OCCLUSION + #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 + #pragma multi_compile_fragment _ _LIGHT_LAYERS + #pragma multi_compile_fragment _ _LIGHT_COOKIES + #pragma multi_compile _ _CLUSTERED_RENDERING + + #pragma multi_compile _ DOTS_INSTANCING_ON + + #pragma multi_compile _ LIGHTMAP_SHADOW_MIXING + #pragma multi_compile _ SHADOWS_SHADOWMASK + #pragma multi_compile _ DIRLIGHTMAP_COMBINED + #pragma multi_compile _ LIGHTMAP_ON + #pragma multi_compile _ DYNAMICLIGHTMAP_ON + #pragma multi_compile_fragment _ DEBUG_DISPLAY + + #pragma vertex vert + #pragma fragment frag + + #define SHADERPASS SHADERPASS_FORWARD + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + #if defined(UNITY_INSTANCING_ENABLED) && defined(_TERRAIN_INSTANCED_PERPIXEL_NORMAL) + #define ENABLE_TERRAIN_PERPIXEL_NORMAL + #endif + + #define ASE_NEEDS_FRAG_WORLD_TANGENT + #define ASE_NEEDS_FRAG_WORLD_NORMAL + #define ASE_NEEDS_FRAG_WORLD_BITANGENT + #define ASE_NEEDS_FRAG_WORLD_VIEW_DIR + + + #if defined(ASE_EARLY_Z_DEPTH_OPTIMIZE) && (SHADER_TARGET >= 45) + #define ASE_SV_DEPTH SV_DepthLessEqual + #define ASE_SV_POSITION_QUALIFIERS linear noperspective centroid + #else + #define ASE_SV_DEPTH SV_Depth + #define ASE_SV_POSITION_QUALIFIERS + #endif + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + float4 tangentOS : TANGENT; + float4 texcoord : TEXCOORD0; + float4 texcoord1 : TEXCOORD1; + float4 texcoord2 : TEXCOORD2; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + ASE_SV_POSITION_QUALIFIERS float4 positionCS : SV_POSITION; + float4 clipPosV : TEXCOORD0; + float4 lightmapUVOrVertexSH : TEXCOORD1; + half4 fogFactorAndVertexLight : TEXCOORD2; + float4 tSpace0 : TEXCOORD3; + float4 tSpace1 : TEXCOORD4; + float4 tSpace2 : TEXCOORD5; + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + float4 shadowCoord : TEXCOORD6; + #endif + #if defined(DYNAMICLIGHTMAP_ON) + float2 dynamicLightmapUV : TEXCOORD7; + #endif + float4 ase_texcoord8 : TEXCOORD8; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + sampler2D _Albedo; + sampler2D _Normal; + sampler2D _Emission; + sampler2D _Oclussion; + + + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o = (VertexOutput)0; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + o.ase_texcoord8.xy = v.texcoord.xy; + + //setting value to unused interpolator channels and avoid initialization warnings + o.ase_texcoord8.zw = 0; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + v.normalOS = v.normalOS; + v.tangentOS = v.tangentOS; + + VertexPositionInputs vertexInput = GetVertexPositionInputs( v.positionOS.xyz ); + VertexNormalInputs normalInput = GetVertexNormalInputs( v.normalOS, v.tangentOS ); + + o.tSpace0 = float4( normalInput.normalWS, vertexInput.positionWS.x ); + o.tSpace1 = float4( normalInput.tangentWS, vertexInput.positionWS.y ); + o.tSpace2 = float4( normalInput.bitangentWS, vertexInput.positionWS.z ); + + #if defined(LIGHTMAP_ON) + OUTPUT_LIGHTMAP_UV( v.texcoord1, unity_LightmapST, o.lightmapUVOrVertexSH.xy ); + #endif + + #if !defined(LIGHTMAP_ON) + OUTPUT_SH( normalInput.normalWS.xyz, o.lightmapUVOrVertexSH.xyz ); + #endif + + #if defined(DYNAMICLIGHTMAP_ON) + o.dynamicLightmapUV.xy = v.texcoord2.xy * unity_DynamicLightmapST.xy + unity_DynamicLightmapST.zw; + #endif + + #if defined(ENABLE_TERRAIN_PERPIXEL_NORMAL) + o.lightmapUVOrVertexSH.zw = v.texcoord.xy; + o.lightmapUVOrVertexSH.xy = v.texcoord.xy * unity_LightmapST.xy + unity_LightmapST.zw; + #endif + + half3 vertexLight = VertexLighting( vertexInput.positionWS, normalInput.normalWS ); + + #ifdef ASE_FOG + half fogFactor = ComputeFogFactor( vertexInput.positionCS.z ); + #else + half fogFactor = 0; + #endif + + o.fogFactorAndVertexLight = half4(fogFactor, vertexLight); + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + o.positionCS = vertexInput.positionCS; + o.clipPosV = vertexInput.positionCS; + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + float4 tangentOS : TANGENT; + float4 texcoord : TEXCOORD0; + float4 texcoord1 : TEXCOORD1; + float4 texcoord2 : TEXCOORD2; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + o.tangentOS = v.tangentOS; + o.texcoord = v.texcoord; + o.texcoord1 = v.texcoord1; + o.texcoord2 = v.texcoord2; + + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + o.tangentOS = patch[0].tangentOS * bary.x + patch[1].tangentOS * bary.y + patch[2].tangentOS * bary.z; + o.texcoord = patch[0].texcoord * bary.x + patch[1].texcoord * bary.y + patch[2].texcoord * bary.z; + o.texcoord1 = patch[0].texcoord1 * bary.x + patch[1].texcoord1 * bary.y + patch[2].texcoord1 * bary.z; + o.texcoord2 = patch[0].texcoord2 * bary.x + patch[1].texcoord2 * bary.y + patch[2].texcoord2 * bary.z; + + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag ( VertexOutput IN + #ifdef ASE_DEPTH_WRITE_ON + ,out float outputDepth : ASE_SV_DEPTH + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID(IN); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(IN); + + #ifdef LOD_FADE_CROSSFADE + LODDitheringTransition( IN.positionCS.xyz, unity_LODFade.x ); + #endif + + #if defined(ENABLE_TERRAIN_PERPIXEL_NORMAL) + float2 sampleCoords = (IN.lightmapUVOrVertexSH.zw / _TerrainHeightmapRecipSize.zw + 0.5f) * _TerrainHeightmapRecipSize.xy; + float3 WorldNormal = TransformObjectToWorldNormal(normalize(SAMPLE_TEXTURE2D(_TerrainNormalmapTexture, sampler_TerrainNormalmapTexture, sampleCoords).rgb * 2 - 1)); + float3 WorldTangent = -cross(GetObjectToWorldMatrix()._13_23_33, WorldNormal); + float3 WorldBiTangent = cross(WorldNormal, -WorldTangent); + #else + float3 WorldNormal = normalize( IN.tSpace0.xyz ); + float3 WorldTangent = IN.tSpace1.xyz; + float3 WorldBiTangent = IN.tSpace2.xyz; + #endif + + float3 WorldPosition = float3(IN.tSpace0.w,IN.tSpace1.w,IN.tSpace2.w); + float3 WorldViewDirection = _WorldSpaceCameraPos.xyz - WorldPosition; + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + + float4 ClipPos = IN.clipPosV; + float4 ScreenPos = ComputeScreenPos( IN.clipPosV ); + + float2 NormalizedScreenSpaceUV = GetNormalizedScreenSpaceUV(IN.positionCS); + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #endif + + WorldViewDirection = SafeNormalize( WorldViewDirection ); + + float2 texCoord51 = IN.ase_texcoord8.xy * float2( 1,1 ) + float2( 0,0 ); + float4 Albedo65 = ( _Color * tex2D( _Albedo, texCoord51 ) ); + + float3 Normal67 = UnpackNormalScale( tex2D( _Normal, texCoord51 ), 1.0f ); + + float4 Emision75 = tex2D( _Emission, texCoord51 ); + float3 tanToWorld0 = float3( WorldTangent.x, WorldBiTangent.x, WorldNormal.x ); + float3 tanToWorld1 = float3( WorldTangent.y, WorldBiTangent.y, WorldNormal.y ); + float3 tanToWorld2 = float3( WorldTangent.z, WorldBiTangent.z, WorldNormal.z ); + float3 ase_tanViewDir = tanToWorld0 * WorldViewDirection.x + tanToWorld1 * WorldViewDirection.y + tanToWorld2 * WorldViewDirection.z; + ase_tanViewDir = normalize(ase_tanViewDir); + float3 normalizeResult78 = normalize( ase_tanViewDir ); + float dotResult79 = dot( Normal67 , normalizeResult78 ); + float mulTime138 = _TimeParameters.x * 0.05; + float Highlight_Level87 = (_MinHighLightLevel + (sin( ( mulTime138 * _HighlightSpeed ) ) - -1.0) * (_MaxHighLightLevel - _MinHighLightLevel) / (1.0 - -1.0)); + float4 Highlight_Color95 = _HighlightColor; + float4 Highlight_Rim94 = ( pow( ( 1.0 - saturate( dotResult79 ) ) , (10.0 + (Highlight_Level87 - 0.0) * (0.0 - 10.0) / (1.0 - 0.0)) ) * Highlight_Color95 ); + float4 Final_Emision114 = (( _Highlighted )?( ( Emision75 + Highlight_Rim94 ) ):( Emision75 )); + + float4 Oclussion86 = tex2D( _Oclussion, texCoord51 ); + + + float3 BaseColor = Albedo65.rgb; + float3 Normal = Normal67; + float3 Emission = Final_Emision114.rgb; + float3 Specular = 0.5; + float Metallic = 0; + float Smoothness = 0.5; + float Occlusion = Oclussion86.r; + float Alpha = 1; + float AlphaClipThreshold = 0.5; + float AlphaClipThresholdShadow = 0.5; + float3 BakedGI = 0; + float3 RefractionColor = 1; + float RefractionIndex = 1; + float3 Transmission = 1; + float3 Translucency = 1; + + #ifdef ASE_DEPTH_WRITE_ON + float DepthValue = IN.positionCS.z; + #endif + + #ifdef _CLEARCOAT + float CoatMask = 0; + float CoatSmoothness = 0; + #endif + + #ifdef _ALPHATEST_ON + clip(Alpha - AlphaClipThreshold); + #endif + + InputData inputData = (InputData)0; + inputData.positionWS = WorldPosition; + inputData.viewDirectionWS = WorldViewDirection; + + #ifdef _NORMALMAP + #if _NORMAL_DROPOFF_TS + inputData.normalWS = TransformTangentToWorld(Normal, half3x3(WorldTangent, WorldBiTangent, WorldNormal)); + #elif _NORMAL_DROPOFF_OS + inputData.normalWS = TransformObjectToWorldNormal(Normal); + #elif _NORMAL_DROPOFF_WS + inputData.normalWS = Normal; + #endif + inputData.normalWS = NormalizeNormalPerPixel(inputData.normalWS); + #else + inputData.normalWS = WorldNormal; + #endif + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + inputData.shadowCoord = ShadowCoords; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + inputData.shadowCoord = TransformWorldToShadowCoord(inputData.positionWS); + #else + inputData.shadowCoord = float4(0, 0, 0, 0); + #endif + + #ifdef ASE_FOG + inputData.fogCoord = IN.fogFactorAndVertexLight.x; + #endif + inputData.vertexLighting = IN.fogFactorAndVertexLight.yzw; + + #if defined(ENABLE_TERRAIN_PERPIXEL_NORMAL) + float3 SH = SampleSH(inputData.normalWS.xyz); + #else + float3 SH = IN.lightmapUVOrVertexSH.xyz; + #endif + + #if defined(DYNAMICLIGHTMAP_ON) + inputData.bakedGI = SAMPLE_GI(IN.lightmapUVOrVertexSH.xy, IN.dynamicLightmapUV.xy, SH, inputData.normalWS); + #else + inputData.bakedGI = SAMPLE_GI(IN.lightmapUVOrVertexSH.xy, SH, inputData.normalWS); + #endif + + #ifdef ASE_BAKEDGI + inputData.bakedGI = BakedGI; + #endif + + inputData.normalizedScreenSpaceUV = NormalizedScreenSpaceUV; + inputData.shadowMask = SAMPLE_SHADOWMASK(IN.lightmapUVOrVertexSH.xy); + + #if defined(DEBUG_DISPLAY) + #if defined(DYNAMICLIGHTMAP_ON) + inputData.dynamicLightmapUV = IN.dynamicLightmapUV.xy; + #endif + #if defined(LIGHTMAP_ON) + inputData.staticLightmapUV = IN.lightmapUVOrVertexSH.xy; + #else + inputData.vertexSH = SH; + #endif + #endif + + SurfaceData surfaceData; + surfaceData.albedo = BaseColor; + surfaceData.metallic = saturate(Metallic); + surfaceData.specular = Specular; + surfaceData.smoothness = saturate(Smoothness), + surfaceData.occlusion = Occlusion, + surfaceData.emission = Emission, + surfaceData.alpha = saturate(Alpha); + surfaceData.normalTS = Normal; + surfaceData.clearCoatMask = 0; + surfaceData.clearCoatSmoothness = 1; + + #ifdef _CLEARCOAT + surfaceData.clearCoatMask = saturate(CoatMask); + surfaceData.clearCoatSmoothness = saturate(CoatSmoothness); + #endif + + #ifdef _DBUFFER + ApplyDecalToSurfaceData(IN.positionCS, surfaceData, inputData); + #endif + + half4 color = UniversalFragmentPBR( inputData, surfaceData); + + #ifdef ASE_TRANSMISSION + { + float shadow = _TransmissionShadow; + + Light mainLight = GetMainLight( inputData.shadowCoord ); + float3 mainAtten = mainLight.color * mainLight.distanceAttenuation; + mainAtten = lerp( mainAtten, mainAtten * mainLight.shadowAttenuation, shadow ); + half3 mainTransmission = max(0 , -dot(inputData.normalWS, mainLight.direction)) * mainAtten * Transmission; + color.rgb += BaseColor * mainTransmission; + + #ifdef _ADDITIONAL_LIGHTS + int transPixelLightCount = GetAdditionalLightsCount(); + for (int i = 0; i < transPixelLightCount; ++i) + { + Light light = GetAdditionalLight(i, inputData.positionWS); + float3 atten = light.color * light.distanceAttenuation; + atten = lerp( atten, atten * light.shadowAttenuation, shadow ); + + half3 transmission = max(0 , -dot(inputData.normalWS, light.direction)) * atten * Transmission; + color.rgb += BaseColor * transmission; + } + #endif + } + #endif + + #ifdef ASE_TRANSLUCENCY + { + float shadow = _TransShadow; + float normal = _TransNormal; + float scattering = _TransScattering; + float direct = _TransDirect; + float ambient = _TransAmbient; + float strength = _TransStrength; + + Light mainLight = GetMainLight( inputData.shadowCoord ); + float3 mainAtten = mainLight.color * mainLight.distanceAttenuation; + mainAtten = lerp( mainAtten, mainAtten * mainLight.shadowAttenuation, shadow ); + + half3 mainLightDir = mainLight.direction + inputData.normalWS * normal; + half mainVdotL = pow( saturate( dot( inputData.viewDirectionWS, -mainLightDir ) ), scattering ); + half3 mainTranslucency = mainAtten * ( mainVdotL * direct + inputData.bakedGI * ambient ) * Translucency; + color.rgb += BaseColor * mainTranslucency * strength; + + #ifdef _ADDITIONAL_LIGHTS + int transPixelLightCount = GetAdditionalLightsCount(); + for (int i = 0; i < transPixelLightCount; ++i) + { + Light light = GetAdditionalLight(i, inputData.positionWS); + float3 atten = light.color * light.distanceAttenuation; + atten = lerp( atten, atten * light.shadowAttenuation, shadow ); + + half3 lightDir = light.direction + inputData.normalWS * normal; + half VdotL = pow( saturate( dot( inputData.viewDirectionWS, -lightDir ) ), scattering ); + half3 translucency = atten * ( VdotL * direct + inputData.bakedGI * ambient ) * Translucency; + color.rgb += BaseColor * translucency * strength; + } + #endif + } + #endif + + #ifdef ASE_REFRACTION + float4 projScreenPos = ScreenPos / ScreenPos.w; + float3 refractionOffset = ( RefractionIndex - 1.0 ) * mul( UNITY_MATRIX_V, float4( WorldNormal,0 ) ).xyz * ( 1.0 - dot( WorldNormal, WorldViewDirection ) ); + projScreenPos.xy += refractionOffset.xy; + float3 refraction = SHADERGRAPH_SAMPLE_SCENE_COLOR( projScreenPos.xy ) * RefractionColor; + color.rgb = lerp( refraction, color.rgb, color.a ); + color.a = 1; + #endif + + #ifdef ASE_FINAL_COLOR_ALPHA_MULTIPLY + color.rgb *= color.a; + #endif + + #ifdef ASE_FOG + #ifdef TERRAIN_SPLAT_ADDPASS + color.rgb = MixFogColor(color.rgb, half3( 0, 0, 0 ), IN.fogFactorAndVertexLight.x ); + #else + color.rgb = MixFog(color.rgb, IN.fogFactorAndVertexLight.x); + #endif + #endif + + #ifdef ASE_DEPTH_WRITE_ON + outputDepth = DepthValue; + #endif + + return color; + } + + ENDHLSL + } + + + Pass + { + + Name "ShadowCaster" + Tags { "LightMode"="ShadowCaster" } + + ZWrite On + ZTest LEqual + AlphaToMask Off + ColorMask 0 + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #pragma multi_compile_instancing + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma multi_compile_vertex _ _CASTING_PUNCTUAL_LIGHT_SHADOW + #pragma multi_compile _ DOTS_INSTANCING_ON + + #pragma vertex vert + #pragma fragment frag + + #define SHADERPASS SHADERPASS_SHADOWCASTER + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + + + #if defined(ASE_EARLY_Z_DEPTH_OPTIMIZE) && (SHADER_TARGET >= 45) + #define ASE_SV_DEPTH SV_DepthLessEqual + #define ASE_SV_POSITION_QUALIFIERS linear noperspective centroid + #else + #define ASE_SV_DEPTH SV_Depth + #define ASE_SV_POSITION_QUALIFIERS + #endif + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + ASE_SV_POSITION_QUALIFIERS float4 positionCS : SV_POSITION; + float4 clipPosV : TEXCOORD0; + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 positionWS : TEXCOORD1; + #endif + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + float4 shadowCoord : TEXCOORD2; + #endif + + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + + + + float3 _LightDirection; + float3 _LightPosition; + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + + + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + + float3 positionWS = TransformObjectToWorld( v.positionOS.xyz ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + o.positionWS = positionWS; + #endif + + float3 normalWS = TransformObjectToWorldDir(v.normalOS); + + #if _CASTING_PUNCTUAL_LIGHT_SHADOW + float3 lightDirectionWS = normalize(_LightPosition - positionWS); + #else + float3 lightDirectionWS = _LightDirection; + #endif + + float4 positionCS = TransformWorldToHClip(ApplyShadowBias(positionWS, normalWS, lightDirectionWS)); + + #if UNITY_REVERSED_Z + positionCS.z = min(positionCS.z, UNITY_NEAR_CLIP_VALUE); + #else + positionCS.z = max(positionCS.z, UNITY_NEAR_CLIP_VALUE); + #endif + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + VertexPositionInputs vertexInput = (VertexPositionInputs)0; + vertexInput.positionWS = positionWS; + vertexInput.positionCS = positionCS; + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + o.positionCS = positionCS; + o.clipPosV = positionCS; + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag( VertexOutput IN + #ifdef ASE_DEPTH_WRITE_ON + ,out float outputDepth : ASE_SV_DEPTH + #endif + ) : SV_TARGET + { + UNITY_SETUP_INSTANCE_ID( IN ); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX( IN ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 WorldPosition = IN.positionWS; + #endif + + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + float4 ClipPos = IN.clipPosV; + float4 ScreenPos = ComputeScreenPos( IN.clipPosV ); + + #if defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #endif + #endif + + + + float Alpha = 1; + float AlphaClipThreshold = 0.5; + float AlphaClipThresholdShadow = 0.5; + + #ifdef ASE_DEPTH_WRITE_ON + float DepthValue = IN.positionCS.z; + #endif + + #ifdef _ALPHATEST_ON + #ifdef _ALPHATEST_SHADOW_ON + clip(Alpha - AlphaClipThresholdShadow); + #else + clip(Alpha - AlphaClipThreshold); + #endif + #endif + + #ifdef LOD_FADE_CROSSFADE + LODDitheringTransition( IN.positionCS.xyz, unity_LODFade.x ); + #endif + + #ifdef ASE_DEPTH_WRITE_ON + outputDepth = DepthValue; + #endif + + return 0; + } + ENDHLSL + } + + + Pass + { + + Name "DepthOnly" + Tags { "LightMode"="DepthOnly" } + + ZWrite On + ColorMask 0 + AlphaToMask Off + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #pragma multi_compile_instancing + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma multi_compile _ DOTS_INSTANCING_ON + + #pragma vertex vert + #pragma fragment frag + + #define SHADERPASS SHADERPASS_DEPTHONLY + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + + + #if defined(ASE_EARLY_Z_DEPTH_OPTIMIZE) && (SHADER_TARGET >= 45) + #define ASE_SV_DEPTH SV_DepthLessEqual + #define ASE_SV_POSITION_QUALIFIERS linear noperspective centroid + #else + #define ASE_SV_DEPTH SV_Depth + #define ASE_SV_POSITION_QUALIFIERS + #endif + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + ASE_SV_POSITION_QUALIFIERS float4 positionCS : SV_POSITION; + float4 clipPosV : TEXCOORD0; + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 positionWS : TEXCOORD1; + #endif + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + float4 shadowCoord : TEXCOORD2; + #endif + + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + + + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o = (VertexOutput)0; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + + VertexPositionInputs vertexInput = GetVertexPositionInputs( v.positionOS.xyz ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + o.positionWS = vertexInput.positionWS; + #endif + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + o.positionCS = vertexInput.positionCS; + o.clipPosV = vertexInput.positionCS; + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag( VertexOutput IN + #ifdef ASE_DEPTH_WRITE_ON + ,out float outputDepth : ASE_SV_DEPTH + #endif + ) : SV_TARGET + { + UNITY_SETUP_INSTANCE_ID(IN); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX( IN ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 WorldPosition = IN.positionWS; + #endif + + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + float4 ClipPos = IN.clipPosV; + float4 ScreenPos = ComputeScreenPos( IN.clipPosV ); + + #if defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #endif + #endif + + + + float Alpha = 1; + float AlphaClipThreshold = 0.5; + + #ifdef ASE_DEPTH_WRITE_ON + float DepthValue = IN.positionCS.z; + #endif + + #ifdef _ALPHATEST_ON + clip(Alpha - AlphaClipThreshold); + #endif + + #ifdef LOD_FADE_CROSSFADE + LODDitheringTransition( IN.positionCS.xyz, unity_LODFade.x ); + #endif + + #ifdef ASE_DEPTH_WRITE_ON + outputDepth = DepthValue; + #endif + + return 0; + } + ENDHLSL + } + + + Pass + { + + Name "Meta" + Tags { "LightMode"="Meta" } + + Cull Off + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #pragma shader_feature_local_fragment _SPECULAR_SETUP + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma vertex vert + #pragma fragment frag + + #pragma shader_feature EDITOR_VISUALIZATION + + #define SHADERPASS SHADERPASS_META + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/MetaInput.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + #define ASE_NEEDS_VERT_NORMAL + #define ASE_NEEDS_FRAG_WORLD_POSITION + + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + float4 texcoord0 : TEXCOORD0; + float4 texcoord1 : TEXCOORD1; + float4 texcoord2 : TEXCOORD2; + float4 ase_tangent : TANGENT; + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + float4 positionCS : SV_POSITION; + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 positionWS : TEXCOORD0; + #endif + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + float4 shadowCoord : TEXCOORD1; + #endif + #ifdef EDITOR_VISUALIZATION + float4 VizUV : TEXCOORD2; + float4 LightCoord : TEXCOORD3; + #endif + float4 ase_texcoord4 : TEXCOORD4; + float4 ase_texcoord5 : TEXCOORD5; + float4 ase_texcoord6 : TEXCOORD6; + float4 ase_texcoord7 : TEXCOORD7; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + sampler2D _Albedo; + sampler2D _Emission; + sampler2D _Normal; + + + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o = (VertexOutput)0; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + float3 ase_worldTangent = TransformObjectToWorldDir(v.ase_tangent.xyz); + o.ase_texcoord5.xyz = ase_worldTangent; + float3 ase_worldNormal = TransformObjectToWorldNormal(v.normalOS); + o.ase_texcoord6.xyz = ase_worldNormal; + float ase_vertexTangentSign = v.ase_tangent.w * ( unity_WorldTransformParams.w >= 0.0 ? 1.0 : -1.0 ); + float3 ase_worldBitangent = cross( ase_worldNormal, ase_worldTangent ) * ase_vertexTangentSign; + o.ase_texcoord7.xyz = ase_worldBitangent; + + o.ase_texcoord4.xy = v.texcoord0.xy; + + //setting value to unused interpolator channels and avoid initialization warnings + o.ase_texcoord4.zw = 0; + o.ase_texcoord5.w = 0; + o.ase_texcoord6.w = 0; + o.ase_texcoord7.w = 0; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + + float3 positionWS = TransformObjectToWorld( v.positionOS.xyz ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + o.positionWS = positionWS; + #endif + + o.positionCS = MetaVertexPosition( v.positionOS, v.texcoord1.xy, v.texcoord1.xy, unity_LightmapST, unity_DynamicLightmapST ); + + #ifdef EDITOR_VISUALIZATION + float2 VizUV = 0; + float4 LightCoord = 0; + UnityEditorVizData(v.positionOS.xyz, v.texcoord0.xy, v.texcoord1.xy, v.texcoord2.xy, VizUV, LightCoord); + o.VizUV = float4(VizUV, 0, 0); + o.LightCoord = LightCoord; + #endif + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + VertexPositionInputs vertexInput = (VertexPositionInputs)0; + vertexInput.positionWS = positionWS; + vertexInput.positionCS = o.positionCS; + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + float4 texcoord0 : TEXCOORD0; + float4 texcoord1 : TEXCOORD1; + float4 texcoord2 : TEXCOORD2; + float4 ase_tangent : TANGENT; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + o.texcoord0 = v.texcoord0; + o.texcoord1 = v.texcoord1; + o.texcoord2 = v.texcoord2; + o.ase_tangent = v.ase_tangent; + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + o.texcoord0 = patch[0].texcoord0 * bary.x + patch[1].texcoord0 * bary.y + patch[2].texcoord0 * bary.z; + o.texcoord1 = patch[0].texcoord1 * bary.x + patch[1].texcoord1 * bary.y + patch[2].texcoord1 * bary.z; + o.texcoord2 = patch[0].texcoord2 * bary.x + patch[1].texcoord2 * bary.y + patch[2].texcoord2 * bary.z; + o.ase_tangent = patch[0].ase_tangent * bary.x + patch[1].ase_tangent * bary.y + patch[2].ase_tangent * bary.z; + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag(VertexOutput IN ) : SV_TARGET + { + UNITY_SETUP_INSTANCE_ID(IN); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX( IN ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 WorldPosition = IN.positionWS; + #endif + + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + + #if defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #endif + #endif + + float2 texCoord51 = IN.ase_texcoord4.xy * float2( 1,1 ) + float2( 0,0 ); + float4 Albedo65 = ( _Color * tex2D( _Albedo, texCoord51 ) ); + + float4 Emision75 = tex2D( _Emission, texCoord51 ); + float3 Normal67 = UnpackNormalScale( tex2D( _Normal, texCoord51 ), 1.0f ); + float3 ase_worldTangent = IN.ase_texcoord5.xyz; + float3 ase_worldNormal = IN.ase_texcoord6.xyz; + float3 ase_worldBitangent = IN.ase_texcoord7.xyz; + float3 tanToWorld0 = float3( ase_worldTangent.x, ase_worldBitangent.x, ase_worldNormal.x ); + float3 tanToWorld1 = float3( ase_worldTangent.y, ase_worldBitangent.y, ase_worldNormal.y ); + float3 tanToWorld2 = float3( ase_worldTangent.z, ase_worldBitangent.z, ase_worldNormal.z ); + float3 ase_worldViewDir = ( _WorldSpaceCameraPos.xyz - WorldPosition ); + ase_worldViewDir = normalize(ase_worldViewDir); + float3 ase_tanViewDir = tanToWorld0 * ase_worldViewDir.x + tanToWorld1 * ase_worldViewDir.y + tanToWorld2 * ase_worldViewDir.z; + ase_tanViewDir = normalize(ase_tanViewDir); + float3 normalizeResult78 = normalize( ase_tanViewDir ); + float dotResult79 = dot( Normal67 , normalizeResult78 ); + float mulTime138 = _TimeParameters.x * 0.05; + float Highlight_Level87 = (_MinHighLightLevel + (sin( ( mulTime138 * _HighlightSpeed ) ) - -1.0) * (_MaxHighLightLevel - _MinHighLightLevel) / (1.0 - -1.0)); + float4 Highlight_Color95 = _HighlightColor; + float4 Highlight_Rim94 = ( pow( ( 1.0 - saturate( dotResult79 ) ) , (10.0 + (Highlight_Level87 - 0.0) * (0.0 - 10.0) / (1.0 - 0.0)) ) * Highlight_Color95 ); + float4 Final_Emision114 = (( _Highlighted )?( ( Emision75 + Highlight_Rim94 ) ):( Emision75 )); + + + float3 BaseColor = Albedo65.rgb; + float3 Emission = Final_Emision114.rgb; + float Alpha = 1; + float AlphaClipThreshold = 0.5; + + #ifdef _ALPHATEST_ON + clip(Alpha - AlphaClipThreshold); + #endif + + MetaInput metaInput = (MetaInput)0; + metaInput.Albedo = BaseColor; + metaInput.Emission = Emission; + #ifdef EDITOR_VISUALIZATION + metaInput.VizUV = IN.VizUV.xy; + metaInput.LightCoord = IN.LightCoord; + #endif + + return UnityMetaFragment(metaInput); + } + ENDHLSL + } + + + Pass + { + + Name "Universal2D" + Tags { "LightMode"="Universal2D" } + + Blend One Zero, One Zero + ZWrite On + ZTest LEqual + Offset 0 , 0 + ColorMask RGBA + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma vertex vert + #pragma fragment frag + + #define SHADERPASS SHADERPASS_2D + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + float4 ase_texcoord : TEXCOORD0; + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + float4 positionCS : SV_POSITION; + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 positionWS : TEXCOORD0; + #endif + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + float4 shadowCoord : TEXCOORD1; + #endif + float4 ase_texcoord2 : TEXCOORD2; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + sampler2D _Albedo; + + + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o = (VertexOutput)0; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + + o.ase_texcoord2.xy = v.ase_texcoord.xy; + + //setting value to unused interpolator channels and avoid initialization warnings + o.ase_texcoord2.zw = 0; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + + VertexPositionInputs vertexInput = GetVertexPositionInputs( v.positionOS.xyz ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + o.positionWS = vertexInput.positionWS; + #endif + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + o.positionCS = vertexInput.positionCS; + + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + float4 ase_texcoord : TEXCOORD0; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + o.ase_texcoord = v.ase_texcoord; + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + o.ase_texcoord = patch[0].ase_texcoord * bary.x + patch[1].ase_texcoord * bary.y + patch[2].ase_texcoord * bary.z; + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag(VertexOutput IN ) : SV_TARGET + { + UNITY_SETUP_INSTANCE_ID( IN ); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX( IN ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 WorldPosition = IN.positionWS; + #endif + + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + + #if defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #endif + #endif + + float2 texCoord51 = IN.ase_texcoord2.xy * float2( 1,1 ) + float2( 0,0 ); + float4 Albedo65 = ( _Color * tex2D( _Albedo, texCoord51 ) ); + + + float3 BaseColor = Albedo65.rgb; + float Alpha = 1; + float AlphaClipThreshold = 0.5; + + half4 color = half4(BaseColor, Alpha ); + + #ifdef _ALPHATEST_ON + clip(Alpha - AlphaClipThreshold); + #endif + + return color; + } + ENDHLSL + } + + + Pass + { + + Name "DepthNormals" + Tags { "LightMode"="DepthNormals" } + + ZWrite On + Blend One Zero + ZTest LEqual + ZWrite On + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #pragma multi_compile_instancing + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma vertex vert + #pragma fragment frag + + #define SHADERPASS SHADERPASS_DEPTHNORMALSONLY + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + + + #if defined(ASE_EARLY_Z_DEPTH_OPTIMIZE) && (SHADER_TARGET >= 45) + #define ASE_SV_DEPTH SV_DepthLessEqual + #define ASE_SV_POSITION_QUALIFIERS linear noperspective centroid + #else + #define ASE_SV_DEPTH SV_Depth + #define ASE_SV_POSITION_QUALIFIERS + #endif + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + float4 tangentOS : TANGENT; + float4 ase_texcoord : TEXCOORD0; + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + ASE_SV_POSITION_QUALIFIERS float4 positionCS : SV_POSITION; + float4 clipPosV : TEXCOORD0; + float3 worldNormal : TEXCOORD1; + float4 worldTangent : TEXCOORD2; + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 positionWS : TEXCOORD3; + #endif + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + float4 shadowCoord : TEXCOORD4; + #endif + float4 ase_texcoord5 : TEXCOORD5; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + sampler2D _Normal; + + + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o = (VertexOutput)0; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + o.ase_texcoord5.xy = v.ase_texcoord.xy; + + //setting value to unused interpolator channels and avoid initialization warnings + o.ase_texcoord5.zw = 0; + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + v.tangentOS = v.tangentOS; + + VertexPositionInputs vertexInput = GetVertexPositionInputs( v.positionOS.xyz ); + + float3 normalWS = TransformObjectToWorldNormal( v.normalOS ); + float4 tangentWS = float4( TransformObjectToWorldDir( v.tangentOS.xyz ), v.tangentOS.w ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + o.positionWS = vertexInput.positionWS; + #endif + + o.worldNormal = normalWS; + o.worldTangent = tangentWS; + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) && defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + o.positionCS = vertexInput.positionCS; + o.clipPosV = vertexInput.positionCS; + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + float4 tangentOS : TANGENT; + float4 ase_texcoord : TEXCOORD0; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + o.tangentOS = v.tangentOS; + o.ase_texcoord = v.ase_texcoord; + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + o.tangentOS = patch[0].tangentOS * bary.x + patch[1].tangentOS * bary.y + patch[2].tangentOS * bary.z; + o.ase_texcoord = patch[0].ase_texcoord * bary.x + patch[1].ase_texcoord * bary.y + patch[2].ase_texcoord * bary.z; + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag( VertexOutput IN + #ifdef ASE_DEPTH_WRITE_ON + ,out float outputDepth : ASE_SV_DEPTH + #endif + ) : SV_TARGET + { + UNITY_SETUP_INSTANCE_ID(IN); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX( IN ); + + #if defined(ASE_NEEDS_FRAG_WORLD_POSITION) + float3 WorldPosition = IN.positionWS; + #endif + + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + float3 WorldNormal = IN.worldNormal; + float4 WorldTangent = IN.worldTangent; + + float4 ClipPos = IN.clipPosV; + float4 ScreenPos = ComputeScreenPos( IN.clipPosV ); + + #if defined(ASE_NEEDS_FRAG_SHADOWCOORDS) + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #endif + #endif + + float2 texCoord51 = IN.ase_texcoord5.xy * float2( 1,1 ) + float2( 0,0 ); + float3 Normal67 = UnpackNormalScale( tex2D( _Normal, texCoord51 ), 1.0f ); + + + float3 Normal = Normal67; + float Alpha = 1; + float AlphaClipThreshold = 0.5; + + #ifdef ASE_DEPTH_WRITE_ON + float DepthValue = IN.positionCS.z; + #endif + + #ifdef _ALPHATEST_ON + clip(Alpha - AlphaClipThreshold); + #endif + + #ifdef LOD_FADE_CROSSFADE + LODDitheringTransition( IN.positionCS.xyz, unity_LODFade.x ); + #endif + + #ifdef ASE_DEPTH_WRITE_ON + outputDepth = DepthValue; + #endif + + #if defined(_GBUFFER_NORMALS_OCT) + float2 octNormalWS = PackNormalOctQuadEncode(WorldNormal); + float2 remappedOctNormalWS = saturate(octNormalWS * 0.5 + 0.5); + half3 packedNormalWS = PackFloat2To888(remappedOctNormalWS); + return half4(packedNormalWS, 0.0); + #else + #if defined(_NORMALMAP) + #if _NORMAL_DROPOFF_TS + float crossSign = (WorldTangent.w > 0.0 ? 1.0 : -1.0) * GetOddNegativeScale(); + float3 bitangent = crossSign * cross(WorldNormal.xyz, WorldTangent.xyz); + float3 normalWS = TransformTangentToWorld(Normal, half3x3(WorldTangent.xyz, bitangent, WorldNormal.xyz)); + #elif _NORMAL_DROPOFF_OS + float3 normalWS = TransformObjectToWorldNormal(Normal); + #elif _NORMAL_DROPOFF_WS + float3 normalWS = Normal; + #endif + #else + float3 normalWS = WorldNormal; + #endif + return half4(NormalizeNormalPerPixel(normalWS), 0.0); + #endif + } + ENDHLSL + } + + + Pass + { + + Name "GBuffer" + Tags { "LightMode"="UniversalGBuffer" } + + Blend One Zero, One Zero + ZWrite On + ZTest LEqual + Offset 0 , 0 + ColorMask RGBA + + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #pragma multi_compile_instancing + #pragma instancing_options renderinglayer + #pragma multi_compile_fragment _ LOD_FADE_CROSSFADE + #pragma multi_compile_fog + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #pragma shader_feature_local_fragment _SPECULAR_SETUP + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma shader_feature_local _RECEIVE_SHADOWS_OFF + #pragma shader_feature_local_fragment _SPECULARHIGHLIGHTS_OFF + #pragma shader_feature_local_fragment _ENVIRONMENTREFLECTIONS_OFF + + #pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN + #pragma multi_compile_fragment _ _REFLECTION_PROBE_BLENDING + #pragma multi_compile_fragment _ _REFLECTION_PROBE_BOX_PROJECTION + #pragma multi_compile_fragment _ _SHADOWS_SOFT + #pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3 + #pragma multi_compile_fragment _ _LIGHT_LAYERS + #pragma multi_compile_fragment _ _RENDER_PASS_ENABLED + + #pragma multi_compile _ LIGHTMAP_SHADOW_MIXING + #pragma multi_compile _ SHADOWS_SHADOWMASK + #pragma multi_compile _ DIRLIGHTMAP_COMBINED + #pragma multi_compile _ LIGHTMAP_ON + #pragma multi_compile _ DYNAMICLIGHTMAP_ON + #pragma multi_compile_fragment _ _GBUFFER_NORMALS_OCT + + #pragma vertex vert + #pragma fragment frag + + #define SHADERPASS SHADERPASS_GBUFFER + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + #if defined(UNITY_INSTANCING_ENABLED) && defined(_TERRAIN_INSTANCED_PERPIXEL_NORMAL) + #define ENABLE_TERRAIN_PERPIXEL_NORMAL + #endif + + #define ASE_NEEDS_FRAG_WORLD_TANGENT + #define ASE_NEEDS_FRAG_WORLD_NORMAL + #define ASE_NEEDS_FRAG_WORLD_BITANGENT + #define ASE_NEEDS_FRAG_WORLD_VIEW_DIR + + + #if defined(ASE_EARLY_Z_DEPTH_OPTIMIZE) && (SHADER_TARGET >= 45) + #define ASE_SV_DEPTH SV_DepthLessEqual + #define ASE_SV_POSITION_QUALIFIERS linear noperspective centroid + #else + #define ASE_SV_DEPTH SV_Depth + #define ASE_SV_POSITION_QUALIFIERS + #endif + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + float4 tangentOS : TANGENT; + float4 texcoord : TEXCOORD0; + float4 texcoord1 : TEXCOORD1; + float4 texcoord2 : TEXCOORD2; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + ASE_SV_POSITION_QUALIFIERS float4 positionCS : SV_POSITION; + float4 clipPosV : TEXCOORD0; + float4 lightmapUVOrVertexSH : TEXCOORD1; + half4 fogFactorAndVertexLight : TEXCOORD2; + float4 tSpace0 : TEXCOORD3; + float4 tSpace1 : TEXCOORD4; + float4 tSpace2 : TEXCOORD5; + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + float4 shadowCoord : TEXCOORD6; + #endif + #if defined(DYNAMICLIGHTMAP_ON) + float2 dynamicLightmapUV : TEXCOORD7; + #endif + float4 ase_texcoord8 : TEXCOORD8; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + sampler2D _Albedo; + sampler2D _Normal; + sampler2D _Emission; + sampler2D _Oclussion; + + + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/UnityGBuffer.hlsl" + + + VertexOutput VertexFunction( VertexInput v ) + { + VertexOutput o = (VertexOutput)0; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + o.ase_texcoord8.xy = v.texcoord.xy; + + //setting value to unused interpolator channels and avoid initialization warnings + o.ase_texcoord8.zw = 0; + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + v.tangentOS = v.tangentOS; + + VertexPositionInputs vertexInput = GetVertexPositionInputs( v.positionOS.xyz ); + VertexNormalInputs normalInput = GetVertexNormalInputs( v.normalOS, v.tangentOS ); + + o.tSpace0 = float4( normalInput.normalWS, vertexInput.positionWS.x); + o.tSpace1 = float4( normalInput.tangentWS, vertexInput.positionWS.y); + o.tSpace2 = float4( normalInput.bitangentWS, vertexInput.positionWS.z); + + #if defined(LIGHTMAP_ON) + OUTPUT_LIGHTMAP_UV(v.texcoord1, unity_LightmapST, o.lightmapUVOrVertexSH.xy); + #endif + + #if defined(DYNAMICLIGHTMAP_ON) + o.dynamicLightmapUV.xy = v.texcoord2.xy * unity_DynamicLightmapST.xy + unity_DynamicLightmapST.zw; + #endif + + #if !defined(LIGHTMAP_ON) + OUTPUT_SH(normalInput.normalWS.xyz, o.lightmapUVOrVertexSH.xyz); + #endif + + #if defined(ENABLE_TERRAIN_PERPIXEL_NORMAL) + o.lightmapUVOrVertexSH.zw = v.texcoord.xy; + o.lightmapUVOrVertexSH.xy = v.texcoord.xy * unity_LightmapST.xy + unity_LightmapST.zw; + #endif + + half3 vertexLight = VertexLighting( vertexInput.positionWS, normalInput.normalWS ); + + o.fogFactorAndVertexLight = half4(0, vertexLight); + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + o.shadowCoord = GetShadowCoord( vertexInput ); + #endif + + o.positionCS = vertexInput.positionCS; + o.clipPosV = vertexInput.positionCS; + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + float4 tangentOS : TANGENT; + float4 texcoord : TEXCOORD0; + float4 texcoord1 : TEXCOORD1; + float4 texcoord2 : TEXCOORD2; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + o.tangentOS = v.tangentOS; + o.texcoord = v.texcoord; + o.texcoord1 = v.texcoord1; + o.texcoord2 = v.texcoord2; + + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + o.tangentOS = patch[0].tangentOS * bary.x + patch[1].tangentOS * bary.y + patch[2].tangentOS * bary.z; + o.texcoord = patch[0].texcoord * bary.x + patch[1].texcoord * bary.y + patch[2].texcoord * bary.z; + o.texcoord1 = patch[0].texcoord1 * bary.x + patch[1].texcoord1 * bary.y + patch[2].texcoord1 * bary.z; + o.texcoord2 = patch[0].texcoord2 * bary.x + patch[1].texcoord2 * bary.y + patch[2].texcoord2 * bary.z; + + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + FragmentOutput frag ( VertexOutput IN + #ifdef ASE_DEPTH_WRITE_ON + ,out float outputDepth : ASE_SV_DEPTH + #endif + ) + { + UNITY_SETUP_INSTANCE_ID(IN); + UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(IN); + + #ifdef LOD_FADE_CROSSFADE + LODDitheringTransition( IN.positionCS.xyz, unity_LODFade.x ); + #endif + + #if defined(ENABLE_TERRAIN_PERPIXEL_NORMAL) + float2 sampleCoords = (IN.lightmapUVOrVertexSH.zw / _TerrainHeightmapRecipSize.zw + 0.5f) * _TerrainHeightmapRecipSize.xy; + float3 WorldNormal = TransformObjectToWorldNormal(normalize(SAMPLE_TEXTURE2D(_TerrainNormalmapTexture, sampler_TerrainNormalmapTexture, sampleCoords).rgb * 2 - 1)); + float3 WorldTangent = -cross(GetObjectToWorldMatrix()._13_23_33, WorldNormal); + float3 WorldBiTangent = cross(WorldNormal, -WorldTangent); + #else + float3 WorldNormal = normalize( IN.tSpace0.xyz ); + float3 WorldTangent = IN.tSpace1.xyz; + float3 WorldBiTangent = IN.tSpace2.xyz; + #endif + + float3 WorldPosition = float3(IN.tSpace0.w,IN.tSpace1.w,IN.tSpace2.w); + float3 WorldViewDirection = _WorldSpaceCameraPos.xyz - WorldPosition; + float4 ShadowCoords = float4( 0, 0, 0, 0 ); + + float4 ClipPos = IN.clipPosV; + float4 ScreenPos = ComputeScreenPos( IN.clipPosV ); + + float2 NormalizedScreenSpaceUV = GetNormalizedScreenSpaceUV(IN.positionCS); + + #if defined(REQUIRES_VERTEX_SHADOW_COORD_INTERPOLATOR) + ShadowCoords = IN.shadowCoord; + #elif defined(MAIN_LIGHT_CALCULATE_SHADOWS) + ShadowCoords = TransformWorldToShadowCoord( WorldPosition ); + #else + ShadowCoords = float4(0, 0, 0, 0); + #endif + + WorldViewDirection = SafeNormalize( WorldViewDirection ); + + float2 texCoord51 = IN.ase_texcoord8.xy * float2( 1,1 ) + float2( 0,0 ); + float4 Albedo65 = ( _Color * tex2D( _Albedo, texCoord51 ) ); + + float3 Normal67 = UnpackNormalScale( tex2D( _Normal, texCoord51 ), 1.0f ); + + float4 Emision75 = tex2D( _Emission, texCoord51 ); + float3 tanToWorld0 = float3( WorldTangent.x, WorldBiTangent.x, WorldNormal.x ); + float3 tanToWorld1 = float3( WorldTangent.y, WorldBiTangent.y, WorldNormal.y ); + float3 tanToWorld2 = float3( WorldTangent.z, WorldBiTangent.z, WorldNormal.z ); + float3 ase_tanViewDir = tanToWorld0 * WorldViewDirection.x + tanToWorld1 * WorldViewDirection.y + tanToWorld2 * WorldViewDirection.z; + ase_tanViewDir = normalize(ase_tanViewDir); + float3 normalizeResult78 = normalize( ase_tanViewDir ); + float dotResult79 = dot( Normal67 , normalizeResult78 ); + float mulTime138 = _TimeParameters.x * 0.05; + float Highlight_Level87 = (_MinHighLightLevel + (sin( ( mulTime138 * _HighlightSpeed ) ) - -1.0) * (_MaxHighLightLevel - _MinHighLightLevel) / (1.0 - -1.0)); + float4 Highlight_Color95 = _HighlightColor; + float4 Highlight_Rim94 = ( pow( ( 1.0 - saturate( dotResult79 ) ) , (10.0 + (Highlight_Level87 - 0.0) * (0.0 - 10.0) / (1.0 - 0.0)) ) * Highlight_Color95 ); + float4 Final_Emision114 = (( _Highlighted )?( ( Emision75 + Highlight_Rim94 ) ):( Emision75 )); + + float4 Oclussion86 = tex2D( _Oclussion, texCoord51 ); + + + float3 BaseColor = Albedo65.rgb; + float3 Normal = Normal67; + float3 Emission = Final_Emision114.rgb; + float3 Specular = 0.5; + float Metallic = 0; + float Smoothness = 0.5; + float Occlusion = Oclussion86.r; + float Alpha = 1; + float AlphaClipThreshold = 0.5; + float AlphaClipThresholdShadow = 0.5; + float3 BakedGI = 0; + float3 RefractionColor = 1; + float RefractionIndex = 1; + float3 Transmission = 1; + float3 Translucency = 1; + + #ifdef ASE_DEPTH_WRITE_ON + float DepthValue = IN.positionCS.z; + #endif + + #ifdef _ALPHATEST_ON + clip(Alpha - AlphaClipThreshold); + #endif + + InputData inputData = (InputData)0; + inputData.positionWS = WorldPosition; + inputData.positionCS = IN.positionCS; + inputData.shadowCoord = ShadowCoords; + + #ifdef _NORMALMAP + #if _NORMAL_DROPOFF_TS + inputData.normalWS = TransformTangentToWorld(Normal, half3x3( WorldTangent, WorldBiTangent, WorldNormal )); + #elif _NORMAL_DROPOFF_OS + inputData.normalWS = TransformObjectToWorldNormal(Normal); + #elif _NORMAL_DROPOFF_WS + inputData.normalWS = Normal; + #endif + #else + inputData.normalWS = WorldNormal; + #endif + + inputData.normalWS = NormalizeNormalPerPixel(inputData.normalWS); + inputData.viewDirectionWS = SafeNormalize( WorldViewDirection ); + + inputData.vertexLighting = IN.fogFactorAndVertexLight.yzw; + + #if defined(ENABLE_TERRAIN_PERPIXEL_NORMAL) + float3 SH = SampleSH(inputData.normalWS.xyz); + #else + float3 SH = IN.lightmapUVOrVertexSH.xyz; + #endif + + #ifdef ASE_BAKEDGI + inputData.bakedGI = BakedGI; + #else + #if defined(DYNAMICLIGHTMAP_ON) + inputData.bakedGI = SAMPLE_GI( IN.lightmapUVOrVertexSH.xy, IN.dynamicLightmapUV.xy, SH, inputData.normalWS); + #else + inputData.bakedGI = SAMPLE_GI( IN.lightmapUVOrVertexSH.xy, SH, inputData.normalWS ); + #endif + #endif + + inputData.normalizedScreenSpaceUV = NormalizedScreenSpaceUV; + inputData.shadowMask = SAMPLE_SHADOWMASK(IN.lightmapUVOrVertexSH.xy); + + #if defined(DEBUG_DISPLAY) + #if defined(DYNAMICLIGHTMAP_ON) + inputData.dynamicLightmapUV = IN.dynamicLightmapUV.xy; + #endif + #if defined(LIGHTMAP_ON) + inputData.staticLightmapUV = IN.lightmapUVOrVertexSH.xy; + #else + inputData.vertexSH = SH; + #endif + #endif + + #ifdef _DBUFFER + ApplyDecal(IN.positionCS, + BaseColor, + Specular, + inputData.normalWS, + Metallic, + Occlusion, + Smoothness); + #endif + + BRDFData brdfData; + InitializeBRDFData + (BaseColor, Metallic, Specular, Smoothness, Alpha, brdfData); + + Light mainLight = GetMainLight(inputData.shadowCoord, inputData.positionWS, inputData.shadowMask); + half4 color; + MixRealtimeAndBakedGI(mainLight, inputData.normalWS, inputData.bakedGI, inputData.shadowMask); + color.rgb = GlobalIllumination(brdfData, inputData.bakedGI, Occlusion, inputData.positionWS, inputData.normalWS, inputData.viewDirectionWS); + color.a = Alpha; + + #ifdef ASE_FINAL_COLOR_ALPHA_MULTIPLY + color.rgb *= color.a; + #endif + + #ifdef ASE_DEPTH_WRITE_ON + outputDepth = DepthValue; + #endif + + return BRDFDataToGbuffer(brdfData, inputData, Smoothness, Emission + color.rgb, Occlusion); + } + + ENDHLSL + } + + + Pass + { + + Name "SceneSelectionPass" + Tags { "LightMode"="SceneSelectionPass" } + + Cull Off + AlphaToMask Off + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma vertex vert + #pragma fragment frag + + #define SCENESELECTIONPASS 1 + + #define ATTRIBUTES_NEED_NORMAL + #define ATTRIBUTES_NEED_TANGENT + #define SHADERPASS SHADERPASS_DEPTHONLY + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + float4 positionCS : SV_POSITION; + + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + + + + struct SurfaceDescription + { + float Alpha; + float AlphaClipThreshold; + }; + + VertexOutput VertexFunction(VertexInput v ) + { + VertexOutput o; + ZERO_INITIALIZE(VertexOutput, o); + + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + + float3 positionWS = TransformObjectToWorld( v.positionOS.xyz ); + + o.positionCS = TransformWorldToHClip(positionWS); + + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag(VertexOutput IN ) : SV_TARGET + { + SurfaceDescription surfaceDescription = (SurfaceDescription)0; + + + + surfaceDescription.Alpha = 1; + surfaceDescription.AlphaClipThreshold = 0.5; + + #if _ALPHATEST_ON + float alphaClipThreshold = 0.01f; + #if ALPHA_CLIP_THRESHOLD + alphaClipThreshold = surfaceDescription.AlphaClipThreshold; + #endif + clip(surfaceDescription.Alpha - alphaClipThreshold); + #endif + + half4 outColor = 0; + + #ifdef SCENESELECTIONPASS + outColor = half4(_ObjectId, _PassValue, 1.0, 1.0); + #elif defined(SCENEPICKINGPASS) + outColor = _SelectionID; + #endif + + return outColor; + } + + ENDHLSL + } + + + Pass + { + + Name "ScenePickingPass" + Tags { "LightMode"="Picking" } + + AlphaToMask Off + + HLSLPROGRAM + + #define _NORMAL_DROPOFF_TS 1 + #define ASE_FOG 1 + #define _SPECULAR_SETUP 1 + #define _EMISSION + #define _NORMALMAP 1 + #define ASE_SRP_VERSION 120114 + + + #pragma vertex vert + #pragma fragment frag + + #define SCENEPICKINGPASS 1 + + #define ATTRIBUTES_NEED_NORMAL + #define ATTRIBUTES_NEED_TANGENT + #define SHADERPASS SHADERPASS_DEPTHONLY + + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Texture.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Input.hlsl" + #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/TextureStack.hlsl" + #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" + #include "Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/ShaderPass.hlsl" + + + + struct VertexInput + { + float4 positionOS : POSITION; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct VertexOutput + { + float4 positionCS : SV_POSITION; + + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + + CBUFFER_START(UnityPerMaterial) + float4 _Color; + float4 _HighlightColor; + float _Highlighted; + float _HighlightSpeed; + float _MinHighLightLevel; + float _MaxHighLightLevel; + #ifdef ASE_TRANSMISSION + float _TransmissionShadow; + #endif + #ifdef ASE_TRANSLUCENCY + float _TransStrength; + float _TransNormal; + float _TransScattering; + float _TransDirect; + float _TransAmbient; + float _TransShadow; + #endif + #ifdef ASE_TESSELLATION + float _TessPhongStrength; + float _TessValue; + float _TessMin; + float _TessMax; + float _TessEdgeLength; + float _TessMaxDisp; + #endif + CBUFFER_END + + #ifdef SCENEPICKINGPASS + float4 _SelectionID; + #endif + + #ifdef SCENESELECTIONPASS + int _ObjectId; + int _PassValue; + #endif + + + + + struct SurfaceDescription + { + float Alpha; + float AlphaClipThreshold; + }; + + VertexOutput VertexFunction(VertexInput v ) + { + VertexOutput o; + ZERO_INITIALIZE(VertexOutput, o); + + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o); + + + + #ifdef ASE_ABSOLUTE_VERTEX_POS + float3 defaultVertexValue = v.positionOS.xyz; + #else + float3 defaultVertexValue = float3(0, 0, 0); + #endif + + float3 vertexValue = defaultVertexValue; + + #ifdef ASE_ABSOLUTE_VERTEX_POS + v.positionOS.xyz = vertexValue; + #else + v.positionOS.xyz += vertexValue; + #endif + + v.normalOS = v.normalOS; + + float3 positionWS = TransformObjectToWorld( v.positionOS.xyz ); + o.positionCS = TransformWorldToHClip(positionWS); + + return o; + } + + #if defined(ASE_TESSELLATION) + struct VertexControl + { + float4 vertex : INTERNALTESSPOS; + float3 normalOS : NORMAL; + + UNITY_VERTEX_INPUT_INSTANCE_ID + }; + + struct TessellationFactors + { + float edge[3] : SV_TessFactor; + float inside : SV_InsideTessFactor; + }; + + VertexControl vert ( VertexInput v ) + { + VertexControl o; + UNITY_SETUP_INSTANCE_ID(v); + UNITY_TRANSFER_INSTANCE_ID(v, o); + o.vertex = v.positionOS; + o.normalOS = v.normalOS; + + return o; + } + + TessellationFactors TessellationFunction (InputPatch v) + { + TessellationFactors o; + float4 tf = 1; + float tessValue = _TessValue; float tessMin = _TessMin; float tessMax = _TessMax; + float edgeLength = _TessEdgeLength; float tessMaxDisp = _TessMaxDisp; + #if defined(ASE_FIXED_TESSELLATION) + tf = FixedTess( tessValue ); + #elif defined(ASE_DISTANCE_TESSELLATION) + tf = DistanceBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, tessValue, tessMin, tessMax, GetObjectToWorldMatrix(), _WorldSpaceCameraPos ); + #elif defined(ASE_LENGTH_TESSELLATION) + tf = EdgeLengthBasedTess(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams ); + #elif defined(ASE_LENGTH_CULL_TESSELLATION) + tf = EdgeLengthBasedTessCull(v[0].vertex, v[1].vertex, v[2].vertex, edgeLength, tessMaxDisp, GetObjectToWorldMatrix(), _WorldSpaceCameraPos, _ScreenParams, unity_CameraWorldClipPlanes ); + #endif + o.edge[0] = tf.x; o.edge[1] = tf.y; o.edge[2] = tf.z; o.inside = tf.w; + return o; + } + + [domain("tri")] + [partitioning("fractional_odd")] + [outputtopology("triangle_cw")] + [patchconstantfunc("TessellationFunction")] + [outputcontrolpoints(3)] + VertexControl HullFunction(InputPatch patch, uint id : SV_OutputControlPointID) + { + return patch[id]; + } + + [domain("tri")] + VertexOutput DomainFunction(TessellationFactors factors, OutputPatch patch, float3 bary : SV_DomainLocation) + { + VertexInput o = (VertexInput) 0; + o.positionOS = patch[0].vertex * bary.x + patch[1].vertex * bary.y + patch[2].vertex * bary.z; + o.normalOS = patch[0].normalOS * bary.x + patch[1].normalOS * bary.y + patch[2].normalOS * bary.z; + + #if defined(ASE_PHONG_TESSELLATION) + float3 pp[3]; + for (int i = 0; i < 3; ++i) + pp[i] = o.positionOS.xyz - patch[i].normalOS * (dot(o.positionOS.xyz, patch[i].normalOS) - dot(patch[i].vertex.xyz, patch[i].normalOS)); + float phongStrength = _TessPhongStrength; + o.positionOS.xyz = phongStrength * (pp[0]*bary.x + pp[1]*bary.y + pp[2]*bary.z) + (1.0f-phongStrength) * o.positionOS.xyz; + #endif + UNITY_TRANSFER_INSTANCE_ID(patch[0], o); + return VertexFunction(o); + } + #else + VertexOutput vert ( VertexInput v ) + { + return VertexFunction( v ); + } + #endif + + half4 frag(VertexOutput IN ) : SV_TARGET + { + SurfaceDescription surfaceDescription = (SurfaceDescription)0; + + + + surfaceDescription.Alpha = 1; + surfaceDescription.AlphaClipThreshold = 0.5; + + #if _ALPHATEST_ON + float alphaClipThreshold = 0.01f; + #if ALPHA_CLIP_THRESHOLD + alphaClipThreshold = surfaceDescription.AlphaClipThreshold; + #endif + clip(surfaceDescription.Alpha - alphaClipThreshold); + #endif + + half4 outColor = 0; + + #ifdef SCENESELECTIONPASS + outColor = half4(_ObjectId, _PassValue, 1.0, 1.0); + #elif defined(SCENEPICKINGPASS) + outColor = _SelectionID; + #endif + + return outColor; + } + + ENDHLSL + } + + } + + CustomEditor "UnityEditor.ShaderGraphLitGUI" + FallBack "Hidden/Shader Graph/FallbackError" + + Fallback Off +} +/*ASEBEGIN +Version=19303 +Node;AmplifyShaderEditor.CommentaryNode;134;-1770.517,-1095.495;Inherit;False;1262.517;561.4071;Comment;8;128;127;125;129;124;132;87;138;Highlight Level (Ping pong animation);1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;137;-3085.496,-1114.421;Inherit;False;1244.203;1368.811;Comment;11;51;58;67;63;52;64;85;65;86;74;75;Textures;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;122;-1774.419,-357.309;Inherit;False;1900.698;589.5023;Comment;12;77;90;78;79;98;80;99;81;97;82;83;94;Highlight (Rim);1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;133;-3053.912,330.0851;Inherit;False;642.599;257;Comment;2;55;95;Highlight Color;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;120;-2305.992,331.5047;Inherit;False;987.1003;293;Comment;5;115;116;113;111;114;Emission Mix & Highlight Switching;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;51;-3035.496,-514.7198;Inherit;False;0;-1;2;3;2;SAMPLER2D;;False;0;FLOAT2;1,1;False;1;FLOAT2;0,0;False;5;FLOAT2;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;128;-1740.517,-840.847;Float;False;Property;_HighlightSpeed;Highlight Speed;8;0;Create;True;0;0;0;False;0;False;60;60;0;200;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;138;-1656.213,-989.2999;Inherit;False;1;0;FLOAT;0.05;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;127;-1387.964,-913.8461;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;58;-2625.094,-649.5204;Inherit;True;Property;_Normal;Normal;2;0;Create;True;0;0;0;False;0;False;-1;None;abfd39fa1d6a42ba9b322e4301333932;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;1;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;1;False;6;FLOAT;0;False;7;SAMPLERSTATE;;False;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;125;-1448.898,-649.0879;Float;False;Property;_MaxHighLightLevel;MaxHighLightLevel;7;0;Create;True;0;0;0;False;0;False;0.9;0.9;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SinOpNode;129;-1201.411,-905.735;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;124;-1435.846,-772.2491;Float;False;Property;_MinHighLightLevel;MinHighLightLevel;6;0;Create;True;0;0;0;False;0;False;0.8;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;77;-1724.419,-184.7088;Float;False;Tangent;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.RegisterLocalVarNode;67;-2229.994,-607.2198;Float;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TFHCRemapNode;132;-990.9387,-870.037;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;-1;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;90;-1490.52,-232.0073;Inherit;False;67;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.NormalizeNode;78;-1464.018,-113.7087;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;79;-1195.62,-254.209;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;87;-776,-868.525;Float;False;Highlight_Level;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;55;-3003.912,380.0851;Float;False;Property;_HighlightColor;Highlight Color;5;0;Create;True;0;0;0;False;0;False;0.7065311,0.9705882,0.9596617,1;0.7065311,0.9705881,0.9596617,1;False;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.SaturateNode;80;-1019.619,-276.509;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;98;-1510.627,2.193323;Inherit;False;87;Highlight_Level;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;99;-1039.725,-60.70744;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;10;False;4;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;81;-819.4186,-243.509;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;95;-2678.313,386.3863;Float;False;Highlight_Color;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;97;-568.021,-54.00653;Inherit;False;95;Highlight_Color;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.PowerNode;82;-546.6185,-307.309;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;83;-298.6189,-199.5089;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;74;-2613.095,-439.5192;Inherit;True;Property;_Emission;Emission;3;0;Create;True;0;0;0;False;0;False;-1;7a170cdb7cc88024cb628cfcdbb6705c;f4ef9b0dca354d7aaf185497d6b77ea5;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;1;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;1;False;6;FLOAT;0;False;7;SAMPLERSTATE;;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;75;-2224.695,-405.8194;Float;False;Emision;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;94;-111.9873,-198.5623;Float;False;Highlight_Rim;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-2258.862,536.0378;Inherit;False;94;Highlight_Rim;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;113;-2260.741,368.6549;Inherit;False;75;Emision;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;63;-2603.194,-1064.421;Float;False;Property;_Color;Color;0;0;Create;True;0;0;0;False;0;False;0.9044118,0.6640914,0.03325041,0;0.992647,0.7937149,0.6131055,1;False;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.SimpleAddOpNode;116;-2007.652,491.5049;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;52;-2613.794,-868.2204;Inherit;True;Property;_Albedo;Albedo;1;0;Create;True;0;0;0;False;0;False;-1;None;aab8de1052c54173b3d61e7f8b05aedf;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;1;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;1;False;6;FLOAT;0;False;7;SAMPLERSTATE;;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.SamplerNode;85;-2608.594,-217.0179;Inherit;True;Property;_Oclussion;Oclussion;4;0;Create;True;0;0;0;False;0;False;-1;None;ffc41f1810014593ba2069132ba4d0f3;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;1;False;3;FLOAT2;0,0;False;4;FLOAT2;0,0;False;5;FLOAT;1;False;6;FLOAT;0;False;7;SAMPLERSTATE;;False;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;64;-2242.994,-902.5208;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ToggleSwitchNode;111;-1819.132,391.7312;Float;False;Property;_Highlighted;Highlighted;9;0;Create;True;0;0;0;False;0;False;0;True;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;114;-1575.891,393.5044;Float;False;Final_Emision;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;65;-2075.293,-902.6206;Float;False;Albedo;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;86;-2233.594,-167.0179;Float;False;Oclussion;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;69;-250.4087,-823.9017;Inherit;False;67;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;68;-250.5197,-900.5129;Inherit;False;65;Albedo;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;70;-273.5474,-755.6461;Inherit;False;114;Final_Emision;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;76;-261.862,-678.5278;Inherit;False;86;Oclussion;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;139;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;ExtraPrePass;0;0;ExtraPrePass;5;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;True;1;1;False;;0;False;;0;1;False;;0;False;;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;True;True;True;True;0;False;;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;0;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;140;-3.219753,-841.6202;Float;False;True;-1;2;UnityEditor.ShaderGraphLitGUI;0;12;AmplifyShaderPack/Community/Highlight Animated;94348b07e5e8bab40bd6c8a1e3df54cd;True;Forward;0;1;Forward;21;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;True;1;1;False;;0;False;;1;1;False;;0;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;True;True;True;True;0;False;;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;1;LightMode=UniversalForward;False;False;0;;0;0;Standard;39;Workflow;0;638162320378175904;Surface;0;0; Refraction Model;0;0; Blend;0;0;Two Sided;1;0;Fragment Normal Space,InvertActionOnDeselection;0;0;Forward Only;0;0;Transmission;0;0; Transmission Shadow;0.5,False,;0;Translucency;0;0; Translucency Strength;1,False,;0; Normal Distortion;0.5,False,;0; Scattering;2,False,;0; Direct;0.9,False,;0; Ambient;0.1,False,;0; Shadow;0.5,False,;0;Cast Shadows;1;0; Use Shadow Threshold;0;0;GPU Instancing;1;0;LOD CrossFade;1;0;Built-in Fog;1;0;_FinalColorxAlpha;0;0;Meta Pass;1;0;Override Baked GI;0;0;Extra Pre Pass;0;0;Tessellation;0;0; Phong;0;0; Strength;0.5,False,;0; Type;0;0; Tess;16,False,;0; Min;10,False,;0; Max;25,False,;0; Edge Length;16,False,;0; Max Displacement;25,False,;0;Write Depth;0;0; Early Z;0;0;Vertex Position,InvertActionOnDeselection;1;0;Debug Display;0;0;Clear Coat;0;0;0;10;False;True;True;True;True;True;True;True;True;True;False;;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;141;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;ShadowCaster;0;2;ShadowCaster;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;False;False;True;False;False;False;False;0;False;;False;False;False;False;False;False;False;False;False;True;1;False;;True;3;False;;False;True;1;LightMode=ShadowCaster;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;142;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;DepthOnly;0;3;DepthOnly;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;False;False;True;False;False;False;False;0;False;;False;False;False;False;False;False;False;False;False;True;1;False;;False;False;True;1;LightMode=DepthOnly;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;143;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;Meta;0;4;Meta;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;2;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;1;LightMode=Meta;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;144;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;Universal2D;0;5;Universal2D;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;True;1;1;False;;0;False;;1;1;False;;0;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;True;True;True;True;0;False;;False;False;False;False;False;False;False;False;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;1;LightMode=Universal2D;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;145;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;DepthNormals;0;6;DepthNormals;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;True;1;1;False;;0;False;;0;1;False;;0;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;1;False;;True;3;False;;False;True;1;LightMode=DepthNormals;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;146;-3.219753,-841.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;GBuffer;0;7;GBuffer;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;True;1;1;False;;0;False;;1;1;False;;0;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;True;True;True;True;0;False;;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;1;LightMode=UniversalGBuffer;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;147;-3.219753,-761.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;SceneSelectionPass;0;8;SceneSelectionPass;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;2;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;1;LightMode=SceneSelectionPass;False;False;0;;0;0;Standard;0;False;0 +Node;AmplifyShaderEditor.TemplateMultiPassMasterNode;148;-3.219753,-761.6202;Float;False;False;-1;2;UnityEditor.ShaderGraphLitGUI;0;1;New Amplify Shader;94348b07e5e8bab40bd6c8a1e3df54cd;True;ScenePickingPass;0;9;ScenePickingPass;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;True;0;False;;False;False;False;False;False;False;False;False;False;True;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;True;1;False;;True;3;False;;True;True;0;False;;0;False;;True;4;RenderPipeline=UniversalPipeline;RenderType=Opaque=RenderType;Queue=Geometry=Queue=0;UniversalMaterialType=Lit;True;3;True;12;all;0;False;False;False;False;False;False;False;False;False;False;False;False;True;0;False;;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;False;True;1;LightMode=Picking;False;False;0;;0;0;Standard;0;False;0 +WireConnection;127;0;138;0 +WireConnection;127;1;128;0 +WireConnection;58;1;51;0 +WireConnection;129;0;127;0 +WireConnection;67;0;58;0 +WireConnection;132;0;129;0 +WireConnection;132;3;124;0 +WireConnection;132;4;125;0 +WireConnection;78;0;77;0 +WireConnection;79;0;90;0 +WireConnection;79;1;78;0 +WireConnection;87;0;132;0 +WireConnection;80;0;79;0 +WireConnection;99;0;98;0 +WireConnection;81;0;80;0 +WireConnection;95;0;55;0 +WireConnection;82;0;81;0 +WireConnection;82;1;99;0 +WireConnection;83;0;82;0 +WireConnection;83;1;97;0 +WireConnection;74;1;51;0 +WireConnection;75;0;74;0 +WireConnection;94;0;83;0 +WireConnection;116;0;113;0 +WireConnection;116;1;115;0 +WireConnection;52;1;51;0 +WireConnection;85;1;51;0 +WireConnection;64;0;63;0 +WireConnection;64;1;52;0 +WireConnection;111;0;113;0 +WireConnection;111;1;116;0 +WireConnection;114;0;111;0 +WireConnection;65;0;64;0 +WireConnection;86;0;85;0 +WireConnection;140;0;68;0 +WireConnection;140;1;69;0 +WireConnection;140;2;70;0 +WireConnection;140;5;76;0 +ASEEND*/ +//CHKSM=92AA23964695D0D1CDBE1D06B274501DB3FB11BE \ No newline at end of file diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.shader.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.shader.meta new file mode 100644 index 00000000..ccdbc951 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.shader.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c51d0759509e493dae1826cc12e56e3d +ShaderImporter: + externalObjects: {} + defaultTextures: + - _Emission: {fileID: 2800000, guid: 7a170cdb7cc88024cb628cfcdbb6705c, type: 3} + nonModifiableTextures: [] + preprocessorOverride: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.unity b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.unity new file mode 100644 index 00000000..307b8c82 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.unity @@ -0,0 +1,1279 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 3eb8aab6b80346dcb9b8256deb96e506, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 157936551} + m_IndirectSpecularColor: {r: 0.028427416, g: 0.032108463, b: 0.034079816, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 512 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 0 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 4890085278179872738, guid: ce6aa96813d748d8a338eb608f620911, type: 2} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1001 &157936549 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1656203505208017149} + m_Modifications: + - target: {fileID: 2382313529740175436, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_Name + value: Directional Light + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalPosition.y + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalRotation.w + value: 0.39044833 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalRotation.x + value: 0.161729 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalRotation.y + value: -0.8373192 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalRotation.z + value: 0.34682897 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 45 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -130 + objectReference: {fileID: 0} + - target: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 3ee21293a81948918311ff45f55cae44, type: 3} +--- !u!4 &157936550 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 3179595559848132841, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + m_PrefabInstance: {fileID: 157936549} + m_PrefabAsset: {fileID: 0} +--- !u!108 &157936551 stripped +Light: + m_CorrespondingSourceObject: {fileID: 3179595559848132840, guid: 3ee21293a81948918311ff45f55cae44, type: 3} + m_PrefabInstance: {fileID: 157936549} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &477312648 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1936270270623109415} + m_Modifications: + - target: {fileID: 4015632369821309138, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_Name + value: Scene Light L1 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalPosition.x + value: 6.384 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalPosition.y + value: -0.028000116 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalPosition.z + value: -7.625 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalRotation.w + value: 0.8017496 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalRotation.y + value: 0.5976602 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 73.40501 + objectReference: {fileID: 0} + - target: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} +--- !u!4 &477312649 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4391490062289863272, guid: 3580208479bc42d783cffe11bf122e8f, type: 3} + m_PrefabInstance: {fileID: 477312648} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &615452053 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1936270270623109415} + m_Modifications: + - target: {fileID: 8324623696036576292, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_Name + value: Scene Light L2 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalPosition.x + value: -7.611 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalPosition.y + value: -0.028000116 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalPosition.z + value: -5.315 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalRotation.w + value: 0.4238042 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalRotation.y + value: -0.90575385 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -129.85 + objectReference: {fileID: 0} + - target: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} +--- !u!4 &615452054 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8704562569525814942, guid: e54bcbccd7e84ca799a63cee1a5d2d8c, type: 3} + m_PrefabInstance: {fileID: 615452053} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &930628757 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1936270270623109415} + m_Modifications: + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalPosition.x + value: 1.6 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalPosition.y + value: 9.54 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalRotation.w + value: 0.98919064 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalRotation.z + value: -0.14663544 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -16.864 + objectReference: {fileID: 0} + - target: {fileID: 4132327978516965317, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + propertyPath: m_Name + value: Scene Light Skybox + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} +--- !u!4 &930628758 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 3608274780443721087, guid: a9b6a0f9942e4d92bf19fe6ba72e4395, type: 3} + m_PrefabInstance: {fileID: 930628757} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &999686692 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1936270270623109415} + m_Modifications: + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalPosition.x + value: 6.229 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalPosition.y + value: -0.028000116 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalPosition.z + value: 7.048 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalRotation.w + value: 0.56861204 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalRotation.y + value: 0.82260585 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 110.69301 + objectReference: {fileID: 0} + - target: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3103303872633626018, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + propertyPath: m_Name + value: Scene Light R1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} +--- !u!4 &999686693 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2331447072430720792, guid: 03a546b2d58043d49c90e8beda6d13e7, type: 3} + m_PrefabInstance: {fileID: 999686692} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1274292545 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1936270270623109415} + m_Modifications: + - target: {fileID: 4871869133705747687, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_Name + value: Scene Showroom + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} +--- !u!4 &1274292546 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 5248817301184628317, guid: 9a7ec64695bc4dadb659419fbbbe4ee1, type: 3} + m_PrefabInstance: {fileID: 1274292545} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1692639684 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1936270270623109415} + m_Modifications: + - target: {fileID: 6121126490980871380, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_Name + value: Scene Light R2 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalPosition.x + value: -7.547 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalPosition.y + value: -0.028000116 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalPosition.z + value: 10.991 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalRotation.w + value: 0.9400354 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalRotation.y + value: -0.341077 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -39.885002 + objectReference: {fileID: 0} + - target: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} +--- !u!4 &1692639685 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 6897628624478123630, guid: 9963b5d3920d471f837527108f13bd1d, type: 3} + m_PrefabInstance: {fileID: 1692639684} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2075500390 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalPosition.x + value: 8 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalPosition.y + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalPosition.z + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalRotation.w + value: 0.7659278 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalRotation.x + value: 0.013369352 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalRotation.y + value: -0.64268965 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalRotation.z + value: 0.011218217 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -80 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400844, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2905198067761400845, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} + propertyPath: m_Name + value: Main Camera + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 74ab459ac816404baa80a1a7a696c4c0, type: 3} +--- !u!1001 &324127540089812643 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5343343347108417612} + m_Modifications: + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4679133870556008506, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + propertyPath: m_Name + value: Volume PostProcessing + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 066a9f705d8d4609a866be0093810c55, type: 3} +--- !u!4 &324127540089812644 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2881821418585890659, guid: 066a9f705d8d4609a866be0093810c55, type: 3} + m_PrefabInstance: {fileID: 324127540089812643} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &346616874855922206 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1656203505208017149} + m_Modifications: + - target: {fileID: 8844544012434452876, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_Name + value: Scene SpotLight L1 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalPosition.x + value: 6.331998 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalPosition.y + value: 2.007 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalPosition.z + value: -7.644439 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalRotation.w + value: 0.5521343 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalRotation.x + value: 0.43018037 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalRotation.y + value: -0.44277823 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalRotation.z + value: -0.56039286 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.2160001 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -149.64601 + objectReference: {fileID: 0} + - target: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -89.896 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: e911777249aa449682d43a4b9db5a28f, type: 3} +--- !u!4 &346616874855922207 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8844544012434452879, guid: e911777249aa449682d43a4b9db5a28f, type: 3} + m_PrefabInstance: {fileID: 346616874855922206} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1656203505208017138 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1656203505208017149} + m_Layer: 0 + m_Name: Environmental Lighting + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1656203505208017149 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1656203505208017138} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 157936550} + - {fileID: 6719669611407811332} + - {fileID: 2405033425592249166} + - {fileID: 2236362057063809127} + - {fileID: 5274230503228204836} + - {fileID: 346616874855922207} + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1936270270623109412 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1936270270623109415} + m_Layer: 0 + m_Name: Scene Showroom + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1936270270623109415 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1936270270623109412} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1274292546} + - {fileID: 477312649} + - {fileID: 615452054} + - {fileID: 999686693} + - {fileID: 1692639685} + - {fileID: 930628758} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &2236362057063809126 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1656203505208017149} + m_Modifications: + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalPosition.x + value: 6.175851 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalPosition.y + value: 2.007 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalPosition.z + value: 7.064038 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalRotation.w + value: 0.4614274 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalRotation.x + value: 0.53020424 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalRotation.y + value: -0.54472727 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalRotation.z + value: -0.457428 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -0.518 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -209.65 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -88.895004 + objectReference: {fileID: 0} + - target: {fileID: 7023478707098193719, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + propertyPath: m_Name + value: Scene SpotLight R1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} +--- !u!4 &2236362057063809127 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7023478707098193716, guid: 743dbd61a62f4ffd953263e8a5fdf8f8, type: 3} + m_PrefabInstance: {fileID: 2236362057063809126} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2405033425592249165 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1656203505208017149} + m_Modifications: + - target: {fileID: 6850303740366666033, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_Name + value: Scene SpotLight L2 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalPosition.x + value: -7.570898 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalPosition.y + value: 2.007 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalPosition.z + value: -5.2766085 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalRotation.w + value: -0.6460281 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalRotation.x + value: 0.30539158 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalRotation.y + value: -0.29788828 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalRotation.z + value: 0.6329662 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.001 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -105.65301 + objectReference: {fileID: 0} + - target: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -89.302 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} +--- !u!4 &2405033425592249166 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 6850303740366666034, guid: f2e7b8f7053a4df8a199fd0effbda7fb, type: 3} + m_PrefabInstance: {fileID: 2405033425592249165} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &2557687260100362806 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalRotation.w + value: 0.7071068 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalRotation.y + value: 0.7071068 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 90 + objectReference: {fileID: 0} + - target: {fileID: 1459982787815634797, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2893728435127139005, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} + propertyPath: m_Name + value: Community Highlight Animated + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c8a4cffbfda84338b88fd6c34cb25e64, type: 3} +--- !u!1001 &2653808065531000161 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5343343347108417612} + m_Modifications: + - target: {fileID: 4831208779112923389, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_Name + value: 'Volume LightProbe ' + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9ad504442cbc45bb94f452027570889b, type: 3} +--- !u!4 &2653808065531000162 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8694941327423482502, guid: 9ad504442cbc45bb94f452027570889b, type: 3} + m_PrefabInstance: {fileID: 2653808065531000161} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &5274230503228204835 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1656203505208017149} + m_Modifications: + - target: {fileID: 3981352974146046848, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_Name + value: Scene SpotLight R2 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalPosition.x + value: -7.508584 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalPosition.y + value: 2.007 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalPosition.z + value: 10.950922 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalRotation.w + value: -0.24637572 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalRotation.x + value: 0.66344845 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalRotation.y + value: -0.6673745 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalRotation.z + value: 0.23183271 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.001 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -105.65301 + objectReference: {fileID: 0} + - target: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -89.302 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} +--- !u!4 &5274230503228204836 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 3981352974146046851, guid: 7e001e422d9a4ea3974c56564dee2ba9, type: 3} + m_PrefabInstance: {fileID: 5274230503228204835} + m_PrefabAsset: {fileID: 0} +--- !u!4 &5343343347108417612 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5343343347108417613} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 6632012285595127559} + - {fileID: 2653808065531000162} + - {fileID: 324127540089812644} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &5343343347108417613 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5343343347108417612} + m_Layer: 0 + m_Name: Environmental Volumes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1001 &6632012285595127558 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5343343347108417612} + m_Modifications: + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalPosition.x + value: -5.9617934 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalPosition.y + value: 7.256874 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4816826555724355868, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + propertyPath: m_Name + value: Volume ReflectionProbe + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} +--- !u!4 &6632012285595127559 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 1206607110406670949, guid: 4aa8e5635bd5478ea101b843007e6333, type: 3} + m_PrefabInstance: {fileID: 6632012285595127558} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &6719669611407811331 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1656203505208017149} + m_Modifications: + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalPosition.x + value: 0.6477702 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalPosition.y + value: 6.6416 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalRotation.w + value: 0.69284385 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalRotation.x + value: 0.6928437 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalRotation.y + value: -0.14130662 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalRotation.z + value: -0.1413066 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 66.945 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -90.00001 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -90.00001 + objectReference: {fileID: 0} + - target: {fileID: 1214603669611884293, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + propertyPath: m_Name + value: Scene SpotLight Skybox + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} +--- !u!4 &6719669611407811332 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 1214603669611884288, guid: 20fd5359764f4786bbd8a56d29e293fa, type: 3} + m_PrefabInstance: {fileID: 6719669611407811331} + m_PrefabAsset: {fileID: 0} diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.unity.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.unity.meta new file mode 100644 index 00000000..0247efdc --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Highlight Animated.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9579f51f3e954ac8b1a46e8dc657b18e +timeCreated: 1492642802 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Readme.asset b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Readme.asset new file mode 100644 index 00000000..6a05228f --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Readme.asset @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e78934177bebe0545ab566bb787b0282, type: 3} + m_Name: Readme + m_EditorClassIdentifier: + Icon: {fileID: 2800000, guid: ea451c291ae8cd14b9f5094c8f1a3490, type: 3} + Title: Community Highlight Animated + Description: + Heading: + Text: Pulsating highlight effect automatically toggled when the cursor hovers + the object. + LinkText: Created by The Four Headed Cat + Url: https://twitter.com/fourheadedcat + PropertiesHeader: + Heading: Properties + Text: + LinkText: + Url: + Properties: + - Heading: Color + Text: Albedo color tint value. + LinkText: + Url: + - Heading: Albedo + Text: Albedo texture to be applied to surface. + LinkText: + Url: + - Heading: Normal + Text: 'Normals texture to be applied to surface. ' + LinkText: + Url: + - Heading: Emission + Text: 'Emission texture to be applied to surface. ' + LinkText: + Url: + - Heading: Oclussion + Text: 'Occlusion texture to be applied to surface. ' + LinkText: + Url: + - Heading: Highlight Color + Text: 'Highlight effect color value. ' + LinkText: + Url: + - Heading: MinHighLightLevel + Text: Highlight rim effect minimum level. + LinkText: + Url: + - Heading: MaxHighLightLevel + Text: 'Highlight rim effect maximum level. ' + LinkText: + Url: + - Heading: Highlight Speed + Text: Highlight pulsate speed. + LinkText: + Url: + - Heading: Highlighted + Text: Highlight Toggle. + LinkText: + Url: + AdditionalProperties: [] + AdditionalScripts: + - BlockHeader: + Heading: Highlighted Animated Script + Text: No parameters, must be placed on object to be highlighted which must + contain a Collider. + LinkText: + Url: + BlockContent: [] + LoadedLayout: 0 + RPType: 3 diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Readme.asset.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Readme.asset.meta new file mode 100644 index 00000000..2c845dee --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Readme.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c7c1392ebd184096af13a989ac84aa50 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Wood_D.tif b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Wood_D.tif new file mode 100644 index 00000000..079de039 Binary files /dev/null and b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Wood_D.tif differ diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Wood_D.tif.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Wood_D.tif.meta new file mode 100644 index 00000000..51a07839 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/Community Highlight Animated/Wood_D.tif.meta @@ -0,0 +1,123 @@ +fileFormatVersion: 2 +guid: 2cd0b3bd2a763d64f8798609d14bde54 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + 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 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMasterTextureLimit: 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 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 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 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiAreaEmission.mat b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiAreaEmission.mat new file mode 100644 index 00000000..8e6f8b7b --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiAreaEmission.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-161795746682442277 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 5 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: meiduiAreaEmission + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_ValidKeywords: + - _ALPHATEST_ON + - _RECEIVE_SHADOWS_OFF + - _SURFACE_TYPE_TRANSPARENT + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: + - DepthOnly + - SHADOWCASTER + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 0, y: 0} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 0, y: 0} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 1 + - _Blend: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 10 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 5 + - _Surface: 1 + - _WorkflowMode: 1 + - _ZWrite: 0 + m_Colors: + - _BaseColor: {r: 0, g: 1, b: 0, a: 0} + - _Color: {r: 0, g: 1, b: 0, a: 0} + - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiAreaEmission.mat.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiAreaEmission.mat.meta new file mode 100644 index 00000000..570aae20 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiAreaEmission.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b0f5014266b7cb14aa63428c38f2b076 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiEmission.mat b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiEmission.mat new file mode 100644 index 00000000..945ffcff --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiEmission.mat @@ -0,0 +1,126 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-161795746682442277 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 5 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: meiduiEmission + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 0 + - _Blend: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0.10445078} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiEmission.mat.meta b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiEmission.mat.meta new file mode 100644 index 00000000..3be52c66 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/GameAssets/Shader/meiduiEmission.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 71520a4bd8c69f54f8a60c7440811ac5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/Scenes/InitScene.unity b/BulkCargo_UnityProject/Assets/Scenes/InitScene.unity index c1e3bd31..bcd5b6b0 100644 --- a/BulkCargo_UnityProject/Assets/Scenes/InitScene.unity +++ b/BulkCargo_UnityProject/Assets/Scenes/InitScene.unity @@ -168,10 +168,10 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: infos: [] - customCode: 3505 + customCode: customName: 1 - MONITOR_ID: CNMAW350015 - ServerIP: 172.16.1.253 + MONITOR_ID: + ServerIP: --- !u!1 &1119662809 GameObject: m_ObjectHideFlags: 0 diff --git a/BulkCargo_UnityProject/Assets/Scenes/SampleScene.unity b/BulkCargo_UnityProject/Assets/Scenes/SampleScene.unity index a8c42988..839d5635 100644 --- a/BulkCargo_UnityProject/Assets/Scenes/SampleScene.unity +++ b/BulkCargo_UnityProject/Assets/Scenes/SampleScene.unity @@ -1871,6 +1871,122 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 419426640} m_CullTransparentMesh: 1 +--- !u!1 &427163902 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 427163907} + - component: {fileID: 427163906} + - component: {fileID: 427163905} + - component: {fileID: 427163904} + - component: {fileID: 427163903} + m_Layer: 0 + m_Name: meidui03_01 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &427163903 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 427163902} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c166ee5f90348454a91bc472aefc2bb1, type: 3} + m_Name: + m_EditorClassIdentifier: + MainAxis: 7 + SecondaryAxis: 6 + MeshRenderer: {fileID: 0} + PileMaxWeight: 0 + MinimumPercentage: 0 +--- !u!64 &427163904 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 427163902} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 2661472560620154767, guid: fe4a616299ad8114eb9ffe832def1ab3, type: 3} +--- !u!23 &427163905 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 427163902} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 05e33d31558f487ba7cf853c84482a4d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &427163906 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 427163902} + m_Mesh: {fileID: 2661472560620154767, guid: fe4a616299ad8114eb9ffe832def1ab3, type: 3} +--- !u!4 &427163907 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 427163902} + m_LocalRotation: {x: 0.00000008940697, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 55.67548, y: 0.000015258789, z: 208.39494} + m_LocalScale: {x: 33.56727, y: 19.70253, z: 67.26613} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &452019682 GameObject: m_ObjectHideFlags: 0 @@ -2967,7 +3083,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 diff --git a/BulkCargo_UnityProject/Assets/Scenes/福州海关/蓉城海关/华能(福建)海港有限公司海关监管场所.unity b/BulkCargo_UnityProject/Assets/Scenes/福州海关/蓉城海关/华能(福建)海港有限公司海关监管场所.unity index 63653c56..b7425231 100644 --- a/BulkCargo_UnityProject/Assets/Scenes/福州海关/蓉城海关/华能(福建)海港有限公司海关监管场所.unity +++ b/BulkCargo_UnityProject/Assets/Scenes/福州海关/蓉城海关/华能(福建)海港有限公司海关监管场所.unity @@ -1584,6 +1584,7 @@ GameObject: - component: {fileID: 271908283} - component: {fileID: 271908282} - component: {fileID: 271908281} + - component: {fileID: 271908285} m_Layer: 0 m_Name: YardGameObject m_TagString: Untagged @@ -1660,7 +1661,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2} + - {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1690,6 +1691,24 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 271908279} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &271908285 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 271908279} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3} + m_Name: + m_EditorClassIdentifier: + renderer_Meidui: + - {fileID: 4690287154697894908} + - {fileID: 8886143251745935537} + - {fileID: 8403123446982408982} + - {fileID: 8764433333058993467} + renderer_Ground: {fileID: 271908283} --- !u!1001 &327660021 PrefabInstance: m_ObjectHideFlags: 0 @@ -2025,6 +2044,7 @@ GameObject: - component: {fileID: 341412934} - component: {fileID: 341412933} - component: {fileID: 341412932} + - component: {fileID: 341412936} m_Layer: 0 m_Name: YardGameObject m_TagString: Untagged @@ -2101,7 +2121,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2} + - {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -2131,6 +2151,24 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 341412930} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &341412936 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 341412930} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3} + m_Name: + m_EditorClassIdentifier: + renderer_Meidui: + - {fileID: 5486295482487002081} + - {fileID: 5728535758344376718} + - {fileID: 6938851745082079279} + - {fileID: 218423832643398870} + renderer_Ground: {fileID: 341412934} --- !u!114 &341867034 MonoBehaviour: m_ObjectHideFlags: 0 @@ -3165,6 +3203,7 @@ GameObject: - component: {fileID: 507878044} - component: {fileID: 507878043} - component: {fileID: 507878042} + - component: {fileID: 507878046} m_Layer: 0 m_Name: YardGameObject m_TagString: Untagged @@ -3241,7 +3280,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2} + - {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -3271,6 +3310,24 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 507878040} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &507878046 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 507878040} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3} + m_Name: + m_EditorClassIdentifier: + renderer_Meidui: + - {fileID: 8288356500688006727} + - {fileID: 5754144870543011746} + - {fileID: 7455849441767895983} + - {fileID: 3565512648207628623} + renderer_Ground: {fileID: 507878044} --- !u!1 &508970353 GameObject: m_ObjectHideFlags: 0 @@ -4062,6 +4119,7 @@ GameObject: - component: {fileID: 690684755} - component: {fileID: 690684754} - component: {fileID: 690684753} + - component: {fileID: 690684757} m_Layer: 0 m_Name: YardGameObject m_TagString: Untagged @@ -4138,7 +4196,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2} + - {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -4168,6 +4226,24 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 690684751} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &690684757 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 690684751} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3} + m_Name: + m_EditorClassIdentifier: + renderer_Meidui: + - {fileID: 1471615591140109125} + - {fileID: 6284403641292762761} + - {fileID: 2957187194872805524} + - {fileID: 8431554864697472876} + renderer_Ground: {fileID: 690684755} --- !u!1 &691856659 GameObject: m_ObjectHideFlags: 0 @@ -4353,6 +4429,7 @@ GameObject: - component: {fileID: 717536053} - component: {fileID: 717536052} - component: {fileID: 717536051} + - component: {fileID: 717536055} m_Layer: 0 m_Name: YardGameObject m_TagString: Untagged @@ -4429,7 +4506,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2} + - {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -4459,6 +4536,24 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 717536049} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &717536055 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 717536049} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3} + m_Name: + m_EditorClassIdentifier: + renderer_Meidui: + - {fileID: 5608726176417044420} + - {fileID: 964556029037726638} + - {fileID: 31756126100262334} + - {fileID: 8392404681504990491} + renderer_Ground: {fileID: 717536053} --- !u!114 &744138413 MonoBehaviour: m_ObjectHideFlags: 0 @@ -7671,6 +7766,7 @@ GameObject: - component: {fileID: 1185296018} - component: {fileID: 1185296017} - component: {fileID: 1185296016} + - component: {fileID: 1185296020} m_Layer: 0 m_Name: YardGameObject m_TagString: Untagged @@ -7747,7 +7843,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2} + - {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -7777,6 +7873,24 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1185296014} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &1185296020 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1185296014} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3} + m_Name: + m_EditorClassIdentifier: + renderer_Meidui: + - {fileID: 5541429577665519816} + - {fileID: 7236799506592098898} + - {fileID: 4261702257029741874} + - {fileID: 5433651167524008163} + renderer_Ground: {fileID: 1185296018} --- !u!1001 &1201500902 PrefabInstance: m_ObjectHideFlags: 0 @@ -15531,7 +15645,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -15964,7 +16078,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -16834,7 +16948,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -17398,7 +17512,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -18903,7 +19017,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -19582,7 +19696,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -20510,7 +20624,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -21370,7 +21484,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -22095,7 +22209,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -22197,7 +22311,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -22312,7 +22426,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -22372,7 +22486,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -22542,7 +22656,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -22668,7 +22782,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -23470,7 +23584,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -24183,7 +24297,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -24586,7 +24700,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -24774,7 +24888,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -26208,7 +26322,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -26444,7 +26558,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -26517,7 +26631,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -26632,7 +26746,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -27273,7 +27387,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -27385,7 +27499,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2} + - {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/BulkCargo_UnityProject/Assets/Scripts/cxx/CorporationManger.cs b/BulkCargo_UnityProject/Assets/Scripts/cxx/CorporationManger.cs index 6d7e2e9f..2fbdccbe 100644 --- a/BulkCargo_UnityProject/Assets/Scripts/cxx/CorporationManger.cs +++ b/BulkCargo_UnityProject/Assets/Scripts/cxx/CorporationManger.cs @@ -12,7 +12,6 @@ public class CorporationManger : MonoBehaviour /// public string MONITOR_ID; - private void Awake() { if (CallForTest.instance != null) diff --git a/BulkCargo_UnityProject/Assets/Scripts/cxx/Shark.cs b/BulkCargo_UnityProject/Assets/Scripts/cxx/Shark.cs new file mode 100644 index 00000000..a7041049 --- /dev/null +++ b/BulkCargo_UnityProject/Assets/Scripts/cxx/Shark.cs @@ -0,0 +1,62 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Shark : MonoBehaviour +{ + public List renderer_Meidui; + public MeshRenderer renderer_Ground; + + private void Start() + { + //ʼ + renderer_Meidui.ForEach(a => + { + a.materials[0].SetColor("_EmissionColor", new Color(0, 0, 0)); + }); + renderer_Ground.materials[0].color = new Color(0, 1, 0, 0); + } + + /// + /// Ƿ˸ + /// + bool isShaking=false; + public void StartShak() + { + isShaking = true; + renderer_Meidui.ForEach(a => + { + a.materials[0].EnableKeyword("_EMISSION"); + }); + } + public void StopShak() + { + isShaking = false; + renderer_Meidui.ForEach(a => + { + a.materials[0].DisableKeyword("_EMISSION"); + }); + renderer_Ground.materials[0].color = new Color(0, 1, 0, 0); + } + + float v; + private void Update() + { + if (isShaking) + { + if (v <= 1) + { + v += Time.deltaTime; + } + else + { + v = 0; + } + renderer_Meidui.ForEach(a => + { + a.materials[0].SetColor("_EmissionColor", new Color(0, 1, 0) * v * v); + }); + renderer_Ground.materials[0].color = new Color(0, 1, 0, 1 - v); + } + } +} diff --git a/BulkCargo_UnityProject/Assets/Scripts/cxx/Shark.cs.meta b/BulkCargo_UnityProject/Assets/Scripts/cxx/Shark.cs.meta new file mode 100644 index 00000000..74c6fd1e --- /dev/null +++ b/BulkCargo_UnityProject/Assets/Scripts/cxx/Shark.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 809bfe5f7a6496942889154b5abd064d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/BulkCargo_UnityProject/Assets/Scripts/wj/Device/YardDevice.cs b/BulkCargo_UnityProject/Assets/Scripts/wj/Device/YardDevice.cs index 292881db..8bcc552f 100644 --- a/BulkCargo_UnityProject/Assets/Scripts/wj/Device/YardDevice.cs +++ b/BulkCargo_UnityProject/Assets/Scripts/wj/Device/YardDevice.cs @@ -35,11 +35,17 @@ public class YardDevice : DeviceBase /// [Range(0, 1)] public float MinimumPercentage = 0.1f; + + /// + /// ˸ű + /// + private Shark shark; public override void Awake() { base.Awake(); MeshRenderers = transform.parent.GetComponentsInChildren().ToList(); Piles = transform.parent.GetComponentsInChildren().ToList(); + shark=GetComponent(); if (AutoAllocationWeight) { @@ -54,17 +60,20 @@ public class YardDevice : DeviceBase { if (_enable) { - for (int i = 0; i < MeshRenderers.Count; i++) - { - MeshRenderers[i].material.EnableKeyword("_ENABLE"); - } + //for (int i = 0; i < MeshRenderers.Count; i++) + //{ + // MeshRenderers[i].material.EnableKeyword("_ENABLE"); + //} + + shark.StartShak(); } else { - for (int i = 0; i < MeshRenderers.Count; i++) - { - MeshRenderers[i].material.DisableKeyword("_ENABLE"); - } + //for (int i = 0; i < MeshRenderers.Count; i++) + //{ + // MeshRenderers[i].material.DisableKeyword("_ENABLE"); + //} + shark.StopShak(); } } diff --git a/BulkCargo_UnityProject/Assets/Scripts/wj/Manager/ApiManager.cs b/BulkCargo_UnityProject/Assets/Scripts/wj/Manager/ApiManager.cs index 4f03356e..ad311879 100644 --- a/BulkCargo_UnityProject/Assets/Scripts/wj/Manager/ApiManager.cs +++ b/BulkCargo_UnityProject/Assets/Scripts/wj/Manager/ApiManager.cs @@ -13,7 +13,22 @@ public class ApiManager : Singleton /// /// ӿipַ /// - public string IpAddress = ""; + public string IpAddress + { + get + { + if(!Application.isEditor) + { + // + return "http://" + CallForTest.instance.ServerIP + ":4000"; + } + else + { + //༭ + return "http://111.229.30.246:4000"; + } + } + } /// /// õApiֵ /// @@ -53,19 +68,20 @@ public class ApiManager : Singleton { base.Awake(); - var _ip_str_url = Path.Combine(Application.streamingAssetsPath, "configure.json"); - StartCoroutine(RequestBase.Get(_ip_str_url, (_data, _error) => - { - if (_error != null) - { - Debug.Log($" {_error} "); - } - else - { - Debug.Log("ȡļ"); - IpAddress = JObject.Parse(_data)["ip"].ToString(); - } - })); + + //var _ip_str_url = Path.Combine(Application.streamingAssetsPath, "configure.json"); + //StartCoroutine(RequestBase.Get(_ip_str_url, (_data, _error) => + //{ + // if (_error != null) + // { + // Debug.Log($" {_error} "); + // } + // else + // { + // Debug.Log("ȡļ"); + // IpAddress = JObject.Parse(_data)["ip"].ToString(); + // } + //})); var _api_dic_url = Path.Combine(Application.streamingAssetsPath, "configure_api.json"); StartCoroutine(RequestBase.Get(_api_dic_url, (_data, _error) => diff --git a/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_Mei.mat b/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_Mei.mat index 5830510e..a257e464 100644 --- a/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_Mei.mat +++ b/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_Mei.mat @@ -61,7 +61,7 @@ Material: - _Smoothness: 0 - _Strength: 0 m_Colors: - - _Color: {r: 0, g: 4, b: 0.4705882, a: 1} + - _Color: {r: 0, g: 0.0009765625, b: 0.00011871936, a: 1} - _MainTexUV: {r: 0, g: 0, b: 0, a: 0} - _Tiling: {r: 1, g: 1, b: 0, a: 0} m_BuildTextureStacks: [] diff --git a/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_OutLine.mat b/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_OutLine.mat index c17dfe7c..ad58b365 100644 --- a/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_OutLine.mat +++ b/BulkCargo_UnityProject/Assets/ShaderGraphs/Shader Graphs_ShaderGraph_OutLine.mat @@ -21,21 +21,61 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Shader Graphs_ShaderGraph_OutLine - m_Shader: {fileID: -6465566751694194690, guid: ac77f135d70cb3349b34c80bb2f09b86, - type: 3} + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} m_ValidKeywords: [] m_InvalidKeywords: [] - m_LightmapFlags: 2 + m_LightmapFlags: 6 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 m_CustomRenderQueue: -1 - stringTagMap: {} + stringTagMap: + RenderType: Opaque disabledShaderPasses: [] m_SavedProperties: serializedVersion: 3 m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 81240d89f735df44e88dd1aebf98791a, type: 3} + m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - unity_Lightmaps: @@ -52,12 +92,41 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: + - _AlphaClip: 0 + - _Blend: 0 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 - _ENABLE: 0 - _EnableOutLine: 0 + - _EnvironmentReflections: 1 - _FresnelPower: 2 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 - _QueueControl: 0 - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 - _Strength: 0 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 m_Colors: - - _Color: {r: 0, g: 4, b: 0.4705882, a: 1} + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + - _Tiling: {r: 1, g: 1, b: 0, a: 0} m_BuildTextureStacks: [] diff --git a/BulkCargo_UnityProject/Assets/StreamingAssets/configure.json b/BulkCargo_UnityProject/Assets/StreamingAssets/configure.json deleted file mode 100644 index 0b77fccd..00000000 --- a/BulkCargo_UnityProject/Assets/StreamingAssets/configure.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "ip": "http://111.229.30.246:30014" -} \ No newline at end of file