diff --git a/.github/workflows/build-listing.yml b/.github/workflows/build-listing.yml new file mode 100644 index 0000000..0a6723a --- /dev/null +++ b/.github/workflows/build-listing.yml @@ -0,0 +1,68 @@ +name: Build Repo Listing + +env: + CurrentPackageName: com.vrchat.demo-template + listPublishDirectory: Website + pathToCi: ci + +on: + workflow_dispatch: + workflow_run: + workflows: [Build Release] + types: + - completed + release: + types: [published, created, edited, unpublished, deleted, released] + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + + build-listing: + name: build-listing + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v3 # check out this repo + - uses: actions/checkout@v3 # check out automation repo + with: + repository: vrchat-community/package-list-action + path: ${{env.pathToCi}} + clean: false # otherwise the local repo will no longer be checked out + + - name: Restore Cache + uses: actions/cache@v3 + with: + path: | + ${{env.pathToCi}}/.nuke/temp + ~/.nuget/packages + key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} + + - name: Build Package Version Listing + run: ${{env.pathToCi}}/build.cmd BuildRepoListing --root ${{env.pathToCi}} --list-publish-directory $GITHUB_WORKSPACE/${{env.listPublishDirectory}} --current-package-name ${{env.CurrentPackageName}} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Setup Pages + uses: actions/configure-pages@v3 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: ${{env.listPublishDirectory}} + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..25197f0 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,58 @@ +name: Build Release + +on: + workflow_dispatch: + push: + branches: main + paths: Packages/com.furality.sylvashader/** + +env: + packageName: "com.furality.sylvashader" + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v3 + + - name: get version + id: version + uses: notiz-dev/github-action-json-property@7c8cf5cc36eb85d8d287a8086a39dac59628eb31 + with: + path: "Packages/${{env.packageName}}/package.json" + prop_path: "version" + + - name: Set Environment Variables + run: | + echo "zipFile=${{ env.packageName }}-${{ steps.version.outputs.prop }}".zip >> $GITHUB_ENV + echo "unityPackage=${{ env.packageName }}-${{ steps.version.outputs.prop }}.unitypackage" >> $GITHUB_ENV + + - name: Create Zip + uses: thedoctor0/zip-release@09336613be18a8208dfa66bd57efafd9e2685657 + with: + type: "zip" + directory: "Packages/${{env.packageName}}/" + filename: "../../${{env.zipFile}}" # make the zip file two directories up, since we start two directories in above + + - run: find "Packages/${{env.packageName}}/" -name \*.meta >> metaList + + - name: Create UnityPackage + uses: pCYSl5EDgo/create-unitypackage@cfcd3cf0391a5ef1306342794866a9897c32af0b + with: + package-path: ${{ env.unityPackage }} + include-files: metaList + + + - name: Make Release + uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 + with: + tag_name: ${{ steps.version.outputs.prop }} + files: | + ${{ env.zipFile }} + ${{ env.unityPackage }} + Packages/${{ env.packageName }}/package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb2111a --- /dev/null +++ b/.gitignore @@ -0,0 +1,65 @@ +# This .gitignore file should be placed at the root of your Unity project directory +# +# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore +# +/[Ll]ibrary/ +/[Tt]emp/ +/[Oo]bj/ +/[Bb]uild/ +/[Bb]uilds/ +/[Ll]ogs/ +/[Mm]emoryCaptures/ + +# Asset meta data should only be ignored when the corresponding asset is also ignored +!/[Aa]ssets/**/*.meta + +# Uncomment this line if you wish to ignore the asset store tools plugin +# /[Aa]ssets/AssetStoreTools* + +# Autogenerated Jetbrains Rider plugin +[Aa]ssets/Plugins/Editor/JetBrains* + +# Visual Studio cache directory +.vs/ + +# Gradle cache directory +.gradle/ + +# Autogenerated VS/MD/Consulo solution and project files +ExportedObj/ +.consulo/ +*.csproj +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj +*.svd +*.pdb +*.mdb +*.opendb +*.VC.db + +# Unity3D generated meta files +*.pidb.meta +*.pdb.meta +*.mdb.meta + +# Unity3D generated file on crash reports +sysinfo.txt + +# Builds +*.apk +*.unitypackage + +# Crashlytics generated file +crashlytics-build.properties + +.idea/.idea.vpm-package-maker/.idea +Assets/PackageMakerWindowData.asset* +.idea +.vscode +.DS_Store diff --git a/Assets/.gitkeep b/Assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Packages/.gitignore b/Packages/.gitignore new file mode 100644 index 0000000..1399528 --- /dev/null +++ b/Packages/.gitignore @@ -0,0 +1,5 @@ +/*/ +!com.vrchat.core.* + +# Change this to match your new package name +!com.furality.sylvashader diff --git a/Packages/com.furality.sylvashader/Editor.meta b/Packages/com.furality.sylvashader/Editor.meta new file mode 100644 index 0000000..92656e4 --- /dev/null +++ b/Packages/com.furality.sylvashader/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 20aa85249684709408b8cc5a30af6952 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Editor/UI.meta b/Packages/com.furality.sylvashader/Editor/UI.meta new file mode 100644 index 0000000..a370fbe --- /dev/null +++ b/Packages/com.furality.sylvashader/Editor/UI.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ac0a018ad88e543428b645f466fd2dab +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Editor/UI/FuralityShaderUI.cs b/Packages/com.furality.sylvashader/Editor/UI/FuralityShaderUI.cs new file mode 100644 index 0000000..df733bb --- /dev/null +++ b/Packages/com.furality.sylvashader/Editor/UI/FuralityShaderUI.cs @@ -0,0 +1,1972 @@ +#if UNITY_EDITOR + +using UnityEngine; +using UnityEditor; + +public class FuralityShaderUI : ShaderGUI +{ + //Set variables + private Texture2D logoImage; + private bool showMainProperties; + MaterialEditor editor; + MaterialProperty[] properties; + Material target; + + //Shader locations + Shader defaultOpaque = Shader.Find("Furality/Sylva Shader/Sylva Opaque Outline"); + Shader defaultCutout = Shader.Find("Furality/Sylva Shader/Sylva Cutout Outline"); + Shader defaultTransparent = Shader.Find("Furality/Sylva Shader/Sylva Transparent Outline"); + Shader noOutlineOpaque = Shader.Find("Furality/Sylva Shader/Sylva Opaque"); + Shader noOutlineCutout = Shader.Find("Furality/Sylva Shader/Sylva Cutout"); + Shader noOutlineTransparent = Shader.Find("Furality/Sylva Shader/Sylva Transparent"); + + bool enableOutline; + + //Enums + enum Zone + { + None = 0, + Zone1 = 1, + Zone2 = 2, + Zone3 = 3, + Zone4 = 4, + Gradient1 = 5, + Gradient2 = 6, + Gradient3 = 7 + } + + enum BlendOP + { + AlphaBlend = 0, + Additive = 1, + SoftAdditive = 2, + Multiplicative = 3 + } + + enum BlendMode + { + Opaque = 0, + Cutout = 1, + Transparent = 2 + } + + //This is where the GUI is drawn + public override void OnGUI( + MaterialEditor editor, MaterialProperty[] properties + ) + { + this.editor = editor; + this.properties = properties; + this.target = editor.target as Material; + + //Setup UI + SetLogoImage(); + + //Blend OP Selector + //EditorGUI.indentLevel += 2; + DoBlendMode(); + + if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Transparent) + { + DoBlendOPSelctor(); + } + + if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Cutout) + { + DoMaskClip(); + } + + //EditorGUI.indentLevel -= 2; + + //Main Properties + DoMainProperties(); + + //Luma Glow Properties + DoLumaProperties(); + + //Effects + DoEffects(); + } + + //Entirely functions below this point + + //Set logo + void SetLogoImage() + { + //Load logo image + logoImage = AssetDatabase.LoadAssetAtPath("Packages/furality.sylvashader/Runtime/UI/SylvaIcon.png"); + + // Center the image in a horizontal and vertical layout group + GUILayout.BeginHorizontal(); + GUILayout.FlexibleSpace(); + GUILayout.BeginVertical(); + GUILayout.FlexibleSpace(); + GUILayout.Label(logoImage, GUILayout.MaxHeight(100)); + GUILayout.FlexibleSpace(); + GUILayout.EndVertical(); + GUILayout.FlexibleSpace(); + GUILayout.EndHorizontal(); + } + + //Modify FindProperty to only require a string + MaterialProperty FindProperty(string name) + { + return FindProperty(name, properties); + } + + //Function to create labels for properties + static GUIContent staticLabel = new GUIContent(); + static GUIContent MakeLabel(string text, string tooltip = null) + { + staticLabel.text = text; + staticLabel.tooltip = tooltip; + return staticLabel; + } + + //Create foldout that contains main properties + void DoMainProperties() + { + //Convert material int to bool + bool ShowMain; + string tog = "_ShowMain"; + string title = "Main Properties"; + + if (target.GetFloat(tog) == 1) + { + ShowMain = true; + } + else + { + ShowMain = false; + } + + //Create foldout + ShowMain = EditorGUILayout.Foldout(ShowMain, title, true, EditorStyles.foldoutHeader); + if (ShowMain) + { + target.SetFloat(tog, 1); + + DoMainTex(); + DoMetallic(); + DoSpecular(); + DoNormals(); + DoOcclusion(); + DoEffectMask(); + DoEmission(); + + DoOutlineToggle(); + if (enableOutline is true) + { + DoOutlines(); + } + + DoMisc(); + } + else + { + target.SetFloat(tog, 0); + } + } + + //Create Foldout that contains Luma Glow properties + void DoLumaProperties() + { + bool showProperties; + MaterialProperty glowMask = FindProperty("_GlowMask"); + if (target.GetFloat("_ShowGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + //Create foldout + showProperties = EditorGUILayout.Foldout(showProperties, "Luma Glow/AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowGlow", 1); + + DoGlowMask(); + + if (target.GetFloat("_EnableEmission") == 1) + { + DoEmissionGlow(); + DoEmissionAL(); + } + + if (enableOutline is true) + { + DoOutlineGlow(); + DoOutlineAL(); + } + + + if (glowMask.textureValue != null) + { + MaterialProperty redTog = FindProperty("_EnableRedChannel"); + EditorGUI.indentLevel += 2; + editor.ShaderProperty(redTog, MakeLabel("Enable Red Channel", "Tooltip Here")); + EditorGUI.indentLevel -= 2; + if (target.GetFloat("_EnableRedChannel") == 1) + { + DoRedChGlow(); + DoRedChAL(); + } + + MaterialProperty greenTog = FindProperty("_EnableGreenChannel"); + EditorGUI.indentLevel += 2; + editor.ShaderProperty(greenTog, MakeLabel("Enable Green Channel", "Tooltip Here")); + EditorGUI.indentLevel -= 2; + if (target.GetFloat("_EnableGreenChannel") == 1) + { + DoGreenChGlow(); + DoGreenChAL(); + } + + MaterialProperty blueTog = FindProperty("_EnableBlueChannel"); + EditorGUI.indentLevel += 2; + editor.ShaderProperty(blueTog, MakeLabel("Enable Blue Channel", "Tooltip Here")); + EditorGUI.indentLevel -= 2; + if (target.GetFloat("_EnableBlueChannel") == 1) + { + DoBlueChGlow(); + DoBlueChAL(); + } + + MaterialProperty alphaTog = FindProperty("_EnableAlphaChannel"); + EditorGUI.indentLevel += 2; + editor.ShaderProperty(alphaTog, MakeLabel("Enable Alpha Channel", "Tooltip Here")); + EditorGUI.indentLevel -= 2; + if (target.GetFloat("_EnableAlphaChannel") == 1) + { + DoAlphaChGlow(); + DoAlphaChAL(); + } + + } + + if (target.GetFloat("_EnableSparkles") == 1) + { + DoSparkleGlow(); + DoSparkleAL(); + } + + } + else + { + target.SetFloat("_ShowGlow", 0); + } + } + + //Create Foldout that contains Effect properties + void DoEffects() + { + MaterialProperty mask = FindProperty("_EffectMask"); + bool showProperties; + if (target.GetFloat("_ShowEffects") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + //Create foldout + showProperties = EditorGUILayout.Foldout(showProperties, "Special Effects", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowEffects", 1); + DoEffectMask(); + DoSparkles(); + DoRainbow(); + DoIridescence(); + + if (enableOutline is true) + { + DoOutlines2(); + } + + } + else + { + target.SetFloat("_ShowEffects", 0); + } + } + + //Main Texture func + void DoMainTex() + { + MaterialProperty mainTex = FindProperty("_MainTex"); + MaterialProperty mainColor = FindProperty("_Color"); + editor.TexturePropertySingleLine(MakeLabel("Main Tex", "Tooltip Here"), mainTex, mainColor); + EditorGUI.indentLevel += 2; + editor.TextureScaleOffsetProperty(mainTex); + EditorGUI.indentLevel -= 2; + } + + //Metallic texture and smoothness + void DoMetallic() + { + MaterialProperty Tex = FindProperty("_MetallicGlossMap"); + MaterialProperty InlineProperty = FindProperty("_Metallic"); + MaterialProperty Smoothness = FindProperty("_Glossiness"); + MaterialProperty SmoothnessScale = FindProperty("_GlossMapScale"); + + editor.TexturePropertySingleLine( + MakeLabel("Metallic", "Tooltip Here"), Tex, + Tex.textureValue ? InlineProperty : null); + + EditorGUI.indentLevel += 2; + if (Tex.textureValue != null) + { + editor.ShaderProperty(SmoothnessScale, MakeLabel("Smoothness", "Tooltip Here")); + } + else + { + editor.ShaderProperty(Smoothness, MakeLabel("Smoothness", "Tooltip Here")); + } + EditorGUI.indentLevel -= 2; + } + + //Specular map and rimlight + void DoSpecular() + { + MaterialProperty color = FindProperty("_RimlightColor"); + MaterialProperty toggle = FindProperty("_EnableSpecularMap"); + MaterialProperty Tex = FindProperty("_SpecGlossMap"); + MaterialProperty SpecColor = FindProperty("_SpecColor"); + EditorGUI.indentLevel += 2; + editor.ColorProperty(color, "Rimlight Color"); + editor.ShaderProperty(toggle, "Specular Map"); + EditorGUI.indentLevel -= 2; + if (target.GetFloat("_EnableSpecularMap") == 1) + { + editor.TexturePropertySingleLine(MakeLabel("Specular Map", "Tooltip Here"), Tex, SpecColor); + } + } + + //Normal map + void DoNormals() + { + MaterialProperty tex = FindProperty("_BumpMap"); + MaterialProperty scale = FindProperty("_BumpScale"); + editor.TexturePropertySingleLine(MakeLabel("Normal Map", "Tooltip Here"), tex, scale); + } + + //Occlusion + void DoOcclusion() + { + MaterialProperty tex = FindProperty("_OcclusionMap"); + MaterialProperty scale = FindProperty("_OcclusionStrength"); + editor.TexturePropertySingleLine(MakeLabel("Occlusion Map", "Tooltip Here"), tex, scale); + } + + //Effect Mask + void DoEffectMask() + { + MaterialProperty tex = FindProperty("_EffectMask"); + editor.TexturePropertySingleLine(MakeLabel("Effect Mask", "Tooltip Here"), tex); + EditorGUI.indentLevel += 2; + editor.TextureScaleOffsetProperty(tex); + EditorGUI.indentLevel -= 2; + } + + //Emission + void DoEmission() + { + MaterialProperty tex = FindProperty("_EmissionMap"); + MaterialProperty color = FindProperty("_EmissionColor"); + MaterialProperty tog = FindProperty("_EnableEmission"); + MaterialProperty maskCH = FindProperty("_EmissionMaskingChannel"); + MaterialProperty maskTog = FindProperty("_EmissionMaskPan"); + MaterialProperty maskSpeed = FindProperty("_EmissionMaskPanSpeed"); + MaterialProperty panTog = FindProperty("_EmissionPan"); + MaterialProperty panSpeed = FindProperty("_EmissionPanSpeed"); + float togfl = target.GetFloat("_EnableEmission"); + float maskTogfl = target.GetFloat("_EmissionMaskPan"); + float panTogfl = target.GetFloat("_EmissionPan"); + float maskCHfl = target.GetFloat("_EmissionMaskingChannel"); + + EditorGUI.indentLevel += 2; + editor.ShaderProperty(tog, MakeLabel("Enable Emission", "Tooltip Here")); + EditorGUI.indentLevel -= 2; + editor.TexturePropertySingleLine(MakeLabel("Emission"), tex, color); + EditorGUI.indentLevel += 2; + editor.TextureScaleOffsetProperty(tex); + + if (togfl == 1) + { + editor.ShaderProperty(maskCH, MakeLabel("Masking Channel", "Tooltip Here")); + if (maskCHfl > 0) + { + editor.ShaderProperty(maskTog, MakeLabel("Mask Panning", "Tooltip Here")); + if (maskTogfl == 1) + { + editor.ShaderProperty(maskSpeed, MakeLabel("Mask Speed", "Tooltip Here")); + } + } + editor.ShaderProperty(panTog, MakeLabel("Emission Panning", "Tooltip Here")); + if (panTogfl == 1) + { + editor.ShaderProperty(panSpeed, MakeLabel("Emission Speed", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 2; + } + + //Outlines + void DoOutlines() + { + bool showProperties; + if (target.GetFloat("_ShowOutline") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Outline Settings", true, EditorStyles.foldoutHeader); + + MaterialProperty maskCH = FindProperty("_OutlineMaskingChannel"); + MaterialProperty color = FindProperty("_OutlineColor"); + MaterialProperty width = FindProperty("_OutlineWidth"); + MaterialProperty maxWidth = FindProperty("_MaxOutlineWidth"); + MaterialProperty fudge = FindProperty("_ViewFudge"); + + if (showProperties) + { + EditorGUI.indentLevel += 1; + target.SetFloat("_ShowOutline", 1); + + editor.ShaderProperty(maskCH, MakeLabel("Masking Channel", "Tooltip Here")); + editor.ShaderProperty(color, MakeLabel("Color")); + editor.ShaderProperty(width, MakeLabel("Width")); + editor.ShaderProperty(maxWidth, MakeLabel("Max Width", "Tooltip Here")); + editor.ShaderProperty(fudge, MakeLabel("Push Outline", "Tooltip Here")); + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowOutline", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Outlines + void DoOutlines2() + { + bool showProperties; + if (target.GetFloat("_ShowOutline2") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Outline Settings", true, EditorStyles.foldoutHeader); + + MaterialProperty maskCH = FindProperty("_OutlineMaskingChannel"); + MaterialProperty color = FindProperty("_OutlineColor"); + MaterialProperty width = FindProperty("_OutlineWidth"); + MaterialProperty maxWidth = FindProperty("_MaxOutlineWidth"); + MaterialProperty fudge = FindProperty("_ViewFudge"); + + if (showProperties) + { + EditorGUI.indentLevel += 1; + target.SetFloat("_ShowOutline2", 1); + + editor.ShaderProperty(maskCH, MakeLabel("Masking Channel", "Tooltip Here")); + editor.ShaderProperty(color, MakeLabel("Color")); + editor.ShaderProperty(width, MakeLabel("Width")); + editor.ShaderProperty(maxWidth, MakeLabel("Max Width", "Tooltip Here")); + editor.ShaderProperty(fudge, MakeLabel("Push Outline", "Tooltip Here")); + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowOutline2", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Misc + void DoMisc() + { + MaterialProperty clip = FindProperty("_Culling"); + //MaterialProperty cull = FindProperty(""); + EditorGUI.indentLevel += 2; + editor.ShaderProperty(clip, MakeLabel("Culling", "Tooltip Here")); + EditorGUI.indentLevel -= 2; + } + + //Directional map and Glow Mask + void DoGlowMask() + { + MaterialProperty map = FindProperty("_DirectionalMap"); + MaterialProperty mask = FindProperty("_GlowMask"); + + editor.TexturePropertySingleLine(MakeLabel("Direction Map", "Tooltip Here"), map); + EditorGUI.indentLevel += 2; + editor.TextureScaleOffsetProperty(map); + EditorGUI.indentLevel -= 2; + editor.TexturePropertySingleLine(MakeLabel("Glow Mask", "Tooltip Here"), mask); + EditorGUI.indentLevel += 2; + editor.TextureScaleOffsetProperty(mask); + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoEmissionZone() + { + Zone operation = (Zone)target.GetFloat("_EmissionGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Emission Glow Zone"); + target.SetFloat("_EmissionGlowZone", (float)operation); + } + } + + //Emission Glow Settings + void DoEmissionGlow() + { + bool showProperties; + if (target.GetFloat("_ShowEmissGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_EmissionGlowMode"); + MaterialProperty BlendMode = FindProperty("_EmissionGlowBlendMode"); + MaterialProperty Tint = FindProperty("_EmissionGlowTint"); + MaterialProperty MinBrightness = FindProperty("_EmissionGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_EmissionGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_EmissionGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_EmissionGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_EmissionGlowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_EmissionGlowAnimationBand"); + MaterialProperty AnimMode = FindProperty("_EmissionGlowAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_EmissionGlowAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_EmissionGlowAnimationStrength"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Emission Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowEmissGlow", 1); + + EditorGUI.indentLevel += 1; + DoEmissionZone(); + + if (target.GetFloat("_EmissionGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_EmissionGlowZone") > 4 || target.GetFloat("_EmissionGlowMode") > 0) + { + if (target.GetFloat("_EmissionGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_EmissionGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + editor.ShaderProperty(AnimBand, MakeLabel("Animation Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowEmissGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Emission AL Settings + void DoEmissionAL() + { + bool showProperties; + if (target.GetFloat("_ShowEmissAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_EmissionReactiveMode"); + MaterialProperty BlendMode = FindProperty("_EmissionReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_EmissionReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_EmissionReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_EmissionReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_EmissionReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_EmissionReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_EmissionReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_EmissionReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Emission AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowEmissAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_EmissionReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_EmissionReactiveBand") > 4 || target.GetFloat("_EmissionReactiveMode") > 0 && target.GetFloat("_EmissionReactiveMode") != 5) + { + if (target.GetFloat("_EmissionReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_EmissionReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowEmissAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoOutlineZone() + { + Zone operation = (Zone)target.GetFloat("_OutlineGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Outline Glow Zone"); + target.SetFloat("_OutlineGlowZone", (float)operation); + } + } + + //Outline Glow Settings + void DoOutlineGlow() + { + bool showProperties; + if (target.GetFloat("_ShowOutlineGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_OutlineGlowMode"); + MaterialProperty BlendMode = FindProperty("_OutlineGlowBlendMode"); + MaterialProperty Tint = FindProperty("_OutlineGlowTint"); + MaterialProperty MinBrightness = FindProperty("_OutlineGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_OutlineGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_OutlineGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_OutlineGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_OutlineGlowRadialCenter"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Outline Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowOutlineGlow", 1); + + EditorGUI.indentLevel += 1; + DoOutlineZone(); + + if (target.GetFloat("_OutlineGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_OutlineGlowZone") > 4 || target.GetFloat("_OutlineGlowMode") > 0) + { + if (target.GetFloat("_OutlineGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_OutlineGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowOutlineGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Outline AL Settings + void DoOutlineAL() + { + bool showProperties; + if (target.GetFloat("_ShowOutlineAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_OutlineReactiveMode"); + MaterialProperty BlendMode = FindProperty("_OutlineReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_OutlineReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_OutlineReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_OutlineReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_OutlineReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_OutlineReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_OutlineReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_OutlineReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Outline AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowOutlineAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_OutlineReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_OutlineReactiveBand") > 4 || target.GetFloat("_OutlineReactiveMode") > 0 && target.GetFloat("_OutlineReactiveMode") != 5) + { + if (target.GetFloat("_OutlineReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_OutlineReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowOutlineAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoRedChZone() + { + Zone operation = (Zone)target.GetFloat("_RedChGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Red Channel Glow Zone"); + target.SetFloat("_RedChGlowZone", (float)operation); + } + } + + //RedCh Glow Settings + void DoRedChGlow() + { + bool showProperties; + if (target.GetFloat("_ShowRedGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_RedChGlowMode"); + MaterialProperty Tint = FindProperty("_RedChGlowTint"); + MaterialProperty MinBrightness = FindProperty("_RedChGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_RedChGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_RedChGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_RedChGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_RedChGlowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_RedChGlowAnimationBand"); + MaterialProperty AnimMode = FindProperty("_RedChGlowAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_RedChGlowAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_RedChGlowAnimationStrength"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "RedCh Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowRedGlow", 1); + + EditorGUI.indentLevel += 1; + + DoRedChZone(); + + if (target.GetFloat("_RedChGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_RedChGlowZone") > 4 || target.GetFloat("_RedChGlowMode") > 0) + { + if (target.GetFloat("_RedChGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_RedChGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + editor.ShaderProperty(AnimBand, MakeLabel("Animation Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowRedGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //RedCh AL Settings + void DoRedChAL() + { + bool showProperties; + if (target.GetFloat("_ShowRedAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_RedChReactiveMode"); + MaterialProperty BlendMode = FindProperty("_RedChReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_RedChReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_RedChReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_RedChReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_RedChReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_RedChReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_RedChReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_RedChReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "RedCh AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowRedAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_RedChReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_RedChReactiveBand") > 4 || target.GetFloat("_RedChReactiveMode") > 0 && target.GetFloat("_RedChReactiveMode") != 5) + { + if (target.GetFloat("_RedChReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_RedChReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowRedAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoGreenChZone() + { + Zone operation = (Zone)target.GetFloat("_GreenChGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Green Channel Glow Zone"); + target.SetFloat("_GreenChGlowZone", (float)operation); + } + } + + //GreenCh Glow Settings + void DoGreenChGlow() + { + bool showProperties; + if (target.GetFloat("_ShowGreenGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_GreenChGlowMode"); + MaterialProperty Tint = FindProperty("_GreenChGlowTint"); + MaterialProperty MinBrightness = FindProperty("_GreenChGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_GreenChGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_GreenChGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_GreenChGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_GreenChGlowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_GreenChGlowAnimationBand"); + MaterialProperty AnimMode = FindProperty("_GreenChGlowAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_GreenChGlowAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_GreenChGlowAnimationStrength"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "GreenCh Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowGreenGlow", 1); + + EditorGUI.indentLevel += 1; + DoGreenChZone(); + + if (target.GetFloat("_GreenChGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_GreenChGlowZone") > 4 || target.GetFloat("_GreenChGlowMode") > 0) + { + if (target.GetFloat("_GreenChGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_GreenChGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + editor.ShaderProperty(AnimBand, MakeLabel("Animation Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowGreenGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //GreenCh AL Settings + void DoGreenChAL() + { + bool showProperties; + if (target.GetFloat("_ShowGreenAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_GreenChReactiveMode"); + MaterialProperty BlendMode = FindProperty("_GreenChReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_GreenChReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_GreenChReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_GreenChReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_GreenChReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_GreenChReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_GreenChReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_GreenChReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "GreenCh AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowGreenAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_GreenChReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_GreenChReactiveBand") > 4 || target.GetFloat("_GreenChReactiveMode") > 0 && target.GetFloat("_GreenChReactiveMode") != 5) + { + if (target.GetFloat("_GreenChReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_GreenChReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowGreenAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoBlueChZone() + { + Zone operation = (Zone)target.GetFloat("_BlueChGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Blue Channel Glow Zone"); + target.SetFloat("_BlueChGlowZone", (float)operation); + } + } + + //BlueCh Glow Settings + void DoBlueChGlow() + { + bool showProperties; + if (target.GetFloat("_ShowBlueGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_BlueChGlowMode"); + MaterialProperty Tint = FindProperty("_BlueChGlowTint"); + MaterialProperty MinBrightness = FindProperty("_BlueChGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_BlueChGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_BlueChGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_BlueChGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_BlueChGlowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_BlueChGlowAnimationBand"); + MaterialProperty AnimMode = FindProperty("_BlueChGlowAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_BlueChGlowAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_BlueChGlowAnimationStrength"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "BlueCh Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowBlueGlow", 1); + + EditorGUI.indentLevel += 1; + DoBlueChZone(); + + if (target.GetFloat("_BlueChGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_BlueChGlowZone") > 4 || target.GetFloat("_BlueChGlowMode") > 0) + { + if (target.GetFloat("_BlueChGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_BlueChGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + editor.ShaderProperty(AnimBand, MakeLabel("Animation Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowBlueGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //BlueCh AL Settings + void DoBlueChAL() + { + bool showProperties; + if (target.GetFloat("_ShowBlueAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_BlueChReactiveMode"); + MaterialProperty BlendMode = FindProperty("_BlueChReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_BlueChReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_BlueChReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_BlueChReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_BlueChReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_BlueChReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_BlueChReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_BlueChReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "BlueCh AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowBlueAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_BlueChReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_BlueChReactiveBand") > 4 || target.GetFloat("_BlueChReactiveMode") > 0 && target.GetFloat("_BlueChReactiveMode") != 5) + { + if (target.GetFloat("_BlueChReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_BlueChReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowBlueAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoAlphaChZone() + { + Zone operation = (Zone)target.GetFloat("_AlphaChGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Alpha Channel Glow Zone"); + target.SetFloat("_AlphaChGlowZone", (float)operation); + } + } + + //AlphaCh Glow Settings + void DoAlphaChGlow() + { + bool showProperties; + if (target.GetFloat("_ShowAlphaGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_AlphaChGlowMode"); + MaterialProperty Tint = FindProperty("_AlphaChGlowTint"); + MaterialProperty MinBrightness = FindProperty("_AlphaChGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_AlphaChGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_AlphaChGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_AlphaChGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_AlphaChGlowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_AlphaChGlowAnimationBand"); + MaterialProperty AnimMode = FindProperty("_AlphaChGlowAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_AlphaChGlowAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_AlphaChGlowAnimationStrength"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "AlphaCh Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowAlphaGlow", 1); + + EditorGUI.indentLevel += 1; + DoAlphaChZone(); + + if (target.GetFloat("_AlphaChGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_AlphaChGlowZone") > 4 || target.GetFloat("_AlphaChGlowMode") > 0) + { + if (target.GetFloat("_AlphaChGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_AlphaChGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + editor.ShaderProperty(AnimBand, MakeLabel("Animation Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowAlphaGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //AlphaCh AL Settings + void DoAlphaChAL() + { + bool showProperties; + if (target.GetFloat("_ShowAlphaAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_AlphaChReactiveMode"); + MaterialProperty BlendMode = FindProperty("_AlphaChReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_AlphaChReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_AlphaChReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_AlphaChReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_AlphaChReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_AlphaChReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_AlphaChReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_AlphaChReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "AlphaCh AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowAlphaAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_AlphaChReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_AlphaChReactiveBand") > 4 || target.GetFloat("_AlphaChReactiveMode") > 0 && target.GetFloat("_AlphaChReactiveMode") != 5) + { + if (target.GetFloat("_AlphaChReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_AlphaChReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowAlphaAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Zone selector + void DoSparkleZone() + { + Zone operation = (Zone)target.GetFloat("_SparkleGlowZone"); + EditorGUI.BeginChangeCheck(); + operation = (Zone)EditorGUILayout.EnumPopup(MakeLabel("Zone", "Tooltip Here"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Sparkle Channel Glow Zone"); + target.SetFloat("_SparkleGlowZone", (float)operation); + } + } + + //Sparkle Glow Settings + void DoSparkleGlow() + { + bool showProperties; + if (target.GetFloat("_ShowSparkleGlow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_SparkleGlowMode"); + MaterialProperty Tint = FindProperty("_SparkleGlowTint"); + MaterialProperty MinBrightness = FindProperty("_SparkleGlowMinBrightness"); + MaterialProperty PulseDir = FindProperty("_SparkleGlowPulseDir"); + MaterialProperty PulseScale = FindProperty("_SparkleGlowPulseScale"); + MaterialProperty PulseOffset = FindProperty("_SparkleGlowPulseOffset"); + MaterialProperty PulseCenter = FindProperty("_SparkleGlowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_SparkleGlowAnimationBand"); + MaterialProperty AnimMode = FindProperty("_SparkleGlowAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_SparkleGlowAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_SparkleGlowAnimationStrength"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Sparkle Glow", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowSparkleGlow", 1); + + EditorGUI.indentLevel += 1; + DoSparkleZone(); + + if (target.GetFloat("_SparkleGlowZone") > 0) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + if (target.GetFloat("_SparkleGlowMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + + } + + if (target.GetFloat("_SparkleGlowMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleGlowZone") > 4 || target.GetFloat("_SparkleGlowMode") > 0) + { + editor.ShaderProperty(AnimBand, MakeLabel("Animation Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowSparkleGlow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Sparkle AL Settings + void DoSparkleAL() + { + bool showProperties; + if (target.GetFloat("_ShowSparkleAL") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + MaterialProperty Mode = FindProperty("_SparkleReactiveMode"); + MaterialProperty BlendMode = FindProperty("_SparkleReactiveBlendMode"); + MaterialProperty Tint = FindProperty("_SparkleReactiveTint"); + MaterialProperty MinBrightness = FindProperty("_SparkleReactiveMinBrightness"); + MaterialProperty PulseDir = FindProperty("_SparkleReactivePulseDir"); + MaterialProperty PulseScale = FindProperty("_SparkleReactivePulseScale"); + MaterialProperty PulseOffset = FindProperty("_SparkleReactivePulseOffset"); + MaterialProperty PulseCenter = FindProperty("_SparkleReactiveRadialCenter"); + MaterialProperty Band = FindProperty("_SparkleReactiveBand"); + + //Create Foldout + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Sparkle AudioLink", true, EditorStyles.foldoutHeader); + if (showProperties) + { + target.SetFloat("_ShowSparkleAL", 1); + + EditorGUI.indentLevel += 1; + editor.ShaderProperty(Band, MakeLabel("AudioLink Band")); + + if (target.GetFloat("_SparkleReactiveBand") < 10) + { + editor.ShaderProperty(Mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(BlendMode, MakeLabel("Blend Mode", "Tooltip Here")); + editor.ColorProperty(Tint, "Tint"); + editor.ShaderProperty(MinBrightness, MakeLabel("Min Brightness", "Tooltip Here")); + + if (target.GetFloat("_SparkleReactiveBand") > 4 || target.GetFloat("_SparkleReactiveMode") > 0 && target.GetFloat("_SparkleReactiveMode") != 5) + { + if (target.GetFloat("_SparkleReactiveMode") < 2) + { + editor.ShaderProperty(PulseDir, MakeLabel("Pulse Dir", "Tooltip Here")); + } + editor.ShaderProperty(PulseScale, MakeLabel("Pulse Scale", "Tooltip Here")); + editor.ShaderProperty(PulseOffset, MakeLabel("Pulse Offset", "Tooltip Here")); + } + + if (target.GetFloat("_SparkleReactiveMode") == 2) + { + editor.ShaderProperty(PulseCenter, MakeLabel("Radial Center", "Tooltip Here")); + } + } + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowSparkleAL", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Sparkles + void DoSparkles() + { + bool showProperties; + if (target.GetFloat("_ShowSparkles") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Sparkles", true, EditorStyles.foldoutHeader); + + if (showProperties) + { + EditorGUI.indentLevel += 1; + target.SetFloat("_ShowSparkles", 1); + MaterialProperty tog = FindProperty("_EnableSparkles"); + float toglFl = target.GetFloat("_EnableSparkles"); + editor.ShaderProperty(tog, MakeLabel("Enable Sparkles")); + + if (toglFl == 1) + { + MaterialProperty mode = FindProperty("_SparkleMode"); + MaterialProperty shape = FindProperty("_SparkleShape"); + MaterialProperty maskCh = FindProperty("_SparkleMaskingChannel"); + MaterialProperty color = FindProperty("_SparkleColor"); + MaterialProperty size = FindProperty("_SparkleSize"); + MaterialProperty scale = FindProperty("_SparkleScale"); + MaterialProperty speed = FindProperty("_SparkleSpeed"); + MaterialProperty seed = FindProperty("_SparkleSeed"); + MaterialProperty blendMode = FindProperty("_SparkleBlendMode"); + + editor.ShaderProperty(maskCh, MakeLabel("Masking Channel", "Tooltip Here")); + editor.ShaderProperty(mode, MakeLabel("Mode", "Tooltip Here")); + + if (target.GetFloat("_SparkleMode") > 0) + { + editor.ShaderProperty(blendMode, MakeLabel("Blend Mode", "Tooltip Here")); + } + + editor.ShaderProperty(shape, MakeLabel("Shape", "Tooltip Here")); + editor.ColorProperty(color, "Sparkle Color"); + editor.ShaderProperty(size, MakeLabel("Size", "Tooltip Here")); + editor.ShaderProperty(scale, MakeLabel("Scale", "Tooltip Here")); + editor.ShaderProperty(speed, MakeLabel("Speed", "Tooltip Here")); + editor.ShaderProperty(seed, MakeLabel("Seed", "Tooltip Here")); + + EditorGUI.indentLevel -= 2; + DoSparkleGlow(); + DoSparkleAL(); + EditorGUI.indentLevel += 2; + } + + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowSparkles", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Scrolling Rainbow + void DoRainbow() + { + bool showProperties; + if (target.GetFloat("_ShowRainbow") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Scrolling Rainbow", true, EditorStyles.foldoutHeader); + + if (showProperties) + { + EditorGUI.indentLevel += 1; + target.SetFloat("_ShowRainbow", 1); + MaterialProperty tog = FindProperty("_EnableScrollingRainbow"); + float toglFl = target.GetFloat("_EnableScrollingRainbow"); + editor.ShaderProperty(tog, MakeLabel("Enable Rainbow")); + + if (toglFl == 1) + { + MaterialProperty maskCh = FindProperty("_RainbowMaskingChannel"); + MaterialProperty mode = FindProperty("_RainbowUVMode"); + MaterialProperty hueRange = FindProperty("_RainbowHueRange"); + MaterialProperty hue = FindProperty("_RainbowHue"); + MaterialProperty sat = FindProperty("_RainbowSaturation"); + MaterialProperty val = FindProperty("_RainbowValue"); + MaterialProperty rot = FindProperty("_RainbowRotation"); + MaterialProperty scale = FindProperty("_RainbowScale"); + MaterialProperty curve = FindProperty("_RainbowSpiralCurve"); + MaterialProperty center = FindProperty("_RainbowRadialCenter"); + MaterialProperty AnimBand = FindProperty("_RainbowALAnimationBand"); + MaterialProperty AnimMode = FindProperty("_RainbowALAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_RainbowALAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_RainbowALAnimationStrength"); + + editor.ShaderProperty(maskCh, MakeLabel("Masking Channel", "Tooltip Here")); + editor.ShaderProperty(mode, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(hueRange, MakeLabel("Hue Range", "Tooltip Here")); + editor.ShaderProperty(hue, MakeLabel("Hue")); + editor.ShaderProperty(sat, MakeLabel("Saturation")); + editor.ShaderProperty(val, MakeLabel("Value")); + + if (target.GetFloat("_RainbowUVMode") > 0 && target.GetFloat("_RainbowUVMode") < 3) + { + editor.ShaderProperty(rot, MakeLabel("Rotation")); + } + + editor.ShaderProperty(scale, MakeLabel("Scale")); + + if (target.GetFloat("_RainbowUVMode") == 2) + { + editor.ShaderProperty(curve, MakeLabel("Spiral Curve", "Tooltip Here")); + } + + if (target.GetFloat("_RainbowUVMode") == 1 || target.GetFloat("_RainbowUVMode") == 2) + { + editor.ShaderProperty(center, MakeLabel("Radial Center")); + } + + editor.ShaderProperty(AnimBand, MakeLabel("AudioLink Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowRainbow", 0); + } + EditorGUI.indentLevel -= 2; + } + + //Iridescence + void DoIridescence() + { + bool showProperties; + if (target.GetFloat("_ShowIridescence") == 1) + { + showProperties = true; + } + else + { + showProperties = false; + } + + EditorGUI.indentLevel += 2; + showProperties = EditorGUILayout.Foldout(showProperties, "Iridescence", true, EditorStyles.foldoutHeader); + + if (showProperties) + { + EditorGUI.indentLevel += 1; + target.SetFloat("_ShowIridescence", 1); + MaterialProperty tog = FindProperty("_Enableiridescence"); + float toglFl = target.GetFloat("_Enableiridescence"); + editor.ShaderProperty(tog, MakeLabel("Enable Iridescence")); + + if (toglFl == 1) + { + MaterialProperty maskCh = FindProperty("_IridescentMaskingChannel"); + MaterialProperty mode = FindProperty("_IridescentEmissionMode"); + MaterialProperty mode2 = FindProperty("_IridescentMode2"); + MaterialProperty lightMode = FindProperty("_IridescenceLightMode"); + MaterialProperty intensity = FindProperty("_IridescentIntensity"); + MaterialProperty scale = FindProperty("_IridescentScale"); + MaterialProperty offset = FindProperty("_IridescentOffset"); + MaterialProperty color1 = FindProperty("_IridescentEmissionColor1"); + MaterialProperty color2 = FindProperty("_IridescentEmissionColor2"); + MaterialProperty color3 = FindProperty("_IridescentEmissionColor3"); + MaterialProperty AnimBand = FindProperty("_IridescentALAnimationBand"); + MaterialProperty AnimMode = FindProperty("_IridescentALAnimationMode"); + MaterialProperty AnimSpeed = FindProperty("_IridescentALAnimationSpeed"); + MaterialProperty AnimStr = FindProperty("_IridescentALAnimationStrength"); + + editor.ShaderProperty(maskCh, MakeLabel("Masking Channel", "Tooltip Here")); + editor.ShaderProperty(mode2, MakeLabel("Mode", "Tooltip Here")); + editor.ShaderProperty(mode, MakeLabel("Color Mode", "Tooltip Here")); + editor.ShaderProperty(lightMode, MakeLabel("Light Mode", "Tooltip Here")); + editor.ShaderProperty(intensity, MakeLabel("Intensity", "Tooltip Here")); + editor.ShaderProperty(scale, MakeLabel("Scale")); + editor.ShaderProperty(offset, MakeLabel("Offset")); + if (target.GetFloat("_IridescentEmissionMode") != 2 && target.GetFloat("_IridescentEmissionMode") != 4) + { + editor.ColorProperty(color1, "Color 1"); + editor.ColorProperty(color2, "Color 2"); + editor.ColorProperty(color3, "Color 3"); + } + + editor.ShaderProperty(AnimBand, MakeLabel("AudioLink Band", "Tooltip Here")); + editor.ShaderProperty(AnimMode, MakeLabel("Animation Mode", "Tooltip Here")); + editor.ShaderProperty(AnimSpeed, MakeLabel("Animation Speed", "Tooltip Here")); + editor.ShaderProperty(AnimStr, MakeLabel("Animation Strength", "Tooltip Here")); + } + + EditorGUI.indentLevel -= 1; + } + else + { + target.SetFloat("_ShowIridescence", 0); + } + EditorGUI.indentLevel -= 2; + } + + //BlendOP Selector + void DoBlendOPSelctor() + { + MaterialProperty src = FindProperty("_BlendOPsrc"); + MaterialProperty dst = FindProperty("_BlendOPdst"); + + BlendOP operation = (BlendOP)target.GetFloat("_BlendOPIndex"); + EditorGUI.BeginChangeCheck(); + + operation = (BlendOP)EditorGUILayout.EnumPopup(new GUIContent("Blend Operation"), operation); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Blend Operation"); + target.SetFloat("_BlendOPIndex", (float)operation); + + if (target.GetFloat("_BlendOPIndex") == 0) + { + target.SetFloat("_BlendOPsrc", 5); + target.SetFloat("_BlendOPdst", 10); + } + + if (target.GetFloat("_BlendOPIndex") == 1) + { + target.SetFloat("_BlendOPsrc", 1); + target.SetFloat("_BlendOPdst", 1); + } + + if (target.GetFloat("_BlendOPIndex") == 2) + { + target.SetFloat("_BlendOPsrc", 4); + target.SetFloat("_BlendOPdst", 1); + } + + if (target.GetFloat("_BlendOPIndex") == 3) + { + target.SetFloat("_BlendOPsrc", 2); + target.SetFloat("_BlendOPdst", 0); + } + + } + + } + + void DoMaskClip() + { + MaterialProperty clip = FindProperty("_MaskClipValue"); + + editor.ShaderProperty(clip, MakeLabel("Mask Clip", "Tooltip Here")); + } + + void DoBlendMode() + { + BlendMode mode = (BlendMode)target.GetFloat("_BlendModeIndex"); + + if (target.shader == defaultOpaque || target.shader == noOutlineOpaque) + { + mode = BlendMode.Opaque; + } + + else if (target.shader == defaultCutout || target.shader == noOutlineCutout) + { + mode = BlendMode.Cutout; + } + + else if (target.shader == defaultTransparent || target.shader == noOutlineTransparent) + { + mode = BlendMode.Transparent; + } + + EditorGUI.BeginChangeCheck(); + mode = (BlendMode)EditorGUILayout.EnumPopup(new GUIContent("Rendering Mode"), mode); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Blend Mode"); + target.SetFloat("_BlendModeIndex", (float)mode); + + if (enableOutline is true) + { + if (target.GetFloat("_BlendModeIndex") == 0) + { + editor.SetShader(defaultOpaque); + } + + else if (target.GetFloat("_BlendModeIndex") == 1) + { + editor.SetShader(defaultCutout); + } + + else if (target.GetFloat("_BlendModeIndex") == 2) + { + editor.SetShader(defaultTransparent); + } + } + + else if (enableOutline is false) + { + if (target.GetFloat("_BlendModeIndex") == 0) + { + editor.SetShader(noOutlineOpaque); + } + + else if (target.GetFloat("_BlendModeIndex") == 1) + { + editor.SetShader(noOutlineCutout); + } + + else if (target.GetFloat("_BlendModeIndex") == 2) + { + editor.SetShader(noOutlineTransparent); + } + } + } + } + + void DoOutlineToggle() + { + if (target.shader == defaultTransparent || target.shader == defaultOpaque || target.shader == defaultCutout) + { + enableOutline = true; + } + else + { + enableOutline = false; + } + + EditorGUI.indentLevel += 2; + EditorGUI.BeginChangeCheck(); + EditorGUILayout.Toggle(new GUIContent("Enable Outlines"), enableOutline); + + if (EditorGUI.EndChangeCheck()) + { + editor.RegisterPropertyChangeUndo("Enable Outline"); + if (enableOutline is false) + { + if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Transparent) + { + editor.SetShader(defaultTransparent); + } + else if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Cutout) + { + editor.SetShader(defaultCutout); + } + else if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Opaque) + { + editor.SetShader(defaultOpaque); + } + enableOutline = true; + } + else if (enableOutline is true) + { + if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Transparent) + { + editor.SetShader(noOutlineTransparent); + } + else if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Cutout) + { + editor.SetShader(noOutlineCutout); + } + else if ((BlendMode)target.GetFloat("_BlendModeIndex") == BlendMode.Opaque) + { + editor.SetShader(noOutlineOpaque); + } + enableOutline = false; + } + } + EditorGUI.indentLevel -= 2; + } +} + +#endif \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Editor/UI/FuralityShaderUI.cs.meta b/Packages/com.furality.sylvashader/Editor/UI/FuralityShaderUI.cs.meta new file mode 100644 index 0000000..3561eb3 --- /dev/null +++ b/Packages/com.furality.sylvashader/Editor/UI/FuralityShaderUI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e296b65d0566e0a4fa6c4aad2e703f46 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Editor/furality.sylvashader.Editor.asmdef b/Packages/com.furality.sylvashader/Editor/furality.sylvashader.Editor.asmdef new file mode 100644 index 0000000..0197c40 --- /dev/null +++ b/Packages/com.furality.sylvashader/Editor/furality.sylvashader.Editor.asmdef @@ -0,0 +1,14 @@ +{ + "name": "furality.sylvashader.Editor", + "references": [ + "furality.sylvashader" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "autoReferenced": true, + "overrideReferences": false, + "precompiledReferences": [], + "defineConstraints": [], + "optionalUnityReferences": [] +} \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Editor/furality.sylvashader.Editor.asmdef.meta b/Packages/com.furality.sylvashader/Editor/furality.sylvashader.Editor.asmdef.meta new file mode 100644 index 0000000..feaac12 --- /dev/null +++ b/Packages/com.furality.sylvashader/Editor/furality.sylvashader.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 93c59e5171bf2c74c85bb3d7d9e3ec79 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/License.md b/Packages/com.furality.sylvashader/License.md new file mode 100644 index 0000000..f4d0fb2 --- /dev/null +++ b/Packages/com.furality.sylvashader/License.md @@ -0,0 +1,138 @@ +Copyright 2023 Furality, Inc. + +Licensed under the Furality, Inc. Asset License Version 1.3 (the "License"); +you may not use these asset files except in compliance with the License. +You may obtain a copy of the License at + + https://furality.org/asset-license + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +------- + +Furality, Inc. Asset License Version 1.3 +======================================= +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +This is a license agreement between you and Furality, Inc. that explains how you can use 3D Assets, illustrations, +shaders, and creative tools authored by Furality, Inc. (the "content"). + +By downloading content from Furality, Inc., you accept the terms of this agreement. + +How can I use licensed content? + Notwithstanding use restrictions (see Restricted Uses below) and the rest of the terms of this agreement, + the usage rights granted to you by Furality, Inc. for each asset type are: + + Furality Aqua Shader / Furality Legendary Shader / Furality Luma Shader / Furality Sylva Shader + - You can use this asset for commercial use. + - You can use this asset for personal use. + - You can use this asset in public and/or private avatars uploaded to VRChat. + - You can not share the files alone with any other person. + - You can however repack and distribute the shader package with avatars and avatar accessories that use it. + - You must attribute the use of the shader in the description of any avatars or avatar accessories published for + download with: "This project includes and uses the Furality [Aqua/Legendary/Luma/Sylva] Shader by Furality, Inc. (https://furality.org) with permission." + (chose the appropriate name for the shader used in the [] for the above attribution) + - You can not combine the files into another shader or tool. + - You can not modify the shader files (other than settings defined in properties UI). + - You can not hack, reverse engineer, decompile, disassemble, modify or create derivative works of the shader code or + any part of the shader code. + + + Furality Aqua Runes / Furality Luma Flow / Furality Aqua Substance Painter Tools / Furality Luma Runes / Furality Sylva Substance Painter Tools + - You can use this asset for commercial use. + - You can use this asset for personal use. + - You can modify this asset. + - You can use this asset in public and/or private avatars uploaded to VRChat. + - You can not share the files alone with any other person. + - You can however repack and distribute this asset with avatars and avatar accessories that use it. + + + Furality Aqua Fins (excludes Fins from Furality Online Xperience Asset Packs) + - You can use this asset for commercial use. + - You can use this asset for personal use. + - You can modify this asset. + - You can use this asset in public and/or private avatars uploaded to VRChat. + - You can not share the files alone with any other person. + - You can however repack and distribute this asset with avatars and avatar accessories that use it. + - You must attribute the use of these assets in the description of any avatars or avatar accessories published + for download with: "This project includes and uses the Furality Aqua Fins by Furality, Inc. (https://furality.org) with permission." + + + Furality Badges / Furality BadgeMaker / Furality Online Xperience Asset Packs (First Class / Sponsor Registration Perk) + - You can use this asset for personal use only. + - You can modify this asset. + - You can use this asset in public and/or private avatars uploaded to VRChat on your own account. + - You can not add these assets to other's avatars if they do not own a copy. + - You can not use this asset for commercial use. + However, recording/streaming video of avatars with this asset is permitted even if commercial in nature. + - You can not share the files with any other person. + - You can not repack and distribute the files with other projects. + + + Furality Patreon Assets + - You can use this asset for personal use only. + - You can modify this asset. + - You can use this asset in private avatars uploaded to VRChat on your own account. + - You can not add these assets to other's avatars if they do not own a copy. + - You can not use this asset for commercial use. + However, recording/streaming video of avatars with this asset is permitted even if commercial in nature. + - You can not share the files with any other person. + - You can not repack and distribute the files with other projects. + + +Restricted Uses + - You may not use asset files for any purpose that may be defamatory, threatening, abusive, harmful or invasive of + anyone’s privacy, or that may otherwise violate any law or give rise to civil or other liability. + - You may not use asset files for the purpose of hate, bigotry, to cause harm, to cause fear, promote animal cruelty, + or any politically motivated message or agenda. This includes but is not limited to: modification of the assets + or using the assets in association with such purposes. + - You may not use asset files for any purpose which violates the Furality Online Xperience Code of Conduct found at + https://furality.org/codeofconduct or which violates the VRChat Terms of Use found at https://www.vrchat.com/legal. + - No Standalone File Use. You may not use content in any way that allows others to download content as a standalone file + (meaning just the content file itself, separate from the project or end use). + - No Use in Trademark or Logo. You may not use content (in whole or in part) as the distinctive or distinguishing + feature of a trademark, design mark, tradename, business name, service mark, or logo. Additionally, you shall not be + entitled to register (in any jurisdiction) such content (in whole or in part) as a trademark or rely on any such + registrations, prior use, and/or accrued goodwill to prevent any third party use of the content or any similar + content (including by us, our customers, or the copyright owner of such content). + - No False Representation of Authorship. You may not falsely represent that you are the original creator of an end use + that is made up largely of licensed content. For instance, you cannot create a painting based solely on licensed + content and claim that you are the author. + + +Trademarks + This License does not grant permission to use the trade names, trademarks, service marks, or product names of + Furality, Inc., except as required for attribution statement in the manner described above. + + +Content Withdrawal + Furality, Inc. may discontinue licensing any item covered by this License at any time in its sole discretion. + + +Disclaimer of Warranty + Unless required by applicable law or agreed to in writing, Furality, Inc. provides the asset files on an "AS IS" + BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, + any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. + You are solely responsible for determining the appropriateness of using or redistributing the asset files and + assume any risks associated with Your exercise of permissions under this License. + + +Limitation of Liability + In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless + required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall + Furality, Inc. be liable to you for damages, including any direct, indirect, special, incidental, or consequential + damages of any character arising as a result of this License or out of the use or inability to use the asset files + (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any + and all other commercial damages or losses), even if Furality, Inc. has been advised of the possibility of such damages. + + +General Provisions. + - Assignment. This agreement is personal to you and is not assignable by you without Furality, Inc.'s prior written + consent. Furality, Inc. may assign this agreement, without notice or consent, to any corporate affiliate or to + any successor in interest, provided that such entity agrees to be bound by these terms. + +END OF TERMS AND CONDITIONS diff --git a/Packages/com.furality.sylvashader/README.md b/Packages/com.furality.sylvashader/README.md new file mode 100644 index 0000000..0e88728 --- /dev/null +++ b/Packages/com.furality.sylvashader/README.md @@ -0,0 +1,5 @@ +# Furality Sylva Shader + +Created by Naito for Furality, Inc. + +See LICENSE.txt for license information. diff --git a/Packages/com.furality.sylvashader/README.md.meta b/Packages/com.furality.sylvashader/README.md.meta new file mode 100644 index 0000000..ba6f2ae --- /dev/null +++ b/Packages/com.furality.sylvashader/README.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9b726ebdb74375d45851b26e623441ae +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime.meta b/Packages/com.furality.sylvashader/Runtime.meta new file mode 100644 index 0000000..fc33cda --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: acc920ea525484941bf95a57f7a92d11 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders.meta b/Packages/com.furality.sylvashader/Runtime/Shaders.meta new file mode 100644 index 0000000..e63e08c --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 24ec5cde16354504abc4a39ccf063426 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions.meta new file mode 100644 index 0000000..f75abb7 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 970dc1193023eac46b4402d98b7b1b2a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Applfy Effects.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Applfy Effects.asset new file mode 100644 index 0000000..1a12a4b --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Applfy Effects.asset @@ -0,0 +1,47 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Applfy Effects + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.GetLocalVarNode;9;-700.5,222.5;Inherit;False;8;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionInput;23;-654.7794,150.7719;Inherit;False;Direction;1;6;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;2;-683.5,-102.5;Inherit;False;EffectMaskRGBA;5;3;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;6;24.5,-18.5;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;8;-362.5,-114.5;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionInput;4;-662.5,65.5;Inherit;False;RimlightIN;3;5;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;15;-681.0001,475.9;Inherit;False;Normal;3;1;False;1;0;FLOAT3;0,0,1;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;16;-690.0001,546.9;Inherit;False;EmissionRGBA;5;2;False;1;0;COLOR;0,0,1,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;18;-707.0001,627.9;Inherit;False;8;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionInput;31;-684.7352,392.7436;Inherit;False;MainTex;5;0;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.StaticSwitch;35;-132.2348,160.0436;Inherit;False;Property;_Keyword0;Keyword + 0;40;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT3;0,0,0;False;0;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;5;FLOAT3;0,0,0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;37;-429.5,407.5;Inherit;False;Iridescent + Emission;59;;4160;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93\nNode;AmplifyShaderEditor.FunctionOutput;0;222,-32;Inherit;False;True;-1;Output;0;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;38;200.1693,58.94732;Inherit;False;False;-1;Specular + Out;1;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;39;205.1693,125.9473;Inherit;False;False;-1;Rimlight + Out;2;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionInput;3;-666.5,-11.5;Inherit;False;SpecularIN;3;4;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;40;-363.5,-26.5;Inherit;False;Sparkles;0;;4168;87cacd1a05b93d8488d9cbc3dfb0522e;0;4;167;FLOAT;0;False;118;COLOR;0,0,0,0;False;125;FLOAT3;0,0,0;False;126;FLOAT3;0,0,0;False;3;FLOAT4;0;FLOAT4;179;FLOAT4;186\nNode;AmplifyShaderEditor.FunctionNode;41;-458.5,151.5;Inherit;False;ScrollingRainbow;41;;4187;24412a6d2e3ce6b44834e4b734abb909;0;2;85;FLOAT;0;False;37;COLOR;0,0,0,0;False;1;FLOAT3;0\nWireConnection;6;0;40;0\nWireConnection;6;1;35;0\nWireConnection;8;0;2;0\nWireConnection;35;0;41;0\nWireConnection;0;0;6;0\nWireConnection;38;0;40;179\nWireConnection;39;0;40;186\nWireConnection;40;167;23;0\nWireConnection;40;118;2;0\nWireConnection;40;125;3;0\nWireConnection;40;126;4;0\nWireConnection;41;85;23;0\nWireConnection;41;37;9;0\nASEEND*/\n//CHKSM=D465D197A9BCFDAFEF9D259C14B4BDD5E622E43A" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Applfy Effects.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Applfy Effects.asset.meta new file mode 100644 index 0000000..2d3e157 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Applfy Effects.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86ee36ff59e1113469676c1c5ac8dd3c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/EffectMaskChannel.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/EffectMaskChannel.asset new file mode 100644 index 0000000..ac38ae0 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/EffectMaskChannel.asset @@ -0,0 +1,51 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: EffectMaskChannel + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.SaturateNode;4;-900.125,259.0905;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;5;-1041.815,258.5133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;6;-902.16,325.2282;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;7;-772.9819,323.6529;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;8;-774.9139,391.1782;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;9;-645.736,389.6028;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;18;-1334.407,132.2255;Inherit;False;Masking + Channel;0;4;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;1;-871.5248,-4.80952;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;15;-839.1076,107.5256;Inherit;False;G;1;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;14;-1008.107,13.92563;Inherit;False;R;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;12;-633.625,-4.809491;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;16;-631.1076,107.5256;Inherit;False;B;1;2;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;10;-443.825,-4.809503;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;17;-427.0071,108.8256;Inherit;False;A;1;3;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;11;-194.2249,-3.509503;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;-10.4,-3.9;Inherit;False;True;-1;Output;0;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;20;-1015.907,-64.07452;Inherit;False;Constant;_Float0;Float + 0;0;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-1044.507,115.3254;Inherit;False;1;0;INT;0;False;1;INT;0\nWireConnection;4;0;5;0\nWireConnection;5;0;18;0\nWireConnection;6;0;5;0\nWireConnection;7;0;6;0\nWireConnection;8;0;6;0\nWireConnection;9;0;8;0\nWireConnection;1;0;20;0\nWireConnection;1;1;14;0\nWireConnection;1;2;21;0\nWireConnection;12;0;1;0\nWireConnection;12;1;15;0\nWireConnection;12;2;4;0\nWireConnection;10;0;12;0\nWireConnection;10;1;16;0\nWireConnection;10;2;7;0\nWireConnection;11;0;10;0\nWireConnection;11;1;17;0\nWireConnection;11;2;9;0\nWireConnection;0;0;11;0\nWireConnection;21;0;18;0\nASEEND*/\n//CHKSM=E4FC6FFD19FA0207DB63C9B2DC9780A043085D1D" + m_functionName: + m_description: 'Takes in effect mask RGBA and a channel int and outputs the chosen + chanel as a float + + + Enum should be setup as none,R,G,B,A + + (0,1,2,3,4)' + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/EffectMaskChannel.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/EffectMaskChannel.asset.meta new file mode 100644 index 0000000..600b55a --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/EffectMaskChannel.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9aff8198f8f27794787d8759aa359a04 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Emission Glow.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Emission Glow.asset new file mode 100644 index 0000000..b02caba --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Emission Glow.asset @@ -0,0 +1,64 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Emission Glow + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_EmissionGlowPulseOffset;EmissionGlowPulseOffset;8;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_EmissionGlowPulseDir;EmissionGlowPulseDir;6;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;True;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_EmissionReactivePulseDir;EmissionReactivePulseDir;21;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_EmissionReactivePulseScale;EmissionReactivePulseScale;22;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1641.169;Inherit;False;Property;_EmissionReactivePulseOffset;EmissionReactivePulseOffset;23;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_EmissionGlowTint;EmissionGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;943.8051,-96.44183;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;694.9506,52.47184;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;694.9035,-89.25874;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;692.306,-18.48102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;958.0644,171.209;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;952.0182,103.8052;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1548.955,187.8381;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;1359.381,4.917145;Inherit;False;249;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SaturateNode;160;2048.938,121.3214;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_EmissionReactiveGlobalSmoothing;EmissionReactiveGlobalSmoothing;20;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_EmissionReactiveMode;EmissionReactiveMode;17;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_EmissionGlowPulseScale;EmissionGlowPulseScale;7;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_EmissionGlowAnimationStrength;EmissionGlowAnimationStrength;12;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4021.056,1038.537;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4026.056,1113.537;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3888.056,1103.537;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-3994.227,1211.394;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;673.3701,133.341;Inherit;False;Property;_EmissionReactiveBlendMode;EmissionReactiveBlendMode;18;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;212;3037.403,112.386;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.TFHCGrayscale;214;2222.935,194.8714;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;217;2753.935,189.8714;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;216;2601.935,168.8714;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RelayNode;218;2443.434,312.3715;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.FunctionNode;235;-4335.871,1124.572;Inherit;False;AudioLinkTime;-1;;49;2a2489b8c1c55014d8221ae490666389;0;0;2;FLOAT;0;FLOAT;3\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;213;2677.935,-14.12862;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SmoothstepOpNode;215;2412.634,198.6714;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;71;-872.5198,1548.518;Inherit;False;Property;_EmissionReactiveDelay;EmissionReactiveDelay;16;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;29;-1212.148,99.43227;Inherit;False;Property;_EmissionGlowDelay;EmissionGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_EmissionGlowAnimationMode;EmissionGlowAnimationMode;10;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_EmissionGlowAnimationBand;EmissionGlowAnimationBand;9;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_EmissionGlowAnimationSpeed;EmissionGlowAnimationSpeed;11;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;250;704.5282,-164.5974;Inherit;False;249;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1563.446,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;254;-524.615,1355.773;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;162;1318.198,81.0855;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.ColorNode;123;751.956,1554.6;Inherit;False;Property;_EmissionReactiveTint;EmissionReactiveTint;14;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.GetLocalVarNode;267;2052.306,536.2833;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;268;2270.706,538.8834;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;269;2165.294,376.212;Inherit;False;272;ReactiveBlendmode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;270;2446.686,382.8107;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;2;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;2;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;271;2618.237,452.7764;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;272;917.0981,264.0101;Inherit;False;ReactiveBlendmode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;263;633.0413,1722.038;Inherit;False;254;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;264;867.7951,1722.633;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;266;838.8681,1482.262;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;265;1001.499,1534.978;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;245;274.2659,300.0376;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;246;164.5215,472.6227;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;247;218.0823,397.5463;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;248;461.0825,428.1463;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;249;615.6924,418.2676;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;244;45.45404,298.739;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;259;1494.943,276.3586;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.StepOpNode;261;1647.781,372.4241;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;260;1415.663,363.9202;Inherit;False;254;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;262;1887.89,79.24117;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionNode;229;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;51;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;273;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;54;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;274;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;56;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;277;155.5294,-79.43048;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;275;327.6797,-175.139;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;276;-111.4706,-156.4305;Inherit;False;Property;_EmissionGlowMinBrightness;EmissionGlowMinBrightness;5;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;278;575.6043,1232.054;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;279;747.7546,1136.345;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;282;3061.678,362.8357;Inherit;False;IsAudioLink;-1;;58;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;3714.012,109.4947;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;281;3305.402,183.2052;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.StaticSwitch;284;3516.065,199.8178;Inherit;False;Property;_Keyword0;Keyword + 0;25;0;Create;False;0;0;0;False;0;False;0;0;0;False;_EMISSION;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT4;0,0,0,0;False;0;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;0,0,0,0;False;5;FLOAT4;0,0,0,0;False;6;FLOAT4;0,0,0,0;False;7;FLOAT4;0,0,0,0;False;8;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_EmissionGlowZone;EmissionGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;210;2159.437,455.3668;Inherit;False;Property;_EmissionGlowBlendMode;EmissionGlowBlendMode;4;1;[Enum];Create;True;0;2;Multiply;0;Additive;1;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_EmissionGlowMode;EmissionGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_EmissionGlowRadialCenter;EmissionGlowRadialCenter;13;0;Create;False;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;280;308.6043,1155.054;Inherit;False;Property;_EmissionReactiveMinBrightness;EmissionReactiveMinBrightness;19;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_EmissionReactiveBand;EmissionReactiveBand;15;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_EmissionReactiveRadialCenter;EmissionReactiveRadialCenter;24;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.FunctionInput;211;1994.851,191.6126;Inherit;False;EmissionRGBA;5;0;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RangedFloatNode;285;3270.502,-55.49997;Inherit;False;Property;_ShowEmissGlow;_ShowEmissGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;286;3279.933,21.67258;Inherit;False;Property;_ShowEmissAL;_ShowEmissAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;273;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;274;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;229;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;254;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;2;2;196;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;4;2;196;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;31;2;196;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;13;0;4;0\nWireConnection;12;0;2;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;96;0;76;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;275;0\nWireConnection;121;1;122;0\nWireConnection;121;2;245;0\nWireConnection;70;0;250;0\nWireConnection;70;1;69;0\nWireConnection;147;0;142;0\nWireConnection;147;1;148;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;142;0;121;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;159;0;157;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;262;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;160;0;159;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;160;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;265;0\nWireConnection;153;0;151;0\nWireConnection;153;1;265;0\nWireConnection;152;0;153;0\nWireConnection;132;0;279;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;64;0;61;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;235;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;190;0;194;0\nWireConnection;212;0;213;0\nWireConnection;212;1;217;0\nWireConnection;212;2;271;0\nWireConnection;214;0;211;0\nWireConnection;217;0;216;0\nWireConnection;217;1;218;0\nWireConnection;216;0;164;0\nWireConnection;216;1;215;0\nWireConnection;218;0;211;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;213;0;164;0\nWireConnection;213;1;211;0\nWireConnection;215;0;214;0\nWireConnection;47;0;19;0\nWireConnection;155;0;154;0\nWireConnection;155;1;162;0\nWireConnection;254;0;61;0\nWireConnection;268;0;267;0\nWireConnection;270;0;269;0\nWireConnection;271;0;270;0\nWireConnection;271;1;210;0\nWireConnection;271;2;268;0\nWireConnection;272;0;109;0\nWireConnection;264;0;263;0\nWireConnection;265;0;266;0\nWireConnection;265;1;123;0\nWireConnection;265;2;264;0\nWireConnection;245;0;244;0\nWireConnection;248;0;247;0\nWireConnection;248;1;246;0\nWireConnection;248;2;245;0\nWireConnection;249;0;248;0\nWireConnection;261;0;260;0\nWireConnection;262;0;259;0\nWireConnection;262;1;261;0\nWireConnection;229;6;58;0\nWireConnection;229;10;57;0\nWireConnection;273;6;47;0\nWireConnection;274;6;47;0\nWireConnection;274;10;56;0\nWireConnection;277;0;276;0\nWireConnection;275;0;51;0\nWireConnection;275;3;276;0\nWireConnection;275;4;277;0\nWireConnection;278;0;280;0\nWireConnection;279;0;172;0\nWireConnection;279;3;280;0\nWireConnection;279;4;278;0\nWireConnection;0;0;284;0\nWireConnection;281;0;211;0\nWireConnection;281;1;212;0\nWireConnection;281;2;282;0\nWireConnection;284;0;281;0\nASEEND*/\n//CHKSM=CEE111554201DBC39878FB4FFFA5F3D39D56F5C0" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Emission Glow.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Emission Glow.asset.meta new file mode 100644 index 0000000..4188bed --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Emission Glow.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 54afa6b9051ab4542916c28b088ba9e7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ExponentialSquared_Blend.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ExponentialSquared_Blend.asset new file mode 100644 index 0000000..d62c499 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ExponentialSquared_Blend.asset @@ -0,0 +1,42 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: ExponentialSquared_Blend + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor\n// Available at the Unity + Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=18935\n403.3333;914;1589;583;1275.712;300.7824;1.3;True;False\nNode;AmplifyShaderEditor.SimpleDivideOpNode;3;-365,36.5;Inherit;False;2;0;FLOAT;1;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;5;-534,52.5;Inherit;False;Constant;_Log_e;Log_e;0;0;Create;True;0;0;0;False;0;False;2.71828;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;6;-525,134.5;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;8;-48,145.5;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.NegateNode;11;-655,117.5;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;10;-797,117.5;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;9;-923,109.5;Inherit;False;Density;1;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;12;-668,183.5;Inherit;False;In;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionSwitch;7;103,69.5;Inherit;False;One + Minus;True;0;2;-1;In 0;In 1;Object;-1;9;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.PowerNode;2;-200,72.5;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.PowerNode;1;-390,129.5;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;2;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;306,75;Inherit;False;True;-1;Output;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;3;1;5;0\nWireConnection;6;0;11;0\nWireConnection;6;1;12;0\nWireConnection;8;0;2;0\nWireConnection;11;0;10;0\nWireConnection;10;0;9;0\nWireConnection;7;0;2;0\nWireConnection;7;1;8;0\nWireConnection;2;0;3;0\nWireConnection;2;1;1;0\nWireConnection;1;0;6;0\nWireConnection;0;0;7;0\nASEEND*/\n//CHKSM=7A535E39021C3C7A4982E7760048757168FDDA89" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ExponentialSquared_Blend.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ExponentialSquared_Blend.asset.meta new file mode 100644 index 0000000..1873b83 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ExponentialSquared_Blend.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7792fe74aab0b2f4d8615a784f562aa2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/GetALThemeData.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/GetALThemeData.asset new file mode 100644 index 0000000..019be9e --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/GetALThemeData.asset @@ -0,0 +1,43 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: GetALThemeData + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.FunctionOutput;0;0,0;Inherit;False;True;-1;Output;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nASEEND*/\n//CHKSM=B5862022A26A21081DE178912B72E6565BE5BE2C" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/GetALThemeData.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/GetALThemeData.asset.meta new file mode 100644 index 0000000..c53e60b --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/GetALThemeData.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 23126933371572947a6925a8753aba1d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask A.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask A.asset new file mode 100644 index 0000000..41050f4 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask A.asset @@ -0,0 +1,64 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Glow Mask A + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;True;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;943.8051,-96.44183;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;694.9506,52.47184;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;692.306,-18.48102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1547.846,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;958.0644,171.209;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;952.0182,103.8052;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1548.955,187.8381;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;156;1327.232,78.08554;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4021.056,1038.537;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4026.056,1113.537;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3888.056,1103.537;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;213;2573.935,-54.12862;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;226;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;29;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;227;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;31;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;229;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;36;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.FunctionNode;235;-4335.871,1124.572;Inherit;False;AudioLinkTime;-1;;49;2a2489b8c1c55014d8221ae490666389;0;0;3;FLOAT;0;FLOAT;3;FLOAT;5\nNode;AmplifyShaderEditor.FunctionInput;236;2239.106,62.93915;Inherit;False;GlowAlpha;1;0;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;239;2229.443,136.3846;Inherit;False;IsAudioLink;-1;;51;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;243;-530.2215,1352.511;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;246;1533.015,275.4398;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;248;1889.881,280.0479;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;160;1889.038,181.1214;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;247;1770.248,279.8409;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;250;2056.986,168.9447;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;251;-1910.015,-125.0632;Inherit;False;Constant;_Int2;Int + 2;22;0;Create;True;0;0;0;False;0;False;127;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;252;-1771.517,-125.9923;Inherit;False;uINT127;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;253;-1807.039,22.40173;Inherit;False;252;uINT127;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-4019.227,1202.394;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;254;1490.494,357.2793;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.StepOpNode;255;1637.701,431.9473;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;256;1407.835,427.9482;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;257;1910.538,88.85281;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;258;274.8249,311.9054;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;259;165.0806,484.4906;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;260;218.6414,409.4141;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;261;461.6414,440.0142;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;262;616.2513,430.1354;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;263;46.01307,310.6069;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;694.9035,-89.25874;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;264;698.2192,-160.36;Inherit;False;262;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;1344.381,4.917145;Inherit;False;262;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;265;783.5566,1732.865;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;266;1018.31,1733.46;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;267;989.3829,1493.089;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;268;1152.014,1545.805;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;269;66.57951,-85.81192;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;270;238.7298,-181.5204;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;272;562.7781,1229.067;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;273;734.9284,1133.358;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_AlphaChGlowTint;AlphaChGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_AlphaChGlowZone;AlphaChGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;29;-1212.148,99.43227;Inherit;False;Property;_AlphaChGlowDelay;AlphaChGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_AlphaChGlowMode;AlphaChGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;271;-200.4205,-162.8119;Inherit;False;Property;_AlphaChGlowMinBrightness;AlphaChGlowMinBrightness;4;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_AlphaChGlowPulseDir;AlphaChGlowPulseDir;5;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_AlphaChGlowPulseScale;AlphaChGlowPulseScale;6;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_AlphaChGlowPulseOffset;AlphaChGlowPulseOffset;7;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_AlphaChGlowRadialCenter;AlphaChGlowRadialCenter;12;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_AlphaChGlowAnimationMode;AlphaChGlowAnimationMode;9;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_AlphaChGlowAnimationBand;AlphaChGlowAnimationBand;8;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_AlphaChGlowAnimationSpeed;AlphaChGlowAnimationSpeed;10;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_AlphaChGlowAnimationStrength;AlphaChGlowAnimationStrength;11;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;123;896.4547,1569.16;Inherit;False;Property;_AlphaChReactiveTint;AlphaChReactiveTint;13;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;71;-764.5941,1401.107;Inherit;False;Property;_AlphaChReactiveDelay;AlphaChReactiveDelay;15;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_AlphaChReactiveBand;AlphaChReactiveBand;14;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_AlphaChReactiveGlobalSmoothing;AlphaChReactiveGlobalSmoothing;19;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_AlphaChReactiveMode;AlphaChReactiveMode;16;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;673.3701,133.341;Inherit;False;Property;_AlphaChReactiveBlendMode;AlphaChReactiveBlendMode;17;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;274;295.7781,1152.067;Inherit;False;Property;_AlphaChReactiveMinBrightness;AlphaChReactiveMinBrightness;18;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_AlphaChReactivePulseDir;AlphaChReactivePulseDir;20;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_AlphaChReactiveRadialCenter;AlphaChReactiveRadialCenter;23;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_AlphaChReactivePulseScale;AlphaChReactivePulseScale;21;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1641.169;Inherit;False;Property;_AlphaChReactivePulseOffset;AlphaChReactivePulseOffset;22;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;276;2547.116,-291.0558;Inherit;False;Property;_ShowAlphaGlow;_ShowAlphaGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;277;2556.547,-213.8833;Inherit;False;Property;_ShowAlphaAL;_ShowAlphaAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;3196.24,-45.55735;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;278;2911.831,-22.46951;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;279;2558.831,74.53049;Inherit;False;Property;_EnableAlphaChannel;_EnableAlphaChannel;27;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;226;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;227;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;47;0;19;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;229;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;243;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;2;2;196;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;4;2;196;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;31;2;196;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;13;0;4;0\nWireConnection;12;0;2;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;270;0\nWireConnection;121;1;122;0\nWireConnection;121;2;258;0\nWireConnection;70;0;264;0\nWireConnection;70;1;69;0\nWireConnection;147;0;142;0\nWireConnection;147;1;148;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;142;0;121;0\nWireConnection;155;0;154;0\nWireConnection;155;1;156;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;159;0;157;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;257;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;250;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;268;0\nWireConnection;153;0;151;0\nWireConnection;153;1;268;0\nWireConnection;152;0;153;0\nWireConnection;132;0;273;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;235;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;213;0;164;0\nWireConnection;213;1;236;0\nWireConnection;213;2;239;0\nWireConnection;226;6;47;0\nWireConnection;227;6;47;0\nWireConnection;227;10;56;0\nWireConnection;229;6;58;0\nWireConnection;229;10;57;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;243;0;61;0\nWireConnection;64;0;61;0\nWireConnection;248;0;247;0\nWireConnection;160;0;159;0\nWireConnection;247;0;246;0\nWireConnection;250;0;160;0\nWireConnection;250;1;248;0\nWireConnection;252;0;251;0\nWireConnection;96;0;76;0\nWireConnection;190;0;194;0\nWireConnection;255;0;256;0\nWireConnection;257;0;254;0\nWireConnection;257;1;255;0\nWireConnection;258;0;263;0\nWireConnection;261;0;260;0\nWireConnection;261;1;259;0\nWireConnection;261;2;258;0\nWireConnection;262;0;261;0\nWireConnection;266;0;265;0\nWireConnection;268;0;267;0\nWireConnection;268;1;123;0\nWireConnection;268;2;266;0\nWireConnection;269;0;271;0\nWireConnection;270;0;51;0\nWireConnection;270;3;271;0\nWireConnection;270;4;269;0\nWireConnection;272;0;274;0\nWireConnection;273;0;172;0\nWireConnection;273;3;274;0\nWireConnection;273;4;272;0\nWireConnection;0;0;278;0\nWireConnection;278;1;213;0\nWireConnection;278;2;279;0\nASEEND*/\n//CHKSM=165C2F4079B08CEC76B0816E9458BC11E595F5E0" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask A.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask A.asset.meta new file mode 100644 index 0000000..0b62c5c --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask A.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 478548362e2be0147a09364af3a594af +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask B.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask B.asset new file mode 100644 index 0000000..e931859 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask B.asset @@ -0,0 +1,64 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Glow Mask B + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;True;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;943.8051,-96.44183;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;694.9506,52.47184;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;692.306,-18.48102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1547.846,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;958.0644,171.209;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;952.0182,103.8052;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1548.955,187.8381;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;156;1327.232,78.08554;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4021.056,1038.537;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4026.056,1113.537;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3888.056,1103.537;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;213;2573.935,-54.12862;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;226;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;29;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;227;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;31;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;229;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;36;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.FunctionNode;235;-4335.871,1124.572;Inherit;False;AudioLinkTime;-1;;49;2a2489b8c1c55014d8221ae490666389;0;0;3;FLOAT;0;FLOAT;3;FLOAT;5\nNode;AmplifyShaderEditor.FunctionInput;236;2239.106,62.93915;Inherit;False;GlowAlpha;1;0;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;239;2229.443,136.3846;Inherit;False;IsAudioLink;-1;;51;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;243;-530.2215,1352.511;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;246;1533.015,275.4398;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;248;1889.881,280.0479;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;160;1889.038,181.1214;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;247;1770.248,279.8409;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;250;2056.986,168.9447;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_BlueChGlowTint;BlueChGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_BlueChGlowZone;BlueChGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_BlueChGlowMode;BlueChGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_BlueChGlowRadialCenter;BlueChGlowRadialCenter;12;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_BlueChGlowPulseDir;BlueChGlowPulseDir;5;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_BlueChGlowPulseScale;BlueChGlowPulseScale;6;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_BlueChGlowPulseOffset;BlueChGlowPulseOffset;7;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_BlueChReactiveBand;BlueChReactiveBand;14;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_BlueChReactiveGlobalSmoothing;BlueChReactiveGlobalSmoothing;19;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_BlueChReactiveMode;BlueChReactiveMode;16;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;673.3701,133.341;Inherit;False;Property;_BlueChReactiveBlendMode;BlueChReactiveBlendMode;17;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_BlueChReactivePulseDir;BlueChReactivePulseDir;20;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_BlueChReactiveRadialCenter;BlueChReactiveRadialCenter;23;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_BlueChReactivePulseScale;BlueChReactivePulseScale;21;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1641.169;Inherit;False;Property;_BlueChReactivePulseOffset;BlueChReactivePulseOffset;22;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;29;-1212.148,99.43227;Inherit;False;Property;_BlueChGlowDelay;BlueChGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;251;-1910.015,-125.0632;Inherit;False;Constant;_Int2;Int + 2;22;0;Create;True;0;0;0;False;0;False;127;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;252;-1771.517,-125.9923;Inherit;False;uINT127;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;253;-1807.039,22.40173;Inherit;False;252;uINT127;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;71;-764.5941,1401.107;Inherit;False;Property;_BlueChReactiveDelay;BlueChReactiveDelay;15;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-4019.227,1202.394;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_BlueChGlowAnimationMode;BlueChGlowAnimationMode;9;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_BlueChGlowAnimationBand;BlueChGlowAnimationBand;8;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_BlueChGlowAnimationSpeed;BlueChGlowAnimationSpeed;10;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_BlueChGlowAnimationStrength;BlueChGlowAnimationStrength;11;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;254;1490.494,357.2793;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.StepOpNode;255;1637.701,431.9473;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;256;1407.835,427.9482;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;257;1910.538,88.85281;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;258;274.8249,311.9054;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;259;165.0806,484.4906;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;260;218.6414,409.4141;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;261;461.6414,440.0142;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;262;616.2513,430.1354;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;263;46.01307,310.6069;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;694.9035,-89.25874;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;264;698.2192,-160.36;Inherit;False;262;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;1344.381,4.917145;Inherit;False;262;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;265;783.5566,1732.865;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;266;1018.31,1733.46;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;267;989.3829,1493.089;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;268;1152.014,1545.805;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ColorNode;123;896.4547,1569.16;Inherit;False;Property;_BlueChReactiveTint;BlueChReactiveTint;13;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.SimpleAddOpNode;269;66.57951,-85.81192;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;270;238.7298,-181.5204;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;271;-200.4205,-162.8119;Inherit;False;Property;_BlueChGlowMinBrightness;BlueChGlowMinBrightness;4;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;272;562.7781,1229.067;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;273;734.9284,1133.358;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;274;295.7781,1152.067;Inherit;False;Property;_BlueChReactiveMinBrightness;BlueChReactiveMinBrightness;18;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;3013.24,-56.55735;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;276;2767.333,-231.6884;Inherit;False;Property;_ShowBlueGlow;_ShowBlueGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;277;2776.764,-154.5159;Inherit;False;Property;_ShowBlueAL;_ShowBlueAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;278;2807.048,21.89789;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;279;2534.048,153.8979;Inherit;False;Property;_EnableBlueChannel;_EnableBlueChannel;26;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;226;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;227;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;47;0;19;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;229;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;243;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;2;2;196;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;4;2;196;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;31;2;196;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;13;0;4;0\nWireConnection;12;0;2;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;270;0\nWireConnection;121;1;122;0\nWireConnection;121;2;258;0\nWireConnection;70;0;264;0\nWireConnection;70;1;69;0\nWireConnection;147;0;142;0\nWireConnection;147;1;148;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;142;0;121;0\nWireConnection;155;0;154;0\nWireConnection;155;1;156;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;159;0;157;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;257;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;250;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;268;0\nWireConnection;153;0;151;0\nWireConnection;153;1;268;0\nWireConnection;152;0;153;0\nWireConnection;132;0;273;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;235;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;213;0;164;0\nWireConnection;213;1;236;0\nWireConnection;213;2;239;0\nWireConnection;226;6;47;0\nWireConnection;227;6;47;0\nWireConnection;227;10;56;0\nWireConnection;229;6;58;0\nWireConnection;229;10;57;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;243;0;61;0\nWireConnection;64;0;61;0\nWireConnection;248;0;247;0\nWireConnection;160;0;159;0\nWireConnection;247;0;246;0\nWireConnection;250;0;160;0\nWireConnection;250;1;248;0\nWireConnection;252;0;251;0\nWireConnection;96;0;76;0\nWireConnection;190;0;194;0\nWireConnection;255;0;256;0\nWireConnection;257;0;254;0\nWireConnection;257;1;255;0\nWireConnection;258;0;263;0\nWireConnection;261;0;260;0\nWireConnection;261;1;259;0\nWireConnection;261;2;258;0\nWireConnection;262;0;261;0\nWireConnection;266;0;265;0\nWireConnection;268;0;267;0\nWireConnection;268;1;123;0\nWireConnection;268;2;266;0\nWireConnection;269;0;271;0\nWireConnection;270;0;51;0\nWireConnection;270;3;271;0\nWireConnection;270;4;269;0\nWireConnection;272;0;274;0\nWireConnection;273;0;172;0\nWireConnection;273;3;274;0\nWireConnection;273;4;272;0\nWireConnection;0;0;278;0\nWireConnection;278;1;213;0\nWireConnection;278;2;279;0\nASEEND*/\n//CHKSM=D02B08A6071B46137B1DC3DF01417198FD5B9139" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask B.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask B.asset.meta new file mode 100644 index 0000000..cc532bb --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask B.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c897d3d6706760c4aa331aca0183656e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask G.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask G.asset new file mode 100644 index 0000000..7917106 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask G.asset @@ -0,0 +1,63 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Glow Mask G + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;True;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;943.8051,-96.44183;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;694.9506,52.47184;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;694.9035,-89.25874;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;692.306,-18.48102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1547.846,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;958.0644,171.209;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;952.0182,103.8052;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1548.955,187.8381;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;1359.381,4.917145;Inherit;False;259;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;156;1327.232,78.08554;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4021.056,1038.537;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4026.056,1113.537;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3888.056,1103.537;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-3994.227,1211.394;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;213;2573.935,-54.12862;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;226;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;29;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;227;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;31;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;229;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;36;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.FunctionNode;235;-4335.871,1124.572;Inherit;False;AudioLinkTime;-1;;49;2a2489b8c1c55014d8221ae490666389;0;0;3;FLOAT;0;FLOAT;3;FLOAT;5\nNode;AmplifyShaderEditor.FunctionInput;236;2239.106,62.93915;Inherit;False;GlowAlpha;1;0;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;239;2229.443,136.3846;Inherit;False;IsAudioLink;-1;;51;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;243;-530.2215,1352.511;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_GreenChGlowTint;GreenChGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_GreenChGlowZone;GreenChGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_GreenChGlowMode;GreenChGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_GreenChGlowRadialCenter;GreenChGlowRadialCenter;12;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_GreenChGlowPulseDir;GreenChGlowPulseDir;5;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_GreenChGlowPulseScale;GreenChGlowPulseScale;6;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_GreenChGlowPulseOffset;GreenChGlowPulseOffset;7;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_GreenChGlowAnimationStrength;GreenChGlowAnimationStrength;11;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_GreenChReactiveBand;GreenChReactiveBand;14;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_GreenChReactiveGlobalSmoothing;GreenChReactiveGlobalSmoothing;19;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_GreenChReactiveMode;GreenChReactiveMode;16;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;673.3701,133.341;Inherit;False;Property;_GreenChReactiveBlendMode;GreenChReactiveBlendMode;17;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_GreenChReactivePulseDir;GreenChReactivePulseDir;20;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_GreenChReactiveRadialCenter;GreenChReactiveRadialCenter;23;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_GreenChReactivePulseScale;GreenChReactivePulseScale;21;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1641.169;Inherit;False;Property;_GreenChReactivePulseOffset;GreenChReactivePulseOffset;22;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;160;1889.038,181.1214;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;29;-1212.148,99.43227;Inherit;False;Property;_GreenChGlowDelay;GreenChGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;71;-872.5198,1548.518;Inherit;False;Property;_GreenChReactiveDelay;GreenChReactiveDelay;15;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_GreenChGlowAnimationMode;GreenChGlowAnimationMode;9;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_GreenChGlowAnimationBand;GreenChGlowAnimationBand;8;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_GreenChGlowAnimationSpeed;GreenChGlowAnimationSpeed;10;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;246;1533.015,275.4398;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;248;1889.881,280.0479;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;247;1770.248,279.8409;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;250;2056.986,168.9447;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;265;669.8006,-167.901;Inherit;False;259;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;251;1489.121,347.3373;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.StepOpNode;252;1636.328,422.0054;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;253;1406.462,418.0062;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;254;1909.165,78.9109;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;255;252.2903,301.5961;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;256;142.546,474.1813;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;257;196.1068,399.1048;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;258;439.1068,429.7049;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;259;593.7167,419.8261;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;260;23.47847,300.2976;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;261;810.2747,1736.543;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;262;1045.028,1737.138;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;263;1016.101,1496.767;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;264;1178.732,1549.483;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ColorNode;123;898.9548,1571.26;Inherit;False;Property;_GreenChReactiveTint;GreenChReactiveTint;13;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.SimpleAddOpNode;266;104.7319,-84.07491;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;267;276.8822,-179.7834;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;268;-162.2681,-161.0749;Inherit;False;Property;_GreenChGlowMinBrightness;GreenChGlowMinBrightness;18;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;269;588.6482,1243.415;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;270;760.7985,1147.706;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;271;321.6482,1166.415;Inherit;False;Property;_GreenChReactiveMinBrightness;GreenChReactiveMinBrightness;4;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;2916.24,-67.55735;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;273;2698.769,-190.3598;Inherit;False;Property;_ShowGreenGlow;_ShowGreenGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;274;2708.2,-113.1873;Inherit;False;Property;_ShowGreenAL;_ShowGreenAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;276;2808.064,8.206329;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;275;2513.086,161.7675;Inherit;False;Property;_EnableGreenChannel;_EnableGreenChannel;27;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;226;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;227;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;229;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;243;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;2;2;196;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;4;2;196;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;31;2;196;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;12;0;2;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;96;0;76;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;267;0\nWireConnection;121;1;122;0\nWireConnection;121;2;255;0\nWireConnection;70;0;265;0\nWireConnection;70;1;69;0\nWireConnection;147;0;142;0\nWireConnection;147;1;148;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;142;0;121;0\nWireConnection;155;0;154;0\nWireConnection;155;1;156;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;159;0;157;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;254;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;250;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;264;0\nWireConnection;153;0;151;0\nWireConnection;153;1;264;0\nWireConnection;152;0;153;0\nWireConnection;132;0;270;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;235;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;190;0;194;0\nWireConnection;213;0;164;0\nWireConnection;213;1;236;0\nWireConnection;213;2;239;0\nWireConnection;226;6;47;0\nWireConnection;227;6;47;0\nWireConnection;227;10;56;0\nWireConnection;229;6;58;0\nWireConnection;229;10;57;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;243;0;61;0\nWireConnection;64;0;61;0\nWireConnection;160;0;159;0\nWireConnection;13;0;4;0\nWireConnection;47;0;19;0\nWireConnection;248;0;247;0\nWireConnection;247;0;246;0\nWireConnection;250;0;160;0\nWireConnection;250;1;248;0\nWireConnection;252;0;253;0\nWireConnection;254;0;251;0\nWireConnection;254;1;252;0\nWireConnection;255;0;260;0\nWireConnection;258;0;257;0\nWireConnection;258;1;256;0\nWireConnection;258;2;255;0\nWireConnection;259;0;258;0\nWireConnection;262;0;261;0\nWireConnection;264;0;263;0\nWireConnection;264;1;123;0\nWireConnection;264;2;262;0\nWireConnection;266;0;268;0\nWireConnection;267;0;51;0\nWireConnection;267;3;268;0\nWireConnection;267;4;266;0\nWireConnection;269;0;271;0\nWireConnection;270;0;172;0\nWireConnection;270;3;271;0\nWireConnection;270;4;269;0\nWireConnection;0;0;276;0\nWireConnection;276;1;213;0\nWireConnection;276;2;275;0\nASEEND*/\n//CHKSM=A1A6CA7B36473414E87ABD6F619377F569520627" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask G.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask G.asset.meta new file mode 100644 index 0000000..0f087a6 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask G.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 606a8351858678940b5c2b769456253b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask R.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask R.asset new file mode 100644 index 0000000..36c8741 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask R.asset @@ -0,0 +1,63 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Glow Mask R + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;True;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;943.8051,-96.44183;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;694.9506,52.47184;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;694.9035,-89.25874;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1547.846,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;958.0644,171.209;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;952.0182,103.8052;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;1359.381,4.917145;Inherit;False;258;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;156;1327.232,78.08554;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4021.056,1038.537;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4026.056,1113.537;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3888.056,1103.537;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-3994.227,1211.394;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;213;2573.935,-54.12862;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;226;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;29;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;227;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;31;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;229;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;36;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.FunctionNode;235;-4335.871,1124.572;Inherit;False;AudioLinkTime;-1;;49;2a2489b8c1c55014d8221ae490666389;0;0;3;FLOAT;0;FLOAT;3;FLOAT;5\nNode;AmplifyShaderEditor.FunctionInput;236;2239.106,62.93915;Inherit;False;GlowAlpha;1;0;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;239;2229.443,136.3846;Inherit;False;IsAudioLink;-1;;51;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_RedChGlowTint;RedChGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_RedChGlowMode;RedChGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_RedChGlowRadialCenter;RedChGlowRadialCenter;12;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_RedChGlowPulseDir;RedChGlowPulseDir;5;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_RedChGlowPulseScale;RedChGlowPulseScale;6;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_RedChGlowPulseOffset;RedChGlowPulseOffset;7;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_RedChGlowAnimationStrength;RedChGlowAnimationStrength;11;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_RedChReactiveGlobalSmoothing;RedChReactiveGlobalSmoothing;19;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_RedChReactiveMode;RedChReactiveMode;16;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;673.3701,133.341;Inherit;False;Property;_RedChReactiveBlendMode;RedChReactiveBlendMode;17;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_RedChReactivePulseDir;RedChReactivePulseDir;20;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_RedChReactiveRadialCenter;RedChReactiveRadialCenter;23;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_RedChReactivePulseScale;RedChReactivePulseScale;21;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1641.169;Inherit;False;Property;_RedChReactivePulseOffset;RedChReactivePulseOffset;22;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_RedChGlowZone;RedChGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_RedChReactiveBand;RedChReactiveBand;14;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;243;-530.2215,1352.511;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;71;-754.019,1400.564;Inherit;False;Property;_RedChReactiveDelay;RedChReactiveDelay;15;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;29;-1160.148,108.4323;Inherit;False;Property;_RedChGlowDelay;RedChGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_RedChGlowAnimationMode;RedChGlowAnimationMode;9;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_RedChGlowAnimationBand;RedChGlowAnimationBand;8;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_RedChGlowAnimationSpeed;RedChGlowAnimationSpeed;10;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1548.955,187.8381;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;160;1784.39,198.3853;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;692.306,-18.48102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;260;684.6461,-167.6521;Inherit;False;258;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;265;1512.342,274.6436;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;266;1869.208,279.2517;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;267;1749.575,279.0447;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;268;2036.313,168.1485;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;261;1484.268,351.9891;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.StepOpNode;262;1631.475,426.6572;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;263;1401.609,422.658;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;264;1904.312,83.56258;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;254;250.8916,300.1152;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;255;141.1472,472.7004;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;256;194.708,397.6239;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;257;437.7081,428.224;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;258;592.3179,418.3452;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;259;22.07969,298.8167;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;250;751.5593,1763.563;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;251;986.313,1764.158;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;252;957.3859,1523.787;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;253;1120.017,1576.503;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ColorNode;123;897.5549,1592.86;Inherit;False;Property;_RedChReactiveTint;RedChReactiveTint;13;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.SimpleAddOpNode;269;103.2213,-90.419;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;270;275.3716,-186.1276;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;271;-163.7787,-167.4191;Inherit;False;Property;_RedChGlowMinBrightness;RedChGlowMinBrightness;4;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;272;593.2908,1242.026;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;273;765.4411,1146.317;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;274;326.291,1165.026;Inherit;False;Property;_RedChReactiveMinBrightness;RedChReactiveMinBrightness;18;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;3012.24,-73.55735;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;276;2521.641,-268.4475;Inherit;False;Property;_ShowRedGlow;_ShowRedGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;277;2531.072,-191.275;Inherit;False;Property;_ShowRedAL;_ShowRedAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;280;2812.356,-56.86121;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;279;2551.356,67.13879;Inherit;False;Property;_EnableRedChannel;_EnableRedChannel;27;1;[ToggleUI];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;226;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;227;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;229;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;243;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;2;2;196;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;4;2;196;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;31;2;196;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;13;0;4;0\nWireConnection;12;0;2;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;96;0;76;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;270;0\nWireConnection;121;1;122;0\nWireConnection;121;2;254;0\nWireConnection;70;0;260;0\nWireConnection;70;1;69;0\nWireConnection;147;0;142;0\nWireConnection;147;1;148;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;155;0;154;0\nWireConnection;155;1;156;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;264;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;268;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;253;0\nWireConnection;153;0;151;0\nWireConnection;153;1;253;0\nWireConnection;152;0;153;0\nWireConnection;132;0;273;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;235;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;190;0;194;0\nWireConnection;213;0;164;0\nWireConnection;213;1;236;0\nWireConnection;213;2;239;0\nWireConnection;226;6;47;0\nWireConnection;227;6;47;0\nWireConnection;227;10;56;0\nWireConnection;229;6;58;0\nWireConnection;229;10;57;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;243;0;61;0\nWireConnection;64;0;61;0\nWireConnection;47;0;19;0\nWireConnection;159;0;157;0\nWireConnection;160;0;159;0\nWireConnection;142;0;121;0\nWireConnection;266;0;267;0\nWireConnection;267;0;265;0\nWireConnection;268;0;160;0\nWireConnection;268;1;266;0\nWireConnection;262;0;263;0\nWireConnection;264;0;261;0\nWireConnection;264;1;262;0\nWireConnection;254;0;259;0\nWireConnection;257;0;256;0\nWireConnection;257;1;255;0\nWireConnection;257;2;254;0\nWireConnection;258;0;257;0\nWireConnection;251;0;250;0\nWireConnection;253;0;252;0\nWireConnection;253;1;123;0\nWireConnection;253;2;251;0\nWireConnection;269;0;271;0\nWireConnection;270;0;51;0\nWireConnection;270;3;271;0\nWireConnection;270;4;269;0\nWireConnection;272;0;274;0\nWireConnection;273;0;172;0\nWireConnection;273;3;274;0\nWireConnection;273;4;272;0\nWireConnection;0;0;280;0\nWireConnection;280;1;213;0\nWireConnection;280;2;279;0\nASEEND*/\n//CHKSM=8B47138D51FB2414E6D008237BAE6E3144DBB606" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask R.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask R.asset.meta new file mode 100644 index 0000000..d2d300b --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask R.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d6c16c5307a83ea46a2b5dd62e5b27c2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask Sparkles.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask Sparkles.asset new file mode 100644 index 0000000..61e92d1 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask Sparkles.asset @@ -0,0 +1,66 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Glow Mask Sparkles + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;True;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;943.8051,-96.44183;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;694.9506,52.47184;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;692.306,-18.48102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1547.846,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;958.0644,171.209;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;952.0182,103.8052;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1548.955,187.8381;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;156;1327.232,78.08554;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4021.056,1038.537;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4026.056,1113.537;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3888.056,1103.537;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;213;2573.935,-54.12862;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;226;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;29;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;227;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;31;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;229;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;36;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.FunctionNode;235;-4335.871,1124.572;Inherit;False;AudioLinkTime;-1;;49;2a2489b8c1c55014d8221ae490666389;0;0;2;FLOAT;0;FLOAT;3\nNode;AmplifyShaderEditor.FunctionNode;239;2229.443,136.3846;Inherit;False;IsAudioLink;-1;;51;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;243;-530.2215,1352.511;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;246;1533.015,275.4398;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;248;1889.881,280.0479;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;160;1889.038,181.1214;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;247;1770.248,279.8409;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;250;2056.986,168.9447;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;251;-1910.015,-125.0632;Inherit;False;Constant;_Int2;Int + 2;22;0;Create;True;0;0;0;False;0;False;127;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;252;-1771.517,-125.9923;Inherit;False;uINT127;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;253;-1807.039,22.40173;Inherit;False;252;uINT127;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-4019.227,1202.394;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;254;1490.494,357.2793;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.StepOpNode;255;1637.701,431.9473;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;257;1910.538,88.85281;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;259;165.0806,484.4906;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;260;218.6414,409.4141;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;261;461.6414,440.0142;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;262;616.2513,430.1354;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;694.9035,-89.25874;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;264;698.2192,-160.36;Inherit;False;262;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;1344.381,4.917145;Inherit;False;262;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;265;783.5566,1732.865;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;266;1018.31,1733.46;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;267;989.3829,1493.089;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;268;1152.014,1545.805;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;269;66.57951,-85.81192;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;270;238.7298,-181.5204;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;272;562.7781,1229.067;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;273;734.9284,1133.358;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_SparkleGlowTint;SparkleGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_SparkleGlowZone;SparkleGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;29;-1212.148,99.43227;Inherit;False;Property;_SparkleGlowDelay;SparkleGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_SparkleGlowMode;SparkleGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;271;-200.4205,-162.8119;Inherit;False;Property;_SparkleGlowMinBrightness;SparkleGlowMinBrightness;4;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_SparkleGlowPulseDir;SparkleGlowPulseDir;5;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_SparkleGlowPulseScale;SparkleGlowPulseScale;6;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_SparkleGlowRadialCenter;SparkleGlowRadialCenter;12;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_SparkleGlowPulseOffset;SparkleGlowPulseOffset;7;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_SparkleGlowAnimationMode;SparkleGlowAnimationMode;9;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_SparkleGlowAnimationBand;SparkleGlowAnimationBand;8;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_SparkleGlowAnimationSpeed;SparkleGlowAnimationSpeed;10;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_SparkleGlowAnimationStrength;SparkleGlowAnimationStrength;11;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;123;896.4547,1569.16;Inherit;False;Property;_SparkleReactiveTint;SparkleReactiveTint;13;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;71;-764.5941,1401.107;Inherit;False;Property;_SparkleReactiveDelay;SparkleReactiveDelay;15;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_SparkleReactiveBand;SparkleReactiveBand;14;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_SparkleReactiveMode;SparkleReactiveMode;16;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;673.3701,133.341;Inherit;False;Property;_SparkleReactiveBlendMode;SparkleReactiveBlendMode;17;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;274;295.7781,1152.067;Inherit;False;Property;_SparkleReactiveMinBrightness;SparkleReactiveMinBrightness;18;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_SparkleReactiveGlobalSmoothing;SparkleReactiveGlobalSmoothing;19;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_SparkleReactivePulseDir;SparkleReactivePulseDir;20;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_SparkleReactiveRadialCenter;SparkleReactiveRadialCenter;23;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_SparkleReactivePulseScale;SparkleReactivePulseScale;21;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1640.169;Inherit;False;Property;_SparkleReactivePulseOffset;SparkleReactivePulseOffset;22;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;236;2239.106,62.93915;Inherit;False;Sparkles;1;0;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;2927.54,-70.25735;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;275;2745.643,-72.05649;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;276;2579.244,-137.0565;Inherit;False;Constant;_Float5;Float + 5;24;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;256;1407.835,427.9482;Inherit;False;243;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;258;274.8249,311.9054;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;263;46.01307,310.6069;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;277;1623.334,542.1123;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;278;1394.522,540.8138;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;279;1839.128,469.9631;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;281;2316.656,273.7573;Inherit;False;Constant;_Float8;Float + 8;24;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;280;2492.372,284.2222;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;282;2258.597,-261.5186;Inherit;False;Property;_ShowSparkleGlow;_ShowSparkleGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;283;2268.028,-184.346;Inherit;False;Property;_ShowSparkleAL;_ShowSparkleAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;226;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;227;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;47;0;19;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;229;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;243;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;2;2;196;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;4;2;196;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;31;2;196;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;13;0;4;0\nWireConnection;12;0;2;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;270;0\nWireConnection;121;1;122;0\nWireConnection;121;2;258;0\nWireConnection;70;0;264;0\nWireConnection;70;1;69;0\nWireConnection;147;0;142;0\nWireConnection;147;1;148;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;142;0;121;0\nWireConnection;155;0;154;0\nWireConnection;155;1;156;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;159;0;157;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;257;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;250;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;268;0\nWireConnection;153;0;151;0\nWireConnection;153;1;268;0\nWireConnection;152;0;153;0\nWireConnection;132;0;273;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;235;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;213;0;280;0\nWireConnection;213;1;236;0\nWireConnection;226;6;47;0\nWireConnection;227;6;47;0\nWireConnection;227;10;56;0\nWireConnection;229;6;58;0\nWireConnection;229;10;57;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;243;0;61;0\nWireConnection;64;0;61;0\nWireConnection;248;0;247;0\nWireConnection;160;0;159;0\nWireConnection;247;0;246;0\nWireConnection;250;0;160;0\nWireConnection;250;1;248;0\nWireConnection;252;0;251;0\nWireConnection;96;0;76;0\nWireConnection;190;0;194;0\nWireConnection;255;0;256;0\nWireConnection;257;0;254;0\nWireConnection;257;1;255;0\nWireConnection;261;0;260;0\nWireConnection;261;1;259;0\nWireConnection;261;2;258;0\nWireConnection;262;0;261;0\nWireConnection;266;0;265;0\nWireConnection;268;0;267;0\nWireConnection;268;1;123;0\nWireConnection;268;2;266;0\nWireConnection;269;0;271;0\nWireConnection;270;0;51;0\nWireConnection;270;3;271;0\nWireConnection;270;4;269;0\nWireConnection;272;0;274;0\nWireConnection;273;0;172;0\nWireConnection;273;3;274;0\nWireConnection;273;4;272;0\nWireConnection;0;0;275;0\nWireConnection;275;0;276;0\nWireConnection;275;1;213;0\nWireConnection;275;2;239;0\nWireConnection;258;0;263;0\nWireConnection;277;0;278;0\nWireConnection;279;0;255;0\nWireConnection;279;1;277;0\nWireConnection;280;0;122;0\nWireConnection;280;1;164;0\nWireConnection;280;2;279;0\nASEEND*/\n//CHKSM=C4AEE4A71B05BE190883CFFFC414011FAFF7E96C" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask Sparkles.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask Sparkles.asset.meta new file mode 100644 index 0000000..ac68db5 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Glow Mask Sparkles.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f383a92725cc5cb44bca208383c6f28a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Data.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Data.asset new file mode 100644 index 0000000..bcaef38 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Data.asset @@ -0,0 +1,46 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Gradient Data + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;1;-366.6719,-15.27569;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;4;-529.6719,-24.27569;Inherit;False;Constant;_Int0;Int + 0;19;0;Create;True;0;0;0;False;0;False;59;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;-24,-13;Inherit;False;True;-1;Output;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.CustomExpressionNode;2;-221.8098,-14.39726;Inherit;False;AudioLinkData( + ALPASS_AUDIOLINK + uint2( Delay, Band ) );3;Create;2;True;Band;INT;0;In;;Inherit;False;True;Delay;INT;0;In;;Inherit;False;LumaGlowData;True;False;0;;False;2;0;INT;0;False;1;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;10;-356.5,75.5;Inherit;False;Delay;0;1;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;6;-839.5,45.5;Inherit;False;Gradient + Zone;0;0;False;1;0;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.ClampOpNode;8;-666.5,50.5;Inherit;False;3;0;INT;0;False;1;INT;1;False;2;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;3;-528.6719,50.72436;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nWireConnection;1;0;4;0\nWireConnection;1;1;3;0\nWireConnection;0;0;2;0\nWireConnection;2;0;1;0\nWireConnection;2;1;10;0\nWireConnection;8;0;6;0\nWireConnection;3;0;8;0\nASEEND*/\n//CHKSM=DAEA9FAED1558B52781628FC568D88C20A58B14C" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 0.10617697, g: 1, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Data.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Data.asset.meta new file mode 100644 index 0000000..78b6c74 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Data.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1f419ba0e99535845b5ae4443bd545a7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Lerp.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Lerp.asset new file mode 100644 index 0000000..3a98bf4 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Lerp.asset @@ -0,0 +1,46 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Gradient Lerp + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;1;-366.6719,-15.27569;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;4;-529.6719,-24.27569;Inherit;False;Constant;_Int0;Int + 0;19;0;Create;True;0;0;0;False;0;False;59;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;6;-839.5,45.5;Inherit;False;Gradient + Zone;0;0;False;1;0;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.ClampOpNode;8;-666.5,50.5;Inherit;False;3;0;INT;0;False;1;INT;1;False;2;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;3;-528.6719,50.72436;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;11;-218.25,-16.88785;Inherit;False;AudioLinkLerp( + ALPASS_AUDIOLINK + float2( Delay, Band ) );3;Create;2;True;Band;INT;0;In;;Inherit;False;True;Delay;FLOAT;0;In;;Inherit;False;LumaGlowLerp;True;False;0;;False;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;14;39.75,-39.88779;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;0;229,-44;Inherit;False;True;-1;Output;0;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;13;-207.25,73.11221;Inherit;False;IsLumaGlow;-1;;2;87b97d6de6c802f4a9716e1ca7102272;0;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;12;-234.25,-84.88779;Inherit;False;ColorChordStrip;-1;;1;cfa8e3a605f54d2409f0ae5a9706c295;0;1;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleDivideOpNode;16;-361.25,-107.8878;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;10;-524.5,148.5;Inherit;False;Delay;1;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;1;0;4;0\nWireConnection;1;1;3;0\nWireConnection;8;0;6;0\nWireConnection;3;0;8;0\nWireConnection;11;0;1;0\nWireConnection;11;1;10;0\nWireConnection;14;0;12;0\nWireConnection;14;1;11;0\nWireConnection;14;2;13;0\nWireConnection;0;0;14;0\nWireConnection;12;2;16;0\nWireConnection;16;0;10;0\nASEEND*/\n//CHKSM=AE74AD528375EAA59094534EF2BE9565A54BA9A7" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Lerp.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Lerp.asset.meta new file mode 100644 index 0000000..5adce5f --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Gradient Lerp.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fc7913a54cefbc44bbb0d14de09f2d4c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Hash 31.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Hash 31.asset new file mode 100644 index 0000000..f87a3fa --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Hash 31.asset @@ -0,0 +1,43 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Hash 31 + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;5;-1193.376,82.37167;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0.1031,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionInput;3;-1534.376,75.37167;Inherit;False;Input;3;0;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FractNode;4;-1065.375,83.37167;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SwizzleNode;10;-915.4573,166.7066;Inherit;False;FLOAT3;2;1;0;3;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;11;-765.4575,170.7066;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;31.32,31.32,31.32;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.DotProductOpNode;6;-644.4576,83.70663;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;15;-517.0516,1.641338;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;16;-400.6993,1.650757;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.SimpleAddOpNode;17;-257.6993,3.650757;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;18;-132.6993,28.65076;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FractNode;12;20.94861,29.44135;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;311,30;Inherit;False;True;-1;Output;0;True;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;5;0;3;0\nWireConnection;4;0;5;0\nWireConnection;10;0;4;0\nWireConnection;11;0;10;0\nWireConnection;6;0;4;0\nWireConnection;6;1;11;0\nWireConnection;15;0;4;0\nWireConnection;15;1;6;0\nWireConnection;16;0;15;0\nWireConnection;17;0;16;0\nWireConnection;17;1;16;1\nWireConnection;18;0;17;0\nWireConnection;18;1;16;2\nWireConnection;12;0;18;0\nWireConnection;0;0;12;0\nASEEND*/\n//CHKSM=5BE87E8ED19842517CBB13402D95257A837AFFD3" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Hash 31.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Hash 31.asset.meta new file mode 100644 index 0000000..1f1c423 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Hash 31.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3994f89d1f5ce3945ab45cc6aa99c336 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Iridescent Emission.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Iridescent Emission.asset new file mode 100644 index 0000000..f769525 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Iridescent Emission.asset @@ -0,0 +1,59 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Iridescent Emission + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.RGBToHSVNode;86;1508.112,276.1087;Inherit;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.RGBToHSVNode;85;1507.347,135.9043;Inherit;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.HSVToRGBNode;87;1889.961,156.3564;Inherit;True;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.SimpleAddOpNode;101;1747.294,-177.7287;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;125;1723.245,-503.1356;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.HSVToRGBNode;126;1884.845,-498.3356;Inherit;True;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.LerpOp;127;3871.061,295.5015;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;147;1155.704,63.751;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;150;1130.912,391.5963;Inherit;False;149;Colors;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;36;-3245.882,841.8719;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;29;-3004.082,200.972;Inherit;False;Property;_IridescentEmissionColor1;Iridescent + Emission Color 1;2;0;Create;True;0;0;0;False;0;False;1,0,0,0;0,0.5657747,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.ColorNode;28;-2993.781,383.4822;Inherit;False;Property;_IridescentEmissionColor2;Iridescent + Emission Color 2;3;0;Create;True;0;0;0;False;0;False;0,1,0,0;0.3075552,0,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.SimpleTimeNode;63;-4055.86,1405.983;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;66;-4089.831,1305.195;Inherit;False;4BandChronotensity;-1;;39;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.StepOpNode;68;-4054.031,1569.84;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;39;-3072.341,839.9147;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SinOpNode;78;-3737.318,710.2762;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;74;-3473.939,743.2378;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;34;-3341.887,743.0109;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;2;False;1;FLOAT;0\nNode;AmplifyShaderEditor.AbsOpNode;80;-3597.633,725.5975;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;69;-4450.617,1251.35;Inherit;False;Property;_IridescentALAnimationMode;IridescentALAnimationMode;6;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;70;-4447.653,1332.488;Inherit;False;Property;_IridescentALAnimationBand;IridescentALAnimationBand;5;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;71;-4450.617,1414.432;Inherit;False;Property;_IridescentALAnimationSpeed;IridescentALAnimationSpeed;7;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;41;-2920.938,743.7762;Inherit;False;ExponentialSquared_Blend;-1;;52;7792fe74aab0b2f4d8615a784f562aa2;1,7,1;2;12;FLOAT;0;False;9;FLOAT;2.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;62;-2873.713,1326.547;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;118;-3557.373,1451.735;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;119;-3768.89,1401.839;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;120;-3777.705,1471.874;Inherit;False;AudioLinkTime;-1;;56;2a2489b8c1c55014d8221ae490666389;0;0;3;FLOAT;0;FLOAT;3;FLOAT;5\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;122;-3747.575,1309.934;Inherit;False;2;2;0;FLOAT;0;False;1;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;123;-3198.972,1341.735;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;72;-3510.286,1277.744;Inherit;False;Property;_IridescentALAnimationStrength;IridescentALAnimationStrength;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;117;-3769.374,1584.735;Inherit;False;IsAudioLink;-1;;57;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;121;-3363.089,1360.839;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;64;-4060.86,1480.983;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;65;-3922.86,1470.983;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;26;-2508.59,441.1828;Inherit;True;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ColorNode;33;-2522.291,663.2867;Inherit;False;Property;_IridescentEmissionColor3;Iridescent + Emission Color 3;4;0;Create;True;0;0;0;False;0;False;0,0,1,0;0.5496912,0,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.FunctionNode;38;-2584.546,866.0764;Inherit;False;ExponentialSquared_Blend;-1;;58;7792fe74aab0b2f4d8615a784f562aa2;1,7,1;2;12;FLOAT;0;False;9;FLOAT;4;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;32;-2177.053,612.8093;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RelayNode;47;-3237.369,1021.453;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;73;-2474.824,1000.379;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;110;-1846.01,624.8248;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;134;-2057.579,717.7205;Inherit;False;132;Intensity;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;135;-1834.272,724.248;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionInput;44;-2039.674,795.0095;Inherit;False;EmissionRGBA;5;6;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;149;-1880.368,539.9376;Inherit;False;Colors;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;51;-747.4004,789.2911;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;54;-353.8004,720.4915;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;46;-565.0203,653.5294;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;52;-750.6005,856.4913;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;53;-622.6005,858.0914;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;89;-5.257479,726.1517;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;43;222.8026,686.9852;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;82;417.3766,661.8511;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.StaticSwitch;108;700.8456,955.8887;Inherit;False;Property;_Keyword0;Keyword + 0;12;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-438.4574,937.2518;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;91;-310.4574,938.8519;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;45;-734.2205,1021.93;Inherit;False;Simple + HUE;-1;;59;32abb5f0db087604486c2db83a2e817a;0;1;1;FLOAT;0;False;4;FLOAT3;6;FLOAT;7;FLOAT;5;FLOAT;8\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;113;-554.2114,1018.09;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.IntNode;49;-989.4193,788.3298;Inherit;False;Property;_IridescentEmissionMode;Iridescent + Emission Mode;0;1;[Enum];Create;True;0;6;Iridescent Colors;0;Emission Multiply;1;Rainbow;2;Texture + HueSelect;3;Holographic;4;Texture HueShift;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;130;-1521.499,1031.811;Inherit;False;AnimatedDot;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;56;-621.5143,1235.479;Inherit;False;EffectMaskRGBA;5;7;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;57;-440.7142,1238.679;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.FunctionNode;55;-287.1143,1243.479;Inherit;False;EffectMaskChannel;-1;;60;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;59;-567.0142,1379.379;Inherit;False;Property;_IridescentMaskingChannel;Iridescent + Masking Channel;1;1;[Enum];Create;True;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;133;-729.9634,1169.004;Inherit;False;132;Intensity;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;50;-1584.788,700.0361;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;139;785.5494,868.0519;Inherit;False;135;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;140;60.33298,1233.733;Inherit;False;EffectMask;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;136;189.2078,609.5365;Inherit;False;135;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;142;-348.7234,836.8315;Inherit;False;135;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;143;-300.1142,1007.946;Inherit;False;ModeTransfer;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;145;-148.0149,931.2462;Inherit;False;ModeTransferSat;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RGBToHSVNode;124;1402.628,-511.7723;Inherit;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.GetLocalVarNode;148;1220.954,-514.1987;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;3342.571,320.6779;Inherit;False;152;Hueshift;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;96;3354.091,195.7211;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;128;3236.544,400.5385;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;129;3389.125,391.6676;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;97;3043.23,318.8417;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;98;3171.23,318.6676;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;144;2847.802,321.4512;Inherit;False;143;ModeTransfer;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;155;2850.582,230.7917;Inherit;False;153;Holographic;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;92;2550.76,183.0061;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionInput;84;1005.33,67.50333;Inherit;False;MainTex;5;4;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RGBToHSVNode;99;1458.177,-77.86568;Inherit;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.SimpleAddOpNode;75;-3897.174,685.973;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;81;-4242.121,652.4031;Inherit;False;62;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.WorldReflectionVector;17;-6462.615,482.7991;Inherit;False;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.SimpleAddOpNode;3;-6197.035,621.2076;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.ViewDirInputsCoordNode;19;-6060.24,716.0433;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.NormalizeNode;4;-6024.035,631.4075;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.ViewDirInputsCoordNode;5;-6443.834,627.3077;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.FunctionInput;21;-6704.089,483.265;Inherit;False;Tangent + Normal;3;5;False;1;0;FLOAT3;0,0,1;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;170;-6709.481,548.1391;Inherit;False;wNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;175;-5064.77,728.3629;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.DotProductOpNode;18;-5844.672,668.8987;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;181;-5107.253,1168.439;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;179;-4785.216,729.9631;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;192;-5118.164,1047.861;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SmoothstepOpNode;194;-5660.133,1005.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;-0.125;False;2;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;197;-5626.912,795.9713;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;198;-5318.054,781.7173;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.HSVToRGBNode;100;2150.822,-185.0251;Inherit;True;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.GetLocalVarNode;200;2209.297,-268.4283;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;163;2203.587,63.26856;Inherit;False;132;Intensity;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;199;2448.536,-202.5703;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;202;1933.703,-237.7264;Inherit;False;132;Intensity;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;201;1903.244,-561.2029;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;203;2206.6,-500.2771;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;206;1922.126,79.15584;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;205;2142.178,123.8123;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;162;2363.21,105.3364;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;131;1358.697,-223.9877;Inherit;False;130;AnimatedDot;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;165;-6601.721,877.3445;Inherit;False;Light + Dir;3;3;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;171;-6626.492,1117.323;Inherit;False;170;wNorm;1;0;OBJECT;;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.WorldNormalVector;169;-6255.857,1026.922;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.DotProductOpNode;177;-5993.18,1024.931;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;182;-5864.881,1031.377;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;178;-5621.471,1289.55;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;180;-5625.346,1356.704;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;174;-5835.849,1286.968;Inherit;False;Property;_IridescentMode2;Iridescent + Mode 2;13;1;[Enum];Create;True;0;3;Facing;0;Reflection;1;Light Direction;2;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;207;-5658.071,1125.422;Inherit;False;Attenuation;1;2;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;208;-5481.368,1009.299;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ViewDirInputsCoordNode;166;-6621.328,966.2255;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.SimpleAddOpNode;167;-6406.95,922.3175;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.NormalizeNode;168;-6264.896,921.0265;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.DotProductOpNode;172;-6001.014,927.5923;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;183;-5855.7,925.7363;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;209;-5688.133,915.766;Inherit;False;Specular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;210;-4409.758,726.7179;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;211;-4248.707,726.718;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;212;-4612.241,826.4355;Inherit;False;Property;_IridescentScale;IridescentScale;14;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;213;-4620.241,905.4355;Inherit;False;Property;_IridescentOffset;IridescentOffset;15;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;215;3232.215,681.0482;Inherit;False;Rimlight + IN;1;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;219;3540.141,564.9238;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;223;3450.765,826.531;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;220;3140.879,752.8112;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;224;3298.104,825.2262;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;221;3293.539,754.1161;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;226;3553.188,675.8296;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;227;4153.568,280.6643;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;228;3863.908,223.2542;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.FunctionOutput;0;1783.778,829.6588;Inherit;False;True;-1;Output;0;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;230;1104.048,646.3311;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;225;2663.875,590.6115;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;229;1308.004,981.424;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;231;1112.79,1082.219;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;218;3233.519,567.5332;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;214;2671.314,513.6028;Inherit;False;Specular + IN;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;232;-5691.003,1194.894;Inherit;False;Atten;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;222;3824.58,567.5332;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;233;4007.278,564.1306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;234;3818.316,696.0779;Inherit;False;232;Atten;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;235;3972.662,436.8153;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;93;5641.97,170.9258;Inherit;False;False;-1;MainTexOut;1;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RangedFloatNode;105;5626.117,88.38608;Inherit;False;Property;_ShowIridescence;_ShowIridescence;10;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;157;5124.47,136.6896;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;95;5136.225,215.844;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;141;4800.856,406.6504;Inherit;False;140;EffectMask;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;217;2699.867,746.2874;Inherit;False;Property;_IridescenceLightMode;Iridescence + Light Mode;16;1;[Enum];Create;True;0;4;Global;0;Specular;1;Rimlight;2;Both;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;236;4406.305,109.5967;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;160;4400.784,33.39471;Inherit;False;147;MainTex;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.RangedFloatNode;107;789.8186,738.2603;Inherit;False;Property;_IridescentIntensity;IridescentIntensity;11;0;Create;True;0;0;0;False;0;False;1;1;0;10;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;146;2162.604,243.851;Inherit;False;145;ModeTransferSat;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;237;2026.725,426.9214;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;238;2027.725,502.9214;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;239;2288.725,345.9214;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;240;2453.248,-71.4263;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;241;2454.248,4.573708;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;242;2715.248,-152.4263;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;243;2395.664,-404.5142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;244;2396.664,-328.5142;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;245;2657.664,-485.5142;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;2845.652,-479.7974;Inherit;False;Hueshift;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;153;2847.51,-177.6776;Inherit;False;Holographic;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;151;1836.943,423.389;Inherit;False;132;Intensity;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;1090.526,743.7858;Inherit;False;Intensity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;246;1562.567,827.0135;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RangedFloatNode;247;1400.689,1129.004;Inherit;False;Property;_Enableiridescence;_Enableiridescence;17;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;248;5426.24,288.0581;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nWireConnection;86;0;150;0\nWireConnection;85;0;147;0\nWireConnection;87;0;86;1\nWireConnection;87;1;85;2\nWireConnection;87;2;85;3\nWireConnection;101;0;131;0\nWireConnection;101;1;99;1\nWireConnection;125;0;124;1\nWireConnection;125;1;131;0\nWireConnection;126;0;125;0\nWireConnection;126;1;124;2\nWireConnection;126;2;124;3\nWireConnection;127;0;96;0\nWireConnection;127;1;154;0\nWireConnection;127;2;129;0\nWireConnection;147;0;84;0\nWireConnection;36;0;34;0\nWireConnection;66;4;69;0\nWireConnection;66;15;70;0\nWireConnection;66;29;71;0\nWireConnection;68;0;70;0\nWireConnection;39;0;36;0\nWireConnection;78;0;75;0\nWireConnection;74;0;80;0\nWireConnection;34;0;74;0\nWireConnection;80;0;78;0\nWireConnection;41;12;34;0\nWireConnection;62;0;123;0\nWireConnection;118;0;119;0\nWireConnection;118;1;120;5\nWireConnection;118;2;117;0\nWireConnection;122;0;66;13\nWireConnection;122;1;68;0\nWireConnection;123;0;72;0\nWireConnection;123;1;121;0\nWireConnection;121;0;122;0\nWireConnection;121;1;118;0\nWireConnection;121;2;65;0\nWireConnection;64;0;69;0\nWireConnection;65;0;64;0\nWireConnection;26;0;29;0\nWireConnection;26;1;28;0\nWireConnection;26;2;41;0\nWireConnection;38;12;39;0\nWireConnection;32;0;26;0\nWireConnection;32;1;33;0\nWireConnection;32;2;38;0\nWireConnection;47;0;211;0\nWireConnection;73;0;47;0\nWireConnection;73;1;62;0\nWireConnection;110;0;32;0\nWireConnection;110;1;134;0\nWireConnection;135;0;44;0\nWireConnection;149;0;32;0\nWireConnection;51;0;49;0\nWireConnection;54;0;46;0\nWireConnection;54;1;113;0\nWireConnection;54;2;53;0\nWireConnection;46;0;110;0\nWireConnection;46;1;50;0\nWireConnection;46;2;51;0\nWireConnection;52;0;49;0\nWireConnection;53;0;52;0\nWireConnection;89;0;54;0\nWireConnection;89;1;142;0\nWireConnection;89;2;91;0\nWireConnection;43;0;55;0\nWireConnection;43;1;89;0\nWireConnection;82;0;136;0\nWireConnection;82;1;43;0\nWireConnection;82;2;55;0\nWireConnection;108;0;82;0\nWireConnection;90;0;52;0\nWireConnection;91;0;90;0\nWireConnection;45;1;130;0\nWireConnection;113;0;45;6\nWireConnection;113;1;133;0\nWireConnection;130;0;73;0\nWireConnection;57;0;56;0\nWireConnection;55;14;57;0\nWireConnection;55;15;57;1\nWireConnection;55;16;57;2\nWireConnection;55;17;57;3\nWireConnection;55;18;59;0\nWireConnection;50;0;110;0\nWireConnection;50;1;135;0\nWireConnection;140;0;55;0\nWireConnection;143;0;90;0\nWireConnection;145;0;91;0\nWireConnection;124;0;148;0\nWireConnection;96;0;92;0\nWireConnection;96;1;155;0\nWireConnection;96;2;98;0\nWireConnection;128;0;97;0\nWireConnection;129;0;128;0\nWireConnection;97;0;144;0\nWireConnection;98;0;97;0\nWireConnection;92;0;162;0\nWireConnection;92;1;239;0\nWireConnection;92;2;146;0\nWireConnection;99;0;147;0\nWireConnection;75;0;81;0\nWireConnection;75;1;211;0\nWireConnection;17;0;21;0\nWireConnection;3;0;17;0\nWireConnection;3;1;5;0\nWireConnection;4;0;3;0\nWireConnection;170;0;21;0\nWireConnection;175;0;18;0\nWireConnection;175;1;198;0\nWireConnection;175;2;178;0\nWireConnection;18;0;4;0\nWireConnection;18;1;19;0\nWireConnection;181;0;180;0\nWireConnection;179;0;175;0\nWireConnection;179;1;192;0\nWireConnection;179;2;181;0\nWireConnection;192;0;197;0\nWireConnection;192;1;182;0\nWireConnection;192;2;208;0\nWireConnection;194;0;182;0\nWireConnection;197;0;18;0\nWireConnection;198;0;197;0\nWireConnection;198;1;209;0\nWireConnection;198;2;208;0\nWireConnection;100;0;101;0\nWireConnection;100;1;99;2\nWireConnection;100;2;99;2\nWireConnection;199;0;200;0\nWireConnection;199;1;100;0\nWireConnection;199;2;240;0\nWireConnection;203;0;201;0\nWireConnection;203;1;126;0\nWireConnection;203;2;243;0\nWireConnection;205;0;206;0\nWireConnection;205;1;87;0\nWireConnection;205;2;237;0\nWireConnection;169;0;171;0\nWireConnection;177;0;165;0\nWireConnection;177;1;169;0\nWireConnection;182;0;177;0\nWireConnection;178;0;174;0\nWireConnection;180;0;174;0\nWireConnection;208;0;194;0\nWireConnection;208;1;207;0\nWireConnection;167;0;165;0\nWireConnection;167;1;166;0\nWireConnection;168;0;167;0\nWireConnection;172;0;168;0\nWireConnection;172;1;169;0\nWireConnection;183;0;172;0\nWireConnection;209;0;183;0\nWireConnection;210;0;179;0\nWireConnection;210;1;212;0\nWireConnection;211;0;210;0\nWireConnection;211;1;213;0\nWireConnection;219;0;218;0\nWireConnection;219;1;215;0\nWireConnection;219;2;221;0\nWireConnection;223;0;224;0\nWireConnection;220;0;217;0\nWireConnection;224;0;220;0\nWireConnection;221;0;220;0\nWireConnection;226;0;214;0\nWireConnection;226;1;215;0\nWireConnection;227;0;228;0\nWireConnection;227;1;127;0\nWireConnection;227;2;233;0\nWireConnection;0;0;246;0\nWireConnection;225;0;217;0\nWireConnection;229;0;108;0\nWireConnection;229;1;231;0\nWireConnection;229;2;225;0\nWireConnection;231;0;108;0\nWireConnection;231;1;233;0\nWireConnection;218;1;214;0\nWireConnection;218;2;225;0\nWireConnection;232;0;208;0\nWireConnection;222;0;219;0\nWireConnection;222;1;226;0\nWireConnection;222;2;223;0\nWireConnection;233;0;222;0\nWireConnection;233;1;234;0\nWireConnection;93;0;248;0\nWireConnection;95;0;160;0\nWireConnection;95;1;236;0\nWireConnection;95;2;141;0\nWireConnection;236;0;127;0\nWireConnection;236;1;227;0\nWireConnection;236;2;225;0\nWireConnection;237;0;151;0\nWireConnection;238;0;151;0\nWireConnection;239;0;205;0\nWireConnection;239;1;238;0\nWireConnection;240;0;163;0\nWireConnection;241;0;163;0\nWireConnection;242;0;199;0\nWireConnection;242;1;241;0\nWireConnection;243;0;202;0\nWireConnection;244;0;202;0\nWireConnection;245;0;203;0\nWireConnection;245;1;244;0\nWireConnection;152;0;245;0\nWireConnection;153;0;242;0\nWireConnection;132;0;107;0\nWireConnection;246;0;139;0\nWireConnection;246;1;229;0\nWireConnection;246;2;247;0\nWireConnection;248;0;157;0\nWireConnection;248;1;95;0\nWireConnection;248;2;247;0\nASEEND*/\n//CHKSM=FFA6E8471B28BC7BE2DD967CA1AE6134374B1907" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Iridescent Emission.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Iridescent Emission.asset.meta new file mode 100644 index 0000000..e2ed290 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Iridescent Emission.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2a6b7ed36109aad45b1d6a13ef93c485 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/IsLumaGlow.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/IsLumaGlow.asset new file mode 100644 index 0000000..031af1b --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/IsLumaGlow.asset @@ -0,0 +1,45 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: IsLumaGlow + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.FunctionOutput;0;-24,-13;Inherit;False;True;-1;Output;0;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;12;-329.6811,-15.32706;Inherit;False;Constant;_Int1;Int + 0;19;0;Create;True;0;0;0;False;0;False;56;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;11;-187.819,-12.44862;Inherit;False;AudioLinkData( + ALPASS_AUDIOLINK + uint2( 0, Band ) ).r;0;Create;1;True;Band;INT;0;In;;Inherit;False;IsLumaActive;True;False;0;;False;1;0;INT;0;False;1;INT;0\nWireConnection;0;0;11;0\nWireConnection;11;0;12;0\nASEEND*/\n//CHKSM=3B1011CF16A3F69C06FDB89F096194F8043BE6B4" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/IsLumaGlow.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/IsLumaGlow.asset.meta new file mode 100644 index 0000000..66bc334 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/IsLumaGlow.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 87b97d6de6c802f4a9716e1ca7102272 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Luma Glow Properties.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Luma Glow Properties.asset new file mode 100644 index 0000000..47dacb3 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Luma Glow Properties.asset @@ -0,0 +1,52 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Luma Glow Properties + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.FunctionInput;1;-1137.629,15.30649;Inherit;False;EmissionRGBA;5;0;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;99;-1129.928,89.85359;Inherit;False;27;Direction;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;155;-1136.945,174.9368;Inherit;False;OutlineRGB;3;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;0;-640,40;Inherit;False;True;-1;Emission + Glow;2;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;27;-2564.455,-525.12;Inherit;False;Direction;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.DynamicAppendNode;175;-2579.831,-349.7264;Inherit;False;FLOAT3;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;157;-1143.945,246.9368;Inherit;False;27;Direction;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ComponentMaskNode;181;-962.7874,351.6989;Inherit;False;True;False;False;True;1;0;COLOR;0,0,0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.GetLocalVarNode;178;-946.7874,421.699;Inherit;False;27;Direction;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;180;-1154.787,350.6989;Inherit;False;174;GlowMaskRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;188;-940.6824,565.8786;Inherit;False;27;Direction;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;189;-1148.682,494.8785;Inherit;False;174;GlowMaskRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.ComponentMaskNode;187;-956.6824,495.8785;Inherit;False;False;True;False;True;1;0;COLOR;0,0,0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;186;-416.349,490.8786;Inherit;False;4;4;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;183;-268.3489,487.8786;Inherit;False;False;-1;GlowMask;1;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;195;-953.6403,748.8472;Inherit;False;27;Direction;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-1161.64,677.847;Inherit;False;174;GlowMaskRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.ComponentMaskNode;197;-969.6403,678.847;Inherit;False;False;False;True;True;1;0;COLOR;0,0,0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.GetLocalVarNode;241;-995.6263,914.762;Inherit;False;27;Direction;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;242;-1203.626,843.7618;Inherit;False;174;GlowMaskRGBA;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;174;-2429.094,-354.7509;Inherit;False;GlowMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ComponentMaskNode;243;-1009.626,843.7618;Inherit;False;False;False;False;True;1;0;COLOR;0,0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;244;-2339.392,-519.9686;Inherit;False;False;-1;Directional + Map;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SamplerNode;26;-2863.701,-552.939;Inherit;True;Property;_DirectionalMap;Directional + Map;0;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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\nNode;AmplifyShaderEditor.SamplerNode;173;-2859.949,-353.4948;Inherit;True;Property;_GlowMask;GlowMask;57;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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\nNode;AmplifyShaderEditor.FunctionSwitch;260;-445.6392,227.5721;Inherit;False;Outline + Off;False;0;2;-1;On;Off;Object;-1;9;0;FLOAT4;0,0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;256;-951.9276,49.85359;Inherit;False;Emission + Glow;1;;178;54afa6b9051ab4542916c28b088ba9e7;0;2;211;COLOR;0,0,0,0;False;42;FLOAT;1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;261;-764.7874,355.6989;Inherit;False;Glow + Mask R;58;;245;d6c16c5307a83ea46a2b5dd62e5b27c2;0;2;236;FLOAT;1;False;42;FLOAT;1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;262;-761.349,511.8786;Inherit;False;Glow + Mask G;86;;261;606a8351858678940b5c2b769456253b;0;2;236;FLOAT;1;False;42;FLOAT;1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;263;-775.3069,696.847;Inherit;False;Glow + Mask B;114;;277;c897d3d6706760c4aa331aca0183656e;0;2;236;FLOAT;1;False;42;FLOAT;1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;264;-783.293,857.7619;Inherit;False;Glow + Mask A;142;;293;478548362e2be0147a09364af3a594af;0;2;236;FLOAT;1;False;42;FLOAT;1;False;1;FLOAT4;0\nWireConnection;0;0;256;0\nWireConnection;27;0;26;1\nWireConnection;181;0;180;0\nWireConnection;187;0;189;0\nWireConnection;186;0;261;0\nWireConnection;186;1;262;0\nWireConnection;186;2;263;0\nWireConnection;186;3;264;0\nWireConnection;183;0;186;0\nWireConnection;197;0;196;0\nWireConnection;174;0;173;0\nWireConnection;243;0;242;0\nWireConnection;244;0;27;0\nWireConnection;256;211;1;0\nWireConnection;256;42;99;0\nWireConnection;261;236;181;0\nWireConnection;261;42;178;0\nWireConnection;262;236;187;0\nWireConnection;262;42;188;0\nWireConnection;263;236;197;0\nWireConnection;263;42;195;0\nWireConnection;264;236;243;0\nWireConnection;264;42;241;0\nASEEND*/\n//CHKSM=8CF1F2319648D29713F98A10D01EBEDF70EAE0D4" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Luma Glow Properties.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Luma Glow Properties.asset.meta new file mode 100644 index 0000000..270932b --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Luma Glow Properties.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7b40ef0e4b7a40f4f9276cd62640845c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Outline Glow.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Outline Glow.asset new file mode 100644 index 0000000..429cc55 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Outline Glow.asset @@ -0,0 +1,64 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Outline Glow + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.LerpOp;20;-604.0476,14.73222;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;23;-294.2357,9.600719;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;22;-596.4036,173.6563;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;18;-782.0485,-39.26788;Inherit;False;Constant;_Float0;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;21;-791.6086,123.5458;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;47;-1087.552,26.52794;Inherit;False;EmissionGlowZone;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;58;-805.4522,394.4279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-1027.752,389.2281;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;53;-428.452,322.9282;Inherit;False;Constant;_Float1;Float + 0;1;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;52;-232.1521,371.0279;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;49;-376.4524,528.3279;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;50;-238.6525,528.3278;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;54;-375.1521,456.8276;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-631.252,524.428;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;67;-169.6247,1289.391;Inherit;False;Constant;_Float4;Float + 4;8;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;59;-292.9841,1363.192;Inherit;False;4BandAmplitude;-1;;8;f5073bb9076c4e24481a28578c80bed5;0;2;2;INT;0;False;4;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;1;-2402.595,112.1565;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;2;-2137.413,267.6693;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;4;-2141.313,171.4694;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;5;-1490.763,211.5432;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;6;-2731.187,111.0617;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;7;-2878.087,225.4616;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;9;-2558.538,110.3714;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;11;-2994.777,101.5153;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;14;-2476.78,298.3765;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;15;-3007.965,297.8181;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\nNode;AmplifyShaderEditor.FunctionNode;16;-2764.864,295.4182;Inherit;False;Polar + Coordinates;-1;;9;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;30;-1245.397,209.815;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;31;-1950.81,372.5468;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2096.41,377.7467;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;37;-1900.403,515.4503;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;38;-1764.928,582.1086;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;39;-1767.403,516.4503;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;40;-1634.224,578.3743;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;13;-1808.275,170.3012;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;34;-1801.802,367.5444;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;35;-2133.528,505.9719;Inherit;False;EmissionGlowMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;101;-279.0074,1547.221;Inherit;False;4BandAmplitudeLerp;-1;;10;3cf4b6e83381a9a4f84f8cf857bc3af5;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;73;-1788.2,1549.839;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;74;-1523.018,1705.352;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;76;-1526.918,1609.152;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;77;-876.3669,1649.226;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RotatorNode;78;-2116.791,1548.744;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;79;-2263.69,1663.144;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;81;-1944.143,1548.054;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;83;-2380.38,1539.198;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\nNode;AmplifyShaderEditor.BreakToComponentsNode;84;-1862.385,1736.059;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.TextureCoordinatesNode;85;-2393.568,1735.501;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\nNode;AmplifyShaderEditor.FunctionNode;86;-2150.467,1733.101;Inherit;True;Polar + Coordinates;-1;;11;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LerpOp;87;-631.001,1647.497;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;88;-1336.415,1810.229;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-1482.015,1815.429;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;90;-1286.008,1953.133;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;92;-1153.008,1954.133;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;93;-1019.828,2016.057;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;96;-1193.88,1607.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;97;-1189.981,1711.984;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;98;-1187.406,1805.227;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;10.37535,1339.391;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;105;15.08292,1644.746;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;28;-580.9987,287.4768;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;27;-799.0228,287.1232;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;51;95.44755,5.727901;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;543.3295,-6.375368;Inherit;False;3;3;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;INT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;147;953.6505,12.17186;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;146;1215.886,-58.21952;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;155;1547.846,25.98077;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SaturateNode;158;1552.28,119.1042;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;161;1861.028,9.351597;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;163;2056.699,31.52383;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;114;1712.998,-59.34481;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.OneMinusNode;167;-420.6226,1813.127;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;102;14.28794,1529.369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;165;-255.382,1736.912;Inherit;False;4BandAmplitudeFiltered;-1;;12;3e18e71c60559ad419be81278157ae18;0;2;2;INT;0;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;168;39.67337,1721.511;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;104;-233.3741,1641.388;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;169;-261.7803,1843.907;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;171;131.2197,1845.907;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;103;348.9587,1337.664;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;172;570.8592,1339.217;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;68;1576.448,1339.62;Inherit;False;FinalReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.OneMinusNode;151;1002.087,1416.142;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;124;1419.055,1343.661;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;153;1418.081,1436.691;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;1564.081,1420.691;Inherit;False;ReversedReactivity;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;132;755.7411,1336.288;Inherit;False;ReactivityAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;99;-1519.133,1943.655;Inherit;False;EmissionReactiveMode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;91;-1150.532,2019.792;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;170;-9.780273,1848.907;Inherit;False;2;0;INT;0;False;1;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;107;-2416.575,1964.482;Inherit;False;106;DirectionalMap;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;175;-2589.362,2115.685;Inherit;False;99;EmissionReactiveMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;173;-2229.362,2055.685;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;174;-2018.363,1968.685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;177;-2206.362,2124.685;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;176;-2342.362,2125.685;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.OneMinusNode;178;-2792.01,620.4271;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;179;-2581.01,533.4271;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SaturateNode;180;-2769.01,689.4271;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;181;-2905.01,690.4271;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;42;-3213.811,531.3907;Inherit;False;Directional + Map;1;1;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;182;-3146.845,683.3414;Inherit;False;35;EmissionGlowMode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;56;-1066.752,207.2279;Inherit;False;EmissionGlowDelay;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;57;-873.2527,487.6278;Inherit;False;56;EmissionGlowDelay;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;106;-3036.921,527.875;Inherit;False;DirectionalMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;183;-4055.027,937.7487;Inherit;False;4BandChronotensity;-1;;13;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;187;-3488.466,915.8519;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;206;-3806.056,938.5369;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-3327.076,911.7688;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;122;78.62915,124.1246;Inherit;False;Property;_OutlineGlowTint;OutlineGlowTint;0;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.IntNode;36;-2569.933,650.8011;Inherit;False;Property;_OutlineGlowMode;OutlineGlowMode;3;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;8;-3097.787,221.5615;Inherit;False;Property;_OutlineGlowPulseDir;OutlineGlowPulseDir;6;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;41;-3069.607,407.1552;Inherit;False;Property;_OutlineGlowRadialCenter;OutlineGlowRadialCenter;9;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2733.369,222.3237;Inherit;False;Property;_OutlineGlowPulseScale;OutlineGlowPulseScale;7;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;3;-2433.988,203.4863;Inherit;False;Property;_OutlineGlowPulseOffset;OutlineGlowPulseOffset;8;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;166;-710.0818,1807.912;Inherit;False;Property;_OutlineReactiveGlobalSmoothing;OutlineReactiveGlobalSmoothing;16;0;Create;True;0;0;0;False;0;False;1;1;0;2;0;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;100;-1753.339,1991.841;Inherit;False;Property;_OutlineReactiveMode;OutlineReactiveMode;13;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction + Map;3;Reversed Direction Map;4;Smooth Global;5;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;80;-2529.39,1657.244;Inherit;False;Property;_OutlineReactivePulseDir;OutlineReactivePulseDir;17;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;94;-2455.21,1844.838;Inherit;False;Property;_OutlineReactiveRadialCenter;OutlineReactiveRadialCenter;20;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;82;-2118.973,1660.006;Inherit;False;Property;_OutlineReactivePulseScale;OutlineReactivePulseScale;18;0;Create;True;0;0;0;False;0;False;127;128;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;75;-1819.593,1641.169;Inherit;False;Property;_OutlineReactivePulseOffset;OutlineReactivePulseOffset;19;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;188;-3845.433,841.2988;Inherit;False;Property;_OutlineGlowAnimationStrength;OutlineGlowAnimationStrength;24;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;217;-819.0485,34.73222;Inherit;False;Zone + Data;-1;;29;7943a2133aa4e89429bf6dc23f9e6f54;0;2;6;INT;1;False;10;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;218;-812.3705,196.2022;Inherit;False;Zone + Lerp;-1;;31;343492bb393a3a24fb3a9bb834f2acf5;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionNode;220;-644.6232,396.7654;Inherit;False;Gradient + Lerp;-1;;36;fc7913a54cefbc44bbb0d14de09f2d4c;0;2;6;INT;1;False;10;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionInput;229;2226.863,68.61437;Inherit;False;OutlineRGB;3;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;-2486.373,392.2225;Inherit;False;195;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;208;-4327.63,1214.678;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;205;-4029.4,1146.981;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;209;-3891.4,1136.981;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;190;-3997.571,1244.839;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;231;-4045.47,1049.131;Inherit;False;AudioLinkTime;-1;;40;2a2489b8c1c55014d8221ae490666389;0;0;2;FLOAT;0;FLOAT;3\nNode;AmplifyShaderEditor.IntNode;29;-1212.148,99.43227;Inherit;False;Property;_OutlineGlowDelay;OutlineGlowDelay;2;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;71;-730.8199,1387.318;Inherit;False;Property;_OutlineReactiveDelay;OutlineReactiveDelay;12;0;Create;True;0;3;None;0;Zone + 1;1;Zone 2;2;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;191;-4415.812,883.9044;Inherit;False;Property;_OutlineGlowAnimationMode;OutlineGlowAnimationMode;22;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;194;-4412.848,965.0417;Inherit;False;Property;_OutlineGlowAnimationBand;OutlineGlowAnimationBand;21;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;193;-4415.812,1046.986;Inherit;False;Property;_OutlineGlowAnimationSpeed;OutlineGlowAnimationSpeed;23;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;235;2208.816,-237.1708;Inherit;False;Constant;_Float5;Float + 5;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;224;2705.655,5.730429;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;221;2699.547,-87.9114;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;222;2874.036,-50.82804;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;164;2236.294,-57.16515;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;232;2582.444,-265.7122;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;236;-521.3336,1357.5;Inherit;False;EmissionReactiveBand;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;240;994.2682,1499.28;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.ColorNode;123;611.2446,1523.661;Inherit;False;Property;_OutlineReactiveTint;OutlineReactiveTint;10;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.RangedFloatNode;241;831.6373,1446.564;Inherit;False;Constant;_Float6;Float + 6;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.StepOpNode;238;698.0643,1692.135;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;237;463.3102,1691.54;Inherit;False;236;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;539.41,110.4702;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;243;472.6305,184.104;Inherit;False;236;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;242;704.7482,192.6079;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;244;823.5089,111.9603;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;245;1435.881,276.8513;Inherit;False;236;EmissionReactiveBand;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;246;1667.999,285.3552;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;162;1515.161,189.2897;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;247;1842.121,109.8012;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;INT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;1508.092,365.7876;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;160;2001.484,263.6809;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;157;882.9302,304.3416;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;111;882.1564,218.4837;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;687.1061,-9.38102;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;130.7809,472.1172;Inherit;False;142;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;249;184.3417,397.0408;Inherit;False;Constant;_Float7;Float + 7;23;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;250;581.9517,417.7621;Inherit;False;EmissionGlowTog;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;156;1321.232,92.08554;Inherit;False;152;ReversedReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;251;1336.086,19.82928;Inherit;False;250;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;248;427.3418,427.6408;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.IntNode;19;-1295.348,26.13222;Inherit;False;Property;_OutlineGlowZone;OutlineGlowZone;1;1;[Enum];Create;True;0;8;None;0;Zone + 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.StepOpNode;64;-224.3419,1457.364;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;61;-740.6248,1477.391;Inherit;False;Property;_OutlineReactiveBand;OutlineReactiveBand;11;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;69;677.9035,-199.2587;Inherit;False;68;FinalReactivity;1;0;OBJECT;;False;1;COLOR;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;70;957.8051,-205.4418;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.GetLocalVarNode;252;670.119,-120.9917;Inherit;False;250;EmissionGlowTog;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;233;22.12545,296.932;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;234;240.5253,299.5321;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;257;851.3808,396.644;Inherit;False;ReactiveBlendmode;-1;True;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;109;451.9216,306.0179;Inherit;False;Property;_OutlineReactiveBlendMode;OutlineReactiveBlendMode;14;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed + Multiply;2;Reversed Additve;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;262;3088.584,484.0668;Inherit;True;2;0;FLOAT;0;False;1;FLOAT;0.99;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;254;2103.051,316.4483;Inherit;False;47;EmissionGlowZone;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;255;2321.451,319.0484;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;253;2668.982,232.9413;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;228;2228.042,239.3211;Inherit;False;Property;_OutlineGlowBlendMode;OutlineGlowBlendMode;4;1;[Enum];Create;True;0;2;Multiply;0;Additive;1;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;256;2216.039,156.377;Inherit;False;257;ReactiveBlendmode;1;0;OBJECT;;False;1;INT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;12;-1804.377,274.3015;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;127;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;127;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;266;2497.431,162.9757;Inherit;False;glsl_mod(x,y);1;Create;2;True;x;FLOAT;0;In;;Inherit;False;True;y;FLOAT;2;In;;Inherit;False;glslmod;True;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;2;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;267;106.0357,-101.7558;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;268;278.186,-197.4643;Inherit;False;5;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT4;1,1,1,1;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;1,1,1,1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;269;-160.9643,-178.7558;Inherit;False;Property;_OutlineGlowMinBrightness;OutlineGlowMinBrightness;5;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;270;585.0743,1240.146;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;271;757.2245,1144.437;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;272;318.0743,1163.146;Inherit;False;Property;_OutlineReactiveMinBrightness;OutlineReactiveMinBrightness;15;0;Create;True;0;0;0;False;0;False;0;0;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;273;3111.936,49.64377;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;0;3309.818,-35.69315;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;274;2911.203,160.5138;Inherit;False;IsAudioLink;-1;;42;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;275;3082.022,-179.1495;Inherit;False;Property;_ShowOutlineGlow;_ShowOutlineGlow;25;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;276;3091.453,-101.977;Inherit;False;Property;_ShowOutlineAL;_ShowOutlineAL;26;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;18;0\nWireConnection;20;1;217;0\nWireConnection;20;2;21;0\nWireConnection;23;0;20;0\nWireConnection;23;1;22;0\nWireConnection;23;2;28;0\nWireConnection;22;0;18;0\nWireConnection;22;1;218;0\nWireConnection;22;2;21;0\nWireConnection;21;0;47;0\nWireConnection;47;0;19;0\nWireConnection;58;0;55;0\nWireConnection;52;0;53;0\nWireConnection;52;1;220;0\nWireConnection;52;2;54;0\nWireConnection;49;0;48;0\nWireConnection;50;0;49;0\nWireConnection;54;0;48;0\nWireConnection;59;2;236;0\nWireConnection;1;0;9;0\nWireConnection;1;1;10;0\nWireConnection;2;0;3;0\nWireConnection;2;1;14;0\nWireConnection;4;0;1;0\nWireConnection;4;1;3;0\nWireConnection;5;0;13;0\nWireConnection;5;1;12;0\nWireConnection;5;2;39;0\nWireConnection;6;0;11;0\nWireConnection;6;2;7;0\nWireConnection;7;0;8;0\nWireConnection;9;0;6;0\nWireConnection;14;0;16;0\nWireConnection;16;1;15;0\nWireConnection;16;2;41;0\nWireConnection;16;3;10;0\nWireConnection;30;0;5;0\nWireConnection;30;1;34;0\nWireConnection;30;2;40;0\nWireConnection;31;0;3;0\nWireConnection;31;1;32;0\nWireConnection;32;0;10;0\nWireConnection;32;1;179;0\nWireConnection;37;0;35;0\nWireConnection;38;0;37;0\nWireConnection;39;0;37;0\nWireConnection;40;0;38;0\nWireConnection;13;0;4;0\nWireConnection;34;0;31;0\nWireConnection;35;0;36;0\nWireConnection;101;2;61;0\nWireConnection;101;4;87;0\nWireConnection;73;0;81;0\nWireConnection;73;1;82;0\nWireConnection;74;0;75;0\nWireConnection;74;1;84;0\nWireConnection;76;0;73;0\nWireConnection;76;1;75;0\nWireConnection;77;0;96;0\nWireConnection;77;1;97;0\nWireConnection;77;2;92;0\nWireConnection;78;0;83;0\nWireConnection;78;2;79;0\nWireConnection;79;0;80;0\nWireConnection;81;0;78;0\nWireConnection;84;0;86;0\nWireConnection;86;1;85;0\nWireConnection;86;2;94;0\nWireConnection;86;3;82;0\nWireConnection;87;0;77;0\nWireConnection;87;1;98;0\nWireConnection;87;2;93;0\nWireConnection;88;0;75;0\nWireConnection;88;1;89;0\nWireConnection;89;0;82;0\nWireConnection;89;1;174;0\nWireConnection;90;0;99;0\nWireConnection;92;0;90;0\nWireConnection;93;0;91;0\nWireConnection;96;0;76;0\nWireConnection;97;0;74;0\nWireConnection;98;0;88;0\nWireConnection;66;0;67;0\nWireConnection;66;1;59;0\nWireConnection;66;2;64;0\nWireConnection;105;0;104;0\nWireConnection;28;0;27;0\nWireConnection;51;0;23;0\nWireConnection;51;1;52;0\nWireConnection;51;2;50;0\nWireConnection;121;0;268;0\nWireConnection;121;1;122;0\nWireConnection;121;2;234;0\nWireConnection;147;0;142;0\nWireConnection;147;1;244;0\nWireConnection;146;0;70;0\nWireConnection;146;1;147;0\nWireConnection;146;2;111;0\nWireConnection;155;0;251;0\nWireConnection;155;1;156;0\nWireConnection;158;0;157;0\nWireConnection;163;0;161;0\nWireConnection;163;1;247;0\nWireConnection;114;0;146;0\nWireConnection;114;1;155;0\nWireConnection;114;2;158;0\nWireConnection;167;0;166;0\nWireConnection;102;0;67;0\nWireConnection;102;1;101;0\nWireConnection;102;2;64;0\nWireConnection;165;2;61;0\nWireConnection;165;4;167;0\nWireConnection;168;0;67;0\nWireConnection;168;1;165;0\nWireConnection;168;2;64;0\nWireConnection;171;0;170;0\nWireConnection;103;0;66;0\nWireConnection;103;1;102;0\nWireConnection;103;2;105;0\nWireConnection;172;0;103;0\nWireConnection;172;1;168;0\nWireConnection;172;2;171;0\nWireConnection;68;0;124;0\nWireConnection;151;0;132;0\nWireConnection;124;0;132;0\nWireConnection;124;1;240;0\nWireConnection;153;0;151;0\nWireConnection;153;1;240;0\nWireConnection;152;0;153;0\nWireConnection;132;0;271;0\nWireConnection;99;0;100;0\nWireConnection;91;0;90;0\nWireConnection;170;0;169;0\nWireConnection;173;0;107;0\nWireConnection;174;0;107;0\nWireConnection;174;1;173;0\nWireConnection;174;2;177;0\nWireConnection;177;0;176;0\nWireConnection;176;0;175;0\nWireConnection;178;0;106;0\nWireConnection;179;0;106;0\nWireConnection;179;1;178;0\nWireConnection;179;2;180;0\nWireConnection;180;0;181;0\nWireConnection;181;0;182;0\nWireConnection;56;0;30;0\nWireConnection;106;0;42;0\nWireConnection;183;4;191;0\nWireConnection;183;15;194;0\nWireConnection;183;29;193;0\nWireConnection;187;0;188;0\nWireConnection;187;1;206;0\nWireConnection;187;2;190;0\nWireConnection;206;0;183;13\nWireConnection;206;1;231;3\nWireConnection;206;2;209;0\nWireConnection;195;0;187;0\nWireConnection;217;6;47;0\nWireConnection;218;6;47;0\nWireConnection;218;10;56;0\nWireConnection;220;6;58;0\nWireConnection;220;10;57;0\nWireConnection;205;0;191;0\nWireConnection;209;0;205;0\nWireConnection;190;0;194;0\nWireConnection;224;0;164;0\nWireConnection;224;1;229;0\nWireConnection;221;0;164;0\nWireConnection;221;1;229;0\nWireConnection;222;0;221;0\nWireConnection;222;1;224;0\nWireConnection;222;2;253;0\nWireConnection;164;0;114;0\nWireConnection;164;1;163;0\nWireConnection;164;2;160;0\nWireConnection;232;0;235;0\nWireConnection;236;0;61;0\nWireConnection;240;0;241;0\nWireConnection;240;1;123;0\nWireConnection;240;2;238;0\nWireConnection;238;0;237;0\nWireConnection;242;0;243;0\nWireConnection;244;0;148;0\nWireConnection;244;1;242;0\nWireConnection;246;0;245;0\nWireConnection;247;0;162;0\nWireConnection;247;1;246;0\nWireConnection;159;0;157;0\nWireConnection;160;0;159;0\nWireConnection;157;0;109;0\nWireConnection;111;0;109;0\nWireConnection;142;0;121;0\nWireConnection;250;0;248;0\nWireConnection;248;0;249;0\nWireConnection;248;1;154;0\nWireConnection;248;2;234;0\nWireConnection;64;0;61;0\nWireConnection;70;0;69;0\nWireConnection;70;1;252;0\nWireConnection;234;0;233;0\nWireConnection;257;0;109;0\nWireConnection;255;0;254;0\nWireConnection;253;0;266;0\nWireConnection;253;1;228;0\nWireConnection;253;2;255;0\nWireConnection;12;0;2;0\nWireConnection;266;0;256;0\nWireConnection;267;0;269;0\nWireConnection;268;0;51;0\nWireConnection;268;3;269;0\nWireConnection;268;4;267;0\nWireConnection;270;0;272;0\nWireConnection;271;0;172;0\nWireConnection;271;3;272;0\nWireConnection;271;4;270;0\nWireConnection;273;0;229;0\nWireConnection;273;1;222;0\nWireConnection;273;2;274;0\nWireConnection;0;0;273;0\nASEEND*/\n//CHKSM=968EABDEC6472C99E8A6BFB03F8A37FA70F200DE" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Outline Glow.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Outline Glow.asset.meta new file mode 100644 index 0000000..34cb542 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Outline Glow.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a95beee5cd09a3848994f1983d4ef324 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ScrollingRainbow.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ScrollingRainbow.asset new file mode 100644 index 0000000..73aa8ed --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ScrollingRainbow.asset @@ -0,0 +1,58 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: ScrollingRainbow + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.SimpleAddOpNode;20;-1472.615,-211.9771;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;12;-1736.096,-238.5305;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;5;-907.7773,129.3561;Inherit;False;Property;_RainbowValue;Rainbow + Value;4;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;4;-908.7773,42.35622;Inherit;False;Property;_RainbowSaturation;Rainbow + Saturation;3;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;7;-601.7775,-159.6438;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;6;-914.7773,-39.64382;Inherit;False;Property;_RainbowHue;Rainbow + Hue;2;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.HSVToRGBNode;3;-194.4771,-166.7437;Inherit;True;3;0;FLOAT;0;False;1;FLOAT;1;False;2;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3\nNode;AmplifyShaderEditor.RangedFloatNode;13;-1935.159,-238.5303;Inherit;False;Property;_RainbowSpeed;Rainbow + Speed;6;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SinOpNode;29;-1344.865,-208.6331;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;33;-1872.947,-112.2538;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;10;-2149.765,5.615894;Inherit;False;Property;_RainbowScale;Rainbow + Scale;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;44;-854.5881,-234.9195;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\nNode;AmplifyShaderEditor.RangedFloatNode;9;-1880.004,-0.8935862;Inherit;False;Property;_RainbowHueRange;Rainbow + Hue Range;5;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;35;-1609.487,0.3673735;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;24;-1447.904,-0.02776814;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;23;-1160.932,-2.414258;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;37;-465.3072,110.1781;Inherit;False;EffectMaskRGBA;5;1;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;38;-257.3072,115.1781;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.IntNode;40;-323.3072,264.1781;Inherit;False;Property;_RainbowMaskingChannel;Rainbow + Masking Channel;0;1;[Enum];Create;True;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;36;-34.19619,112.1002;Inherit;False;EffectMaskChannel;-1;;3;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;41;276.8228,-96.99249;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;43;488.7788,-120.9127;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.IntNode;76;-2934.84,1155.846;Inherit;False;Property;_RainbowALAnimationSpeed;RainbowALAnimationSpeed;13;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;78;-1797.233,-313.3282;Inherit;False;67;EmissionGlowAnimation;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TextureCoordinatesNode;1;-4246.995,-151.7212;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\nNode;AmplifyShaderEditor.RotatorNode;45;-3830.261,-150.6212;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0.5,0.5;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;53;-4056.751,-25.08681;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;56;-3432.027,228.0249;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;54;-3293.618,138.4091;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;46;-3852.124,-32.23022;Inherit;True;Polar + Coordinates;-1;;51;7dab8e02884cf104ebefaa2e788e4162;0;4;1;FLOAT2;0,0;False;2;FLOAT2;0.5,0.5;False;3;FLOAT;1;False;4;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.PiNode;55;-3713.505,251.8912;Inherit;False;1;0;FLOAT;2;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;50;-3563.251,-34.28682;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.SaturateNode;61;-3109.063,1.175615;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;52;-4247.751,-32.08681;Inherit;False;Property;_RainbowRotation;Rainbow + Rotation;7;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;51;-3618.751,-147.0868;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.LerpOp;49;-2942.523,-138.8302;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.Vector2Node;64;-4337.558,34.95848;Inherit;False;Property;_RainbowRadialCenter;Rainbow + Radial Center;10;0;Create;True;0;0;0;False;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2\nNode;AmplifyShaderEditor.RangedFloatNode;59;-4331.972,154.1348;Inherit;False;Property;_RainbowSpiralCurve;Rainbow + Spiral Curve;9;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;63;-2729.063,-124.8244;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;48;-3344.124,-0.2302043;Inherit;False;Property;_RainbowUVMode;Rainbow + UV Mode;1;1;[Enum];Create;True;0;5;Default;0;Radial;1;Spiral;2;Direction Map;3;Reverse + Direction;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;60;-3115.063,64.17556;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;62;-2977.063,67.17558;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;81;-2974.079,136.1429;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;82;-2839.486,132.0642;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;83;-2829.291,197.322;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;84;-2694.698,193.2433;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;80;-2144.083,-123.8685;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;79;-2424.948,-122.7148;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;85;-2731.675,-10.32568;Inherit;False;Direction;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;86;-2437.55,-6.710968;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;1018.854,-120.8276;Inherit;True;True;-1;Output;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;88;667.1736,92.13501;Inherit;False;Property;_ShowRainbow;_ShowRainbow;16;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;71;-2566.055,1035.609;Inherit;False;4BandChronotensity;-1;;52;f89bf659661089e4aa165728fa84fd68;0;3;4;INT;0;False;15;INT;0;False;29;INT;0;False;1;FLOAT;13\nNode;AmplifyShaderEditor.StepOpNode;73;-2534.255,1248.254;Inherit;False;2;0;INT;0;False;1;INT;9;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;69;-2541.084,1159.397;Inherit;False;2;0;INT;0;False;1;INT;3;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;70;-2403.084,1149.397;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;75;-2931.876,1073.902;Inherit;False;Property;_RainbowALAnimationBand;RainbowALAnimationBand;11;1;[Enum];Create;True;0;5;None;10;Bass;0;Low + Mid;1;High Mid;2;Treble;3;0;False;0;False;10;10;True;0;1;INT;0\nNode;AmplifyShaderEditor.IntNode;74;-2934.84,992.7646;Inherit;False;Property;_RainbowALAnimationMode;RainbowALAnimationMode;12;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard + Stop;3;Constant;4;0;False;0;False;0;0;True;0;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;77;-1835.664,1006.359;Inherit;False;Property;_RainbowALAnimationStrength;RainbowALAnimationStrength;14;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;67;-1270.302,1077.028;Inherit;False;EmissionGlowAnimation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;95;-2120.569,1328.093;Inherit;False;IsAudioLink;-1;;53;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;94;-1908.568,1195.093;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;72;-2128.9,1215.232;Inherit;False;AudioLinkTime;-1;;54;2a2489b8c1c55014d8221ae490666389;0;0;3;FLOAT;0;FLOAT;3;FLOAT;5\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;92;-2098.77,1053.292;Inherit;False;2;2;0;FLOAT;0;False;1;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;93;-1443.567,1082.493;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;66;-1714.284,1104.197;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;96;-1573.654,1220.273;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleTimeNode;68;-2120.085,1145.197;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;97;782.1002,-381.4274;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;98;699.1002,-107.4274;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RangedFloatNode;99;433.1002,15.57263;Inherit;False;Property;_EnableScrollingRainbow;_EnableScrollingRainbow;17;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0\nWireConnection;20;0;78;0\nWireConnection;20;1;33;0\nWireConnection;12;0;13;0\nWireConnection;7;0;44;0\nWireConnection;7;1;6;0\nWireConnection;3;0;7;0\nWireConnection;3;1;4;0\nWireConnection;3;2;5;0\nWireConnection;29;0;20;0\nWireConnection;33;0;80;0\nWireConnection;33;1;10;0\nWireConnection;44;0;29;0\nWireConnection;44;3;24;0\nWireConnection;44;4;23;0\nWireConnection;35;0;9;0\nWireConnection;24;0;35;0\nWireConnection;23;0;24;0\nWireConnection;38;0;37;0\nWireConnection;36;14;38;0\nWireConnection;36;15;38;1\nWireConnection;36;16;38;2\nWireConnection;36;17;38;3\nWireConnection;36;18;40;0\nWireConnection;41;0;3;0\nWireConnection;41;1;36;0\nWireConnection;45;0;1;0\nWireConnection;45;2;53;0\nWireConnection;53;0;52;0\nWireConnection;56;0;50;1\nWireConnection;56;1;55;0\nWireConnection;54;0;50;0\nWireConnection;54;1;56;0\nWireConnection;46;1;1;0\nWireConnection;46;2;64;0\nWireConnection;46;3;59;0\nWireConnection;50;0;46;0\nWireConnection;61;0;48;0\nWireConnection;51;0;45;0\nWireConnection;49;0;51;0\nWireConnection;49;1;50;0\nWireConnection;49;2;61;0\nWireConnection;63;0;49;0\nWireConnection;63;1;54;0\nWireConnection;63;2;62;0\nWireConnection;60;0;48;0\nWireConnection;62;0;60;0\nWireConnection;81;0;60;0\nWireConnection;82;0;81;0\nWireConnection;83;0;81;0\nWireConnection;84;0;83;0\nWireConnection;80;0;79;0\nWireConnection;80;1;86;0\nWireConnection;80;2;84;0\nWireConnection;79;0;63;0\nWireConnection;79;1;85;0\nWireConnection;79;2;82;0\nWireConnection;86;0;85;0\nWireConnection;0;0;98;0\nWireConnection;71;4;74;0\nWireConnection;71;15;75;0\nWireConnection;71;29;76;0\nWireConnection;73;0;75;0\nWireConnection;69;0;74;0\nWireConnection;70;0;69;0\nWireConnection;67;0;93;0\nWireConnection;94;0;68;0\nWireConnection;94;1;72;5\nWireConnection;94;2;95;0\nWireConnection;92;0;71;13\nWireConnection;92;1;73;0\nWireConnection;93;0;77;0\nWireConnection;93;1;96;0\nWireConnection;66;0;92;0\nWireConnection;66;1;94;0\nWireConnection;66;2;70;0\nWireConnection;96;0;68;0\nWireConnection;96;1;66;0\nWireConnection;96;2;95;0\nWireConnection;98;1;41;0\nWireConnection;98;2;99;0\nASEEND*/\n//CHKSM=9CBBAC1766142F6754C3A00C9882DD8B3FAEFB38" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ScrollingRainbow.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ScrollingRainbow.asset.meta new file mode 100644 index 0000000..dd352f1 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/ScrollingRainbow.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 24412a6d2e3ce6b44834e4b734abb909 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Sparkles.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Sparkles.asset new file mode 100644 index 0000000..eb0f62b --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Sparkles.asset @@ -0,0 +1,72 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Sparkles + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.CommentaryNode;108;-794.6579,2069.853;Inherit;False;1292.624;534.4851;Comment;11;87;90;86;85;95;89;94;106;91;88;99;Heart;1,1,1,1;0;0\nNode;AmplifyShaderEditor.CommentaryNode;83;-791.2117,1530.866;Inherit;False;1321.558;391.1086;Comment;7;75;98;79;74;73;80;76;Star;1,1,1,1;0;0\nNode;AmplifyShaderEditor.CommentaryNode;82;-1103.968,969.0449;Inherit;False;1996.422;478.2039;Comment;15;97;62;49;48;65;55;67;63;61;60;59;58;56;57;54;Square;1,1,1,1;0;0\nNode;AmplifyShaderEditor.CommentaryNode;81;-528.8687,653.1352;Inherit;False;1116.054;301.1178;Comment;7;33;51;52;46;5;31;7;Circle;1,1,1,1;0;0\nNode;AmplifyShaderEditor.GetLocalVarNode;53;933.9465,439.2989;Inherit;False;52;Sphere;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;7;30.60321,719.551;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SmoothstepOpNode;31;186.5762,718.6094;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.2;False;2;FLOAT;0.1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LengthOpNode;5;-154.9278,708.5726;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;46;-373.9048,703.1352;Inherit;False;45;UV;1;0;OBJECT;;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;52;359.1853,715.2582;Inherit;False;Sphere;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;54;-376.1091,1031.793;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;57;-209.1091,1020.793;Inherit;False;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.LengthOpNode;56;-52.10913,1019.793;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMaxOpNode;58;-80.10913,1149.793;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;59;-217.1091,1148.793;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.SimpleMinOpNode;60;47.89087,1149.793;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;61;211.8909,1066.793;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;63;664.4534,1062.131;Inherit;False;Square;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;67;-507.8607,1155.367;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;65;-682.1,1107.849;Inherit;False;Constant;_Float0;Float + 0;4;0;Create;True;0;0;0;False;0;False;0.4;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;48;-714.0851,1019.045;Inherit;False;45;UV;1;0;OBJECT;;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.AbsOpNode;49;-504.4027,1025.312;Inherit;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SmoothstepOpNode;62;430.991,1063.493;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.01;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;76;-320.5551,1728.266;Inherit;False;Constant;_Float1;Float + 1;4;0;Create;True;0;0;0;False;0;False;0.25;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;80;302.346,1610.711;Inherit;False;Star;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;73;-88.05766,1612.855;Inherit;False; + const float2 k1 = float2(0.809016994375, -0.587785252292)@$ const float2 k2 + = float2(-k1.x,k1.y)@$ p.x = abs(p.x)@$ p -= 2.0*max(dot(k1,p),0.0)*k1@$ + p -= 2.0*max(dot(k2,p),0.0)*k2@$ p.x = abs(p.x)@$ p.y -= r@$ float2 + ba = rf*float2(-k1.y,k1.x) - float2(0,1)@$ float h = clamp( dot(p,ba)/dot(ba,ba), + 0.0, r )@$ return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y)@;1;Create;3;True;p;FLOAT2;0,0;In;;Inherit;False;True;r;FLOAT;0;In;;Inherit;False;True;rf;FLOAT;0;In;;Inherit;False;sdStar5;False;True;0;;False;3;0;FLOAT2;0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;74;-321.1552,1580.866;Inherit;False;45;UV;1;0;OBJECT;;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SmoothstepOpNode;79;62.72441,1616.885;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.01;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;51;-348.5748,780.5736;Inherit;False;50;Noise;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;33;-164.5722,779.1352;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;-0.5;False;4;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;87;-594.4353,2174.709;Inherit;False;45;UV;1;0;OBJECT;;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;90;269.9665,2187.398;Inherit;False;Heart;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;86;-262.1289,2119.853;Inherit;False;return + dot(a,a)@;1;Create;1;True;a;FLOAT2;0,0;In;;Inherit;False;dot2;False;True;0;;False;1;0;FLOAT2;0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;85;-265.7883,2191.755;Inherit;False; + p.x = abs(p.x)@$$ if( p.y+p.x>1.0 )$ return sqrt(dot2(p-float2(0.25,0.75))) + - sqrt(2.0)/4.0@$ return sqrt(min(dot2(p-float2(0.00,1.00)),$ + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y)@;1;Create;1;True;p;FLOAT2;0,0;In;;Inherit;False;sdHeart;False;True;1;86;;False;1;0;FLOAT2;0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;95;-706.2546,2290.555;Inherit;False;Constant;_Float2;Float + 2;4;0;Create;True;0;0;0;False;0;False;2.15;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;89;-410.7351,2190.509;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleDivideOpNode;94;-81.55443,2201.154;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;106;-80.35004,2292.054;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.01;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SmoothstepOpNode;91;93.9665,2249.398;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.01;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;88;-744.6579,2420.709;Inherit;False;50;Noise;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;55;-932.0266,1210.783;Inherit;False;50;Noise;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;97;-713.5519,1213.417;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;-0.5;False;4;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;98;-494.0986,1653.523;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;-0.5;False;4;FLOAT;0.5;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;75;-679.9324,1724.742;Inherit;False;50;Noise;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;64;932.0024,510.0043;Inherit;False;63;Square;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;111;1132.51,491.3017;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;84;1121.083,601.9569;Inherit;False;80;Star;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;112;1380.51,490.3017;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;92;1382.187,608.4653;Inherit;False;90;Heart;1;0;OBJECT;;False;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;113;1606.51,492.3017;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;114;1017.51,670.3016;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;116;1152.51,738.3016;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;115;1150.51,671.3016;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;117;1406.51,679.3016;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.TFHCRemapNode;99;-310.5585,2402.338;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;-0.25;False;4;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;120;1599.179,770.1363;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;121;2152.179,485.1363;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;122;1543.179,909.1363;Inherit;False;Property;_SparkleMaskingChannel;Sparkle + Masking Channel;2;1;[Enum];Create;True;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;118;1407.179,764.1363;Inherit;False;EffectMaskRGBA;5;1;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0\nNode;AmplifyShaderEditor.SaturateNode;134;986.326,599.5625;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;135;1790.179,770.1363;Inherit;False;EffectMaskChannel;-1;;3;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.IntNode;110;801.5099,610.3016;Inherit;False;Property;_SparkleShape;Sparkle + Shape;1;1;[Enum];Create;True;0;4;Circle;0;Square;1;Star;2;Heart;3;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;129;2283.47,481.2394;Inherit;False;SparkleAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;167;2285.411,758.6209;Inherit;False;Direction;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionNode;169;2555.506,834.0018;Inherit;False;IsAudioLink;-1;;69;e83fef6181013ba4bacf30a3d9a31d37;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.ColorNode;131;2561.778,376.305;Inherit;False;Property;_SparkleColor;Sparkle + Color;3;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;132;2814.578,541.5049;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0\nNode;AmplifyShaderEditor.LerpOp;172;3038.306,629.2018;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;175;2464.416,743.2197;Inherit;False;Glow + Mask Sparkles;8;;70;f383a92725cc5cb44bca208383c6f28a;0;2;236;FLOAT;1;False;42;FLOAT;1;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.TextureCoordinatesNode;3;-2604.937,781.8591;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\nNode;AmplifyShaderEditor.SimpleAddOpNode;42;-2556.05,1153.187;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleTimeNode;14;-2765.281,1223.448;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;43;-2748.109,1110.98;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;20;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;32;-2083.128,1121.615;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;47;-2917.341,1104.077;Inherit;False;44;ID;1;0;OBJECT;;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.NoiseGeneratorNode;37;-2376.81,1182.678;Inherit;False;Simplex2D;True;False;2;0;FLOAT2;0,0;False;1;FLOAT;1;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;50;-1749.195,1114.978;Inherit;False;Noise;-1;True;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.VoronoiNode;2;-2363.937,776.8591;Inherit;False;0;0;1;0;1;False;1;False;False;False;4;0;FLOAT2;0,0;False;1;FLOAT;0;False;2;FLOAT;10;False;3;FLOAT;0;False;3;FLOAT;0;FLOAT2;1;FLOAT2;2\nNode;AmplifyShaderEditor.RegisterLocalVarNode;44;-2159.339,717.5439;Inherit;False;ID;-1;True;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.BreakToComponentsNode;71;-1826.744,744.4668;Inherit;False;FLOAT2;1;0;FLOAT2;0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15\nNode;AmplifyShaderEditor.SimpleMaxOpNode;70;-1703.444,747.4668;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;69;-1944.744,739.4668;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;360,360;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RadiansOpNode;72;-1587.171,749.717;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;45;-1148.038,811.4105;Inherit;False;UV;-1;True;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RotatorNode;68;-1398.643,812.9668;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;1;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.RangedFloatNode;29;-2434.977,1092.678;Inherit;False;Property;_SparkleSize;Sparkle + Size;4;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0.75;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;35;-2938.846,1216.668;Inherit;False;Property;_SparkleSpeed;Sparkle + Speed;6;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;34;-2585.544,896.3031;Inherit;False;Property;_SparkleScale;Sparkle + Scale;5;0;Create;True;0;0;0;False;0;False;1;250;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.RangedFloatNode;36;-3108.133,1127.554;Inherit;False;Property;_SparkleSeed;Sparkle + Seed;7;0;Create;True;0;0;0;False;0;False;20;1;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;154;2829.045,-1121.681;Inherit;False;142;SpecularSparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;150;2223.296,-1034.633;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;159;2618.395,-946.031;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;160;3178.695,-962.9311;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.RangedFloatNode;128;2454.037,-1405.569;Inherit;False;Constant;_Float3;Float + 3;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;127;1615.301,-1245.947;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SaturateNode;133;1347.187,-1097.451;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.GetLocalVarNode;145;1324.316,-1179.521;Inherit;False;142;SpecularSparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SaturateNode;138;2193.231,-610.4689;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;136;2389.984,-723.9228;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;148;2567.24,-1152.042;Inherit;False;142;SpecularSparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;181;2854.401,-726.9641;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;152;3210.316,613.6907;Inherit;False;Sparkles;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;153;3475.094,-1233.331;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;147;2376.034,-601.1732;Inherit;False;143;RimlightSparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;184;2861.079,-602.6425;Inherit;False;143;RimlightSparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;183;3506.356,-709.1882;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RangedFloatNode;174;4061.723,887.0181;Inherit;False;Property;_ShowSparkles;_ShowSparkles;37;0;Create;False;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0\nNode;AmplifyShaderEditor.LerpOp;182;3473.88,586.3762;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;185;3736.777,583.67;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;0;4169.257,594.5442;Inherit;False;True;-1;Output;0;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;157;3244.809,768.7764;Inherit;False;152;Sparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.StaticSwitch;177;3428.932,743.8624;Inherit;False;Property;_Keyword1;Keyword + 0;35;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT4;0,0,0,0;False;0;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;0,0,0,0;False;5;FLOAT4;0,0,0,0;False;6;FLOAT4;0,0,0,0;False;7;FLOAT4;0,0,0,0;False;8;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.StaticSwitch;178;3947.636,591.8141;Inherit;False;Property;_EnableSparkles1;Enable + Sparkles;37;0;Create;True;0;0;0;False;0;False;0;0;0;True;_SPARKLES;Toggle;2;Key0;Key1;Reference;173;True;False;All;9;1;FLOAT4;0,0,0,0;False;0;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;0,0,0,0;False;5;FLOAT4;0,0,0,0;False;6;FLOAT4;0,0,0,0;False;7;FLOAT4;0,0,0,0;False;8;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;186;3979.226,-705.5314;Inherit;False;False;-1;Rimlight + Out;2;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.StaticSwitch;187;3726.534,-714.0803;Inherit;False;Property;_EnableSparkles2;Enable + Sparkles;37;0;Create;True;0;0;0;False;0;False;0;0;0;True;_SPARKLES;Toggle;2;Key0;Key1;Reference;173;True;False;All;9;1;FLOAT4;0,0,0,0;False;0;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;0,0,0,0;False;5;FLOAT4;0,0,0,0;False;6;FLOAT4;0,0,0,0;False;7;FLOAT4;0,0,0,0;False;8;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.StaticSwitch;173;3662.26,-1270.813;Inherit;False;Property;_EnableSparkles;Enable + Sparkles;38;0;Create;True;0;0;0;False;0;False;0;0;0;True;_SPARKLES;Toggle;2;Key0;Key1;Create;True;False;All;9;1;FLOAT4;0,0,0,0;False;0;FLOAT4;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;4;FLOAT4;0,0,0,0;False;5;FLOAT4;0,0,0,0;False;6;FLOAT4;0,0,0,0;False;7;FLOAT4;0,0,0,0;False;8;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionOutput;179;3880.668,-1256.87;Inherit;False;False;-1;Specular + Out;1;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;141;-661.004,144.2296;Inherit;False;152;Sparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionInput;125;-654.889,-191.4339;Inherit;False;SpecularIN;3;2;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;139;-482.3041,-242.4704;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;190;-257.9114,-249.1621;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.IntNode;189;-890.9114,-20.16211;Inherit;False;Property;_SparkleBlendMode;Sparkle + Blend Mode;36;1;[Enum];Create;True;0;2;Multiply;0;Additive;1;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;191;-166.9114,171.8379;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;192;-481.9114,-145.1621;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleAddOpNode;193;-482.9114,277.8379;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;142;185.0245,-152.6153;Inherit;False;SpecularSparkles;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;130;-655.6066,-263.7067;Inherit;False;152;Sparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;137;1343.586,-1033.584;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;194;-686.1105,-109.3;Inherit;False;SpecularIN;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;195;-688.1105,289.7;Inherit;False;RimlightIN;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;196;3430.381,-1318.076;Inherit;False;194;SpecularIN;1;0;OBJECT;;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;180;2176.179,-762.0998;Inherit;False;195;RimlightIN;1;0;OBJECT;;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;197;3496.758,-795.7889;Inherit;False;195;RimlightIN;1;0;OBJECT;;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;144;2146.961,-682.7062;Inherit;False;143;RimlightSparkles;1;0;OBJECT;;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;140;-483.0042,179.2296;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionInput;126;-646.989,218.0664;Inherit;False;RimlightIN;3;3;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.RegisterLocalVarNode;143;181.3243,9.084599;Inherit;False;RimlightSparkles;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.IntNode;124;1171.801,-1104.447;Inherit;False;Property;_SparkleMode;Sparkle + Mode;0;1;[Enum];Create;True;0;5;Default;0;Specular;1;Rimlight;2;SpecRim;3;All;4;0;False;0;False;0;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.LerpOp;149;2844.296,-1237.633;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.LerpOp;198;2145.719,-1221.667;Inherit;False;3;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;2;FLOAT;0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.GetLocalVarNode;164;1359.021,-1268.35;Inherit;False;194;SpecularIN;1;0;OBJECT;;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.GetLocalVarNode;199;1868.747,-1148.709;Inherit;False;194;SpecularIN;1;0;OBJECT;;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SaturateNode;151;2614.296,-1011.633;Inherit;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.SaturateNode;200;1879.556,-1074.399;Inherit;False;1;0;INT;0;False;1;INT;0\nWireConnection;7;0;5;0\nWireConnection;7;1;33;0\nWireConnection;31;0;7;0\nWireConnection;5;0;46;0\nWireConnection;52;0;31;0\nWireConnection;54;0;49;0\nWireConnection;54;1;67;0\nWireConnection;57;0;54;0\nWireConnection;56;0;57;0\nWireConnection;58;0;59;0\nWireConnection;58;1;59;1\nWireConnection;59;0;54;0\nWireConnection;60;0;58;0\nWireConnection;61;0;56;0\nWireConnection;61;1;60;0\nWireConnection;63;0;62;0\nWireConnection;67;0;65;0\nWireConnection;67;1;97;0\nWireConnection;49;0;48;0\nWireConnection;62;0;61;0\nWireConnection;80;0;79;0\nWireConnection;73;0;74;0\nWireConnection;73;1;98;0\nWireConnection;73;2;76;0\nWireConnection;79;0;73;0\nWireConnection;33;0;51;0\nWireConnection;90;0;91;0\nWireConnection;85;0;89;0\nWireConnection;89;0;87;0\nWireConnection;89;1;95;0\nWireConnection;94;0;85;0\nWireConnection;94;1;95;0\nWireConnection;106;0;99;0\nWireConnection;91;0;94;0\nWireConnection;91;1;106;0\nWireConnection;91;2;99;0\nWireConnection;97;0;55;0\nWireConnection;98;0;75;0\nWireConnection;111;0;53;0\nWireConnection;111;1;64;0\nWireConnection;111;2;134;0\nWireConnection;112;0;111;0\nWireConnection;112;1;84;0\nWireConnection;112;2;115;0\nWireConnection;113;0;112;0\nWireConnection;113;1;92;0\nWireConnection;113;2;117;0\nWireConnection;114;0;110;0\nWireConnection;116;0;114;0\nWireConnection;115;0;114;0\nWireConnection;117;0;116;0\nWireConnection;99;0;88;0\nWireConnection;120;0;118;0\nWireConnection;121;0;113;0\nWireConnection;121;1;135;0\nWireConnection;134;0;110;0\nWireConnection;135;14;120;0\nWireConnection;135;15;120;1\nWireConnection;135;16;120;2\nWireConnection;135;17;120;3\nWireConnection;135;18;122;0\nWireConnection;129;0;121;0\nWireConnection;132;0;131;0\nWireConnection;132;1;129;0\nWireConnection;172;0;132;0\nWireConnection;172;1;175;0\nWireConnection;172;2;169;0\nWireConnection;175;236;129;0\nWireConnection;175;42;167;0\nWireConnection;42;0;43;0\nWireConnection;42;1;14;0\nWireConnection;14;0;35;0\nWireConnection;43;0;47;0\nWireConnection;43;1;36;0\nWireConnection;32;0;29;0\nWireConnection;32;1;37;0\nWireConnection;37;0;42;0\nWireConnection;50;0;32;0\nWireConnection;2;0;3;0\nWireConnection;2;2;34;0\nWireConnection;44;0;2;1\nWireConnection;71;0;69;0\nWireConnection;70;0;71;0\nWireConnection;70;1;71;1\nWireConnection;69;0;44;0\nWireConnection;72;0;70;0\nWireConnection;45;0;68;0\nWireConnection;68;0;2;2\nWireConnection;68;2;72;0\nWireConnection;150;0;137;0\nWireConnection;159;0;150;0\nWireConnection;160;0;159;0\nWireConnection;127;0;164;0\nWireConnection;127;1;145;0\nWireConnection;127;2;133;0\nWireConnection;133;0;124;0\nWireConnection;138;0;137;0\nWireConnection;136;0;180;0\nWireConnection;136;1;144;0\nWireConnection;136;2;138;0\nWireConnection;181;0;136;0\nWireConnection;181;1;147;0\nWireConnection;181;2;151;0\nWireConnection;152;0;172;0\nWireConnection;153;0;149;0\nWireConnection;153;1;154;0\nWireConnection;153;2;160;0\nWireConnection;183;0;181;0\nWireConnection;183;1;184;0\nWireConnection;183;2;160;0\nWireConnection;182;0;152;0\nWireConnection;182;2;133;0\nWireConnection;185;0;182;0\nWireConnection;185;1;177;0\nWireConnection;185;2;160;0\nWireConnection;0;0;178;0\nWireConnection;177;0;157;0\nWireConnection;178;0;185;0\nWireConnection;186;0;187;0\nWireConnection;187;1;197;0\nWireConnection;187;0;183;0\nWireConnection;173;1;196;0\nWireConnection;173;0;153;0\nWireConnection;179;0;173;0\nWireConnection;139;0;130;0\nWireConnection;139;1;125;0\nWireConnection;190;0;139;0\nWireConnection;190;1;192;0\nWireConnection;190;2;189;0\nWireConnection;191;0;140;0\nWireConnection;191;1;193;0\nWireConnection;191;2;189;0\nWireConnection;192;0;130;0\nWireConnection;192;1;125;0\nWireConnection;193;0;141;0\nWireConnection;193;1;126;0\nWireConnection;142;0;190;0\nWireConnection;137;0;124;0\nWireConnection;194;0;125;0\nWireConnection;195;0;126;0\nWireConnection;140;0;141;0\nWireConnection;140;1;126;0\nWireConnection;143;0;191;0\nWireConnection;149;0;198;0\nWireConnection;149;1;148;0\nWireConnection;149;2;151;0\nWireConnection;198;0;127;0\nWireConnection;198;1;199;0\nWireConnection;198;2;200;0\nWireConnection;151;0;150;0\nWireConnection;200;0;137;0\nASEEND*/\n//CHKSM=E7D6226E0CD1BF634B5A69C8B193EFD0BB1BAF42" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Sparkles.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Sparkles.asset.meta new file mode 100644 index 0000000..b41d060 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Sparkles.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 87cacd1a05b93d8488d9cbc3dfb0522e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/SpecularAntialiasing.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/SpecularAntialiasing.asset new file mode 100644 index 0000000..5df420e --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/SpecularAntialiasing.asset @@ -0,0 +1,45 @@ +%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: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: SpecularAntialiasing + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.FunctionInput;4;-589.5,-9.5;Inherit;False;WorldNormal;3;1;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.CustomExpressionNode;3;-407.5,-3.5;Inherit;False;float3 + nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( + saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.OneMinusNode;7;-187.5,-3.5;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionInput;5;-362.5,61.5;Inherit;False;Smoothness;1;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.SimpleMinOpNode;6;-31.5,-6.5;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;104,-8;Inherit;False;True;-1;Smoothness;0;False;1;0;FLOAT;0;False;1;FLOAT;0\nWireConnection;3;0;4;0\nWireConnection;7;0;3;0\nWireConnection;6;0;7;0\nWireConnection;6;1;5;0\nWireConnection;0;0;6;0\nASEEND*/\n//CHKSM=A9B0B68602AB8A2FA31EEE7DEB362AEF4A4FB20A" + m_functionName: + m_description: Requires shader model 4.5 + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 3 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/SpecularAntialiasing.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/SpecularAntialiasing.asset.meta new file mode 100644 index 0000000..844df4f --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/SpecularAntialiasing.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a6d9ceadf016dcf4a86d59b1871f0a48 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Data.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Data.asset new file mode 100644 index 0000000..a02bd2a --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Data.asset @@ -0,0 +1,48 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Zone Data + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.CustomExpressionNode;2;-221.8098,-14.39726;Inherit;False;AudioLinkData( + ALPASS_AUDIOLINK + uint2( Delay, Band ) );3;Create;2;True;Band;INT;0;In;;Inherit;False;True;Delay;INT;0;In;;Inherit;False;LumaGlowData;True;False;0;;False;2;0;INT;0;False;1;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;15;-401.6683,-25.92816;Inherit;False;3;0;INT;0;False;1;INT;0;False;2;FLOAT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;10;-386.5,89.5;Inherit;False;Delay;0;1;False;1;0;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;14;-765.6683,145.0718;Inherit;False;IsLumaGlow;-1;;3;87b97d6de6c802f4a9716e1ca7102272;0;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;6;-1013.5,-126.5;Inherit;False;Zone;0;0;False;1;0;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.ClampOpNode;8;-893.5,-120.5;Inherit;False;3;0;INT;0;False;1;INT;1;False;2;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;3;-755.6719,-120.2756;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;1;-595.6719,14.72431;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;4;-765.6719,5.724312;Inherit;False;Constant;_Int0;Int + 0;19;0;Create;True;0;0;0;False;0;False;63;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionOutput;0;440,92;Inherit;False;True;-1;Output;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.CustomExpressionNode;16;-228.697,-106.3298;Inherit;False;float3 + result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone))@$result + = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1))@$result = + lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2))@$return result@;3;Create;1;True;Zone;INT;0;In;;Inherit;False;getThemeData;False;True;1;-1;;False;1;0;INT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;18;-39.66772,-74.20422;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;17;275.3323,92.79578;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nWireConnection;2;0;15;0\nWireConnection;2;1;10;0\nWireConnection;15;0;3;0\nWireConnection;15;1;1;0\nWireConnection;15;2;14;0\nWireConnection;8;0;6;0\nWireConnection;3;0;8;0\nWireConnection;1;0;4;0\nWireConnection;1;1;3;0\nWireConnection;0;0;17;0\nWireConnection;16;0;3;0\nWireConnection;18;0;16;0\nWireConnection;18;1;2;0\nWireConnection;17;0;18;0\nWireConnection;17;1;2;0\nWireConnection;17;2;14;0\nASEEND*/\n//CHKSM=25223A861B5595BD2D9E977329D1ED94EAE279C0" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Data.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Data.asset.meta new file mode 100644 index 0000000..8a96fe1 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Data.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7943a2133aa4e89429bf6dc23f9e6f54 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Lerp.asset b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Lerp.asset new file mode 100644 index 0000000..9cd8eff --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Lerp.asset @@ -0,0 +1,48 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3} + m_Name: Zone Lerp + m_EditorClassIdentifier: + m_functionInfo: "// Made with Amplify Shader Editor v1.9.1.5\n// Available at the + Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19105\nNode;AmplifyShaderEditor.FunctionInput;10;-356.5,75.5;Inherit;False;Delay;1;1;False;1;0;FLOAT;0;False;1;FLOAT;0\nNode;AmplifyShaderEditor.CustomExpressionNode;11;-218.25,-16.88785;Inherit;False;AudioLinkLerp( + ALPASS_AUDIOLINK + float2( Delay, Band ) );3;Create;2;True;Band;INT;0;In;;Inherit;False;True;Delay;FLOAT;0;In;;Inherit;False;LumaGlowLerp;True;False;0;;False;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;14;-383.25,-42.88779;Inherit;False;3;0;INT;0;False;1;INT;0;False;2;FLOAT;0;False;1;INT;0\nNode;AmplifyShaderEditor.ClampOpNode;8;-883.5,-119.5;Inherit;False;3;0;INT;0;False;1;INT;1;False;2;INT;4;False;1;INT;0\nNode;AmplifyShaderEditor.FunctionInput;6;-1056.5,-124.5;Inherit;False;Zone;0;0;False;1;0;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;3;-745.6719,-119.2756;Inherit;False;2;0;INT;0;False;1;INT;1;False;1;INT;0\nNode;AmplifyShaderEditor.SimpleSubtractOpNode;1;-584.6719,-12.27569;Inherit;False;2;0;INT;0;False;1;INT;0;False;1;INT;0\nNode;AmplifyShaderEditor.IntNode;4;-747.6719,-18.27569;Inherit;False;Constant;_Int0;Int + 0;19;0;Create;True;0;0;0;False;0;False;63;0;False;0;1;INT;0\nNode;AmplifyShaderEditor.FunctionNode;13;-595.25,80.11221;Inherit;False;IsLumaGlow;-1;;1;87b97d6de6c802f4a9716e1ca7102272;0;0;1;INT;0\nNode;AmplifyShaderEditor.SimpleMultiplyOpNode;16;-32.02245,-63.83291;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.LerpOp;17;228.3776,31.66708;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.FunctionOutput;0;388.0004,33.00006;Inherit;False;True;-1;Output;0;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0\nNode;AmplifyShaderEditor.CustomExpressionNode;15;-214.5516,-95.95855;Inherit;False;float3 + result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone))@$result + = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1))@$result = + lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2))@$return result@;3;Create;1;True;Zone;INT;0;In;;Inherit;False;getThemeData;False;True;1;-1;;False;1;0;INT;0;False;1;FLOAT3;0\nWireConnection;11;0;14;0\nWireConnection;11;1;10;0\nWireConnection;14;0;3;0\nWireConnection;14;1;1;0\nWireConnection;14;2;13;0\nWireConnection;8;0;6;0\nWireConnection;3;0;8;0\nWireConnection;1;0;4;0\nWireConnection;1;1;3;0\nWireConnection;16;0;15;0\nWireConnection;16;1;11;0\nWireConnection;17;0;16;0\nWireConnection;17;1;11;0\nWireConnection;17;2;13;0\nWireConnection;0;0;17;0\nWireConnection;15;0;3;0\nASEEND*/\n//CHKSM=4080233B149CBC3267DB2929841ECA79430B875E" + m_functionName: + m_description: + m_additionalIncludes: + m_additionalIncludes: [] + m_outsideIncludes: [] + m_additionalPragmas: + m_additionalPragmas: [] + m_outsidePragmas: [] + m_additionalDirectives: + m_validData: 0 + m_isDirty: 0 + m_moduleName: ' Additional Directives' + m_independentModule: 1 + m_customEdited: 0 + m_additionalDirectives: [] + m_shaderFunctionDirectives: [] + m_nativeDirectives: [] + m_nativeDirectivesIndex: -1 + m_nativeDirectivesFoldout: 0 + m_directivesSaveItems: [] + m_nodeCategory: 0 + m_headerStyle: 0 + m_headerColor: {r: 1, g: 0.4, b: 0, a: 1} + m_customNodeCategory: Luma Glow + m_previewPosition: 0 + m_hidden: 0 + m_url: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Lerp.asset.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Lerp.asset.meta new file mode 100644 index 0000000..e310d17 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Shader Functions/Zone Lerp.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 343492bb393a3a24fb3a9bb834f2acf5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout Outline.shader b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout Outline.shader new file mode 100644 index 0000000..38354fd --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout Outline.shader @@ -0,0 +1,4079 @@ +// Made with Amplify Shader Editor v1.9.1.5 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "Furality/Sylva Shader/Sylva Cutout Outline" +{ + Properties + { + [HDR]_OutlineGlowTint("OutlineGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_OutlineGlowZone("OutlineGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_OutlineGlowMode("OutlineGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_OutlineGlowBlendMode("OutlineGlowBlendMode", Int) = 0 + _OutlineGlowMinBrightness("OutlineGlowMinBrightness", Range( 0 , 1)) = 0 + _OutlineGlowPulseDir("OutlineGlowPulseDir", Float) = 0 + _OutlineGlowPulseScale("OutlineGlowPulseScale", Float) = 127 + _OutlineGlowPulseOffset("OutlineGlowPulseOffset", Float) = 0 + _OutlineGlowRadialCenter("OutlineGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_OutlineReactiveTint("OutlineReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineReactiveBand("OutlineReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_OutlineReactiveMode("OutlineReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_OutlineReactiveBlendMode("OutlineReactiveBlendMode", Int) = 0 + _OutlineReactiveMinBrightness("OutlineReactiveMinBrightness", Range( 0 , 1)) = 0 + _OutlineReactiveGlobalSmoothing("OutlineReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _OutlineReactivePulseDir("OutlineReactivePulseDir", Float) = 0 + _OutlineReactivePulseScale("OutlineReactivePulseScale", Float) = 127 + _OutlineReactivePulseOffset("OutlineReactivePulseOffset", Float) = 0 + _OutlineReactiveRadialCenter("OutlineReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowOutlineGlow("_ShowOutlineGlow", Float) = 0 + _ShowOutlineAL("_ShowOutlineAL", Float) = 0 + _MainTex("Main Tex", 2D) = "white" {} + _Color("Color", Color) = (1,1,1,1) + _EffectMask("Effect Mask", 2D) = "white" {} + _EmissionMap("EmissionMap", 2D) = "white" {} + [HDR]_EmissionColor("Emission Color", Color) = (0,0,0,0) + [Enum(None,0,R,1,G,2,B,3,A,4)]_EmissionMaskingChannel("Emission Masking Channel", Int) = 0 + [ToggleUI]_EmissionMaskPan("Emission Mask Pan", Float) = 0 + _EmissionMaskPanSpeed("Emission Mask Pan Speed", Vector) = (1,1,0,0) + [ToggleUI]_EmissionPan("Emission Pan", Float) = 0 + _EmissionPanSpeed("Emission Pan Speed", Vector) = (1,1,0,0) + [Normal][SingleLineTexture]_BumpMap("Normal", 2D) = "bump" {} + _BumpScale("Normal Scale", Range( 0 , 1)) = 1 + [SingleLineTexture]_MetallicGlossMap("Metallic", 2D) = "black" {} + _Metallic("Metallic", Range( 0 , 1)) = 0 + _Glossiness("Smoothness", Range( 0 , 1)) = 0.5 + _GlossMapScale("GlossMapScale", Range( 0 , 1)) = 1 + [SingleLineTexture]_OcclusionMap("OcclusionMap", 2D) = "white" {} + _OcclusionStrength("Occlusion Strength", Range( 0 , 1)) = 1 + [ToggleUI]_EnableSpecularMap("Enable Specular Map", Float) = 0 + [SingleLineTexture]_SpecGlossMap("Specular", 2D) = "white" {} + _SpecColor("Specular Color", Color) = (1,1,1,0) + [HDR]_RimlightColor("Rimlight Color", Color) = (1,1,1,0) + _OutlineWidth("Outline Width", Range( 0 , 1000)) = 1 + _MaxOutlineWidth("Max Outline Width", Range( 0 , 1000)) = 850 + _ViewFudge("ViewFudge", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_OutlineMaskingChannel("Outline Masking Channel", Int) = 0 + _OutlineColor("Outline Color", Color) = (0,0,0,1) + _DirectionalMap("Directional Map", 2D) = "white" {} + [HDR]_EmissionGlowTint("EmissionGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_EmissionGlowZone("EmissionGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_EmissionGlowMode("EmissionGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_EmissionGlowBlendMode("EmissionGlowBlendMode", Int) = 0 + _EmissionGlowMinBrightness("EmissionGlowMinBrightness", Range( 0 , 1)) = 0 + _EmissionGlowPulseDir("EmissionGlowPulseDir", Float) = 0 + _EmissionGlowPulseScale("EmissionGlowPulseScale", Float) = 127 + _EmissionGlowPulseOffset("EmissionGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionGlowAnimationBand("EmissionGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_EmissionGlowAnimationMode("EmissionGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_EmissionGlowAnimationSpeed("EmissionGlowAnimationSpeed", Int) = 0 + _EmissionGlowAnimationStrength("EmissionGlowAnimationStrength", Float) = 1 + _EmissionGlowRadialCenter("EmissionGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_EmissionReactiveTint("EmissionReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionReactiveBand("EmissionReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_EmissionReactiveMode("EmissionReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_EmissionReactiveBlendMode("EmissionReactiveBlendMode", Int) = 0 + _EmissionReactiveMinBrightness("EmissionReactiveMinBrightness", Range( 0 , 1)) = 0 + _EmissionReactiveGlobalSmoothing("EmissionReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _EmissionReactivePulseDir("EmissionReactivePulseDir", Float) = 0 + _EmissionReactivePulseScale("EmissionReactivePulseScale", Float) = 127 + _EmissionReactivePulseOffset("EmissionReactivePulseOffset", Float) = 0 + _EmissionReactiveRadialCenter("EmissionReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowEmissGlow("_ShowEmissGlow", Float) = 0 + _ShowEmissAL("_ShowEmissAL", Float) = 0 + _GlowMask("GlowMask", 2D) = "black" {} + [HDR]_RedChGlowTint("RedChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_RedChGlowZone("RedChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_RedChGlowMode("RedChGlowMode", Int) = 0 + _RedChGlowMinBrightness("RedChGlowMinBrightness", Range( 0 , 1)) = 0 + _RedChGlowPulseDir("RedChGlowPulseDir", Float) = 0 + _RedChGlowPulseScale("RedChGlowPulseScale", Float) = 127 + _RedChGlowPulseOffset("RedChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChGlowAnimationBand("RedChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RedChGlowAnimationMode("RedChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RedChGlowAnimationSpeed("RedChGlowAnimationSpeed", Int) = 0 + _RedChGlowAnimationStrength("RedChGlowAnimationStrength", Float) = 1 + _RedChGlowRadialCenter("RedChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_RedChReactiveTint("RedChReactiveTint", Color) = (1,1,1,0) + [HideInInspector] _texcoord( "", 2D ) = "white" {} + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChReactiveBand("RedChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_RedChReactiveMode("RedChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_RedChReactiveBlendMode("RedChReactiveBlendMode", Int) = 0 + _RedChReactiveMinBrightness("RedChReactiveMinBrightness", Range( 0 , 1)) = 0 + _RedChReactiveGlobalSmoothing("RedChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _RedChReactivePulseDir("RedChReactivePulseDir", Float) = 0 + _RedChReactivePulseScale("RedChReactivePulseScale", Float) = 127 + _RedChReactivePulseOffset("RedChReactivePulseOffset", Float) = 0 + _RedChReactiveRadialCenter("RedChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowRedGlow("_ShowRedGlow", Float) = 0 + _ShowRedAL("_ShowRedAL", Float) = 0 + [ToggleUI]_EnableRedChannel("_EnableRedChannel", Float) = 0 + [HDR]_GreenChGlowTint("GreenChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_GreenChGlowZone("GreenChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_GreenChGlowMode("GreenChGlowMode", Int) = 0 + _GreenChReactiveMinBrightness("GreenChReactiveMinBrightness", Range( 0 , 1)) = 0 + _GreenChGlowPulseDir("GreenChGlowPulseDir", Float) = 0 + _GreenChGlowPulseScale("GreenChGlowPulseScale", Float) = 127 + _GreenChGlowPulseOffset("GreenChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChGlowAnimationBand("GreenChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_GreenChGlowAnimationMode("GreenChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_GreenChGlowAnimationSpeed("GreenChGlowAnimationSpeed", Int) = 0 + _GreenChGlowAnimationStrength("GreenChGlowAnimationStrength", Float) = 1 + _GreenChGlowRadialCenter("GreenChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_GreenChReactiveTint("GreenChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChReactiveBand("GreenChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_GreenChReactiveMode("GreenChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_GreenChReactiveBlendMode("GreenChReactiveBlendMode", Int) = 0 + _GreenChGlowMinBrightness("GreenChGlowMinBrightness", Range( 0 , 1)) = 0 + _GreenChReactiveGlobalSmoothing("GreenChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _GreenChReactivePulseDir("GreenChReactivePulseDir", Float) = 0 + _GreenChReactivePulseScale("GreenChReactivePulseScale", Float) = 127 + _GreenChReactivePulseOffset("GreenChReactivePulseOffset", Float) = 0 + _GreenChReactiveRadialCenter("GreenChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowGreenGlow("_ShowGreenGlow", Float) = 0 + _ShowGreenAL("_ShowGreenAL", Float) = 0 + [ToggleUI]_EnableGreenChannel("_EnableGreenChannel", Float) = 0 + [HDR]_BlueChGlowTint("BlueChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_BlueChGlowZone("BlueChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_BlueChGlowMode("BlueChGlowMode", Int) = 0 + _BlueChGlowMinBrightness("BlueChGlowMinBrightness", Range( 0 , 1)) = 0 + _BlueChGlowPulseDir("BlueChGlowPulseDir", Float) = 0 + _BlueChGlowPulseScale("BlueChGlowPulseScale", Float) = 127 + _BlueChGlowPulseOffset("BlueChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChGlowAnimationBand("BlueChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_BlueChGlowAnimationMode("BlueChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_BlueChGlowAnimationSpeed("BlueChGlowAnimationSpeed", Int) = 0 + _BlueChGlowAnimationStrength("BlueChGlowAnimationStrength", Float) = 1 + _BlueChGlowRadialCenter("BlueChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_BlueChReactiveTint("BlueChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChReactiveBand("BlueChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_BlueChReactiveMode("BlueChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_BlueChReactiveBlendMode("BlueChReactiveBlendMode", Int) = 0 + _BlueChReactiveMinBrightness("BlueChReactiveMinBrightness", Range( 0 , 1)) = 0 + _BlueChReactiveGlobalSmoothing("BlueChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _BlueChReactivePulseDir("BlueChReactivePulseDir", Float) = 0 + _BlueChReactivePulseScale("BlueChReactivePulseScale", Float) = 127 + _BlueChReactivePulseOffset("BlueChReactivePulseOffset", Float) = 0 + _BlueChReactiveRadialCenter("BlueChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowBlueGlow("_ShowBlueGlow", Float) = 0 + _ShowBlueAL("_ShowBlueAL", Float) = 0 + [ToggleUI]_EnableBlueChannel("_EnableBlueChannel", Float) = 0 + [HDR]_AlphaChGlowTint("AlphaChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_AlphaChGlowZone("AlphaChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_AlphaChGlowMode("AlphaChGlowMode", Int) = 0 + _AlphaChGlowMinBrightness("AlphaChGlowMinBrightness", Range( 0 , 1)) = 0 + _AlphaChGlowPulseDir("AlphaChGlowPulseDir", Float) = 0 + _AlphaChGlowPulseScale("AlphaChGlowPulseScale", Float) = 127 + _AlphaChGlowPulseOffset("AlphaChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChGlowAnimationBand("AlphaChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_AlphaChGlowAnimationMode("AlphaChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_AlphaChGlowAnimationSpeed("AlphaChGlowAnimationSpeed", Int) = 0 + _AlphaChGlowAnimationStrength("AlphaChGlowAnimationStrength", Float) = 1 + _AlphaChGlowRadialCenter("AlphaChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_AlphaChReactiveTint("AlphaChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChReactiveBand("AlphaChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_AlphaChReactiveMode("AlphaChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_AlphaChReactiveBlendMode("AlphaChReactiveBlendMode", Int) = 0 + _AlphaChReactiveMinBrightness("AlphaChReactiveMinBrightness", Range( 0 , 1)) = 0 + _AlphaChReactiveGlobalSmoothing("AlphaChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _AlphaChReactivePulseDir("AlphaChReactivePulseDir", Float) = 0 + _AlphaChReactivePulseScale("AlphaChReactivePulseScale", Float) = 127 + _AlphaChReactivePulseOffset("AlphaChReactivePulseOffset", Float) = 0 + _AlphaChReactiveRadialCenter("AlphaChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowAlphaGlow("_ShowAlphaGlow", Float) = 0 + _ShowAlphaAL("_ShowAlphaAL", Float) = 0 + [ToggleUI]_EnableAlphaChannel("_EnableAlphaChannel", Float) = 0 + _BlendModeIndex("_BlendModeIndex", Float) = 0 + _BlendOPsrc("_BlendOPsrc", Float) = 5 + _BlendOPIndex("_BlendOPIndex", Float) = 0 + _BlendOPdst("_BlendOPdst", Float) = 10 + [HideInInspector]_ShowEffects("ShowEffects", Float) = 0 + [HideInInspector]_ShowGlow("ShowGlow", Float) = 0 + [HideInInspector]_ShowOutline("ShowOutline", Float) = 0 + [HideInInspector]_ShowOutline2("ShowOutline2", Float) = 0 + [HideInInspector]_ShowMain("ShowMain", Float) = 0 + [Toggle(_EMISSION)] _EnableEmission("_Enable Emission", Float) = 0 + [Enum(Iridescent Colors,0,Emission Multiply,1,Rainbow,2,Texture HueSelect,3,Holographic,4,Texture HueShift,5)]_IridescentEmissionMode("Iridescent Emission Mode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_IridescentMaskingChannel("Iridescent Masking Channel", Int) = 0 + _IridescentEmissionColor1("Iridescent Emission Color 1", Color) = (1,0,0,0) + _IridescentEmissionColor2("Iridescent Emission Color 2", Color) = (0,1,0,0) + _IridescentEmissionColor3("Iridescent Emission Color 3", Color) = (0,0,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_IridescentALAnimationBand("IridescentALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_IridescentALAnimationMode("IridescentALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_IridescentALAnimationSpeed("IridescentALAnimationSpeed", Int) = 0 + _IridescentALAnimationStrength("IridescentALAnimationStrength", Float) = 1 + _ShowIridescence("_ShowIridescence", Float) = 0 + _IridescentIntensity("IridescentIntensity", Range( 0 , 10)) = 1 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword0("Keyword 0", Float) = 0 + [Enum(Facing,0,Reflection,1,Light Direction,2)]_IridescentMode2("Iridescent Mode 2", Int) = 0 + _IridescentScale("IridescentScale", Float) = 1 + _IridescentOffset("IridescentOffset", Float) = 0 + [Enum(Global,0,Specular,1,Rimlight,2,Both,3)]_IridescenceLightMode("Iridescence Light Mode", Int) = 0 + [ToggleUI]_Enableiridescence("_Enableiridescence", Float) = 0 + [Enum(Default,0,Specular,1,Rimlight,2,SpecRim,3,All,4)]_SparkleMode("Sparkle Mode", Int) = 0 + [Enum(Circle,0,Square,1,Star,2,Heart,3)]_SparkleShape("Sparkle Shape", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_SparkleMaskingChannel("Sparkle Masking Channel", Int) = 0 + [HDR]_SparkleColor("Sparkle Color", Color) = (1,1,1,0) + _SparkleSize("Sparkle Size", Range( 0 , 0.75)) = 0.5 + _SparkleScale("Sparkle Scale", Float) = 1 + _SparkleSpeed("Sparkle Speed", Float) = 1 + _SparkleSeed("Sparkle Seed", Float) = 20 + [HDR]_SparkleGlowTint("SparkleGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_SparkleGlowZone("SparkleGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_SparkleGlowMode("SparkleGlowMode", Int) = 0 + _SparkleGlowMinBrightness("SparkleGlowMinBrightness", Range( 0 , 1)) = 0 + _SparkleGlowPulseDir("SparkleGlowPulseDir", Float) = 0 + _SparkleGlowPulseScale("SparkleGlowPulseScale", Float) = 127 + _SparkleGlowPulseOffset("SparkleGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleGlowAnimationBand("SparkleGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_SparkleGlowAnimationMode("SparkleGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_SparkleGlowAnimationSpeed("SparkleGlowAnimationSpeed", Int) = 0 + _SparkleGlowAnimationStrength("SparkleGlowAnimationStrength", Float) = 1 + _SparkleGlowRadialCenter("SparkleGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_SparkleReactiveTint("SparkleReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleReactiveBand("SparkleReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_SparkleReactiveMode("SparkleReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_SparkleReactiveBlendMode("SparkleReactiveBlendMode", Int) = 0 + _SparkleReactiveMinBrightness("SparkleReactiveMinBrightness", Range( 0 , 1)) = 0 + _SparkleReactiveGlobalSmoothing("SparkleReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _SparkleReactivePulseDir("SparkleReactivePulseDir", Float) = 0 + _SparkleReactivePulseScale("SparkleReactivePulseScale", Float) = 127 + _SparkleReactivePulseOffset("SparkleReactivePulseOffset", Float) = 0 + _SparkleReactiveRadialCenter("SparkleReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowSparkleGlow("_ShowSparkleGlow", Float) = 0 + _ShowSparkleAL("_ShowSparkleAL", Float) = 0 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword1("Keyword 0", Float) = 0 + [Enum(Multiply,0,Additive,1)]_SparkleBlendMode("Sparkle Blend Mode", Int) = 0 + _ShowSparkles("_ShowSparkles", Float) = 0 + [Toggle(_SPARKLES)] _EnableSparkles("Enable Sparkles", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_RainbowMaskingChannel("Rainbow Masking Channel", Int) = 0 + [Enum(Default,0,Radial,1,Spiral,2,Direction Map,3,Reverse Direction,4)]_RainbowUVMode("Rainbow UV Mode", Int) = 0 + _RainbowHue("Rainbow Hue", Range( 0 , 1)) = 1 + _RainbowSaturation("Rainbow Saturation", Range( 0 , 1)) = 1 + _RainbowValue("Rainbow Value", Range( 0 , 1)) = 1 + _RainbowHueRange("Rainbow Hue Range", Range( 0 , 1)) = 1 + _RainbowRotation("Rainbow Rotation", Float) = 0 + _RainbowScale("Rainbow Scale", Float) = 1 + _RainbowSpiralCurve("Rainbow Spiral Curve", Float) = 1 + _RainbowRadialCenter("Rainbow Radial Center", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RainbowALAnimationBand("RainbowALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RainbowALAnimationMode("RainbowALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RainbowALAnimationSpeed("RainbowALAnimationSpeed", Int) = 0 + _RainbowALAnimationStrength("RainbowALAnimationStrength", Float) = 1 + _ShowRainbow("_ShowRainbow", Float) = 0 + [ToggleUI]_EnableScrollingRainbow("_EnableScrollingRainbow", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)]_Culling("Culling", Float) = 0 + _MaskClipValue("Mask Clip Value", Float) = 0.5 + [HideInInspector] __dirty( "", Int ) = 1 + } + + SubShader + { + Tags{ "RenderType" = "TransparentCutout" "Queue" = "AlphaTest+0"} + ZWrite On + Cull Front + CGPROGRAM + #pragma target 3.0 + #pragma surface outlineSurf Outline keepalpha noshadow noambient novertexlights nolightmap nodynlightmap nodirlightmap nometa noforwardadd vertex:outlineVertexDataFunc + + void outlineVertexDataFunc( inout appdata_full v, out Input o ) + { + UNITY_INITIALIZE_OUTPUT( Input, o ); + float eyeDepth = -UnityObjectToViewPos( v.vertex.xyz ).z; + float3 ase_worldNormal = UnityObjectToWorldNormal( v.normal ); + float lerpResult824 = lerp( 0.0 , ( _OutlineWidth / 10000.0 ) , saturate( _OutlineWidth )); + float lerpResult829 = lerp( 0.0 , ( _MaxOutlineWidth / 10000.0 ) , saturate( _MaxOutlineWidth )); + float2 uv_EffectMask = v.texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2Dlod( _EffectMask, float4( uv_EffectMask, 0, 0.0) ); + float4 break1044 = EffectMaskRGBA871; + int temp_output_18_0_g4562 = _OutlineMaskingChannel; + float lerpResult1_g4562 = lerp( 1.0 , break1044.r , (float)saturate( temp_output_18_0_g4562 )); + int temp_output_5_0_g4562 = ( temp_output_18_0_g4562 - 1 ); + float lerpResult12_g4562 = lerp( lerpResult1_g4562 , break1044.g , (float)saturate( temp_output_5_0_g4562 )); + int temp_output_6_0_g4562 = ( temp_output_5_0_g4562 - 1 ); + float lerpResult10_g4562 = lerp( lerpResult12_g4562 , break1044.b , (float)saturate( temp_output_6_0_g4562 )); + float lerpResult11_g4562 = lerp( lerpResult10_g4562 , break1044.a , (float)saturate( ( temp_output_6_0_g4562 - 1 ) )); + float temp_output_1042_0 = lerpResult11_g4562; + float3 ase_worldPos = mul( unity_ObjectToWorld, v.vertex ); + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 worldToObjDir1060 = mul( unity_WorldToObject, float4( ( ( ase_worldNormal * min( ( lerpResult824 + ( lerpResult824 * eyeDepth ) ) , lerpResult829 ) * temp_output_1042_0 ) + ( -ase_worldViewDir * _ViewFudge ) ), 0 ) ).xyz; + float3 outlineVar = worldToObjDir1060; + v.vertex.xyz += outlineVar; + } + inline half4 LightingOutline( SurfaceOutput s, half3 lightDir, half atten ) { return half4 ( 0,0,0, s.Alpha); } + void outlineSurf( Input i, inout SurfaceOutput o ) + { + float4 OutlineRGB788 = _OutlineColor; + float3 temp_output_229_0_g5052 = OutlineRGB788.rgb; + int EmissionReactiveBand236_g5052 = _OutlineReactiveBand; + int Band3_g5053 = EmissionReactiveBand236_g5052; + int Delay3_g5053 = 0; + float localAudioLinkData3_g5053 = AudioLinkData3_g5053( Band3_g5053 , Delay3_g5053 ); + int temp_output_64_0_g5052 = step( _OutlineReactiveBand , 9 ); + float lerpResult66_g5052 = lerp( 1.0 , localAudioLinkData3_g5053 , (float)temp_output_64_0_g5052); + int Band3_g5055 = _OutlineReactiveBand; + float cos78_g5052 = cos( radians( _OutlineReactivePulseDir ) ); + float sin78_g5052 = sin( radians( _OutlineReactivePulseDir ) ); + float2 rotator78_g5052 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5052 , -sin78_g5052 , sin78_g5052 , cos78_g5052 )) + float2( 0.5,0.5 ); + float x96_g5052 = ( ( rotator78_g5052.x * _OutlineReactivePulseScale ) + _OutlineReactivePulseOffset ); + float y96_g5052 = 127.0; + float localglslmod96_g5052 = glslmod96_g5052( x96_g5052 , y96_g5052 ); + float2 CenteredUV15_g5056 = ( i.uv_texcoord - _OutlineReactiveRadialCenter ); + float2 break17_g5056 = CenteredUV15_g5056; + float2 appendResult23_g5056 = (float2(( length( CenteredUV15_g5056 ) * _OutlineReactivePulseScale * 2.0 ) , ( atan2( break17_g5056.x , break17_g5056.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5052 = ( _OutlineReactivePulseOffset + appendResult23_g5056.x ); + float y97_g5052 = 127.0; + float localglslmod97_g5052 = glslmod97_g5052( x97_g5052 , y97_g5052 ); + int EmissionReactiveMode99_g5052 = _OutlineReactiveMode; + int temp_output_90_0_g5052 = ( EmissionReactiveMode99_g5052 - 1 ); + float lerpResult77_g5052 = lerp( localglslmod96_g5052 , localglslmod97_g5052 , (float)saturate( temp_output_90_0_g5052 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4913 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float temp_output_1189_244 = Direction27_g4913; + float DirectionalMap106_g5052 = temp_output_1189_244; + float lerpResult174_g5052 = lerp( DirectionalMap106_g5052 , ( 1.0 - DirectionalMap106_g5052 ) , (float)saturate( ( EmissionReactiveMode99_g5052 - 3 ) )); + float x98_g5052 = ( _OutlineReactivePulseOffset + ( _OutlineReactivePulseScale * lerpResult174_g5052 ) ); + float y98_g5052 = 127.0; + float localglslmod98_g5052 = glslmod98_g5052( x98_g5052 , y98_g5052 ); + float lerpResult87_g5052 = lerp( lerpResult77_g5052 , localglslmod98_g5052 , (float)saturate( ( temp_output_90_0_g5052 - 1 ) )); + float Delay3_g5055 = lerpResult87_g5052; + float localAudioLinkLerp3_g5055 = AudioLinkLerp3_g5055( Band3_g5055 , Delay3_g5055 ); + float lerpResult102_g5052 = lerp( 1.0 , localAudioLinkLerp3_g5055 , (float)temp_output_64_0_g5052); + float lerpResult103_g5052 = lerp( lerpResult66_g5052 , lerpResult102_g5052 , (float)saturate( EmissionReactiveMode99_g5052 )); + int Band3_g5057 = _OutlineReactiveBand; + float FilteredAmount3_g5057 = ( ( 1.0 - _OutlineReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5057 = AudioLinkLerp3_g5057( Band3_g5057 , FilteredAmount3_g5057 ); + float lerpResult168_g5052 = lerp( 1.0 , localAudioLinkLerp3_g5057 , (float)temp_output_64_0_g5052); + float lerpResult172_g5052 = lerp( lerpResult103_g5052 , lerpResult168_g5052 , (float)saturate( ( EmissionReactiveMode99_g5052 - 4 ) )); + float ReactivityAlpha132_g5052 = (_OutlineReactiveMinBrightness + (lerpResult172_g5052 - 0.0) * (( _OutlineReactiveMinBrightness + 1.0 ) - _OutlineReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_10 = (1.0).xxxx; + float4 lerpResult240_g5052 = lerp( temp_cast_10 , _OutlineReactiveTint , (float)step( EmissionReactiveBand236_g5052 , 9 )); + float4 FinalReactivity68_g5052 = ( ReactivityAlpha132_g5052 * lerpResult240_g5052 ); + float4 temp_cast_12 = (1.0).xxxx; + float3 temp_cast_13 = (1.0).xxx; + int EmissionGlowZone47_g5052 = _OutlineGlowZone; + int clampResult8_g5059 = clamp( EmissionGlowZone47_g5052 , 1 , 4 ); + int temp_output_3_0_g5059 = ( clampResult8_g5059 - 1 ); + int Zone16_g5059 = temp_output_3_0_g5059; + float3 localgetThemeData16_g5059 = getThemeData( Zone16_g5059 ); + int Band11_g5060 = 56; + int localIsLumaActive11_g5060 = IsLumaActive11_g5060( Band11_g5060 ); + int temp_output_14_0_g5059 = localIsLumaActive11_g5060; + int lerpResult15_g5059 = lerp( temp_output_3_0_g5059 , ( 63 - temp_output_3_0_g5059 ) , (float)temp_output_14_0_g5059); + int Band2_g5059 = lerpResult15_g5059; + int Delay2_g5059 = 0; + float3 localLumaGlowData2_g5059 = LumaGlowData2_g5059( Band2_g5059 , Delay2_g5059 ); + float3 lerpResult17_g5059 = lerp( ( localgetThemeData16_g5059 * localLumaGlowData2_g5059 ) , localLumaGlowData2_g5059 , (float)temp_output_14_0_g5059); + int temp_output_21_0_g5052 = saturate( EmissionGlowZone47_g5052 ); + float3 lerpResult20_g5052 = lerp( temp_cast_13 , lerpResult17_g5059 , (float)temp_output_21_0_g5052); + float3 temp_cast_17 = (1.0).xxx; + int clampResult8_g5061 = clamp( EmissionGlowZone47_g5052 , 1 , 4 ); + int temp_output_3_0_g5061 = ( clampResult8_g5061 - 1 ); + int Zone15_g5061 = temp_output_3_0_g5061; + float3 localgetThemeData15_g5061 = getThemeData( Zone15_g5061 ); + int Band11_g5062 = 56; + int localIsLumaActive11_g5062 = IsLumaActive11_g5062( Band11_g5062 ); + int temp_output_13_0_g5061 = localIsLumaActive11_g5062; + int lerpResult14_g5061 = lerp( temp_output_3_0_g5061 , ( 63 - temp_output_3_0_g5061 ) , (float)temp_output_13_0_g5061); + int Band11_g5061 = lerpResult14_g5061; + float cos6_g5052 = cos( radians( _OutlineGlowPulseDir ) ); + float sin6_g5052 = sin( radians( _OutlineGlowPulseDir ) ); + float2 rotator6_g5052 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5052 , -sin6_g5052 , sin6_g5052 , cos6_g5052 )) + float2( 0.5,0.5 ); + float x13_g5052 = ( ( rotator6_g5052.x * _OutlineGlowPulseScale ) + _OutlineGlowPulseOffset ); + float y13_g5052 = 127.0; + float localglslmod13_g5052 = glslmod13_g5052( x13_g5052 , y13_g5052 ); + float2 CenteredUV15_g5054 = ( i.uv_texcoord - _OutlineGlowRadialCenter ); + float2 break17_g5054 = CenteredUV15_g5054; + float2 appendResult23_g5054 = (float2(( length( CenteredUV15_g5054 ) * _OutlineGlowPulseScale * 2.0 ) , ( atan2( break17_g5054.x , break17_g5054.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5052 = ( _OutlineGlowPulseOffset + appendResult23_g5054.x ); + float y12_g5052 = 127.0; + float localglslmod12_g5052 = glslmod12_g5052( x12_g5052 , y12_g5052 ); + int EmissionGlowMode35_g5052 = _OutlineGlowMode; + int temp_output_37_0_g5052 = ( EmissionGlowMode35_g5052 - 1 ); + float lerpResult5_g5052 = lerp( localglslmod13_g5052 , localglslmod12_g5052 , (float)saturate( temp_output_37_0_g5052 )); + float lerpResult179_g5052 = lerp( DirectionalMap106_g5052 , ( 1.0 - DirectionalMap106_g5052 ) , (float)saturate( ( EmissionGlowMode35_g5052 - 3 ) )); + float x34_g5052 = ( _OutlineGlowPulseOffset + ( _OutlineGlowPulseScale * lerpResult179_g5052 ) ); + float y34_g5052 = 127.0; + float localglslmod34_g5052 = glslmod34_g5052( x34_g5052 , y34_g5052 ); + float lerpResult30_g5052 = lerp( lerpResult5_g5052 , localglslmod34_g5052 , (float)saturate( ( temp_output_37_0_g5052 - 1 ) )); + float EmissionGlowDelay56_g5052 = lerpResult30_g5052; + float Delay11_g5061 = EmissionGlowDelay56_g5052; + float3 localLumaGlowLerp11_g5061 = LumaGlowLerp11_g5061( Band11_g5061 , Delay11_g5061 ); + float3 lerpResult17_g5061 = lerp( ( localgetThemeData15_g5061 * localLumaGlowLerp11_g5061 ) , localLumaGlowLerp11_g5061 , (float)temp_output_13_0_g5061); + float3 lerpResult22_g5052 = lerp( temp_cast_17 , lerpResult17_g5061 , (float)temp_output_21_0_g5052); + float3 lerpResult23_g5052 = lerp( lerpResult20_g5052 , lerpResult22_g5052 , (float)saturate( EmissionGlowMode35_g5052 )); + float4 temp_cast_26 = (1.0).xxxx; + float temp_output_10_0_g5063 = EmissionGlowDelay56_g5052; + float Position1_g5065 = ( temp_output_10_0_g5063 / 127.0 ); + float4 localAudioLinkLerp1_g5065 = AudioLinkLerp1_g5065( Position1_g5065 ); + int clampResult8_g5063 = clamp( ( EmissionGlowZone47_g5052 - 4 ) , 1 , 3 ); + int Band11_g5063 = ( 59 - ( clampResult8_g5063 - 1 ) ); + float Delay11_g5063 = temp_output_10_0_g5063; + float3 localLumaGlowLerp11_g5063 = LumaGlowLerp11_g5063( Band11_g5063 , Delay11_g5063 ); + int Band11_g5064 = 56; + int localIsLumaActive11_g5064 = IsLumaActive11_g5064( Band11_g5064 ); + float4 lerpResult14_g5063 = lerp( localAudioLinkLerp1_g5065 , float4( localLumaGlowLerp11_g5063 , 0.0 ) , (float)localIsLumaActive11_g5064); + float4 lerpResult52_g5052 = lerp( temp_cast_26 , lerpResult14_g5063 , (float)saturate( EmissionGlowZone47_g5052 )); + float4 lerpResult51_g5052 = lerp( float4( lerpResult23_g5052 , 0.0 ) , lerpResult52_g5052 , (float)saturate( ( EmissionGlowZone47_g5052 - 4 ) )); + float4 temp_cast_31 = (_OutlineGlowMinBrightness).xxxx; + float4 temp_cast_32 = (( _OutlineGlowMinBrightness + 1.0 )).xxxx; + int temp_output_234_0_g5052 = saturate( EmissionGlowZone47_g5052 ); + float4 EmissionGlow142_g5052 = ( (temp_cast_31 + (lerpResult51_g5052 - float4( 0,0,0,0 )) * (temp_cast_32 - temp_cast_31) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _OutlineGlowTint * temp_output_234_0_g5052 ); + float4 lerpResult248_g5052 = lerp( temp_cast_12 , EmissionGlow142_g5052 , (float)temp_output_234_0_g5052); + float4 EmissionGlowTog250_g5052 = lerpResult248_g5052; + float4 lerpResult146_g5052 = lerp( ( FinalReactivity68_g5052 * EmissionGlowTog250_g5052 ) , ( EmissionGlow142_g5052 + ( FinalReactivity68_g5052 * step( EmissionReactiveBand236_g5052 , 9 ) ) ) , (float)saturate( _OutlineReactiveBlendMode )); + float4 ReversedReactivity152_g5052 = ( ( 1.0 - ReactivityAlpha132_g5052 ) * lerpResult240_g5052 ); + int temp_output_157_0_g5052 = ( _OutlineReactiveBlendMode - 1 ); + float4 lerpResult114_g5052 = lerp( lerpResult146_g5052 , ( EmissionGlowTog250_g5052 * ReversedReactivity152_g5052 ) , (float)saturate( temp_output_157_0_g5052 )); + float4 lerpResult164_g5052 = lerp( lerpResult114_g5052 , ( EmissionGlow142_g5052 + ( ReversedReactivity152_g5052 * step( EmissionReactiveBand236_g5052 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g5052 - 1 ) )); + int ReactiveBlendmode257_g5052 = _OutlineReactiveBlendMode; + float x266_g5052 = (float)ReactiveBlendmode257_g5052; + float y266_g5052 = 2.0; + float localglslmod266_g5052 = glslmod266_g5052( x266_g5052 , y266_g5052 ); + float lerpResult253_g5052 = lerp( localglslmod266_g5052 , (float)_OutlineGlowBlendMode , (float)saturate( EmissionGlowZone47_g5052 )); + float4 lerpResult222_g5052 = lerp( ( lerpResult164_g5052 * float4( temp_output_229_0_g5052 , 0.0 ) ) , ( lerpResult164_g5052 + float4( temp_output_229_0_g5052 , 0.0 ) ) , lerpResult253_g5052); + float localIfAudioLinkv2Exists1_g5067 = IfAudioLinkv2Exists1_g5067(); + float4 lerpResult273_g5052 = lerp( float4( temp_output_229_0_g5052 , 0.0 ) , lerpResult222_g5052 , localIfAudioLinkv2Exists1_g5067); + float4 OutlineGlow790 = lerpResult273_g5052; + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float Alpha1147 = ( MainTex224.a * _Color.a ); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break1044 = EffectMaskRGBA871; + int temp_output_18_0_g4562 = _OutlineMaskingChannel; + float lerpResult1_g4562 = lerp( 1.0 , break1044.r , (float)saturate( temp_output_18_0_g4562 )); + int temp_output_5_0_g4562 = ( temp_output_18_0_g4562 - 1 ); + float lerpResult12_g4562 = lerp( lerpResult1_g4562 , break1044.g , (float)saturate( temp_output_5_0_g4562 )); + int temp_output_6_0_g4562 = ( temp_output_5_0_g4562 - 1 ); + float lerpResult10_g4562 = lerp( lerpResult12_g4562 , break1044.b , (float)saturate( temp_output_6_0_g4562 )); + float lerpResult11_g4562 = lerp( lerpResult10_g4562 , break1044.a , (float)saturate( ( temp_output_6_0_g4562 - 1 ) )); + float temp_output_1042_0 = lerpResult11_g4562; + o.Emission = OutlineGlow790.xyz; + clip( min( Alpha1147 , temp_output_1042_0 ) - _MaskClipValue ); + } + ENDCG + + + Tags{ "RenderType" = "TransparentCutout" "Queue" = "AlphaTest+0" "IgnoreProjector" = "True" "IsEmissive" = "true" } + Cull [_Culling] + ZWrite On + CGINCLUDE + #include "UnityPBSLighting.cginc" + #include "UnityShaderVariables.cginc" + #include "UnityStandardUtils.cginc" + #include "UnityCG.cginc" + #include "Lighting.cginc" + #pragma target 4.5 + #pragma shader_feature_local _EMISSION + #pragma shader_feature_local _SPARKLES + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + #ifdef UNITY_PASS_SHADOWCASTER + #undef INTERNAL_DATA + #undef WorldReflectionVector + #undef WorldNormalVector + #define INTERNAL_DATA half3 internalSurfaceTtoW0; half3 internalSurfaceTtoW1; half3 internalSurfaceTtoW2; + #define WorldReflectionVector(data,normal) reflect (data.worldRefl, half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal))) + #define WorldNormalVector(data,normal) half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal)) + #endif + struct Input + { + float2 uv_texcoord; + float3 worldRefl; + INTERNAL_DATA + float3 worldPos; + float3 worldNormal; + }; + + struct SurfaceOutputCustomLightingCustom + { + half3 Albedo; + half3 Normal; + half3 Emission; + half Metallic; + half Smoothness; + half Occlusion; + half Alpha; + Input SurfInput; + UnityGIInput GIData; + }; + + uniform float _Culling; + uniform float _ShowMain; + uniform float _ShowGlow; + uniform float _ShowEffects; + uniform float _ShowOutline; + uniform float _ShowOutline2; + uniform float _BlendOPIndex; + uniform float _BlendOPsrc; + uniform float _BlendOPdst; + uniform float _MaskClipValue; + uniform float _BlendModeIndex; + uniform float _ShowEmissGlow; + uniform float _ShowEmissAL; + uniform float _ShowRedGlow; + uniform float _ShowRedAL; + uniform float _EnableRedChannel; + uniform float _ShowGreenGlow; + uniform float _ShowGreenAL; + uniform float _ShowBlueGlow; + uniform float _ShowBlueAL; + uniform float _ShowAlphaGlow; + uniform float _ShowAlphaAL; + uniform float _ShowIridescence; + uniform float _ShowSparkleGlow; + uniform float _ShowSparkleAL; + uniform float _ShowSparkles; + uniform float _ShowRainbow; + uniform float _ShowOutlineGlow; + uniform float _ShowOutlineAL; + uniform sampler2D _MainTex; + uniform float4 _MainTex_ST; + uniform int _RedChGlowZone; + uniform float _RedChGlowPulseDir; + uniform float _RedChGlowPulseScale; + uniform float _RedChGlowPulseOffset; + uniform float _RedChGlowAnimationStrength; + uniform int _RedChGlowAnimationBand; + uniform int _RedChGlowAnimationMode; + uniform int _RedChGlowAnimationSpeed; + uniform float2 _RedChGlowRadialCenter; + uniform int _RedChGlowMode; + uniform sampler2D _DirectionalMap; + uniform float4 _DirectionalMap_ST; + uniform float _RedChGlowMinBrightness; + uniform float4 _RedChGlowTint; + uniform int _RedChReactiveBand; + uniform float _RedChReactivePulseDir; + uniform float _RedChReactivePulseScale; + uniform float _RedChReactivePulseOffset; + uniform float2 _RedChReactiveRadialCenter; + uniform int _RedChReactiveMode; + uniform float _RedChReactiveGlobalSmoothing; + uniform float _RedChReactiveMinBrightness; + uniform float4 _RedChReactiveTint; + uniform int _RedChReactiveBlendMode; + uniform sampler2D _GlowMask; + uniform float4 _GlowMask_ST; + uniform int _GreenChGlowZone; + uniform float _GreenChGlowPulseDir; + uniform float _GreenChGlowPulseScale; + uniform float _GreenChGlowPulseOffset; + uniform float _GreenChGlowAnimationStrength; + uniform int _GreenChGlowAnimationBand; + uniform int _GreenChGlowAnimationMode; + uniform int _GreenChGlowAnimationSpeed; + uniform float2 _GreenChGlowRadialCenter; + uniform int _GreenChGlowMode; + uniform float _GreenChGlowMinBrightness; + uniform float4 _GreenChGlowTint; + uniform int _GreenChReactiveBand; + uniform float _GreenChReactivePulseDir; + uniform float _GreenChReactivePulseScale; + uniform float _GreenChReactivePulseOffset; + uniform float2 _GreenChReactiveRadialCenter; + uniform int _GreenChReactiveMode; + uniform float _GreenChReactiveGlobalSmoothing; + uniform float _GreenChReactiveMinBrightness; + uniform float4 _GreenChReactiveTint; + uniform int _GreenChReactiveBlendMode; + uniform float _EnableGreenChannel; + uniform int _BlueChGlowZone; + uniform float _BlueChGlowPulseDir; + uniform float _BlueChGlowPulseScale; + uniform float _BlueChGlowPulseOffset; + uniform float _BlueChGlowAnimationStrength; + uniform int _BlueChGlowAnimationBand; + uniform int _BlueChGlowAnimationMode; + uniform int _BlueChGlowAnimationSpeed; + uniform float2 _BlueChGlowRadialCenter; + uniform int _BlueChGlowMode; + uniform float _BlueChGlowMinBrightness; + uniform float4 _BlueChGlowTint; + uniform int _BlueChReactiveBand; + uniform float _BlueChReactivePulseDir; + uniform float _BlueChReactivePulseScale; + uniform float _BlueChReactivePulseOffset; + uniform float2 _BlueChReactiveRadialCenter; + uniform int _BlueChReactiveMode; + uniform float _BlueChReactiveGlobalSmoothing; + uniform float _BlueChReactiveMinBrightness; + uniform float4 _BlueChReactiveTint; + uniform int _BlueChReactiveBlendMode; + uniform float _EnableBlueChannel; + uniform int _AlphaChGlowZone; + uniform float _AlphaChGlowPulseDir; + uniform float _AlphaChGlowPulseScale; + uniform float _AlphaChGlowPulseOffset; + uniform float _AlphaChGlowAnimationStrength; + uniform int _AlphaChGlowAnimationBand; + uniform int _AlphaChGlowAnimationMode; + uniform int _AlphaChGlowAnimationSpeed; + uniform float2 _AlphaChGlowRadialCenter; + uniform int _AlphaChGlowMode; + uniform float _AlphaChGlowMinBrightness; + uniform float4 _AlphaChGlowTint; + uniform int _AlphaChReactiveBand; + uniform float _AlphaChReactivePulseDir; + uniform float _AlphaChReactivePulseScale; + uniform float _AlphaChReactivePulseOffset; + uniform float2 _AlphaChReactiveRadialCenter; + uniform int _AlphaChReactiveMode; + uniform float _AlphaChReactiveGlobalSmoothing; + uniform float _AlphaChReactiveMinBrightness; + uniform float4 _AlphaChReactiveTint; + uniform int _AlphaChReactiveBlendMode; + uniform float _EnableAlphaChannel; + uniform float4 _EmissionColor; + uniform sampler2D _EmissionMap; + uniform float4 _EmissionMap_ST; + uniform float2 _EmissionPanSpeed; + uniform float _EmissionPan; + uniform sampler2D _EffectMask; + uniform float4 _EffectMask_ST; + uniform float2 _EmissionMaskPanSpeed; + uniform float _EmissionMaskPan; + uniform int _EmissionMaskingChannel; + uniform int _EmissionGlowZone; + uniform float _EmissionGlowPulseDir; + uniform float _EmissionGlowPulseScale; + uniform float _EmissionGlowPulseOffset; + uniform float _EmissionGlowAnimationStrength; + uniform int _EmissionGlowAnimationBand; + uniform int _EmissionGlowAnimationMode; + uniform int _EmissionGlowAnimationSpeed; + uniform float2 _EmissionGlowRadialCenter; + uniform int _EmissionGlowMode; + uniform float _EmissionGlowMinBrightness; + uniform float4 _EmissionGlowTint; + uniform int _EmissionReactiveBand; + uniform float _EmissionReactivePulseDir; + uniform float _EmissionReactivePulseScale; + uniform float _EmissionReactivePulseOffset; + uniform float2 _EmissionReactiveRadialCenter; + uniform int _EmissionReactiveMode; + uniform float _EmissionReactiveGlobalSmoothing; + uniform float _EmissionReactiveMinBrightness; + uniform float4 _EmissionReactiveTint; + uniform int _EmissionReactiveBlendMode; + uniform int _EmissionGlowBlendMode; + uniform int _IridescentMaskingChannel; + uniform float4 _IridescentEmissionColor1; + uniform float4 _IridescentEmissionColor2; + uniform float _IridescentALAnimationStrength; + uniform int _IridescentALAnimationBand; + uniform int _IridescentALAnimationMode; + uniform int _IridescentALAnimationSpeed; + uniform sampler2D _BumpMap; + uniform float _BumpScale; + uniform int _IridescentMode2; + uniform float _IridescentScale; + uniform float _IridescentOffset; + uniform float4 _IridescentEmissionColor3; + uniform float _IridescentIntensity; + uniform int _IridescentEmissionMode; + uniform float _Glossiness; + uniform sampler2D _MetallicGlossMap; + uniform float _GlossMapScale; + float4 _MetallicGlossMap_TexelSize; + uniform int _IridescenceLightMode; + uniform float _Enableiridescence; + uniform float4 _Color; + uniform sampler2D _OcclusionMap; + uniform float _OcclusionStrength; + uniform sampler2D _SpecGlossMap; + uniform float _Metallic; + uniform float _EnableSpecularMap; + uniform float4 _SparkleColor; + uniform float _SparkleScale; + uniform float _SparkleSize; + uniform float _SparkleSeed; + uniform float _SparkleSpeed; + uniform int _SparkleShape; + uniform int _SparkleMaskingChannel; + uniform float4 _SparkleGlowTint; + uniform int _SparkleGlowZone; + uniform float _SparkleGlowPulseDir; + uniform float _SparkleGlowPulseScale; + uniform float _SparkleGlowPulseOffset; + uniform float _SparkleGlowAnimationStrength; + uniform int _SparkleGlowAnimationBand; + uniform int _SparkleGlowAnimationMode; + uniform int _SparkleGlowAnimationSpeed; + uniform float2 _SparkleGlowRadialCenter; + uniform int _SparkleGlowMode; + uniform float _SparkleGlowMinBrightness; + uniform int _SparkleReactiveBand; + uniform float _SparkleReactivePulseDir; + uniform float _SparkleReactivePulseScale; + uniform float _SparkleReactivePulseOffset; + uniform float2 _SparkleReactiveRadialCenter; + uniform int _SparkleReactiveMode; + uniform float _SparkleReactiveGlobalSmoothing; + uniform float _SparkleReactiveMinBrightness; + uniform float4 _SparkleReactiveTint; + uniform int _SparkleReactiveBlendMode; + uniform int _SparkleBlendMode; + uniform int _SparkleMode; + uniform float _RainbowALAnimationStrength; + uniform int _RainbowALAnimationBand; + uniform int _RainbowALAnimationMode; + uniform int _RainbowALAnimationSpeed; + uniform float _RainbowRotation; + uniform float2 _RainbowRadialCenter; + uniform float _RainbowSpiralCurve; + uniform int _RainbowUVMode; + uniform float _RainbowScale; + uniform float _RainbowHueRange; + uniform float _RainbowHue; + uniform float _RainbowSaturation; + uniform float _RainbowValue; + uniform int _RainbowMaskingChannel; + uniform float _EnableScrollingRainbow; + uniform float4 _RimlightColor; + uniform float4 _OutlineColor; + uniform int _OutlineReactiveBand; + uniform float _OutlineReactivePulseDir; + uniform float _OutlineReactivePulseScale; + uniform float _OutlineReactivePulseOffset; + uniform float2 _OutlineReactiveRadialCenter; + uniform int _OutlineReactiveMode; + uniform float _OutlineReactiveGlobalSmoothing; + uniform float _OutlineReactiveMinBrightness; + uniform float4 _OutlineReactiveTint; + uniform int _OutlineGlowZone; + uniform float _OutlineGlowPulseDir; + uniform float _OutlineGlowPulseScale; + uniform float _OutlineGlowPulseOffset; + uniform float2 _OutlineGlowRadialCenter; + uniform int _OutlineGlowMode; + uniform float _OutlineGlowMinBrightness; + uniform float4 _OutlineGlowTint; + uniform int _OutlineReactiveBlendMode; + uniform int _OutlineGlowBlendMode; + uniform int _OutlineMaskingChannel; + uniform float _OutlineWidth; + uniform float _MaxOutlineWidth; + uniform float _ViewFudge; + + + float SchlickGGX( float k, float NdotL, float NdotV ) + { + float L = (NdotL) / (NdotL * (1- k) + k); + float V = (NdotV) / (NdotV * (1-k) +k); + return L*V; + } + + + float3 BRDF( float3 N, float G, float F, float NdotL, float NdotV ) + { + return (N*G*F) / (4 * (NdotL*NdotV)); + } + + + float MixFunc( float i, float j, float x ) + { + return j*x+i*(1-x); + } + + + float SchlickFresnel( float i ) + { + float x = saturate(1-i); + float x2 = x*x; + return x2*x2*x; + } + + + float geometricRoughness( float3 WorldNormal ) + { + float3 nDdx = ddx_fine(WorldNormal); + float3 nDdy = ddy_fine(WorldNormal); + return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 ); + } + + + float3 getThemeData( int Zone ) + { + float3 result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2)); + return result; + } + + + float sdStar5( float2 p, float r, float rf ) + { + const float2 k1 = float2(0.809016994375, -0.587785252292); + const float2 k2 = float2(-k1.x,k1.y); + p.x = abs(p.x); + p -= 2.0*max(dot(k1,p),0.0)*k1; + p -= 2.0*max(dot(k2,p),0.0)*k2; + p.x = abs(p.x); + p.y -= r; + float2 ba = rf*float2(-k1.y,k1.x) - float2(0,1); + float h = clamp( dot(p,ba)/dot(ba,ba), 0.0, r ); + return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y); + } + + + float dot2( float2 a ) + { + return dot(a,a); + } + + + float sdHeart( float2 p ) + { + p.x = abs(p.x); + if( p.y+p.x>1.0 ) + return sqrt(dot2(p-float2(0.25,0.75))) - sqrt(2.0)/4.0; + return sqrt(min(dot2(p-float2(0.00,1.00)), + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y); + } + + + inline int IsLumaActive11_g4937( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4936( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4939( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4943( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4938( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4942( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4940( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4941( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4931( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4933( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4935( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4945( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4953( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4952( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4955( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4959( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4954( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4958( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4956( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4957( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4947( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4949( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4951( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4961( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4969( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4968( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4971( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4975( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4970( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4974( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4972( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4973( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4963( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4965( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4967( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4977( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4985( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4984( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4987( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4991( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4986( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4990( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4988( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4989( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4979( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4981( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4983( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4993( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4926( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4925( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4928( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4920( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4927( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4924( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4922( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4923( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4915( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4917( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4919( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline float glslmod270_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4929( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5011( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g5014( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + int LightExists577( ) + { + int lightEnv = int(any(_WorldSpaceLightPos0.xyz)); + if(lightEnv != 1){ + return 0; + } + return 1; + } + + + float3 HSVToRGB( float3 c ) + { + float4 K = float4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); + float3 p = abs( frac( c.xxx + K.xyz ) * 6.0 - K.www ); + return c.z * lerp( K.xxx, saturate( p - K.xxx ), c.y ); + } + + + inline float ggx( float nh, float roughness ) + { + return GGXTerm(nh, roughness); + } + + + float3 RGBToHSV(float3 c) + { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp( float4( c.bg, K.wz ), float4( c.gb, K.xy ), step( c.b, c.g ) ); + float4 q = lerp( float4( p.xyw, c.r ), float4( c.r, p.yzx ), step( p.x, c.r ) ); + float d = q.x - min( q.w, q.y ); + float e = 1.0e-10; + return float3( abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); + } + + float2 voronoihash2_g5027( float2 p ) + { + + p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) ); + return frac( sin( p ) *43758.5453); + } + + + float voronoi2_g5027( float2 v, float time, inout float2 id, inout float2 mr, float smoothness, inout float2 smoothId ) + { + float2 n = floor( v ); + float2 f = frac( v ); + float F1 = 8.0; + float F2 = 8.0; float2 mg = 0; + for ( int j = -1; j <= 1; j++ ) + { + for ( int i = -1; i <= 1; i++ ) + { + float2 g = float2( i, j ); + float2 o = voronoihash2_g5027( n + g ); + o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o; + float d = 0.5 * dot( r, r ); + if( d x0.y ) ? float2( 1.0, 0.0 ) : float2( 0.0, 1.0 ); + float4 x12 = x0.xyxy + C.xxzz; + x12.xy -= i1; + i = mod2D289( i ); + float3 p = permute( permute( i.y + float3( 0.0, i1.y, 1.0 ) ) + i.x + float3( 0.0, i1.x, 1.0 ) ); + float3 m = max( 0.5 - float3( dot( x0, x0 ), dot( x12.xy, x12.xy ), dot( x12.zw, x12.zw ) ), 0.0 ); + m = m * m; + m = m * m; + float3 x = 2.0 * frac( p * C.www ) - 1.0; + float3 h = abs( x ) - 0.5; + float3 ox = floor( x + 0.5 ); + float3 a0 = x - ox; + m *= 1.79284291400159 - 0.85373472095314 * ( a0 * a0 + h * h ); + float3 g; + g.x = a0.x * x0.x + h.x * x0.y; + g.yz = a0.yz * x12.xz + h.yz * x12.yw; + return 130.0 * dot( m, g ); + } + + + inline int IsLumaActive11_g5037( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5036( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5039( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5043( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g5030( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5030( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5030( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5038( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5042( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5040( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5041( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g5031( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5030( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5030( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5030( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5033( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5035( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g5045( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float IfAudioLinkv2Exists1_g5029( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float F0138( float NdotL, float NdotV, float LdotH, float roughness ) + { + float FresnelLight = SchlickFresnel(NdotL); + float FresnelView = SchlickFresnel(NdotV); + float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness; + return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView); + } + + + inline float3 getProbes( float4 uvw ) + { + return ShadeSH9(uvw); + } + + + inline int AudioLinkDecodeDataAsUInt6_g5049( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g5050( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline float AudioLinkData3_g5053( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5055( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5057( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline int IsLumaActive11_g5060( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5059( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5062( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float glslmod13_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5061( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5065( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5063( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5064( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float glslmod266_g5052( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g5067( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + void vertexDataFunc( inout appdata_full v, out Input o ) + { + UNITY_INITIALIZE_OUTPUT( Input, o ); + v.vertex.xyz += 0; + v.vertex.w = 1; + } + + inline half4 LightingStandardCustomLighting( inout SurfaceOutputCustomLightingCustom s, half3 viewDir, UnityGI gi ) + { + UnityGIInput data = s.GIData; + Input i = s.SurfInput; + half4 c = 0; + #ifdef UNITY_PASS_FORWARDBASE + float ase_lightAtten = data.atten; + if( _LightColor0.a == 0) + ase_lightAtten = 0; + #else + float3 ase_lightAttenRGB = gi.light.color / ( ( _LightColor0.rgb ) + 0.000001 ); + float ase_lightAtten = max( max( ase_lightAttenRGB.r, ase_lightAttenRGB.g ), ase_lightAttenRGB.b ); + #endif + #if defined(HANDLE_SHADOWS_BLENDING_IN_GI) + half bakedAtten = UnitySampleBakedOcclusion(data.lightmapUV.xy, data.worldPos); + float zDist = dot(_WorldSpaceCameraPos - data.worldPos, UNITY_MATRIX_V[2].xyz); + float fadeDist = UnityComputeShadowFadeDistance(data.worldPos, zDist); + ase_lightAtten = UnityMixRealtimeAndBakedShadows(data.atten, bakedAtten, UnityComputeShadowFade(fadeDist)); + #endif + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float Alpha1147 = ( MainTex224.a * _Color.a ); + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 indirectNormal151 = worldNorm31; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float Occlusion272 = pow( tex2D( _OcclusionMap, uv_MainTex ).g , _OcclusionStrength ); + Unity_GlossyEnvironmentData g151 = UnityGlossyEnvironmentSetup( Smoothness90, data.worldViewDir, indirectNormal151, float3(0,0,0)); + float3 indirectSpecular151 = UnityGI_IndirectSpecular( data, Occlusion272, indirectNormal151, g151 ); + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float temp_output_208_0 = ( 1.0 - ( Smoothness90 * Smoothness90 ) ); + float temp_output_200_0 = max( ( 1.0 - ( temp_output_208_0 * temp_output_208_0 * temp_output_208_0 ) ) , 0.1 ); + float fresnelNdotV161 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode161 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV161, 4.0 ) ); + float smoothstepResult480 = smoothstep( 0.0 , 0.35 , fresnelNode161); + float IndirectAlpha1165 = saturate( ( 0.01 + smoothstepResult480 ) ); + float4 temp_cast_240 = (IndirectAlpha1165).xxxx; + float4 SpecularTex394 = ( tex2D( _SpecGlossMap, uv_MainTex ) * _SpecColor ); + float4 MainTex147_g5010 = MainTex224; + int Band6_g5011 = _IridescentALAnimationBand; + int Mode6_g5011 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5011 = AudioLinkDecodeDataAsUInt6_g5011( Band6_g5011 , Mode6_g5011 ); + float localGetNetworkTime4_g5013 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g5014 = IfAudioLinkv2Exists1_g5014(); + float lerpResult118_g5010 = lerp( _Time.y , localGetNetworkTime4_g5013 , localIfAudioLinkv2Exists1_g5014); + float lerpResult121_g5010 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g5011 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g5010 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g5010 = ( _IridescentALAnimationStrength * lerpResult121_g5010 ); + float3 temp_output_21_0_g5010 = Normal243; + float3 normalizeResult4_g5010 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g5010 ) + ase_worldViewDir ) ); + float dotResult18_g5010 = dot( normalizeResult4_g5010 , ase_worldViewDir ); + float temp_output_197_0_g5010 = ( dotResult18_g5010 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g5010 = lightDir32; + float3 normalizeResult168_g5010 = normalize( ( temp_output_165_0_g5010 + ase_worldViewDir ) ); + float3 wNorm170_g5010 = temp_output_21_0_g5010; + float3 newWorldNormal169_g5010 = (WorldNormalVector( i , wNorm170_g5010 )); + float dotResult172_g5010 = dot( normalizeResult168_g5010 , newWorldNormal169_g5010 ); + float Specular209_g5010 = max( dotResult172_g5010 , 0.0 ); + float dotResult177_g5010 = dot( temp_output_165_0_g5010 , newWorldNormal169_g5010 ); + float temp_output_182_0_g5010 = max( dotResult177_g5010 , 0.0 ); + float smoothstepResult194_g5010 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g5010); + float lerpResult630 = lerp( (ase_lightAtten*0.5 + 0.5) , ase_lightAtten , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g5010 = ( smoothstepResult194_g5010 * Attenuation533 ); + float lerpResult198_g5010 = lerp( temp_output_197_0_g5010 , Specular209_g5010 , temp_output_208_0_g5010); + float lerpResult175_g5010 = lerp( dotResult18_g5010 , lerpResult198_g5010 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g5010 = lerp( temp_output_197_0_g5010 , temp_output_182_0_g5010 , temp_output_208_0_g5010); + float lerpResult179_g5010 = lerp( lerpResult175_g5010 , lerpResult192_g5010 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g5010 = ( ( lerpResult179_g5010 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g5010 = ( max( abs( sin( ( EmissionGlowAnimation62_g5010 + temp_output_211_0_g5010 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g5012 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g5010 ) , 2.0 ) ); + float4 lerpResult26_g5010 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g5012 )); + float temp_output_2_0_g5015 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g5010 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g5010 = lerp( lerpResult26_g5010 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g5015 )); + float4 Colors149_g5010 = lerpResult32_g5010; + float3 hsvTorgb86_g5010 = RGBToHSV( Colors149_g5010.rgb ); + float3 hsvTorgb85_g5010 = RGBToHSV( MainTex147_g5010.rgb ); + float3 hsvTorgb87_g5010 = HSVToRGB( float3(hsvTorgb86_g5010.x,hsvTorgb85_g5010.y,hsvTorgb85_g5010.z) ); + float Intensity132_g5010 = _IridescentIntensity; + float4 lerpResult205_g5010 = lerp( MainTex147_g5010 , float4( hsvTorgb87_g5010 , 0.0 ) , saturate( Intensity132_g5010 )); + int temp_output_52_0_g5010 = ( _IridescentEmissionMode - 1 ); + int temp_output_90_0_g5010 = ( temp_output_52_0_g5010 - 1 ); + int temp_output_91_0_g5010 = saturate( temp_output_90_0_g5010 ); + int ModeTransferSat145_g5010 = temp_output_91_0_g5010; + float4 lerpResult92_g5010 = lerp( MainTex147_g5010 , ( lerpResult205_g5010 * max( Intensity132_g5010 , 1.0 ) ) , (float)ModeTransferSat145_g5010); + float AnimatedDot130_g5010 = ( temp_output_211_0_g5010 + EmissionGlowAnimation62_g5010 ); + float3 hsvTorgb99_g5010 = RGBToHSV( MainTex147_g5010.rgb ); + float3 hsvTorgb100_g5010 = HSVToRGB( float3(( AnimatedDot130_g5010 + hsvTorgb99_g5010.x ),hsvTorgb99_g5010.y,hsvTorgb99_g5010.y) ); + float4 lerpResult199_g5010 = lerp( MainTex147_g5010 , float4( hsvTorgb100_g5010 , 0.0 ) , saturate( Intensity132_g5010 )); + float4 Holographic153_g5010 = ( lerpResult199_g5010 * max( Intensity132_g5010 , 1.0 ) ); + int ModeTransfer143_g5010 = temp_output_90_0_g5010; + int temp_output_97_0_g5010 = ( ModeTransfer143_g5010 - 1 ); + float4 lerpResult96_g5010 = lerp( lerpResult92_g5010 , Holographic153_g5010 , (float)saturate( temp_output_97_0_g5010 )); + float3 hsvTorgb124_g5010 = RGBToHSV( MainTex147_g5010.rgb ); + float3 hsvTorgb126_g5010 = HSVToRGB( float3(( hsvTorgb124_g5010.x + AnimatedDot130_g5010 ),hsvTorgb124_g5010.y,hsvTorgb124_g5010.z) ); + float4 lerpResult203_g5010 = lerp( MainTex147_g5010 , float4( hsvTorgb126_g5010 , 0.0 ) , saturate( Intensity132_g5010 )); + float4 Hueshift152_g5010 = ( lerpResult203_g5010 * max( Intensity132_g5010 , 1.0 ) ); + float4 lerpResult127_g5010 = lerp( lerpResult96_g5010 , Hueshift152_g5010 , (float)saturate( ( temp_output_97_0_g5010 - 1 ) )); + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g5010 = GGXTerm1132; + int temp_output_225_0_g5010 = saturate( _IridescenceLightMode ); + float lerpResult218_g5010 = lerp( 0.0 , temp_output_214_0_g5010 , (float)temp_output_225_0_g5010); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g5010 = RimAlpha1134; + int temp_output_220_0_g5010 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g5010 = lerp( lerpResult218_g5010 , temp_output_215_0_g5010 , (float)saturate( temp_output_220_0_g5010 )); + float lerpResult222_g5010 = lerp( lerpResult219_g5010 , max( temp_output_214_0_g5010 , temp_output_215_0_g5010 ) , (float)saturate( ( temp_output_220_0_g5010 - 1 ) )); + float Atten232_g5010 = temp_output_208_0_g5010; + float temp_output_233_0_g5010 = ( lerpResult222_g5010 * Atten232_g5010 ); + float4 lerpResult227_g5010 = lerp( MainTex147_g5010 , lerpResult127_g5010 , temp_output_233_0_g5010); + float4 lerpResult236_g5010 = lerp( lerpResult127_g5010 , lerpResult227_g5010 , (float)temp_output_225_0_g5010); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g5010 = EffectMaskRGBA871; + int temp_output_18_0_g5017 = _IridescentMaskingChannel; + float lerpResult1_g5017 = lerp( 1.0 , break57_g5010.r , (float)saturate( temp_output_18_0_g5017 )); + int temp_output_5_0_g5017 = ( temp_output_18_0_g5017 - 1 ); + float lerpResult12_g5017 = lerp( lerpResult1_g5017 , break57_g5010.g , (float)saturate( temp_output_5_0_g5017 )); + int temp_output_6_0_g5017 = ( temp_output_5_0_g5017 - 1 ); + float lerpResult10_g5017 = lerp( lerpResult12_g5017 , break57_g5010.b , (float)saturate( temp_output_6_0_g5017 )); + float lerpResult11_g5017 = lerp( lerpResult10_g5017 , break57_g5010.a , (float)saturate( ( temp_output_6_0_g5017 - 1 ) )); + float temp_output_55_0_g5010 = lerpResult11_g5017; + float EffectMask140_g5010 = temp_output_55_0_g5010; + float4 lerpResult95_g5010 = lerp( MainTex147_g5010 , lerpResult236_g5010 , EffectMask140_g5010); + float4 lerpResult248_g5010 = lerp( MainTex147_g5010 , lerpResult95_g5010 , _Enableiridescence); + float4 IridescentMainTex1049 = lerpResult248_g5010; + float4 temp_output_227_0 = ( _Color * IridescentMainTex1049 ); + float MetallticFromTex247 = tex2DNode246.r; + float metallic46 = ( _Metallic * MetallticFromTex247 ); + half3 specColor163 = (0).xxx; + half oneMinusReflectivity163 = 0; + half3 diffuseAndSpecularFromMetallic163 = DiffuseAndSpecularFromMetallic(temp_output_227_0.rgb,metallic46,specColor163,oneMinusReflectivity163); + float lerpResult401 = lerp( 1.0 , metallic46 , _EnableSpecularMap); + float4 lerpResult381 = lerp( SpecularTex394 , float4( specColor163 , 0.0 ) , lerpResult401); + float4 specColor44 = ( lerpResult381 * SmoothnessColorMult1144 ); + float4 temp_cast_264 = (1.0).xxxx; + float fresnelNdotV202 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode202 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV202, 5.0 ) ); + float smoothstepResult482 = smoothstep( 0.0 , 0.35 , fresnelNode202); + float4 lerpResult213 = lerp( specColor44 , temp_cast_264 , saturate( smoothstepResult482 )); + float4 lerpResult204 = lerp( temp_cast_240 , lerpResult213 , metallic46); + float4 IndirectSpecular158 = ( float4( indirectSpecular151 , 0.0 ) * lerpResult204 * ( Smoothness90 * Smoothness90 ) ); + float3 diffuse23 = diffuseAndSpecularFromMetallic163; + float Opacity1155 = 1.0; + float smoothstepResult436 = smoothstep( saturate( ( -0.4 + 0.48 ) ) , saturate( ( -0.4 + ( 1.0 - 0.48 ) ) ) , localggx413); + float temp_output_452_0 = ( smoothstepResult436 * Smoothness90 ); + float smoothstepResult469 = smoothstep( 0.8 , 1.0 , Smoothness90); + float ToonSpecular444 = ( temp_output_452_0 + ( smoothstepResult469 * 5.0 * temp_output_452_0 ) ); + float4 ColoredSpec987 = ( saturate( ( 1.2 * specColor44 ) ) * ToonSpecular444 ); + float3 temp_output_125_0_g5027 = ColoredSpec987.rgb; + float3 SpecularIN194_g5027 = temp_output_125_0_g5027; + float time2_g5027 = 0.0; + float2 voronoiSmoothId2_g5027 = 0; + float2 coords2_g5027 = i.uv_texcoord * _SparkleScale; + float2 id2_g5027 = 0; + float2 uv2_g5027 = 0; + float voroi2_g5027 = voronoi2_g5027( coords2_g5027, time2_g5027, id2_g5027, uv2_g5027, 0, voronoiSmoothId2_g5027 ); + float2 ID44_g5027 = id2_g5027; + float2 break71_g5027 = ( ID44_g5027 * float2( 360,360 ) ); + float cos68_g5027 = cos( radians( max( break71_g5027.x , break71_g5027.y ) ) ); + float sin68_g5027 = sin( radians( max( break71_g5027.x , break71_g5027.y ) ) ); + float2 rotator68_g5027 = mul( uv2_g5027 - float2( 0,0 ) , float2x2( cos68_g5027 , -sin68_g5027 , sin68_g5027 , cos68_g5027 )) + float2( 0,0 ); + float2 UV45_g5027 = rotator68_g5027; + float mulTime14_g5027 = _Time.y * _SparkleSpeed; + float simplePerlin2D37_g5027 = snoise( ( ( ID44_g5027 * _SparkleSeed ) + mulTime14_g5027 ) ); + simplePerlin2D37_g5027 = simplePerlin2D37_g5027*0.5 + 0.5; + float Noise50_g5027 = ( _SparkleSize * simplePerlin2D37_g5027 ); + float smoothstepResult31_g5027 = smoothstep( 0.2 , 0.1 , ( length( UV45_g5027 ) - (-0.5 + (Noise50_g5027 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )); + float Sphere52_g5027 = smoothstepResult31_g5027; + float2 temp_cast_268 = (( 0.4 + (-0.5 + (Noise50_g5027 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 temp_output_54_0_g5027 = ( abs( UV45_g5027 ) - temp_cast_268 ); + float2 temp_cast_269 = (( 0.4 + (-0.5 + (Noise50_g5027 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 break59_g5027 = temp_output_54_0_g5027; + float smoothstepResult62_g5027 = smoothstep( 0.01 , 0.0 , ( length( max( temp_output_54_0_g5027 , float2( 0,0 ) ) ) + min( max( break59_g5027.x , break59_g5027.y ) , 0.0 ) )); + float Square63_g5027 = smoothstepResult62_g5027; + float lerpResult111_g5027 = lerp( Sphere52_g5027 , Square63_g5027 , (float)saturate( _SparkleShape )); + float2 p73_g5027 = UV45_g5027; + float r73_g5027 = (-0.5 + (Noise50_g5027 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)); + float rf73_g5027 = 0.25; + float localsdStar573_g5027 = sdStar5( p73_g5027 , r73_g5027 , rf73_g5027 ); + float smoothstepResult79_g5027 = smoothstep( 0.01 , 0.0 , localsdStar573_g5027); + float Star80_g5027 = smoothstepResult79_g5027; + int temp_output_114_0_g5027 = ( _SparkleShape - 1 ); + float lerpResult112_g5027 = lerp( lerpResult111_g5027 , Star80_g5027 , (float)saturate( temp_output_114_0_g5027 )); + float temp_output_99_0_g5027 = (-0.25 + (Noise50_g5027 - 0.0) * (0.0 - -0.25) / (1.0 - 0.0)); + float2 p85_g5027 = ( UV45_g5027 * 2.15 ); + float localsdHeart85_g5027 = sdHeart( p85_g5027 ); + float smoothstepResult91_g5027 = smoothstep( ( temp_output_99_0_g5027 + 0.01 ) , temp_output_99_0_g5027 , ( localsdHeart85_g5027 / 2.15 )); + float Heart90_g5027 = smoothstepResult91_g5027; + float lerpResult113_g5027 = lerp( lerpResult112_g5027 , Heart90_g5027 , (float)saturate( ( temp_output_114_0_g5027 - 1 ) )); + float4 temp_output_2_0_g5018 = EffectMaskRGBA871; + float4 break120_g5027 = temp_output_2_0_g5018; + int temp_output_18_0_g5028 = _SparkleMaskingChannel; + float lerpResult1_g5028 = lerp( 1.0 , break120_g5027.r , (float)saturate( temp_output_18_0_g5028 )); + int temp_output_5_0_g5028 = ( temp_output_18_0_g5028 - 1 ); + float lerpResult12_g5028 = lerp( lerpResult1_g5028 , break120_g5027.g , (float)saturate( temp_output_5_0_g5028 )); + int temp_output_6_0_g5028 = ( temp_output_5_0_g5028 - 1 ); + float lerpResult10_g5028 = lerp( lerpResult12_g5028 , break120_g5027.b , (float)saturate( temp_output_6_0_g5028 )); + float lerpResult11_g5028 = lerp( lerpResult10_g5028 , break120_g5027.a , (float)saturate( ( temp_output_6_0_g5028 - 1 ) )); + float SparkleAlpha129_g5027 = ( lerpResult113_g5027 * lerpResult11_g5028 ); + float4 temp_cast_278 = (1.0).xxxx; + float4 temp_cast_280 = (1.0).xxxx; + float3 temp_cast_281 = (1.0).xxx; + int EmissionGlowZone47_g5030 = _SparkleGlowZone; + int clampResult8_g5036 = clamp( EmissionGlowZone47_g5030 , 1 , 4 ); + int temp_output_3_0_g5036 = ( clampResult8_g5036 - 1 ); + int Zone16_g5036 = temp_output_3_0_g5036; + float3 localgetThemeData16_g5036 = getThemeData( Zone16_g5036 ); + int Band11_g5037 = 56; + int localIsLumaActive11_g5037 = IsLumaActive11_g5037( Band11_g5037 ); + int temp_output_14_0_g5036 = localIsLumaActive11_g5037; + int lerpResult15_g5036 = lerp( temp_output_3_0_g5036 , ( 63 - temp_output_3_0_g5036 ) , (float)temp_output_14_0_g5036); + int Band2_g5036 = lerpResult15_g5036; + int Delay2_g5036 = 0; + float3 localLumaGlowData2_g5036 = LumaGlowData2_g5036( Band2_g5036 , Delay2_g5036 ); + float3 lerpResult17_g5036 = lerp( ( localgetThemeData16_g5036 * localLumaGlowData2_g5036 ) , localLumaGlowData2_g5036 , (float)temp_output_14_0_g5036); + int temp_output_21_0_g5030 = saturate( EmissionGlowZone47_g5030 ); + float3 lerpResult20_g5030 = lerp( temp_cast_281 , lerpResult17_g5036 , (float)temp_output_21_0_g5030); + float3 temp_cast_285 = (1.0).xxx; + int clampResult8_g5038 = clamp( EmissionGlowZone47_g5030 , 1 , 4 ); + int temp_output_3_0_g5038 = ( clampResult8_g5038 - 1 ); + int Zone15_g5038 = temp_output_3_0_g5038; + float3 localgetThemeData15_g5038 = getThemeData( Zone15_g5038 ); + int Band11_g5039 = 56; + int localIsLumaActive11_g5039 = IsLumaActive11_g5039( Band11_g5039 ); + int temp_output_13_0_g5038 = localIsLumaActive11_g5039; + int lerpResult14_g5038 = lerp( temp_output_3_0_g5038 , ( 63 - temp_output_3_0_g5038 ) , (float)temp_output_13_0_g5038); + int Band11_g5038 = lerpResult14_g5038; + float cos6_g5030 = cos( radians( _SparkleGlowPulseDir ) ); + float sin6_g5030 = sin( radians( _SparkleGlowPulseDir ) ); + float2 rotator6_g5030 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5030 , -sin6_g5030 , sin6_g5030 , cos6_g5030 )) + float2( 0.5,0.5 ); + int Band6_g5043 = _SparkleGlowAnimationBand; + int Mode6_g5043 = ( ( _SparkleGlowAnimationMode * 2 ) + _SparkleGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5043 = AudioLinkDecodeDataAsUInt6_g5043( Band6_g5043 , Mode6_g5043 ); + float localGetLocalTime2_g5044 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g5030 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g5043 % 628319 ) / 100000.0 ) , localGetLocalTime2_g5044 , (float)saturate( ( _SparkleGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g5030 = ( _SparkleGlowAnimationStrength * lerpResult206_g5030 * step( _SparkleGlowAnimationBand , 9 ) ); + float x13_g5030 = ( ( rotator6_g5030.x * _SparkleGlowPulseScale ) + _SparkleGlowPulseOffset + EmissionGlowAnimation195_g5030 ); + float y13_g5030 = 127.0; + float localglslmod13_g5030 = glslmod13_g5030( x13_g5030 , y13_g5030 ); + float2 CenteredUV15_g5032 = ( i.uv_texcoord - _SparkleGlowRadialCenter ); + float2 break17_g5032 = CenteredUV15_g5032; + float2 appendResult23_g5032 = (float2(( length( CenteredUV15_g5032 ) * _SparkleGlowPulseScale * 2.0 ) , ( atan2( break17_g5032.x , break17_g5032.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5030 = ( _SparkleGlowPulseOffset + appendResult23_g5032.x + EmissionGlowAnimation195_g5030 ); + float y12_g5030 = 127.0; + float localglslmod12_g5030 = glslmod12_g5030( x12_g5030 , y12_g5030 ); + int EmissionGlowMode35_g5030 = _SparkleGlowMode; + int temp_output_37_0_g5030 = ( EmissionGlowMode35_g5030 - 1 ); + float lerpResult5_g5030 = lerp( localglslmod13_g5030 , localglslmod12_g5030 , (float)saturate( temp_output_37_0_g5030 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4913 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float temp_output_1189_244 = Direction27_g4913; + float DirectionMap1031 = temp_output_1189_244; + float temp_output_23_0_g5018 = DirectionMap1031; + float DirectionalMap106_g5030 = temp_output_23_0_g5018; + float lerpResult179_g5030 = lerp( DirectionalMap106_g5030 , ( 1.0 - DirectionalMap106_g5030 ) , (float)saturate( ( EmissionGlowMode35_g5030 - 3 ) )); + float x34_g5030 = ( _SparkleGlowPulseOffset + ( _SparkleGlowPulseScale * lerpResult179_g5030 ) + EmissionGlowAnimation195_g5030 ); + float y34_g5030 = 127.0; + float localglslmod34_g5030 = glslmod34_g5030( x34_g5030 , y34_g5030 ); + float lerpResult30_g5030 = lerp( lerpResult5_g5030 , localglslmod34_g5030 , (float)saturate( ( temp_output_37_0_g5030 - 1 ) )); + float EmissionGlowDelay56_g5030 = lerpResult30_g5030; + float Delay11_g5038 = EmissionGlowDelay56_g5030; + float3 localLumaGlowLerp11_g5038 = LumaGlowLerp11_g5038( Band11_g5038 , Delay11_g5038 ); + float3 lerpResult17_g5038 = lerp( ( localgetThemeData15_g5038 * localLumaGlowLerp11_g5038 ) , localLumaGlowLerp11_g5038 , (float)temp_output_13_0_g5038); + float3 lerpResult22_g5030 = lerp( temp_cast_285 , lerpResult17_g5038 , (float)temp_output_21_0_g5030); + float3 lerpResult23_g5030 = lerp( lerpResult20_g5030 , lerpResult22_g5030 , (float)saturate( EmissionGlowMode35_g5030 )); + float4 temp_cast_295 = (1.0).xxxx; + float temp_output_10_0_g5040 = EmissionGlowDelay56_g5030; + float Position1_g5042 = ( temp_output_10_0_g5040 / 127.0 ); + float4 localAudioLinkLerp1_g5042 = AudioLinkLerp1_g5042( Position1_g5042 ); + int clampResult8_g5040 = clamp( ( EmissionGlowZone47_g5030 - 4 ) , 1 , 3 ); + int Band11_g5040 = ( 59 - ( clampResult8_g5040 - 1 ) ); + float Delay11_g5040 = temp_output_10_0_g5040; + float3 localLumaGlowLerp11_g5040 = LumaGlowLerp11_g5040( Band11_g5040 , Delay11_g5040 ); + int Band11_g5041 = 56; + int localIsLumaActive11_g5041 = IsLumaActive11_g5041( Band11_g5041 ); + float4 lerpResult14_g5040 = lerp( localAudioLinkLerp1_g5042 , float4( localLumaGlowLerp11_g5040 , 0.0 ) , (float)localIsLumaActive11_g5041); + float4 lerpResult52_g5030 = lerp( temp_cast_295 , lerpResult14_g5040 , (float)saturate( EmissionGlowZone47_g5030 )); + float4 lerpResult51_g5030 = lerp( float4( lerpResult23_g5030 , 0.0 ) , lerpResult52_g5030 , (float)saturate( ( EmissionGlowZone47_g5030 - 4 ) )); + float4 temp_cast_300 = (_SparkleGlowMinBrightness).xxxx; + float4 temp_cast_301 = (( _SparkleGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g5030 = saturate( EmissionGlowZone47_g5030 ); + float4 EmissionGlow142_g5030 = ( (temp_cast_300 + (lerpResult51_g5030 - float4( 0,0,0,0 )) * (temp_cast_301 - temp_cast_300) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _SparkleGlowTint * temp_output_258_0_g5030 ); + float4 lerpResult261_g5030 = lerp( temp_cast_280 , EmissionGlow142_g5030 , (float)temp_output_258_0_g5030); + float4 EmissionGlowTog262_g5030 = lerpResult261_g5030; + int EmissionReactiveBand243_g5030 = _SparkleReactiveBand; + int Band3_g5031 = EmissionReactiveBand243_g5030; + int Delay3_g5031 = 0; + float localAudioLinkData3_g5031 = AudioLinkData3_g5031( Band3_g5031 , Delay3_g5031 ); + int temp_output_64_0_g5030 = step( _SparkleReactiveBand , 9 ); + float lerpResult66_g5030 = lerp( 1.0 , localAudioLinkData3_g5031 , (float)temp_output_64_0_g5030); + int Band3_g5033 = _SparkleReactiveBand; + float cos78_g5030 = cos( radians( _SparkleReactivePulseDir ) ); + float sin78_g5030 = sin( radians( _SparkleReactivePulseDir ) ); + float2 rotator78_g5030 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5030 , -sin78_g5030 , sin78_g5030 , cos78_g5030 )) + float2( 0.5,0.5 ); + float x96_g5030 = ( ( rotator78_g5030.x * _SparkleReactivePulseScale ) + _SparkleReactivePulseOffset ); + float y96_g5030 = 127.0; + float localglslmod96_g5030 = glslmod96_g5030( x96_g5030 , y96_g5030 ); + float2 CenteredUV15_g5034 = ( i.uv_texcoord - _SparkleReactiveRadialCenter ); + float2 break17_g5034 = CenteredUV15_g5034; + float2 appendResult23_g5034 = (float2(( length( CenteredUV15_g5034 ) * _SparkleReactivePulseScale * 2.0 ) , ( atan2( break17_g5034.x , break17_g5034.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5030 = ( _SparkleReactivePulseOffset + appendResult23_g5034.x ); + float y97_g5030 = 127.0; + float localglslmod97_g5030 = glslmod97_g5030( x97_g5030 , y97_g5030 ); + int EmissionReactiveMode99_g5030 = _SparkleReactiveMode; + int temp_output_90_0_g5030 = ( EmissionReactiveMode99_g5030 - 1 ); + float lerpResult77_g5030 = lerp( localglslmod96_g5030 , localglslmod97_g5030 , (float)saturate( temp_output_90_0_g5030 )); + float lerpResult174_g5030 = lerp( DirectionalMap106_g5030 , ( 1.0 - DirectionalMap106_g5030 ) , (float)saturate( ( EmissionReactiveMode99_g5030 - 3 ) )); + float x98_g5030 = ( _SparkleReactivePulseOffset + ( _SparkleReactivePulseScale * lerpResult174_g5030 ) ); + float y98_g5030 = 127.0; + float localglslmod98_g5030 = glslmod98_g5030( x98_g5030 , y98_g5030 ); + float lerpResult87_g5030 = lerp( lerpResult77_g5030 , localglslmod98_g5030 , (float)saturate( ( temp_output_90_0_g5030 - 1 ) )); + float Delay3_g5033 = lerpResult87_g5030; + float localAudioLinkLerp3_g5033 = AudioLinkLerp3_g5033( Band3_g5033 , Delay3_g5033 ); + float lerpResult102_g5030 = lerp( 1.0 , localAudioLinkLerp3_g5033 , (float)temp_output_64_0_g5030); + float lerpResult103_g5030 = lerp( lerpResult66_g5030 , lerpResult102_g5030 , (float)saturate( EmissionReactiveMode99_g5030 )); + int Band3_g5035 = _SparkleReactiveBand; + float FilteredAmount3_g5035 = ( ( 1.0 - _SparkleReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5035 = AudioLinkLerp3_g5035( Band3_g5035 , FilteredAmount3_g5035 ); + float lerpResult168_g5030 = lerp( 1.0 , localAudioLinkLerp3_g5035 , (float)temp_output_64_0_g5030); + float lerpResult172_g5030 = lerp( lerpResult103_g5030 , lerpResult168_g5030 , (float)saturate( ( EmissionReactiveMode99_g5030 - 4 ) )); + float ReactivityAlpha132_g5030 = (_SparkleReactiveMinBrightness + (lerpResult172_g5030 - 0.0) * (( _SparkleReactiveMinBrightness + 1.0 ) - _SparkleReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_312 = (1.0).xxxx; + float4 lerpResult268_g5030 = lerp( temp_cast_312 , _SparkleReactiveTint , (float)step( EmissionReactiveBand243_g5030 , 9 )); + float4 FinalReactivity68_g5030 = ( ReactivityAlpha132_g5030 * lerpResult268_g5030 ); + float4 lerpResult146_g5030 = lerp( ( EmissionGlowTog262_g5030 * FinalReactivity68_g5030 ) , ( EmissionGlow142_g5030 + FinalReactivity68_g5030 ) , (float)saturate( _SparkleReactiveBlendMode )); + float4 ReversedReactivity152_g5030 = ( ( 1.0 - ReactivityAlpha132_g5030 ) * lerpResult268_g5030 ); + int temp_output_157_0_g5030 = ( _SparkleReactiveBlendMode - 1 ); + float4 lerpResult114_g5030 = lerp( lerpResult146_g5030 , ( EmissionGlowTog262_g5030 * ReversedReactivity152_g5030 ) , (float)saturate( temp_output_157_0_g5030 )); + int temp_output_255_0_g5030 = step( EmissionReactiveBand243_g5030 , 9 ); + float4 lerpResult164_g5030 = lerp( lerpResult114_g5030 , ( EmissionGlow142_g5030 + ( ReversedReactivity152_g5030 * temp_output_255_0_g5030 ) ) , (float)max( saturate( ( temp_output_157_0_g5030 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g5030 , 9 ) ) )); + float4 lerpResult280_g5030 = lerp( _SparkleGlowTint , lerpResult164_g5030 , (float)max( temp_output_255_0_g5030 , saturate( EmissionGlowZone47_g5030 ) )); + float localIfAudioLinkv2Exists1_g5045 = IfAudioLinkv2Exists1_g5045(); + float4 lerpResult275_g5030 = lerp( temp_cast_278 , ( lerpResult280_g5030 * SparkleAlpha129_g5027 ) , localIfAudioLinkv2Exists1_g5045); + float localIfAudioLinkv2Exists1_g5029 = IfAudioLinkv2Exists1_g5029(); + float4 lerpResult172_g5027 = lerp( ( _SparkleColor * SparkleAlpha129_g5027 ) , lerpResult275_g5030 , localIfAudioLinkv2Exists1_g5029); + float4 Sparkles152_g5027 = lerpResult172_g5027; + float4 lerpResult190_g5027 = lerp( ( Sparkles152_g5027 * float4( temp_output_125_0_g5027 , 0.0 ) ) , ( Sparkles152_g5027 + float4( temp_output_125_0_g5027 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 SpecularSparkles142_g5027 = lerpResult190_g5027; + int temp_output_133_0_g5027 = saturate( _SparkleMode ); + float4 lerpResult127_g5027 = lerp( float4( SpecularIN194_g5027 , 0.0 ) , SpecularSparkles142_g5027 , (float)temp_output_133_0_g5027); + int temp_output_137_0_g5027 = ( _SparkleMode - 1 ); + float4 lerpResult198_g5027 = lerp( lerpResult127_g5027 , float4( SpecularIN194_g5027 , 0.0 ) , (float)saturate( temp_output_137_0_g5027 )); + int temp_output_150_0_g5027 = ( temp_output_137_0_g5027 - 1 ); + int temp_output_151_0_g5027 = saturate( temp_output_150_0_g5027 ); + float4 lerpResult149_g5027 = lerp( lerpResult198_g5027 , SpecularSparkles142_g5027 , (float)temp_output_151_0_g5027); + int temp_output_160_0_g5027 = saturate( ( temp_output_150_0_g5027 - 1 ) ); + float4 lerpResult153_g5027 = lerp( lerpResult149_g5027 , SpecularSparkles142_g5027 , (float)temp_output_160_0_g5027); + #ifdef _SPARKLES + float4 staticSwitch173_g5027 = lerpResult153_g5027; + #else + float4 staticSwitch173_g5027 = float4( SpecularIN194_g5027 , 0.0 ); + #endif + float4 SpecEffects1117 = staticSwitch173_g5027; + float3 N123 = SpecEffects1117.xyz; + float k379 = roughness17; + float dotResult14 = dot( worldNorm31 , lightDir32 ); + float NdotL39 = max( dotResult14 , 0.0 ); + float smoothstepResult460 = smoothstep( 0.125 , 0.15 , NdotL39); + float lerpResult636 = lerp( (smoothstepResult460*0.5 + 0.5) , smoothstepResult460 , _WorldSpaceLightPos0.w); + float ToonNdotL514 = lerpResult636; + float NdotL379 = ToonNdotL514; + float dotResult24 = dot( worldNorm31 , viewDir29 ); + float NdotV11 = max( dotResult24 , 0.0 ); + float NdotV379 = NdotV11; + float localSchlickGGX379 = SchlickGGX( k379 , NdotL379 , NdotV379 ); + float G123 = localSchlickGGX379; + float NdotL138 = ToonNdotL514; + float smoothstepResult461 = smoothstep( 0.0 , 0.25 , NdotV11); + float ToonNdotV565 = smoothstepResult461; + float NdotV138 = ToonNdotV565; + float LdotH138 = NdotH38; + float roughness138 = roughness17; + float localF0138 = F0138( NdotL138 , NdotV138 , LdotH138 , roughness138 ); + float F123 = localF0138; + float NdotL123 = lerpResult636; + float NdotV123 = NdotV11; + float3 localBRDF123 = BRDF( N123 , G123 , F123 , NdotL123 , NdotV123 ); + float3 temp_cast_331 = (0.001).xxx; + float4 appendResult511 = (float4(-lightDir32 , 1.0)); + float4 uvw501 = appendResult511; + float3 localgetProbes501 = getProbes( uvw501 ); + float4 appendResult517 = (float4(lightDir32 , 1.0)); + float4 uvw518 = appendResult517; + float3 localgetProbes518 = getProbes( uvw518 ); + float3 lerpResult520 = lerp( ( localgetProbes501 * 0.65 ) , localgetProbes518 , ( ToonNdotL514 * Attenuation533 )); + float3 ToonAmbience521 = lerpResult520; + float4 lerpResult578 = lerp( float4( ToonAmbience521 , 0.0 ) , ase_lightColor , temp_output_576_0); + float4 InitialLightColor589 = ( lerpResult578 * Attenuation533 ); + float4 lightColor45 = InitialLightColor589; + float4 BRDF219 = ( float4( ( ( diffuse23 * Occlusion272 * Opacity1155 ) + ( max( localBRDF123 , temp_cast_331 ) * smoothstepResult460 * Attenuation533 ) ) , 0.0 ) * ( float4( ToonAmbience521 , 0.0 ) + ( lightColor45 * ToonNdotL514 ) ) ); + float4 lerpResult182_g5027 = lerp( Sparkles152_g5027 , float4( 0,0,0,0 ) , (float)temp_output_133_0_g5027); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch177_g5027 = Sparkles152_g5027; + #else + float4 staticSwitch177_g5027 = float4( 0,0,0,0 ); + #endif + float4 lerpResult185_g5027 = lerp( lerpResult182_g5027 , staticSwitch177_g5027 , (float)temp_output_160_0_g5027); + #ifdef _SPARKLES + float4 staticSwitch178_g5027 = lerpResult185_g5027; + #else + float4 staticSwitch178_g5027 = float4( 0,0,0,0 ); + #endif + int Band6_g5049 = _RainbowALAnimationBand; + int Mode6_g5049 = ( ( _RainbowALAnimationMode * 2 ) + _RainbowALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5049 = AudioLinkDecodeDataAsUInt6_g5049( Band6_g5049 , Mode6_g5049 ); + float localGetNetworkTime4_g5051 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g5050 = IfAudioLinkv2Exists1_g5050(); + float temp_output_95_0_g5046 = localIfAudioLinkv2Exists1_g5050; + float lerpResult94_g5046 = lerp( _Time.y , localGetNetworkTime4_g5051 , temp_output_95_0_g5046); + float lerpResult66_g5046 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g5049 % 628319 ) / 100000.0 ) * step( _RainbowALAnimationBand , 9 ) ) , lerpResult94_g5046 , (float)saturate( ( _RainbowALAnimationMode - 3 ) )); + float lerpResult96_g5046 = lerp( _Time.y , lerpResult66_g5046 , temp_output_95_0_g5046); + float EmissionGlowAnimation67_g5046 = ( _RainbowALAnimationStrength * lerpResult96_g5046 ); + float cos45_g5046 = cos( radians( _RainbowRotation ) ); + float sin45_g5046 = sin( radians( _RainbowRotation ) ); + float2 rotator45_g5046 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos45_g5046 , -sin45_g5046 , sin45_g5046 , cos45_g5046 )) + float2( 0.5,0.5 ); + float2 CenteredUV15_g5048 = ( i.uv_texcoord - _RainbowRadialCenter ); + float2 break17_g5048 = CenteredUV15_g5048; + float2 appendResult23_g5048 = (float2(( length( CenteredUV15_g5048 ) * _RainbowSpiralCurve * 2.0 ) , ( atan2( break17_g5048.x , break17_g5048.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float2 break50_g5046 = appendResult23_g5048; + float lerpResult49_g5046 = lerp( rotator45_g5046.x , break50_g5046.x , (float)saturate( _RainbowUVMode )); + int temp_output_60_0_g5046 = ( _RainbowUVMode - 1 ); + float lerpResult63_g5046 = lerp( lerpResult49_g5046 , ( break50_g5046.x + ( break50_g5046.y * ( 2.0 * UNITY_PI ) ) ) , (float)saturate( temp_output_60_0_g5046 )); + float temp_output_85_0_g5046 = temp_output_23_0_g5018; + int temp_output_81_0_g5046 = ( temp_output_60_0_g5046 - 1 ); + float lerpResult79_g5046 = lerp( lerpResult63_g5046 , temp_output_85_0_g5046 , (float)saturate( temp_output_81_0_g5046 )); + float lerpResult80_g5046 = lerp( lerpResult79_g5046 , ( 1.0 - temp_output_85_0_g5046 ) , (float)saturate( ( temp_output_81_0_g5046 - 1 ) )); + float temp_output_24_0_g5046 = ( ( 1.0 - _RainbowHueRange ) * 0.5 ); + float3 hsvTorgb3_g5046 = HSVToRGB( float3(( (temp_output_24_0_g5046 + (sin( ( EmissionGlowAnimation67_g5046 + ( lerpResult80_g5046 * _RainbowScale ) ) ) - -1.0) * (( 1.0 - temp_output_24_0_g5046 ) - temp_output_24_0_g5046) / (1.0 - -1.0)) + _RainbowHue ),_RainbowSaturation,_RainbowValue) ); + float4 EffectMaskRGBA8_g5018 = temp_output_2_0_g5018; + float4 break38_g5046 = EffectMaskRGBA8_g5018; + int temp_output_18_0_g5047 = _RainbowMaskingChannel; + float lerpResult1_g5047 = lerp( 1.0 , break38_g5046.r , (float)saturate( temp_output_18_0_g5047 )); + int temp_output_5_0_g5047 = ( temp_output_18_0_g5047 - 1 ); + float lerpResult12_g5047 = lerp( lerpResult1_g5047 , break38_g5046.g , (float)saturate( temp_output_5_0_g5047 )); + int temp_output_6_0_g5047 = ( temp_output_5_0_g5047 - 1 ); + float lerpResult10_g5047 = lerp( lerpResult12_g5047 , break38_g5046.b , (float)saturate( temp_output_6_0_g5047 )); + float lerpResult11_g5047 = lerp( lerpResult10_g5047 , break38_g5046.a , (float)saturate( ( temp_output_6_0_g5047 - 1 ) )); + float3 lerpResult98_g5046 = lerp( float3( 0,0,0 ) , ( hsvTorgb3_g5046 * lerpResult11_g5047 ) , _EnableScrollingRainbow); + #ifdef UNITY_PASS_FORWARDBASE + float3 staticSwitch35_g5018 = lerpResult98_g5046; + #else + float3 staticSwitch35_g5018 = float3( 0,0,0 ); + #endif + float dotResult617 = dot( worldNorm31 , lightDir32 ); + float dotResult610 = dot( worldNorm31 , float3(0,1,0) ); + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch625 = max( ( dotResult610 + 0.5 ) , 0.0 ); + #else + float staticSwitch625 = 1.0; + #endif + float4 Rimlighting557 = ( max( -dotResult617 , 0.0 ) * temp_output_547_0 * ( ( lightColor45 + float4( ToonAmbience521 , 0.0 ) ) / 2.0 ) * _RimlightColor * specColor44 * staticSwitch625 * SpecularAntiAlias851 ); + float3 temp_output_126_0_g5027 = Rimlighting557.rgb; + float3 RimlightIN195_g5027 = temp_output_126_0_g5027; + float4 lerpResult191_g5027 = lerp( ( Sparkles152_g5027 * float4( temp_output_126_0_g5027 , 0.0 ) ) , ( Sparkles152_g5027 + float4( temp_output_126_0_g5027 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 RimlightSparkles143_g5027 = lerpResult191_g5027; + float4 lerpResult136_g5027 = lerp( float4( RimlightIN195_g5027 , 0.0 ) , RimlightSparkles143_g5027 , (float)saturate( temp_output_137_0_g5027 )); + float4 lerpResult181_g5027 = lerp( lerpResult136_g5027 , RimlightSparkles143_g5027 , (float)temp_output_151_0_g5027); + float4 lerpResult183_g5027 = lerp( lerpResult181_g5027 , RimlightSparkles143_g5027 , (float)temp_output_160_0_g5027); + #ifdef _SPARKLES + float4 staticSwitch187_g5027 = lerpResult183_g5027; + #else + float4 staticSwitch187_g5027 = float4( RimlightIN195_g5027 , 0.0 ); + #endif + float4 RimlightEffects1118 = staticSwitch187_g5027; + c.rgb = ( IndirectSpecular158 + BRDF219 + ( staticSwitch178_g5027 + float4( staticSwitch35_g5018 , 0.0 ) ) + RimlightEffects1118 ).rgb; + c.a = 1; + clip( Alpha1147 - _MaskClipValue ); + return c; + } + + inline void LightingStandardCustomLighting_GI( inout SurfaceOutputCustomLightingCustom s, UnityGIInput data, inout UnityGI gi ) + { + s.GIData = data; + } + + void surf( Input i , inout SurfaceOutputCustomLightingCustom o ) + { + o.SurfInput = i; + o.Normal = float3(0,0,1); + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + o.Albedo = MainTex224.rgb; + float4 temp_cast_1 = (1.0).xxxx; + float3 temp_cast_2 = (1.0).xxx; + int EmissionGlowZone47_g4930 = _RedChGlowZone; + int clampResult8_g4936 = clamp( EmissionGlowZone47_g4930 , 1 , 4 ); + int temp_output_3_0_g4936 = ( clampResult8_g4936 - 1 ); + int Zone16_g4936 = temp_output_3_0_g4936; + float3 localgetThemeData16_g4936 = getThemeData( Zone16_g4936 ); + int Band11_g4937 = 56; + int localIsLumaActive11_g4937 = IsLumaActive11_g4937( Band11_g4937 ); + int temp_output_14_0_g4936 = localIsLumaActive11_g4937; + int lerpResult15_g4936 = lerp( temp_output_3_0_g4936 , ( 63 - temp_output_3_0_g4936 ) , (float)temp_output_14_0_g4936); + int Band2_g4936 = lerpResult15_g4936; + int Delay2_g4936 = 0; + float3 localLumaGlowData2_g4936 = LumaGlowData2_g4936( Band2_g4936 , Delay2_g4936 ); + float3 lerpResult17_g4936 = lerp( ( localgetThemeData16_g4936 * localLumaGlowData2_g4936 ) , localLumaGlowData2_g4936 , (float)temp_output_14_0_g4936); + int temp_output_21_0_g4930 = saturate( EmissionGlowZone47_g4930 ); + float3 lerpResult20_g4930 = lerp( temp_cast_2 , lerpResult17_g4936 , (float)temp_output_21_0_g4930); + float3 temp_cast_6 = (1.0).xxx; + int clampResult8_g4938 = clamp( EmissionGlowZone47_g4930 , 1 , 4 ); + int temp_output_3_0_g4938 = ( clampResult8_g4938 - 1 ); + int Zone15_g4938 = temp_output_3_0_g4938; + float3 localgetThemeData15_g4938 = getThemeData( Zone15_g4938 ); + int Band11_g4939 = 56; + int localIsLumaActive11_g4939 = IsLumaActive11_g4939( Band11_g4939 ); + int temp_output_13_0_g4938 = localIsLumaActive11_g4939; + int lerpResult14_g4938 = lerp( temp_output_3_0_g4938 , ( 63 - temp_output_3_0_g4938 ) , (float)temp_output_13_0_g4938); + int Band11_g4938 = lerpResult14_g4938; + float cos6_g4930 = cos( radians( _RedChGlowPulseDir ) ); + float sin6_g4930 = sin( radians( _RedChGlowPulseDir ) ); + float2 rotator6_g4930 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4930 , -sin6_g4930 , sin6_g4930 , cos6_g4930 )) + float2( 0.5,0.5 ); + int Band6_g4943 = _RedChGlowAnimationBand; + int Mode6_g4943 = ( ( _RedChGlowAnimationMode * 2 ) + _RedChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4943 = AudioLinkDecodeDataAsUInt6_g4943( Band6_g4943 , Mode6_g4943 ); + float localGetLocalTime2_g4944 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4930 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4943 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4944 , (float)saturate( ( _RedChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4930 = ( _RedChGlowAnimationStrength * lerpResult206_g4930 * step( _RedChGlowAnimationBand , 9 ) ); + float x13_g4930 = ( ( rotator6_g4930.x * _RedChGlowPulseScale ) + _RedChGlowPulseOffset + EmissionGlowAnimation195_g4930 ); + float y13_g4930 = 127.0; + float localglslmod13_g4930 = glslmod13_g4930( x13_g4930 , y13_g4930 ); + float2 CenteredUV15_g4932 = ( i.uv_texcoord - _RedChGlowRadialCenter ); + float2 break17_g4932 = CenteredUV15_g4932; + float2 appendResult23_g4932 = (float2(( length( CenteredUV15_g4932 ) * _RedChGlowPulseScale * 2.0 ) , ( atan2( break17_g4932.x , break17_g4932.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4930 = ( _RedChGlowPulseOffset + appendResult23_g4932.x + EmissionGlowAnimation195_g4930 ); + float y12_g4930 = 127.0; + float localglslmod12_g4930 = glslmod12_g4930( x12_g4930 , y12_g4930 ); + int EmissionGlowMode35_g4930 = _RedChGlowMode; + int temp_output_37_0_g4930 = ( EmissionGlowMode35_g4930 - 1 ); + float lerpResult5_g4930 = lerp( localglslmod13_g4930 , localglslmod12_g4930 , (float)saturate( temp_output_37_0_g4930 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4913 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionalMap106_g4930 = Direction27_g4913; + float lerpResult179_g4930 = lerp( DirectionalMap106_g4930 , ( 1.0 - DirectionalMap106_g4930 ) , (float)saturate( ( EmissionGlowMode35_g4930 - 3 ) )); + float x34_g4930 = ( _RedChGlowPulseOffset + ( _RedChGlowPulseScale * lerpResult179_g4930 ) + EmissionGlowAnimation195_g4930 ); + float y34_g4930 = 127.0; + float localglslmod34_g4930 = glslmod34_g4930( x34_g4930 , y34_g4930 ); + float lerpResult30_g4930 = lerp( lerpResult5_g4930 , localglslmod34_g4930 , (float)saturate( ( temp_output_37_0_g4930 - 1 ) )); + float EmissionGlowDelay56_g4930 = lerpResult30_g4930; + float Delay11_g4938 = EmissionGlowDelay56_g4930; + float3 localLumaGlowLerp11_g4938 = LumaGlowLerp11_g4938( Band11_g4938 , Delay11_g4938 ); + float3 lerpResult17_g4938 = lerp( ( localgetThemeData15_g4938 * localLumaGlowLerp11_g4938 ) , localLumaGlowLerp11_g4938 , (float)temp_output_13_0_g4938); + float3 lerpResult22_g4930 = lerp( temp_cast_6 , lerpResult17_g4938 , (float)temp_output_21_0_g4930); + float3 lerpResult23_g4930 = lerp( lerpResult20_g4930 , lerpResult22_g4930 , (float)saturate( EmissionGlowMode35_g4930 )); + float4 temp_cast_16 = (1.0).xxxx; + float temp_output_10_0_g4940 = EmissionGlowDelay56_g4930; + float Position1_g4942 = ( temp_output_10_0_g4940 / 127.0 ); + float4 localAudioLinkLerp1_g4942 = AudioLinkLerp1_g4942( Position1_g4942 ); + int clampResult8_g4940 = clamp( ( EmissionGlowZone47_g4930 - 4 ) , 1 , 3 ); + int Band11_g4940 = ( 59 - ( clampResult8_g4940 - 1 ) ); + float Delay11_g4940 = temp_output_10_0_g4940; + float3 localLumaGlowLerp11_g4940 = LumaGlowLerp11_g4940( Band11_g4940 , Delay11_g4940 ); + int Band11_g4941 = 56; + int localIsLumaActive11_g4941 = IsLumaActive11_g4941( Band11_g4941 ); + float4 lerpResult14_g4940 = lerp( localAudioLinkLerp1_g4942 , float4( localLumaGlowLerp11_g4940 , 0.0 ) , (float)localIsLumaActive11_g4941); + float4 lerpResult52_g4930 = lerp( temp_cast_16 , lerpResult14_g4940 , (float)saturate( EmissionGlowZone47_g4930 )); + float4 lerpResult51_g4930 = lerp( float4( lerpResult23_g4930 , 0.0 ) , lerpResult52_g4930 , (float)saturate( ( EmissionGlowZone47_g4930 - 4 ) )); + float4 temp_cast_21 = (_RedChGlowMinBrightness).xxxx; + float4 temp_cast_22 = (( _RedChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_254_0_g4930 = saturate( EmissionGlowZone47_g4930 ); + float4 EmissionGlow142_g4930 = ( (temp_cast_21 + (lerpResult51_g4930 - float4( 0,0,0,0 )) * (temp_cast_22 - temp_cast_21) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _RedChGlowTint * temp_output_254_0_g4930 ); + float4 lerpResult257_g4930 = lerp( temp_cast_1 , EmissionGlow142_g4930 , (float)temp_output_254_0_g4930); + float4 EmissionGlowTog258_g4930 = lerpResult257_g4930; + int EmissionReactiveBand243_g4930 = _RedChReactiveBand; + int Band3_g4931 = EmissionReactiveBand243_g4930; + int Delay3_g4931 = 0; + float localAudioLinkData3_g4931 = AudioLinkData3_g4931( Band3_g4931 , Delay3_g4931 ); + int temp_output_64_0_g4930 = step( _RedChReactiveBand , 9 ); + float lerpResult66_g4930 = lerp( 1.0 , localAudioLinkData3_g4931 , (float)temp_output_64_0_g4930); + int Band3_g4933 = _RedChReactiveBand; + float cos78_g4930 = cos( radians( _RedChReactivePulseDir ) ); + float sin78_g4930 = sin( radians( _RedChReactivePulseDir ) ); + float2 rotator78_g4930 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4930 , -sin78_g4930 , sin78_g4930 , cos78_g4930 )) + float2( 0.5,0.5 ); + float x96_g4930 = ( ( rotator78_g4930.x * _RedChReactivePulseScale ) + _RedChReactivePulseOffset ); + float y96_g4930 = 127.0; + float localglslmod96_g4930 = glslmod96_g4930( x96_g4930 , y96_g4930 ); + float2 CenteredUV15_g4934 = ( i.uv_texcoord - _RedChReactiveRadialCenter ); + float2 break17_g4934 = CenteredUV15_g4934; + float2 appendResult23_g4934 = (float2(( length( CenteredUV15_g4934 ) * _RedChReactivePulseScale * 2.0 ) , ( atan2( break17_g4934.x , break17_g4934.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4930 = ( _RedChReactivePulseOffset + appendResult23_g4934.x ); + float y97_g4930 = 127.0; + float localglslmod97_g4930 = glslmod97_g4930( x97_g4930 , y97_g4930 ); + int EmissionReactiveMode99_g4930 = _RedChReactiveMode; + int temp_output_90_0_g4930 = ( EmissionReactiveMode99_g4930 - 1 ); + float lerpResult77_g4930 = lerp( localglslmod96_g4930 , localglslmod97_g4930 , (float)saturate( temp_output_90_0_g4930 )); + float lerpResult174_g4930 = lerp( DirectionalMap106_g4930 , ( 1.0 - DirectionalMap106_g4930 ) , (float)saturate( ( EmissionReactiveMode99_g4930 - 3 ) )); + float x98_g4930 = ( _RedChReactivePulseOffset + ( _RedChReactivePulseScale * lerpResult174_g4930 ) ); + float y98_g4930 = 127.0; + float localglslmod98_g4930 = glslmod98_g4930( x98_g4930 , y98_g4930 ); + float lerpResult87_g4930 = lerp( lerpResult77_g4930 , localglslmod98_g4930 , (float)saturate( ( temp_output_90_0_g4930 - 1 ) )); + float Delay3_g4933 = lerpResult87_g4930; + float localAudioLinkLerp3_g4933 = AudioLinkLerp3_g4933( Band3_g4933 , Delay3_g4933 ); + float lerpResult102_g4930 = lerp( 1.0 , localAudioLinkLerp3_g4933 , (float)temp_output_64_0_g4930); + float lerpResult103_g4930 = lerp( lerpResult66_g4930 , lerpResult102_g4930 , (float)saturate( EmissionReactiveMode99_g4930 )); + int Band3_g4935 = _RedChReactiveBand; + float FilteredAmount3_g4935 = ( ( 1.0 - _RedChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4935 = AudioLinkLerp3_g4935( Band3_g4935 , FilteredAmount3_g4935 ); + float lerpResult168_g4930 = lerp( 1.0 , localAudioLinkLerp3_g4935 , (float)temp_output_64_0_g4930); + float lerpResult172_g4930 = lerp( lerpResult103_g4930 , lerpResult168_g4930 , (float)saturate( ( EmissionReactiveMode99_g4930 - 4 ) )); + float ReactivityAlpha132_g4930 = (_RedChReactiveMinBrightness + (lerpResult172_g4930 - 0.0) * (( _RedChReactiveMinBrightness + 1.0 ) - _RedChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_33 = (1.0).xxxx; + float4 lerpResult253_g4930 = lerp( temp_cast_33 , _RedChReactiveTint , (float)step( EmissionReactiveBand243_g4930 , 9 )); + float4 FinalReactivity68_g4930 = ( ReactivityAlpha132_g4930 * lerpResult253_g4930 ); + float4 lerpResult146_g4930 = lerp( ( EmissionGlowTog258_g4930 * FinalReactivity68_g4930 ) , ( EmissionGlow142_g4930 + FinalReactivity68_g4930 ) , (float)saturate( _RedChReactiveBlendMode )); + float4 ReversedReactivity152_g4930 = ( ( 1.0 - ReactivityAlpha132_g4930 ) * lerpResult253_g4930 ); + int temp_output_157_0_g4930 = ( _RedChReactiveBlendMode - 1 ); + float4 lerpResult114_g4930 = lerp( lerpResult146_g4930 , ( EmissionGlowTog258_g4930 * ReversedReactivity152_g4930 ) , (float)saturate( temp_output_157_0_g4930 )); + float4 lerpResult164_g4930 = lerp( lerpResult114_g4930 , ( EmissionGlow142_g4930 + ( ReversedReactivity152_g4930 * step( EmissionReactiveBand243_g4930 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4930 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4930 , 9 ) ) )); + float2 uv_GlowMask = i.uv_texcoord * _GlowMask_ST.xy + _GlowMask_ST.zw; + float4 GlowMaskRGBA174_g4913 = tex2D( _GlowMask, uv_GlowMask ); + float localIfAudioLinkv2Exists1_g4945 = IfAudioLinkv2Exists1_g4945(); + float4 lerpResult280_g4930 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4930 * (GlowMaskRGBA174_g4913).ra.x * localIfAudioLinkv2Exists1_g4945 ) , _EnableRedChannel); + float4 temp_cast_43 = (1.0).xxxx; + float3 temp_cast_44 = (1.0).xxx; + int EmissionGlowZone47_g4946 = _GreenChGlowZone; + int clampResult8_g4952 = clamp( EmissionGlowZone47_g4946 , 1 , 4 ); + int temp_output_3_0_g4952 = ( clampResult8_g4952 - 1 ); + int Zone16_g4952 = temp_output_3_0_g4952; + float3 localgetThemeData16_g4952 = getThemeData( Zone16_g4952 ); + int Band11_g4953 = 56; + int localIsLumaActive11_g4953 = IsLumaActive11_g4953( Band11_g4953 ); + int temp_output_14_0_g4952 = localIsLumaActive11_g4953; + int lerpResult15_g4952 = lerp( temp_output_3_0_g4952 , ( 63 - temp_output_3_0_g4952 ) , (float)temp_output_14_0_g4952); + int Band2_g4952 = lerpResult15_g4952; + int Delay2_g4952 = 0; + float3 localLumaGlowData2_g4952 = LumaGlowData2_g4952( Band2_g4952 , Delay2_g4952 ); + float3 lerpResult17_g4952 = lerp( ( localgetThemeData16_g4952 * localLumaGlowData2_g4952 ) , localLumaGlowData2_g4952 , (float)temp_output_14_0_g4952); + int temp_output_21_0_g4946 = saturate( EmissionGlowZone47_g4946 ); + float3 lerpResult20_g4946 = lerp( temp_cast_44 , lerpResult17_g4952 , (float)temp_output_21_0_g4946); + float3 temp_cast_48 = (1.0).xxx; + int clampResult8_g4954 = clamp( EmissionGlowZone47_g4946 , 1 , 4 ); + int temp_output_3_0_g4954 = ( clampResult8_g4954 - 1 ); + int Zone15_g4954 = temp_output_3_0_g4954; + float3 localgetThemeData15_g4954 = getThemeData( Zone15_g4954 ); + int Band11_g4955 = 56; + int localIsLumaActive11_g4955 = IsLumaActive11_g4955( Band11_g4955 ); + int temp_output_13_0_g4954 = localIsLumaActive11_g4955; + int lerpResult14_g4954 = lerp( temp_output_3_0_g4954 , ( 63 - temp_output_3_0_g4954 ) , (float)temp_output_13_0_g4954); + int Band11_g4954 = lerpResult14_g4954; + float cos6_g4946 = cos( radians( _GreenChGlowPulseDir ) ); + float sin6_g4946 = sin( radians( _GreenChGlowPulseDir ) ); + float2 rotator6_g4946 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4946 , -sin6_g4946 , sin6_g4946 , cos6_g4946 )) + float2( 0.5,0.5 ); + int Band6_g4959 = _GreenChGlowAnimationBand; + int Mode6_g4959 = ( ( _GreenChGlowAnimationMode * 2 ) + _GreenChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4959 = AudioLinkDecodeDataAsUInt6_g4959( Band6_g4959 , Mode6_g4959 ); + float localGetLocalTime2_g4960 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4946 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4959 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4960 , (float)saturate( ( _GreenChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4946 = ( _GreenChGlowAnimationStrength * lerpResult206_g4946 * step( _GreenChGlowAnimationBand , 9 ) ); + float x13_g4946 = ( ( rotator6_g4946.x * _GreenChGlowPulseScale ) + _GreenChGlowPulseOffset + EmissionGlowAnimation195_g4946 ); + float y13_g4946 = 127.0; + float localglslmod13_g4946 = glslmod13_g4946( x13_g4946 , y13_g4946 ); + float2 CenteredUV15_g4948 = ( i.uv_texcoord - _GreenChGlowRadialCenter ); + float2 break17_g4948 = CenteredUV15_g4948; + float2 appendResult23_g4948 = (float2(( length( CenteredUV15_g4948 ) * _GreenChGlowPulseScale * 2.0 ) , ( atan2( break17_g4948.x , break17_g4948.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4946 = ( _GreenChGlowPulseOffset + appendResult23_g4948.x + EmissionGlowAnimation195_g4946 ); + float y12_g4946 = 127.0; + float localglslmod12_g4946 = glslmod12_g4946( x12_g4946 , y12_g4946 ); + int EmissionGlowMode35_g4946 = _GreenChGlowMode; + int temp_output_37_0_g4946 = ( EmissionGlowMode35_g4946 - 1 ); + float lerpResult5_g4946 = lerp( localglslmod13_g4946 , localglslmod12_g4946 , (float)saturate( temp_output_37_0_g4946 )); + float DirectionalMap106_g4946 = Direction27_g4913; + float lerpResult179_g4946 = lerp( DirectionalMap106_g4946 , ( 1.0 - DirectionalMap106_g4946 ) , (float)saturate( ( EmissionGlowMode35_g4946 - 3 ) )); + float x34_g4946 = ( _GreenChGlowPulseOffset + ( _GreenChGlowPulseScale * lerpResult179_g4946 ) + EmissionGlowAnimation195_g4946 ); + float y34_g4946 = 127.0; + float localglslmod34_g4946 = glslmod34_g4946( x34_g4946 , y34_g4946 ); + float lerpResult30_g4946 = lerp( lerpResult5_g4946 , localglslmod34_g4946 , (float)saturate( ( temp_output_37_0_g4946 - 1 ) )); + float EmissionGlowDelay56_g4946 = lerpResult30_g4946; + float Delay11_g4954 = EmissionGlowDelay56_g4946; + float3 localLumaGlowLerp11_g4954 = LumaGlowLerp11_g4954( Band11_g4954 , Delay11_g4954 ); + float3 lerpResult17_g4954 = lerp( ( localgetThemeData15_g4954 * localLumaGlowLerp11_g4954 ) , localLumaGlowLerp11_g4954 , (float)temp_output_13_0_g4954); + float3 lerpResult22_g4946 = lerp( temp_cast_48 , lerpResult17_g4954 , (float)temp_output_21_0_g4946); + float3 lerpResult23_g4946 = lerp( lerpResult20_g4946 , lerpResult22_g4946 , (float)saturate( EmissionGlowMode35_g4946 )); + float4 temp_cast_58 = (1.0).xxxx; + float temp_output_10_0_g4956 = EmissionGlowDelay56_g4946; + float Position1_g4958 = ( temp_output_10_0_g4956 / 127.0 ); + float4 localAudioLinkLerp1_g4958 = AudioLinkLerp1_g4958( Position1_g4958 ); + int clampResult8_g4956 = clamp( ( EmissionGlowZone47_g4946 - 4 ) , 1 , 3 ); + int Band11_g4956 = ( 59 - ( clampResult8_g4956 - 1 ) ); + float Delay11_g4956 = temp_output_10_0_g4956; + float3 localLumaGlowLerp11_g4956 = LumaGlowLerp11_g4956( Band11_g4956 , Delay11_g4956 ); + int Band11_g4957 = 56; + int localIsLumaActive11_g4957 = IsLumaActive11_g4957( Band11_g4957 ); + float4 lerpResult14_g4956 = lerp( localAudioLinkLerp1_g4958 , float4( localLumaGlowLerp11_g4956 , 0.0 ) , (float)localIsLumaActive11_g4957); + float4 lerpResult52_g4946 = lerp( temp_cast_58 , lerpResult14_g4956 , (float)saturate( EmissionGlowZone47_g4946 )); + float4 lerpResult51_g4946 = lerp( float4( lerpResult23_g4946 , 0.0 ) , lerpResult52_g4946 , (float)saturate( ( EmissionGlowZone47_g4946 - 4 ) )); + float4 temp_cast_63 = (_GreenChGlowMinBrightness).xxxx; + float4 temp_cast_64 = (( _GreenChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_255_0_g4946 = saturate( EmissionGlowZone47_g4946 ); + float4 EmissionGlow142_g4946 = ( (temp_cast_63 + (lerpResult51_g4946 - float4( 0,0,0,0 )) * (temp_cast_64 - temp_cast_63) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _GreenChGlowTint * temp_output_255_0_g4946 ); + float4 lerpResult258_g4946 = lerp( temp_cast_43 , EmissionGlow142_g4946 , (float)temp_output_255_0_g4946); + float4 EmissionGlowTog259_g4946 = lerpResult258_g4946; + int EmissionReactiveBand243_g4946 = _GreenChReactiveBand; + int Band3_g4947 = EmissionReactiveBand243_g4946; + int Delay3_g4947 = 0; + float localAudioLinkData3_g4947 = AudioLinkData3_g4947( Band3_g4947 , Delay3_g4947 ); + int temp_output_64_0_g4946 = step( _GreenChReactiveBand , 9 ); + float lerpResult66_g4946 = lerp( 1.0 , localAudioLinkData3_g4947 , (float)temp_output_64_0_g4946); + int Band3_g4949 = _GreenChReactiveBand; + float cos78_g4946 = cos( radians( _GreenChReactivePulseDir ) ); + float sin78_g4946 = sin( radians( _GreenChReactivePulseDir ) ); + float2 rotator78_g4946 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4946 , -sin78_g4946 , sin78_g4946 , cos78_g4946 )) + float2( 0.5,0.5 ); + float x96_g4946 = ( ( rotator78_g4946.x * _GreenChReactivePulseScale ) + _GreenChReactivePulseOffset ); + float y96_g4946 = 127.0; + float localglslmod96_g4946 = glslmod96_g4946( x96_g4946 , y96_g4946 ); + float2 CenteredUV15_g4950 = ( i.uv_texcoord - _GreenChReactiveRadialCenter ); + float2 break17_g4950 = CenteredUV15_g4950; + float2 appendResult23_g4950 = (float2(( length( CenteredUV15_g4950 ) * _GreenChReactivePulseScale * 2.0 ) , ( atan2( break17_g4950.x , break17_g4950.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4946 = ( _GreenChReactivePulseOffset + appendResult23_g4950.x ); + float y97_g4946 = 127.0; + float localglslmod97_g4946 = glslmod97_g4946( x97_g4946 , y97_g4946 ); + int EmissionReactiveMode99_g4946 = _GreenChReactiveMode; + int temp_output_90_0_g4946 = ( EmissionReactiveMode99_g4946 - 1 ); + float lerpResult77_g4946 = lerp( localglslmod96_g4946 , localglslmod97_g4946 , (float)saturate( temp_output_90_0_g4946 )); + float lerpResult174_g4946 = lerp( DirectionalMap106_g4946 , ( 1.0 - DirectionalMap106_g4946 ) , (float)saturate( ( EmissionReactiveMode99_g4946 - 3 ) )); + float x98_g4946 = ( _GreenChReactivePulseOffset + ( _GreenChReactivePulseScale * lerpResult174_g4946 ) ); + float y98_g4946 = 127.0; + float localglslmod98_g4946 = glslmod98_g4946( x98_g4946 , y98_g4946 ); + float lerpResult87_g4946 = lerp( lerpResult77_g4946 , localglslmod98_g4946 , (float)saturate( ( temp_output_90_0_g4946 - 1 ) )); + float Delay3_g4949 = lerpResult87_g4946; + float localAudioLinkLerp3_g4949 = AudioLinkLerp3_g4949( Band3_g4949 , Delay3_g4949 ); + float lerpResult102_g4946 = lerp( 1.0 , localAudioLinkLerp3_g4949 , (float)temp_output_64_0_g4946); + float lerpResult103_g4946 = lerp( lerpResult66_g4946 , lerpResult102_g4946 , (float)saturate( EmissionReactiveMode99_g4946 )); + int Band3_g4951 = _GreenChReactiveBand; + float FilteredAmount3_g4951 = ( ( 1.0 - _GreenChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4951 = AudioLinkLerp3_g4951( Band3_g4951 , FilteredAmount3_g4951 ); + float lerpResult168_g4946 = lerp( 1.0 , localAudioLinkLerp3_g4951 , (float)temp_output_64_0_g4946); + float lerpResult172_g4946 = lerp( lerpResult103_g4946 , lerpResult168_g4946 , (float)saturate( ( EmissionReactiveMode99_g4946 - 4 ) )); + float ReactivityAlpha132_g4946 = (_GreenChReactiveMinBrightness + (lerpResult172_g4946 - 0.0) * (( _GreenChReactiveMinBrightness + 1.0 ) - _GreenChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_75 = (1.0).xxxx; + float4 lerpResult264_g4946 = lerp( temp_cast_75 , _GreenChReactiveTint , (float)step( EmissionReactiveBand243_g4946 , 9 )); + float4 FinalReactivity68_g4946 = ( ReactivityAlpha132_g4946 * lerpResult264_g4946 ); + float4 lerpResult146_g4946 = lerp( ( EmissionGlowTog259_g4946 * FinalReactivity68_g4946 ) , ( EmissionGlow142_g4946 + FinalReactivity68_g4946 ) , (float)saturate( _GreenChReactiveBlendMode )); + float4 ReversedReactivity152_g4946 = ( ( 1.0 - ReactivityAlpha132_g4946 ) * lerpResult264_g4946 ); + int temp_output_157_0_g4946 = ( _GreenChReactiveBlendMode - 1 ); + float4 lerpResult114_g4946 = lerp( lerpResult146_g4946 , ( EmissionGlowTog259_g4946 * ReversedReactivity152_g4946 ) , (float)saturate( temp_output_157_0_g4946 )); + float4 lerpResult164_g4946 = lerp( lerpResult114_g4946 , ( EmissionGlow142_g4946 + ( ReversedReactivity152_g4946 * step( EmissionReactiveBand243_g4946 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4946 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4946 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4961 = IfAudioLinkv2Exists1_g4961(); + float4 lerpResult276_g4946 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4946 * (GlowMaskRGBA174_g4913).ga.x * localIfAudioLinkv2Exists1_g4961 ) , _EnableGreenChannel); + float4 temp_cast_85 = (1.0).xxxx; + float3 temp_cast_86 = (1.0).xxx; + int EmissionGlowZone47_g4962 = _BlueChGlowZone; + int clampResult8_g4968 = clamp( EmissionGlowZone47_g4962 , 1 , 4 ); + int temp_output_3_0_g4968 = ( clampResult8_g4968 - 1 ); + int Zone16_g4968 = temp_output_3_0_g4968; + float3 localgetThemeData16_g4968 = getThemeData( Zone16_g4968 ); + int Band11_g4969 = 56; + int localIsLumaActive11_g4969 = IsLumaActive11_g4969( Band11_g4969 ); + int temp_output_14_0_g4968 = localIsLumaActive11_g4969; + int lerpResult15_g4968 = lerp( temp_output_3_0_g4968 , ( 63 - temp_output_3_0_g4968 ) , (float)temp_output_14_0_g4968); + int Band2_g4968 = lerpResult15_g4968; + int Delay2_g4968 = 0; + float3 localLumaGlowData2_g4968 = LumaGlowData2_g4968( Band2_g4968 , Delay2_g4968 ); + float3 lerpResult17_g4968 = lerp( ( localgetThemeData16_g4968 * localLumaGlowData2_g4968 ) , localLumaGlowData2_g4968 , (float)temp_output_14_0_g4968); + int temp_output_21_0_g4962 = saturate( EmissionGlowZone47_g4962 ); + float3 lerpResult20_g4962 = lerp( temp_cast_86 , lerpResult17_g4968 , (float)temp_output_21_0_g4962); + float3 temp_cast_90 = (1.0).xxx; + int clampResult8_g4970 = clamp( EmissionGlowZone47_g4962 , 1 , 4 ); + int temp_output_3_0_g4970 = ( clampResult8_g4970 - 1 ); + int Zone15_g4970 = temp_output_3_0_g4970; + float3 localgetThemeData15_g4970 = getThemeData( Zone15_g4970 ); + int Band11_g4971 = 56; + int localIsLumaActive11_g4971 = IsLumaActive11_g4971( Band11_g4971 ); + int temp_output_13_0_g4970 = localIsLumaActive11_g4971; + int lerpResult14_g4970 = lerp( temp_output_3_0_g4970 , ( 63 - temp_output_3_0_g4970 ) , (float)temp_output_13_0_g4970); + int Band11_g4970 = lerpResult14_g4970; + float cos6_g4962 = cos( radians( _BlueChGlowPulseDir ) ); + float sin6_g4962 = sin( radians( _BlueChGlowPulseDir ) ); + float2 rotator6_g4962 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4962 , -sin6_g4962 , sin6_g4962 , cos6_g4962 )) + float2( 0.5,0.5 ); + int Band6_g4975 = _BlueChGlowAnimationBand; + int Mode6_g4975 = ( ( _BlueChGlowAnimationMode * 2 ) + _BlueChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4975 = AudioLinkDecodeDataAsUInt6_g4975( Band6_g4975 , Mode6_g4975 ); + float localGetLocalTime2_g4976 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4962 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4975 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4976 , (float)saturate( ( _BlueChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4962 = ( _BlueChGlowAnimationStrength * lerpResult206_g4962 * step( _BlueChGlowAnimationBand , 9 ) ); + float x13_g4962 = ( ( rotator6_g4962.x * _BlueChGlowPulseScale ) + _BlueChGlowPulseOffset + EmissionGlowAnimation195_g4962 ); + float y13_g4962 = 127.0; + float localglslmod13_g4962 = glslmod13_g4962( x13_g4962 , y13_g4962 ); + float2 CenteredUV15_g4964 = ( i.uv_texcoord - _BlueChGlowRadialCenter ); + float2 break17_g4964 = CenteredUV15_g4964; + float2 appendResult23_g4964 = (float2(( length( CenteredUV15_g4964 ) * _BlueChGlowPulseScale * 2.0 ) , ( atan2( break17_g4964.x , break17_g4964.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4962 = ( _BlueChGlowPulseOffset + appendResult23_g4964.x + EmissionGlowAnimation195_g4962 ); + float y12_g4962 = 127.0; + float localglslmod12_g4962 = glslmod12_g4962( x12_g4962 , y12_g4962 ); + int EmissionGlowMode35_g4962 = _BlueChGlowMode; + int temp_output_37_0_g4962 = ( EmissionGlowMode35_g4962 - 1 ); + float lerpResult5_g4962 = lerp( localglslmod13_g4962 , localglslmod12_g4962 , (float)saturate( temp_output_37_0_g4962 )); + float DirectionalMap106_g4962 = Direction27_g4913; + float lerpResult179_g4962 = lerp( DirectionalMap106_g4962 , ( 1.0 - DirectionalMap106_g4962 ) , (float)saturate( ( EmissionGlowMode35_g4962 - 3 ) )); + float x34_g4962 = ( _BlueChGlowPulseOffset + ( _BlueChGlowPulseScale * lerpResult179_g4962 ) + EmissionGlowAnimation195_g4962 ); + float y34_g4962 = 127.0; + float localglslmod34_g4962 = glslmod34_g4962( x34_g4962 , y34_g4962 ); + float lerpResult30_g4962 = lerp( lerpResult5_g4962 , localglslmod34_g4962 , (float)saturate( ( temp_output_37_0_g4962 - 1 ) )); + float EmissionGlowDelay56_g4962 = lerpResult30_g4962; + float Delay11_g4970 = EmissionGlowDelay56_g4962; + float3 localLumaGlowLerp11_g4970 = LumaGlowLerp11_g4970( Band11_g4970 , Delay11_g4970 ); + float3 lerpResult17_g4970 = lerp( ( localgetThemeData15_g4970 * localLumaGlowLerp11_g4970 ) , localLumaGlowLerp11_g4970 , (float)temp_output_13_0_g4970); + float3 lerpResult22_g4962 = lerp( temp_cast_90 , lerpResult17_g4970 , (float)temp_output_21_0_g4962); + float3 lerpResult23_g4962 = lerp( lerpResult20_g4962 , lerpResult22_g4962 , (float)saturate( EmissionGlowMode35_g4962 )); + float4 temp_cast_100 = (1.0).xxxx; + float temp_output_10_0_g4972 = EmissionGlowDelay56_g4962; + float Position1_g4974 = ( temp_output_10_0_g4972 / 127.0 ); + float4 localAudioLinkLerp1_g4974 = AudioLinkLerp1_g4974( Position1_g4974 ); + int clampResult8_g4972 = clamp( ( EmissionGlowZone47_g4962 - 4 ) , 1 , 3 ); + int Band11_g4972 = ( 59 - ( clampResult8_g4972 - 1 ) ); + float Delay11_g4972 = temp_output_10_0_g4972; + float3 localLumaGlowLerp11_g4972 = LumaGlowLerp11_g4972( Band11_g4972 , Delay11_g4972 ); + int Band11_g4973 = 56; + int localIsLumaActive11_g4973 = IsLumaActive11_g4973( Band11_g4973 ); + float4 lerpResult14_g4972 = lerp( localAudioLinkLerp1_g4974 , float4( localLumaGlowLerp11_g4972 , 0.0 ) , (float)localIsLumaActive11_g4973); + float4 lerpResult52_g4962 = lerp( temp_cast_100 , lerpResult14_g4972 , (float)saturate( EmissionGlowZone47_g4962 )); + float4 lerpResult51_g4962 = lerp( float4( lerpResult23_g4962 , 0.0 ) , lerpResult52_g4962 , (float)saturate( ( EmissionGlowZone47_g4962 - 4 ) )); + float4 temp_cast_105 = (_BlueChGlowMinBrightness).xxxx; + float4 temp_cast_106 = (( _BlueChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4962 = saturate( EmissionGlowZone47_g4962 ); + float4 EmissionGlow142_g4962 = ( (temp_cast_105 + (lerpResult51_g4962 - float4( 0,0,0,0 )) * (temp_cast_106 - temp_cast_105) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _BlueChGlowTint * temp_output_258_0_g4962 ); + float4 lerpResult261_g4962 = lerp( temp_cast_85 , EmissionGlow142_g4962 , (float)temp_output_258_0_g4962); + float4 EmissionGlowTog262_g4962 = lerpResult261_g4962; + int EmissionReactiveBand243_g4962 = _BlueChReactiveBand; + int Band3_g4963 = EmissionReactiveBand243_g4962; + int Delay3_g4963 = 0; + float localAudioLinkData3_g4963 = AudioLinkData3_g4963( Band3_g4963 , Delay3_g4963 ); + int temp_output_64_0_g4962 = step( _BlueChReactiveBand , 9 ); + float lerpResult66_g4962 = lerp( 1.0 , localAudioLinkData3_g4963 , (float)temp_output_64_0_g4962); + int Band3_g4965 = _BlueChReactiveBand; + float cos78_g4962 = cos( radians( _BlueChReactivePulseDir ) ); + float sin78_g4962 = sin( radians( _BlueChReactivePulseDir ) ); + float2 rotator78_g4962 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4962 , -sin78_g4962 , sin78_g4962 , cos78_g4962 )) + float2( 0.5,0.5 ); + float x96_g4962 = ( ( rotator78_g4962.x * _BlueChReactivePulseScale ) + _BlueChReactivePulseOffset ); + float y96_g4962 = 127.0; + float localglslmod96_g4962 = glslmod96_g4962( x96_g4962 , y96_g4962 ); + float2 CenteredUV15_g4966 = ( i.uv_texcoord - _BlueChReactiveRadialCenter ); + float2 break17_g4966 = CenteredUV15_g4966; + float2 appendResult23_g4966 = (float2(( length( CenteredUV15_g4966 ) * _BlueChReactivePulseScale * 2.0 ) , ( atan2( break17_g4966.x , break17_g4966.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4962 = ( _BlueChReactivePulseOffset + appendResult23_g4966.x ); + float y97_g4962 = 127.0; + float localglslmod97_g4962 = glslmod97_g4962( x97_g4962 , y97_g4962 ); + int EmissionReactiveMode99_g4962 = _BlueChReactiveMode; + int temp_output_90_0_g4962 = ( EmissionReactiveMode99_g4962 - 1 ); + float lerpResult77_g4962 = lerp( localglslmod96_g4962 , localglslmod97_g4962 , (float)saturate( temp_output_90_0_g4962 )); + float lerpResult174_g4962 = lerp( DirectionalMap106_g4962 , ( 1.0 - DirectionalMap106_g4962 ) , (float)saturate( ( EmissionReactiveMode99_g4962 - 3 ) )); + float x98_g4962 = ( _BlueChReactivePulseOffset + ( _BlueChReactivePulseScale * lerpResult174_g4962 ) ); + float y98_g4962 = 127.0; + float localglslmod98_g4962 = glslmod98_g4962( x98_g4962 , y98_g4962 ); + float lerpResult87_g4962 = lerp( lerpResult77_g4962 , localglslmod98_g4962 , (float)saturate( ( temp_output_90_0_g4962 - 1 ) )); + float Delay3_g4965 = lerpResult87_g4962; + float localAudioLinkLerp3_g4965 = AudioLinkLerp3_g4965( Band3_g4965 , Delay3_g4965 ); + float lerpResult102_g4962 = lerp( 1.0 , localAudioLinkLerp3_g4965 , (float)temp_output_64_0_g4962); + float lerpResult103_g4962 = lerp( lerpResult66_g4962 , lerpResult102_g4962 , (float)saturate( EmissionReactiveMode99_g4962 )); + int Band3_g4967 = _BlueChReactiveBand; + float FilteredAmount3_g4967 = ( ( 1.0 - _BlueChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4967 = AudioLinkLerp3_g4967( Band3_g4967 , FilteredAmount3_g4967 ); + float lerpResult168_g4962 = lerp( 1.0 , localAudioLinkLerp3_g4967 , (float)temp_output_64_0_g4962); + float lerpResult172_g4962 = lerp( lerpResult103_g4962 , lerpResult168_g4962 , (float)saturate( ( EmissionReactiveMode99_g4962 - 4 ) )); + float ReactivityAlpha132_g4962 = (_BlueChReactiveMinBrightness + (lerpResult172_g4962 - 0.0) * (( _BlueChReactiveMinBrightness + 1.0 ) - _BlueChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_117 = (1.0).xxxx; + float4 lerpResult268_g4962 = lerp( temp_cast_117 , _BlueChReactiveTint , (float)step( EmissionReactiveBand243_g4962 , 9 )); + float4 FinalReactivity68_g4962 = ( ReactivityAlpha132_g4962 * lerpResult268_g4962 ); + float4 lerpResult146_g4962 = lerp( ( EmissionGlowTog262_g4962 * FinalReactivity68_g4962 ) , ( EmissionGlow142_g4962 + FinalReactivity68_g4962 ) , (float)saturate( _BlueChReactiveBlendMode )); + float4 ReversedReactivity152_g4962 = ( ( 1.0 - ReactivityAlpha132_g4962 ) * lerpResult268_g4962 ); + int temp_output_157_0_g4962 = ( _BlueChReactiveBlendMode - 1 ); + float4 lerpResult114_g4962 = lerp( lerpResult146_g4962 , ( EmissionGlowTog262_g4962 * ReversedReactivity152_g4962 ) , (float)saturate( temp_output_157_0_g4962 )); + float4 lerpResult164_g4962 = lerp( lerpResult114_g4962 , ( EmissionGlow142_g4962 + ( ReversedReactivity152_g4962 * step( EmissionReactiveBand243_g4962 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4962 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4962 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4977 = IfAudioLinkv2Exists1_g4977(); + float4 lerpResult278_g4962 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4962 * (GlowMaskRGBA174_g4913).ba.x * localIfAudioLinkv2Exists1_g4977 ) , _EnableBlueChannel); + float4 temp_cast_127 = (1.0).xxxx; + float3 temp_cast_128 = (1.0).xxx; + int EmissionGlowZone47_g4978 = _AlphaChGlowZone; + int clampResult8_g4984 = clamp( EmissionGlowZone47_g4978 , 1 , 4 ); + int temp_output_3_0_g4984 = ( clampResult8_g4984 - 1 ); + int Zone16_g4984 = temp_output_3_0_g4984; + float3 localgetThemeData16_g4984 = getThemeData( Zone16_g4984 ); + int Band11_g4985 = 56; + int localIsLumaActive11_g4985 = IsLumaActive11_g4985( Band11_g4985 ); + int temp_output_14_0_g4984 = localIsLumaActive11_g4985; + int lerpResult15_g4984 = lerp( temp_output_3_0_g4984 , ( 63 - temp_output_3_0_g4984 ) , (float)temp_output_14_0_g4984); + int Band2_g4984 = lerpResult15_g4984; + int Delay2_g4984 = 0; + float3 localLumaGlowData2_g4984 = LumaGlowData2_g4984( Band2_g4984 , Delay2_g4984 ); + float3 lerpResult17_g4984 = lerp( ( localgetThemeData16_g4984 * localLumaGlowData2_g4984 ) , localLumaGlowData2_g4984 , (float)temp_output_14_0_g4984); + int temp_output_21_0_g4978 = saturate( EmissionGlowZone47_g4978 ); + float3 lerpResult20_g4978 = lerp( temp_cast_128 , lerpResult17_g4984 , (float)temp_output_21_0_g4978); + float3 temp_cast_132 = (1.0).xxx; + int clampResult8_g4986 = clamp( EmissionGlowZone47_g4978 , 1 , 4 ); + int temp_output_3_0_g4986 = ( clampResult8_g4986 - 1 ); + int Zone15_g4986 = temp_output_3_0_g4986; + float3 localgetThemeData15_g4986 = getThemeData( Zone15_g4986 ); + int Band11_g4987 = 56; + int localIsLumaActive11_g4987 = IsLumaActive11_g4987( Band11_g4987 ); + int temp_output_13_0_g4986 = localIsLumaActive11_g4987; + int lerpResult14_g4986 = lerp( temp_output_3_0_g4986 , ( 63 - temp_output_3_0_g4986 ) , (float)temp_output_13_0_g4986); + int Band11_g4986 = lerpResult14_g4986; + float cos6_g4978 = cos( radians( _AlphaChGlowPulseDir ) ); + float sin6_g4978 = sin( radians( _AlphaChGlowPulseDir ) ); + float2 rotator6_g4978 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4978 , -sin6_g4978 , sin6_g4978 , cos6_g4978 )) + float2( 0.5,0.5 ); + int Band6_g4991 = _AlphaChGlowAnimationBand; + int Mode6_g4991 = ( ( _AlphaChGlowAnimationMode * 2 ) + _AlphaChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4991 = AudioLinkDecodeDataAsUInt6_g4991( Band6_g4991 , Mode6_g4991 ); + float localGetLocalTime2_g4992 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4978 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4991 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4992 , (float)saturate( ( _AlphaChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4978 = ( _AlphaChGlowAnimationStrength * lerpResult206_g4978 * step( _AlphaChGlowAnimationBand , 9 ) ); + float x13_g4978 = ( ( rotator6_g4978.x * _AlphaChGlowPulseScale ) + _AlphaChGlowPulseOffset + EmissionGlowAnimation195_g4978 ); + float y13_g4978 = 127.0; + float localglslmod13_g4978 = glslmod13_g4978( x13_g4978 , y13_g4978 ); + float2 CenteredUV15_g4980 = ( i.uv_texcoord - _AlphaChGlowRadialCenter ); + float2 break17_g4980 = CenteredUV15_g4980; + float2 appendResult23_g4980 = (float2(( length( CenteredUV15_g4980 ) * _AlphaChGlowPulseScale * 2.0 ) , ( atan2( break17_g4980.x , break17_g4980.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4978 = ( _AlphaChGlowPulseOffset + appendResult23_g4980.x + EmissionGlowAnimation195_g4978 ); + float y12_g4978 = 127.0; + float localglslmod12_g4978 = glslmod12_g4978( x12_g4978 , y12_g4978 ); + int EmissionGlowMode35_g4978 = _AlphaChGlowMode; + int temp_output_37_0_g4978 = ( EmissionGlowMode35_g4978 - 1 ); + float lerpResult5_g4978 = lerp( localglslmod13_g4978 , localglslmod12_g4978 , (float)saturate( temp_output_37_0_g4978 )); + float DirectionalMap106_g4978 = Direction27_g4913; + float lerpResult179_g4978 = lerp( DirectionalMap106_g4978 , ( 1.0 - DirectionalMap106_g4978 ) , (float)saturate( ( EmissionGlowMode35_g4978 - 3 ) )); + float x34_g4978 = ( _AlphaChGlowPulseOffset + ( _AlphaChGlowPulseScale * lerpResult179_g4978 ) + EmissionGlowAnimation195_g4978 ); + float y34_g4978 = 127.0; + float localglslmod34_g4978 = glslmod34_g4978( x34_g4978 , y34_g4978 ); + float lerpResult30_g4978 = lerp( lerpResult5_g4978 , localglslmod34_g4978 , (float)saturate( ( temp_output_37_0_g4978 - 1 ) )); + float EmissionGlowDelay56_g4978 = lerpResult30_g4978; + float Delay11_g4986 = EmissionGlowDelay56_g4978; + float3 localLumaGlowLerp11_g4986 = LumaGlowLerp11_g4986( Band11_g4986 , Delay11_g4986 ); + float3 lerpResult17_g4986 = lerp( ( localgetThemeData15_g4986 * localLumaGlowLerp11_g4986 ) , localLumaGlowLerp11_g4986 , (float)temp_output_13_0_g4986); + float3 lerpResult22_g4978 = lerp( temp_cast_132 , lerpResult17_g4986 , (float)temp_output_21_0_g4978); + float3 lerpResult23_g4978 = lerp( lerpResult20_g4978 , lerpResult22_g4978 , (float)saturate( EmissionGlowMode35_g4978 )); + float4 temp_cast_142 = (1.0).xxxx; + float temp_output_10_0_g4988 = EmissionGlowDelay56_g4978; + float Position1_g4990 = ( temp_output_10_0_g4988 / 127.0 ); + float4 localAudioLinkLerp1_g4990 = AudioLinkLerp1_g4990( Position1_g4990 ); + int clampResult8_g4988 = clamp( ( EmissionGlowZone47_g4978 - 4 ) , 1 , 3 ); + int Band11_g4988 = ( 59 - ( clampResult8_g4988 - 1 ) ); + float Delay11_g4988 = temp_output_10_0_g4988; + float3 localLumaGlowLerp11_g4988 = LumaGlowLerp11_g4988( Band11_g4988 , Delay11_g4988 ); + int Band11_g4989 = 56; + int localIsLumaActive11_g4989 = IsLumaActive11_g4989( Band11_g4989 ); + float4 lerpResult14_g4988 = lerp( localAudioLinkLerp1_g4990 , float4( localLumaGlowLerp11_g4988 , 0.0 ) , (float)localIsLumaActive11_g4989); + float4 lerpResult52_g4978 = lerp( temp_cast_142 , lerpResult14_g4988 , (float)saturate( EmissionGlowZone47_g4978 )); + float4 lerpResult51_g4978 = lerp( float4( lerpResult23_g4978 , 0.0 ) , lerpResult52_g4978 , (float)saturate( ( EmissionGlowZone47_g4978 - 4 ) )); + float4 temp_cast_147 = (_AlphaChGlowMinBrightness).xxxx; + float4 temp_cast_148 = (( _AlphaChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4978 = saturate( EmissionGlowZone47_g4978 ); + float4 EmissionGlow142_g4978 = ( (temp_cast_147 + (lerpResult51_g4978 - float4( 0,0,0,0 )) * (temp_cast_148 - temp_cast_147) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _AlphaChGlowTint * temp_output_258_0_g4978 ); + float4 lerpResult261_g4978 = lerp( temp_cast_127 , EmissionGlow142_g4978 , (float)temp_output_258_0_g4978); + float4 EmissionGlowTog262_g4978 = lerpResult261_g4978; + int EmissionReactiveBand243_g4978 = _AlphaChReactiveBand; + int Band3_g4979 = EmissionReactiveBand243_g4978; + int Delay3_g4979 = 0; + float localAudioLinkData3_g4979 = AudioLinkData3_g4979( Band3_g4979 , Delay3_g4979 ); + int temp_output_64_0_g4978 = step( _AlphaChReactiveBand , 9 ); + float lerpResult66_g4978 = lerp( 1.0 , localAudioLinkData3_g4979 , (float)temp_output_64_0_g4978); + int Band3_g4981 = _AlphaChReactiveBand; + float cos78_g4978 = cos( radians( _AlphaChReactivePulseDir ) ); + float sin78_g4978 = sin( radians( _AlphaChReactivePulseDir ) ); + float2 rotator78_g4978 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4978 , -sin78_g4978 , sin78_g4978 , cos78_g4978 )) + float2( 0.5,0.5 ); + float x96_g4978 = ( ( rotator78_g4978.x * _AlphaChReactivePulseScale ) + _AlphaChReactivePulseOffset ); + float y96_g4978 = 127.0; + float localglslmod96_g4978 = glslmod96_g4978( x96_g4978 , y96_g4978 ); + float2 CenteredUV15_g4982 = ( i.uv_texcoord - _AlphaChReactiveRadialCenter ); + float2 break17_g4982 = CenteredUV15_g4982; + float2 appendResult23_g4982 = (float2(( length( CenteredUV15_g4982 ) * _AlphaChReactivePulseScale * 2.0 ) , ( atan2( break17_g4982.x , break17_g4982.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4978 = ( _AlphaChReactivePulseOffset + appendResult23_g4982.x ); + float y97_g4978 = 127.0; + float localglslmod97_g4978 = glslmod97_g4978( x97_g4978 , y97_g4978 ); + int EmissionReactiveMode99_g4978 = _AlphaChReactiveMode; + int temp_output_90_0_g4978 = ( EmissionReactiveMode99_g4978 - 1 ); + float lerpResult77_g4978 = lerp( localglslmod96_g4978 , localglslmod97_g4978 , (float)saturate( temp_output_90_0_g4978 )); + float lerpResult174_g4978 = lerp( DirectionalMap106_g4978 , ( 1.0 - DirectionalMap106_g4978 ) , (float)saturate( ( EmissionReactiveMode99_g4978 - 3 ) )); + float x98_g4978 = ( _AlphaChReactivePulseOffset + ( _AlphaChReactivePulseScale * lerpResult174_g4978 ) ); + float y98_g4978 = 127.0; + float localglslmod98_g4978 = glslmod98_g4978( x98_g4978 , y98_g4978 ); + float lerpResult87_g4978 = lerp( lerpResult77_g4978 , localglslmod98_g4978 , (float)saturate( ( temp_output_90_0_g4978 - 1 ) )); + float Delay3_g4981 = lerpResult87_g4978; + float localAudioLinkLerp3_g4981 = AudioLinkLerp3_g4981( Band3_g4981 , Delay3_g4981 ); + float lerpResult102_g4978 = lerp( 1.0 , localAudioLinkLerp3_g4981 , (float)temp_output_64_0_g4978); + float lerpResult103_g4978 = lerp( lerpResult66_g4978 , lerpResult102_g4978 , (float)saturate( EmissionReactiveMode99_g4978 )); + int Band3_g4983 = _AlphaChReactiveBand; + float FilteredAmount3_g4983 = ( ( 1.0 - _AlphaChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4983 = AudioLinkLerp3_g4983( Band3_g4983 , FilteredAmount3_g4983 ); + float lerpResult168_g4978 = lerp( 1.0 , localAudioLinkLerp3_g4983 , (float)temp_output_64_0_g4978); + float lerpResult172_g4978 = lerp( lerpResult103_g4978 , lerpResult168_g4978 , (float)saturate( ( EmissionReactiveMode99_g4978 - 4 ) )); + float ReactivityAlpha132_g4978 = (_AlphaChReactiveMinBrightness + (lerpResult172_g4978 - 0.0) * (( _AlphaChReactiveMinBrightness + 1.0 ) - _AlphaChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_159 = (1.0).xxxx; + float4 lerpResult268_g4978 = lerp( temp_cast_159 , _AlphaChReactiveTint , (float)step( EmissionReactiveBand243_g4978 , 9 )); + float4 FinalReactivity68_g4978 = ( ReactivityAlpha132_g4978 * lerpResult268_g4978 ); + float4 lerpResult146_g4978 = lerp( ( EmissionGlowTog262_g4978 * FinalReactivity68_g4978 ) , ( EmissionGlow142_g4978 + FinalReactivity68_g4978 ) , (float)saturate( _AlphaChReactiveBlendMode )); + float4 ReversedReactivity152_g4978 = ( ( 1.0 - ReactivityAlpha132_g4978 ) * lerpResult268_g4978 ); + int temp_output_157_0_g4978 = ( _AlphaChReactiveBlendMode - 1 ); + float4 lerpResult114_g4978 = lerp( lerpResult146_g4978 , ( EmissionGlowTog262_g4978 * ReversedReactivity152_g4978 ) , (float)saturate( temp_output_157_0_g4978 )); + float4 lerpResult164_g4978 = lerp( lerpResult114_g4978 , ( EmissionGlow142_g4978 + ( ReversedReactivity152_g4978 * step( EmissionReactiveBand243_g4978 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4978 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4978 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4993 = IfAudioLinkv2Exists1_g4993(); + float4 lerpResult278_g4978 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4978 * (GlowMaskRGBA174_g4913).a * localIfAudioLinkv2Exists1_g4993 ) , _EnableAlphaChannel); + float2 uv_EmissionMap = i.uv_texcoord * _EmissionMap_ST.xy + _EmissionMap_ST.zw; + float2 temp_cast_168 = (1.0).xx; + float2 lerpResult859 = lerp( temp_cast_168 , ( _EmissionPanSpeed * _Time.y ) , _EmissionPan); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float2 temp_cast_169 = (1.0).xx; + float2 lerpResult906 = lerp( temp_cast_169 , ( _EmissionMaskPanSpeed * _Time.y ) , _EmissionMaskPan); + float4 tex2DNode866 = tex2D( _EffectMask, ( uv_EffectMask + lerpResult906 ) ); + int temp_output_18_0_g3967 = _EmissionMaskingChannel; + float lerpResult1_g3967 = lerp( 1.0 , tex2DNode866.r , (float)saturate( temp_output_18_0_g3967 )); + int temp_output_5_0_g3967 = ( temp_output_18_0_g3967 - 1 ); + float lerpResult12_g3967 = lerp( lerpResult1_g3967 , tex2DNode866.g , (float)saturate( temp_output_5_0_g3967 )); + int temp_output_6_0_g3967 = ( temp_output_5_0_g3967 - 1 ); + float lerpResult10_g3967 = lerp( lerpResult12_g3967 , tex2DNode866.b , (float)saturate( temp_output_6_0_g3967 )); + float lerpResult11_g3967 = lerp( lerpResult10_g3967 , tex2DNode866.a , (float)saturate( ( temp_output_6_0_g3967 - 1 ) )); + #ifdef _EMISSION + float4 staticSwitch1062 = ( _EmissionColor * tex2D( _EmissionMap, ( uv_EmissionMap + lerpResult859 ) ) * lerpResult11_g3967 ); + #else + float4 staticSwitch1062 = float4( 0,0,0,0 ); + #endif + float4 EmissionRGBA786 = staticSwitch1062; + float4 temp_output_211_0_g4914 = EmissionRGBA786; + float4 temp_cast_175 = (1.0).xxxx; + float3 temp_cast_176 = (1.0).xxx; + int EmissionGlowZone47_g4914 = _EmissionGlowZone; + int clampResult8_g4925 = clamp( EmissionGlowZone47_g4914 , 1 , 4 ); + int temp_output_3_0_g4925 = ( clampResult8_g4925 - 1 ); + int Zone16_g4925 = temp_output_3_0_g4925; + float3 localgetThemeData16_g4925 = getThemeData( Zone16_g4925 ); + int Band11_g4926 = 56; + int localIsLumaActive11_g4926 = IsLumaActive11_g4926( Band11_g4926 ); + int temp_output_14_0_g4925 = localIsLumaActive11_g4926; + int lerpResult15_g4925 = lerp( temp_output_3_0_g4925 , ( 63 - temp_output_3_0_g4925 ) , (float)temp_output_14_0_g4925); + int Band2_g4925 = lerpResult15_g4925; + int Delay2_g4925 = 0; + float3 localLumaGlowData2_g4925 = LumaGlowData2_g4925( Band2_g4925 , Delay2_g4925 ); + float3 lerpResult17_g4925 = lerp( ( localgetThemeData16_g4925 * localLumaGlowData2_g4925 ) , localLumaGlowData2_g4925 , (float)temp_output_14_0_g4925); + int temp_output_21_0_g4914 = saturate( EmissionGlowZone47_g4914 ); + float3 lerpResult20_g4914 = lerp( temp_cast_176 , lerpResult17_g4925 , (float)temp_output_21_0_g4914); + float3 temp_cast_180 = (1.0).xxx; + int clampResult8_g4927 = clamp( EmissionGlowZone47_g4914 , 1 , 4 ); + int temp_output_3_0_g4927 = ( clampResult8_g4927 - 1 ); + int Zone15_g4927 = temp_output_3_0_g4927; + float3 localgetThemeData15_g4927 = getThemeData( Zone15_g4927 ); + int Band11_g4928 = 56; + int localIsLumaActive11_g4928 = IsLumaActive11_g4928( Band11_g4928 ); + int temp_output_13_0_g4927 = localIsLumaActive11_g4928; + int lerpResult14_g4927 = lerp( temp_output_3_0_g4927 , ( 63 - temp_output_3_0_g4927 ) , (float)temp_output_13_0_g4927); + int Band11_g4927 = lerpResult14_g4927; + float cos6_g4914 = cos( radians( _EmissionGlowPulseDir ) ); + float sin6_g4914 = sin( radians( _EmissionGlowPulseDir ) ); + float2 rotator6_g4914 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4914 , -sin6_g4914 , sin6_g4914 , cos6_g4914 )) + float2( 0.5,0.5 ); + int Band6_g4920 = _EmissionGlowAnimationBand; + int Mode6_g4920 = ( ( _EmissionGlowAnimationMode * 2 ) + _EmissionGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4920 = AudioLinkDecodeDataAsUInt6_g4920( Band6_g4920 , Mode6_g4920 ); + float localGetLocalTime2_g4921 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4914 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4920 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4921 , (float)saturate( ( _EmissionGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4914 = ( _EmissionGlowAnimationStrength * lerpResult206_g4914 * step( _EmissionGlowAnimationBand , 9 ) ); + float x13_g4914 = ( ( rotator6_g4914.x * _EmissionGlowPulseScale ) + _EmissionGlowPulseOffset + EmissionGlowAnimation195_g4914 ); + float y13_g4914 = 127.0; + float localglslmod13_g4914 = glslmod13_g4914( x13_g4914 , y13_g4914 ); + float2 CenteredUV15_g4916 = ( i.uv_texcoord - _EmissionGlowRadialCenter ); + float2 break17_g4916 = CenteredUV15_g4916; + float2 appendResult23_g4916 = (float2(( length( CenteredUV15_g4916 ) * _EmissionGlowPulseScale * 2.0 ) , ( atan2( break17_g4916.x , break17_g4916.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4914 = ( _EmissionGlowPulseOffset + appendResult23_g4916.x + EmissionGlowAnimation195_g4914 ); + float y12_g4914 = 127.0; + float localglslmod12_g4914 = glslmod12_g4914( x12_g4914 , y12_g4914 ); + int EmissionGlowMode35_g4914 = _EmissionGlowMode; + int temp_output_37_0_g4914 = ( EmissionGlowMode35_g4914 - 1 ); + float lerpResult5_g4914 = lerp( localglslmod13_g4914 , localglslmod12_g4914 , (float)saturate( temp_output_37_0_g4914 )); + float DirectionalMap106_g4914 = Direction27_g4913; + float lerpResult179_g4914 = lerp( DirectionalMap106_g4914 , ( 1.0 - DirectionalMap106_g4914 ) , (float)saturate( ( EmissionGlowMode35_g4914 - 3 ) )); + float x34_g4914 = ( _EmissionGlowPulseOffset + ( _EmissionGlowPulseScale * lerpResult179_g4914 ) + EmissionGlowAnimation195_g4914 ); + float y34_g4914 = 127.0; + float localglslmod34_g4914 = glslmod34_g4914( x34_g4914 , y34_g4914 ); + float lerpResult30_g4914 = lerp( lerpResult5_g4914 , localglslmod34_g4914 , (float)saturate( ( temp_output_37_0_g4914 - 1 ) )); + float EmissionGlowDelay56_g4914 = lerpResult30_g4914; + float Delay11_g4927 = EmissionGlowDelay56_g4914; + float3 localLumaGlowLerp11_g4927 = LumaGlowLerp11_g4927( Band11_g4927 , Delay11_g4927 ); + float3 lerpResult17_g4927 = lerp( ( localgetThemeData15_g4927 * localLumaGlowLerp11_g4927 ) , localLumaGlowLerp11_g4927 , (float)temp_output_13_0_g4927); + float3 lerpResult22_g4914 = lerp( temp_cast_180 , lerpResult17_g4927 , (float)temp_output_21_0_g4914); + float3 lerpResult23_g4914 = lerp( lerpResult20_g4914 , lerpResult22_g4914 , (float)saturate( EmissionGlowMode35_g4914 )); + float4 temp_cast_190 = (1.0).xxxx; + float temp_output_10_0_g4922 = EmissionGlowDelay56_g4914; + float Position1_g4924 = ( temp_output_10_0_g4922 / 127.0 ); + float4 localAudioLinkLerp1_g4924 = AudioLinkLerp1_g4924( Position1_g4924 ); + int clampResult8_g4922 = clamp( ( EmissionGlowZone47_g4914 - 4 ) , 1 , 3 ); + int Band11_g4922 = ( 59 - ( clampResult8_g4922 - 1 ) ); + float Delay11_g4922 = temp_output_10_0_g4922; + float3 localLumaGlowLerp11_g4922 = LumaGlowLerp11_g4922( Band11_g4922 , Delay11_g4922 ); + int Band11_g4923 = 56; + int localIsLumaActive11_g4923 = IsLumaActive11_g4923( Band11_g4923 ); + float4 lerpResult14_g4922 = lerp( localAudioLinkLerp1_g4924 , float4( localLumaGlowLerp11_g4922 , 0.0 ) , (float)localIsLumaActive11_g4923); + float4 lerpResult52_g4914 = lerp( temp_cast_190 , lerpResult14_g4922 , (float)saturate( EmissionGlowZone47_g4914 )); + float4 lerpResult51_g4914 = lerp( float4( lerpResult23_g4914 , 0.0 ) , lerpResult52_g4914 , (float)saturate( ( EmissionGlowZone47_g4914 - 4 ) )); + float4 temp_cast_195 = (_EmissionGlowMinBrightness).xxxx; + float4 temp_cast_196 = (( _EmissionGlowMinBrightness + 1.0 )).xxxx; + int temp_output_245_0_g4914 = saturate( EmissionGlowZone47_g4914 ); + float4 EmissionGlow142_g4914 = ( (temp_cast_195 + (lerpResult51_g4914 - float4( 0,0,0,0 )) * (temp_cast_196 - temp_cast_195) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _EmissionGlowTint * temp_output_245_0_g4914 ); + float4 lerpResult248_g4914 = lerp( temp_cast_175 , EmissionGlow142_g4914 , (float)temp_output_245_0_g4914); + float4 EmissionGlowTog249_g4914 = lerpResult248_g4914; + int EmissionReactiveBand254_g4914 = _EmissionReactiveBand; + int Band3_g4915 = EmissionReactiveBand254_g4914; + int Delay3_g4915 = 0; + float localAudioLinkData3_g4915 = AudioLinkData3_g4915( Band3_g4915 , Delay3_g4915 ); + int temp_output_64_0_g4914 = step( _EmissionReactiveBand , 9 ); + float lerpResult66_g4914 = lerp( 1.0 , localAudioLinkData3_g4915 , (float)temp_output_64_0_g4914); + int Band3_g4917 = _EmissionReactiveBand; + float cos78_g4914 = cos( radians( _EmissionReactivePulseDir ) ); + float sin78_g4914 = sin( radians( _EmissionReactivePulseDir ) ); + float2 rotator78_g4914 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4914 , -sin78_g4914 , sin78_g4914 , cos78_g4914 )) + float2( 0.5,0.5 ); + float x96_g4914 = ( ( rotator78_g4914.x * _EmissionReactivePulseScale ) + _EmissionReactivePulseOffset ); + float y96_g4914 = 127.0; + float localglslmod96_g4914 = glslmod96_g4914( x96_g4914 , y96_g4914 ); + float2 CenteredUV15_g4918 = ( i.uv_texcoord - _EmissionReactiveRadialCenter ); + float2 break17_g4918 = CenteredUV15_g4918; + float2 appendResult23_g4918 = (float2(( length( CenteredUV15_g4918 ) * _EmissionReactivePulseScale * 2.0 ) , ( atan2( break17_g4918.x , break17_g4918.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4914 = ( _EmissionReactivePulseOffset + appendResult23_g4918.x ); + float y97_g4914 = 127.0; + float localglslmod97_g4914 = glslmod97_g4914( x97_g4914 , y97_g4914 ); + int EmissionReactiveMode99_g4914 = _EmissionReactiveMode; + int temp_output_90_0_g4914 = ( EmissionReactiveMode99_g4914 - 1 ); + float lerpResult77_g4914 = lerp( localglslmod96_g4914 , localglslmod97_g4914 , (float)saturate( temp_output_90_0_g4914 )); + float lerpResult174_g4914 = lerp( DirectionalMap106_g4914 , ( 1.0 - DirectionalMap106_g4914 ) , (float)saturate( ( EmissionReactiveMode99_g4914 - 3 ) )); + float x98_g4914 = ( _EmissionReactivePulseOffset + ( _EmissionReactivePulseScale * lerpResult174_g4914 ) ); + float y98_g4914 = 127.0; + float localglslmod98_g4914 = glslmod98_g4914( x98_g4914 , y98_g4914 ); + float lerpResult87_g4914 = lerp( lerpResult77_g4914 , localglslmod98_g4914 , (float)saturate( ( temp_output_90_0_g4914 - 1 ) )); + float Delay3_g4917 = lerpResult87_g4914; + float localAudioLinkLerp3_g4917 = AudioLinkLerp3_g4917( Band3_g4917 , Delay3_g4917 ); + float lerpResult102_g4914 = lerp( 1.0 , localAudioLinkLerp3_g4917 , (float)temp_output_64_0_g4914); + float lerpResult103_g4914 = lerp( lerpResult66_g4914 , lerpResult102_g4914 , (float)saturate( EmissionReactiveMode99_g4914 )); + int Band3_g4919 = _EmissionReactiveBand; + float FilteredAmount3_g4919 = ( ( 1.0 - _EmissionReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4919 = AudioLinkLerp3_g4919( Band3_g4919 , FilteredAmount3_g4919 ); + float lerpResult168_g4914 = lerp( 1.0 , localAudioLinkLerp3_g4919 , (float)temp_output_64_0_g4914); + float lerpResult172_g4914 = lerp( lerpResult103_g4914 , lerpResult168_g4914 , (float)saturate( ( EmissionReactiveMode99_g4914 - 4 ) )); + float ReactivityAlpha132_g4914 = (_EmissionReactiveMinBrightness + (lerpResult172_g4914 - 0.0) * (( _EmissionReactiveMinBrightness + 1.0 ) - _EmissionReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_207 = (1.0).xxxx; + float4 lerpResult265_g4914 = lerp( temp_cast_207 , _EmissionReactiveTint , (float)step( EmissionReactiveBand254_g4914 , 9 )); + float4 FinalReactivity68_g4914 = ( ReactivityAlpha132_g4914 * lerpResult265_g4914 ); + float4 lerpResult146_g4914 = lerp( ( EmissionGlowTog249_g4914 * FinalReactivity68_g4914 ) , ( EmissionGlow142_g4914 + FinalReactivity68_g4914 ) , (float)saturate( _EmissionReactiveBlendMode )); + float4 ReversedReactivity152_g4914 = ( ( 1.0 - ReactivityAlpha132_g4914 ) * lerpResult265_g4914 ); + int temp_output_157_0_g4914 = ( _EmissionReactiveBlendMode - 1 ); + float4 lerpResult114_g4914 = lerp( lerpResult146_g4914 , ( EmissionGlowTog249_g4914 * ReversedReactivity152_g4914 ) , (float)saturate( temp_output_157_0_g4914 )); + float4 lerpResult164_g4914 = lerp( lerpResult114_g4914 , ( EmissionGlow142_g4914 + ( ReversedReactivity152_g4914 * step( EmissionReactiveBand254_g4914 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4914 - 1 ) )); + float grayscale214_g4914 = Luminance(temp_output_211_0_g4914.rgb); + float smoothstepResult215_g4914 = smoothstep( 0.0 , 0.5 , grayscale214_g4914); + int ReactiveBlendmode272_g4914 = _EmissionReactiveBlendMode; + float x270_g4914 = (float)ReactiveBlendmode272_g4914; + float y270_g4914 = 2.0; + float localglslmod270_g4914 = glslmod270_g4914( x270_g4914 , y270_g4914 ); + float lerpResult271_g4914 = lerp( localglslmod270_g4914 , (float)_EmissionGlowBlendMode , (float)saturate( EmissionGlowZone47_g4914 )); + float4 lerpResult212_g4914 = lerp( ( lerpResult164_g4914 * temp_output_211_0_g4914 ) , ( ( lerpResult164_g4914 * smoothstepResult215_g4914 ) + temp_output_211_0_g4914 ) , lerpResult271_g4914); + float localIfAudioLinkv2Exists1_g4929 = IfAudioLinkv2Exists1_g4929(); + float4 lerpResult281_g4914 = lerp( temp_output_211_0_g4914 , lerpResult212_g4914 , localIfAudioLinkv2Exists1_g4929); + #ifdef _EMISSION + float4 staticSwitch284_g4914 = lerpResult281_g4914; + #else + float4 staticSwitch284_g4914 = float4( 0,0,0,0 ); + #endif + float4 EmissionGlow791 = ( ( lerpResult280_g4930 + lerpResult276_g4946 + lerpResult278_g4962 + lerpResult278_g4978 ) + staticSwitch284_g4914 ); + float4 EmissionRGBA135_g5010 = EmissionGlow791; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g5010 = EffectMaskRGBA871; + int temp_output_18_0_g5017 = _IridescentMaskingChannel; + float lerpResult1_g5017 = lerp( 1.0 , break57_g5010.r , (float)saturate( temp_output_18_0_g5017 )); + int temp_output_5_0_g5017 = ( temp_output_18_0_g5017 - 1 ); + float lerpResult12_g5017 = lerp( lerpResult1_g5017 , break57_g5010.g , (float)saturate( temp_output_5_0_g5017 )); + int temp_output_6_0_g5017 = ( temp_output_5_0_g5017 - 1 ); + float lerpResult10_g5017 = lerp( lerpResult12_g5017 , break57_g5010.b , (float)saturate( temp_output_6_0_g5017 )); + float lerpResult11_g5017 = lerp( lerpResult10_g5017 , break57_g5010.a , (float)saturate( ( temp_output_6_0_g5017 - 1 ) )); + float temp_output_55_0_g5010 = lerpResult11_g5017; + int Band6_g5011 = _IridescentALAnimationBand; + int Mode6_g5011 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5011 = AudioLinkDecodeDataAsUInt6_g5011( Band6_g5011 , Mode6_g5011 ); + float localGetNetworkTime4_g5013 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g5014 = IfAudioLinkv2Exists1_g5014(); + float lerpResult118_g5010 = lerp( _Time.y , localGetNetworkTime4_g5013 , localIfAudioLinkv2Exists1_g5014); + float lerpResult121_g5010 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g5011 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g5010 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g5010 = ( _IridescentALAnimationStrength * lerpResult121_g5010 ); + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 temp_output_21_0_g5010 = Normal243; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 normalizeResult4_g5010 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g5010 ) + ase_worldViewDir ) ); + float dotResult18_g5010 = dot( normalizeResult4_g5010 , ase_worldViewDir ); + float temp_output_197_0_g5010 = ( dotResult18_g5010 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g5010 = lightDir32; + float3 normalizeResult168_g5010 = normalize( ( temp_output_165_0_g5010 + ase_worldViewDir ) ); + float3 wNorm170_g5010 = temp_output_21_0_g5010; + float3 newWorldNormal169_g5010 = (WorldNormalVector( i , wNorm170_g5010 )); + float dotResult172_g5010 = dot( normalizeResult168_g5010 , newWorldNormal169_g5010 ); + float Specular209_g5010 = max( dotResult172_g5010 , 0.0 ); + float dotResult177_g5010 = dot( temp_output_165_0_g5010 , newWorldNormal169_g5010 ); + float temp_output_182_0_g5010 = max( dotResult177_g5010 , 0.0 ); + float smoothstepResult194_g5010 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g5010); + float lerpResult630 = lerp( (1*0.5 + 0.5) , 1 , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g5010 = ( smoothstepResult194_g5010 * Attenuation533 ); + float lerpResult198_g5010 = lerp( temp_output_197_0_g5010 , Specular209_g5010 , temp_output_208_0_g5010); + float lerpResult175_g5010 = lerp( dotResult18_g5010 , lerpResult198_g5010 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g5010 = lerp( temp_output_197_0_g5010 , temp_output_182_0_g5010 , temp_output_208_0_g5010); + float lerpResult179_g5010 = lerp( lerpResult175_g5010 , lerpResult192_g5010 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g5010 = ( ( lerpResult179_g5010 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g5010 = ( max( abs( sin( ( EmissionGlowAnimation62_g5010 + temp_output_211_0_g5010 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g5012 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g5010 ) , 2.0 ) ); + float4 lerpResult26_g5010 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g5012 )); + float temp_output_2_0_g5015 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g5010 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g5010 = lerp( lerpResult26_g5010 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g5015 )); + float Intensity132_g5010 = _IridescentIntensity; + float4 temp_output_110_0_g5010 = ( lerpResult32_g5010 * Intensity132_g5010 ); + float4 lerpResult46_g5010 = lerp( temp_output_110_0_g5010 , ( temp_output_110_0_g5010 * EmissionRGBA135_g5010 ) , (float)saturate( _IridescentEmissionMode )); + float AnimatedDot130_g5010 = ( temp_output_211_0_g5010 + EmissionGlowAnimation62_g5010 ); + float3 hsvTorgb3_g5016 = HSVToRGB( float3(AnimatedDot130_g5010,1.0,1.0) ); + int temp_output_52_0_g5010 = ( _IridescentEmissionMode - 1 ); + float4 lerpResult54_g5010 = lerp( lerpResult46_g5010 , float4( ( hsvTorgb3_g5016 * Intensity132_g5010 ) , 0.0 ) , (float)saturate( temp_output_52_0_g5010 )); + int temp_output_90_0_g5010 = ( temp_output_52_0_g5010 - 1 ); + int temp_output_91_0_g5010 = saturate( temp_output_90_0_g5010 ); + float4 lerpResult89_g5010 = lerp( lerpResult54_g5010 , EmissionRGBA135_g5010 , (float)temp_output_91_0_g5010); + float4 lerpResult82_g5010 = lerp( EmissionRGBA135_g5010 , ( temp_output_55_0_g5010 * lerpResult89_g5010 ) , temp_output_55_0_g5010); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch108_g5010 = lerpResult82_g5010; + #else + float4 staticSwitch108_g5010 = float4( 0,0,0,0 ); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g5010 = GGXTerm1132; + int temp_output_225_0_g5010 = saturate( _IridescenceLightMode ); + float lerpResult218_g5010 = lerp( 0.0 , temp_output_214_0_g5010 , (float)temp_output_225_0_g5010); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g5010 = RimAlpha1134; + int temp_output_220_0_g5010 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g5010 = lerp( lerpResult218_g5010 , temp_output_215_0_g5010 , (float)saturate( temp_output_220_0_g5010 )); + float lerpResult222_g5010 = lerp( lerpResult219_g5010 , max( temp_output_214_0_g5010 , temp_output_215_0_g5010 ) , (float)saturate( ( temp_output_220_0_g5010 - 1 ) )); + float Atten232_g5010 = temp_output_208_0_g5010; + float temp_output_233_0_g5010 = ( lerpResult222_g5010 * Atten232_g5010 ); + float4 lerpResult229_g5010 = lerp( staticSwitch108_g5010 , ( staticSwitch108_g5010 * temp_output_233_0_g5010 ) , (float)temp_output_225_0_g5010); + float4 lerpResult246_g5010 = lerp( EmissionRGBA135_g5010 , lerpResult229_g5010 , _Enableiridescence); + float4 FinalEmission1029 = lerpResult246_g5010; + o.Emission = FinalEmission1029.rgb; + } + + ENDCG + CGPROGRAM + #pragma surface surf StandardCustomLighting keepalpha fullforwardshadows nolightmap nodynlightmap nodirlightmap nometa vertex:vertexDataFunc + + ENDCG + Pass + { + Name "ShadowCaster" + Tags{ "LightMode" = "ShadowCaster" } + ZWrite On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma target 4.5 + #pragma multi_compile_shadowcaster + #pragma multi_compile UNITY_PASS_SHADOWCASTER + #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 + #include "HLSLSupport.cginc" + #if ( SHADER_API_D3D11 || SHADER_API_GLCORE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_METAL || SHADER_API_VULKAN ) + #define CAN_SKIP_VPOS + #endif + #include "UnityCG.cginc" + #include "Lighting.cginc" + #include "UnityPBSLighting.cginc" + struct v2f + { + V2F_SHADOW_CASTER; + float2 customPack1 : TEXCOORD1; + float4 tSpace0 : TEXCOORD2; + float4 tSpace1 : TEXCOORD3; + float4 tSpace2 : TEXCOORD4; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + v2f vert( appdata_full v ) + { + v2f o; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_INITIALIZE_OUTPUT( v2f, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + Input customInputData; + vertexDataFunc( v, customInputData ); + float3 worldPos = mul( unity_ObjectToWorld, v.vertex ).xyz; + half3 worldNormal = UnityObjectToWorldNormal( v.normal ); + half3 worldTangent = UnityObjectToWorldDir( v.tangent.xyz ); + half tangentSign = v.tangent.w * unity_WorldTransformParams.w; + half3 worldBinormal = cross( worldNormal, worldTangent ) * tangentSign; + o.tSpace0 = float4( worldTangent.x, worldBinormal.x, worldNormal.x, worldPos.x ); + o.tSpace1 = float4( worldTangent.y, worldBinormal.y, worldNormal.y, worldPos.y ); + o.tSpace2 = float4( worldTangent.z, worldBinormal.z, worldNormal.z, worldPos.z ); + o.customPack1.xy = customInputData.uv_texcoord; + o.customPack1.xy = v.texcoord; + TRANSFER_SHADOW_CASTER_NORMALOFFSET( o ) + return o; + } + half4 frag( v2f IN + #if !defined( CAN_SKIP_VPOS ) + , UNITY_VPOS_TYPE vpos : VPOS + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID( IN ); + Input surfIN; + UNITY_INITIALIZE_OUTPUT( Input, surfIN ); + surfIN.uv_texcoord = IN.customPack1.xy; + float3 worldPos = float3( IN.tSpace0.w, IN.tSpace1.w, IN.tSpace2.w ); + half3 worldViewDir = normalize( UnityWorldSpaceViewDir( worldPos ) ); + surfIN.worldPos = worldPos; + surfIN.worldNormal = float3( IN.tSpace0.z, IN.tSpace1.z, IN.tSpace2.z ); + surfIN.worldRefl = -worldViewDir; + surfIN.internalSurfaceTtoW0 = IN.tSpace0.xyz; + surfIN.internalSurfaceTtoW1 = IN.tSpace1.xyz; + surfIN.internalSurfaceTtoW2 = IN.tSpace2.xyz; + SurfaceOutputCustomLightingCustom o; + UNITY_INITIALIZE_OUTPUT( SurfaceOutputCustomLightingCustom, o ) + surf( surfIN, o ); + UnityGI gi; + UNITY_INITIALIZE_OUTPUT( UnityGI, gi ); + o.Alpha = LightingStandardCustomLighting( o, worldViewDir, gi ).a; + #if defined( CAN_SKIP_VPOS ) + float2 vpos = IN.pos; + #endif + SHADOW_CASTER_FRAGMENT( IN ) + } + ENDCG + } + } + Fallback "Diffuse" + CustomEditor "FuralityShaderUI" +} +/*ASEBEGIN +Version=19105 +Node;AmplifyShaderEditor.CommentaryNode;794;1332.497,1390.873;Inherit;False;961.6262;243.937;Comment;5;791;798;790;789;787;Luma Glow;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;639;-8884.074,-1676.043;Inherit;False;3010.964;860.379;Comment;26;568;569;570;571;572;574;573;577;575;583;592;582;576;584;32;588;578;581;589;580;533;627;629;630;632;628;Light Color + Attenuation;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;403;-3335.939,-3496.149;Inherit;False;2162.522;1530.744;Comment;35;90;1143;1142;386;241;223;391;246;302;1065;383;380;852;225;272;392;385;394;384;224;393;247;255;254;252;7;253;251;269;250;243;388;242;389;1144;Texture Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RangedFloatNode;389;-3188.197,-3056.841;Inherit;False;Constant;_Float3;Float 3;14;0;Create;True;0;0;0;False;0;False;1.25;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;242;-3006.6,-3221.549;Inherit;False;0;223;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.SimpleMultiplyOpNode;388;-2970.259,-3105.271;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;243;-2263.6,-3243.549;Inherit;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;5;-3238.615,-1376.222;Inherit;False;1756.584;1421.47;Comment;52;22;284;285;362;30;45;23;68;17;47;44;211;381;401;303;163;395;54;396;402;31;227;176;259;46;59;226;256;212;177;258;249;101;41;248;257;29;100;245;6;795;587;590;1145;1147;1148;1150;1180;1181;1182;1187;1188;Input Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.NormalVertexDataNode;100;-2593.113,-255.3687;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;245;-2547.908,-114.6905;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;101;-2379.915,-261.8687;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;257;-2372.083,-114.9804;Inherit;False;Tangent;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TexelSizeNode;250;-2892.26,-2840.326;Inherit;False;246;1;0;SAMPLER2D;;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.TextureCoordinatesNode;269;-3020.702,-3015.853;Inherit;False;0;223;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.SimpleAddOpNode;258;-2121.888,-254.5151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;251;-2670.343,-2766.867;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;6;-2330.628,-1069.771;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;259;-2008.888,-253.5151;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;253;-2664.241,-2840.508;Inherit;False;Property;_GlossMapScale;GlossMapScale;43;0;Create;True;0;0;0;False;0;False;1;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;7;-2304.152,-2910.047;Inherit;False;Property;_Glossiness;Smoothness;42;0;Create;False;0;0;0;False;0;False;0.5;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;252;-2559.297,-2766.867;Inherit;False;2;0;FLOAT;10;False;1;FLOAT;10;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;254;-2220.061,-2832.362;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;4;-1449.85,-1331.164;Inherit;False;957.896;1201.264;Comment;38;56;40;604;600;48;74;597;36;598;42;33;596;607;37;18;75;605;599;11;72;24;27;49;38;73;50;28;52;25;39;13;71;19;14;8;15;26;10;Dot Products;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;29;-2027.33,-1071.781;Inherit;False;viewDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;31;-1815.471,-256.4359;Inherit;False;worldNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;10;-1395.339,-1281.164;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;26;-1397.544,-1043.199;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;15;-1399.849,-1118.233;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;8;-1396.339,-1211.164;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;255;-2027.867,-2837.701;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;14;-1207.206,-1086.684;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;19;-1215.339,-1257.164;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;212;-2855.798,-845.3053;Inherit;False;Constant;_Float2;Float 2;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;256;-2846.284,-985.8676;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;71;-1072.621,-1085.356;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;177;-2854.646,-916.5242;Inherit;False;Constant;_Float0;Float 0;10;0;Create;True;0;0;0;False;0;False;0.3;0.4;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.NormalizeNode;13;-1100.339,-1258.164;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;563;-6117.17,1090.775;Inherit;False;1218.21;440.525;Comment;13;512;516;519;511;534;513;517;501;535;518;520;521;594;Toon Ambience;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;39;-939.8036,-1090.568;Inherit;False;NdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;176;-2657.246,-978.5247;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;25;-960.3385,-1262.164;Inherit;False;halfDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;220;-4332.81,70.03413;Inherit;False;2632.908;1547.742;Comment;46;460;636;635;634;139;140;219;190;310;128;312;311;522;274;313;132;306;275;623;129;314;123;566;138;379;121;231;116;230;445;232;115;301;117;114;300;565;461;233;120;125;514;124;987;1120;1160;BRDF;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;512;-6067.17,1140.775;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;52;-1397.545,-736.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;28;-1399.85,-811.295;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;303;-2463.311,-925.2256;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.999;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;456;-6422.013,407.4249;Inherit;False;1957.475;517.7657;Comment;19;450;471;452;469;444;476;415;477;473;472;413;451;470;436;478;479;475;416;1132;Stylize Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;211;-2342.89,-903.3854;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;50;-1207.207,-779.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;516;-5894.896,1145.77;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;247;-2436.355,-3015.931;Inherit;False;MetallticFromTex;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;73;-1065.78,-781.5579;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;476;-6344.136,724.7207;Inherit;False;Constant;_ToonSpecular;Toon Specular;20;0;Create;True;0;0;0;False;0;False;0.48;0.479;0;0.499;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;248;-2629.301,-709.2548;Inherit;False;247;MetallticFromTex;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;511;-5761.434,1145.739;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;519;-5944.896,1237.77;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.OneMinusNode;47;-2111.788,-903.9219;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;41;-2693.438,-787.5811;Inherit;False;Property;_Metallic;Metallic;41;0;Create;True;0;0;0;False;0;False;0;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;393;-3172.445,-2357.431;Inherit;False;0;223;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.RegisterLocalVarNode;514;-2719.453,985.0649;Inherit;False;ToonNdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;501;-5623.576,1144.053;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;534;-5780.627,1416.3;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;38;-919.9026,-783.9518;Inherit;False;NdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;473;-6345.945,648.5159;Inherit;False;Constant;_ToonOffset;Toon Offset;16;0;Create;True;0;0;0;False;0;False;-0.4;-0.39;-1;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;249;-2412.301,-763.2548;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;517;-5760.825,1242.613;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;17;-1935.923,-820.6301;Inherit;False;roughness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;513;-5776.97,1337.775;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;594;-5601.755,1091.489;Inherit;False;Constant;_Float13;Float 13;20;0;Create;True;0;0;0;False;0;False;0.65;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;477;-6067.136,806.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;384;-2437.779,-2302.501;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CustomExpressionNode;518;-5622.967,1240.927;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;49;-1399.055,-960.3293;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;472;-5895.945,655.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;535;-5599.627,1374.3;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;475;-5902.945,770.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;46;-2269.892,-769.3549;Inherit;False;metallic;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;416;-6164.954,464.0959;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;415;-6173.801,539.6567;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;27;-1396.75,-885.2946;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;593;-5431.755,1149.489;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;394;-2098.372,-2307.369;Inherit;False;SpecularTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;479;-5755.136,750.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;24;-1206.412,-928.7805;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;217;-1594.872,200.3197;Inherit;False;2616.111;764.0852;Comment;32;174;175;156;204;162;213;205;214;215;203;161;202;166;200;201;191;181;208;315;180;158;165;151;152;276;153;480;481;484;482;498;1165;Indirect Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;478;-5760.136,643.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;413;-5946.941,511.468;Inherit;False;GGXTerm(nh, roughness);1;Create;2;True;nh;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;ggx;False;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;227;-2831.27,-633.0755;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;396;-2327.961,-390.6081;Inherit;False;Property;_EnableSpecularMap;Enable Specular Map;46;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;402;-2220.789,-483.7458;Inherit;False;Constant;_Float5;Float 5;17;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;54;-2628.055,-457.5206;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;520;-5308.896,1242.77;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;470;-5210.727,730.8561;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;395;-2066.061,-680.9556;Inherit;False;394;SpecularTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;436;-5605.002,544.9354;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;72;-1073.99,-930.7202;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;451;-5604.283,672.5679;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DiffuseAndSpecularFromMetallicNode;163;-2399.557,-597.6036;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;3;FLOAT3;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.GetLocalVarNode;180;-1514.461,680.5375;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;401;-2051.101,-479.9181;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;381;-1868.959,-588.0468;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;11;-941.7469,-929.9261;Inherit;False;NdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;452;-5209.375,553.4788;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;315;-1300.661,675.7377;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;469;-4966.727,731.8561;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.8;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;125;-3174.562,1070.987;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;208;-1151.827,677.0204;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;44;-1720.645,-591.458;Inherit;False;specColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;471;-4799.567,730.9291;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;5;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;120;-3571.68,274.0615;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;233;-3569.558,177.7777;Inherit;False;Constant;_Float1;Float 1;6;0;Create;True;0;0;0;False;0;False;1.2;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;181;-982.5577,650.3491;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;461;-2980.706,1074.058;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;450;-4769.774,574.9086;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;191;-853.3322,650.4323;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;444;-4651.538,570.9512;Inherit;False;ToonSpecular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;565;-2804.095,1073.13;Inherit;False;ToonNdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;385;-3013.247,-2640.655;Inherit;False;0;223;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.SimpleMultiplyOpNode;300;-3386.994,223.6072;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;114;-3461.573,805.1125;Inherit;False;565;ToonNdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;590;-2621.987,-1305.75;Inherit;False;589;InitialLightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;117;-3462.64,952.4464;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;301;-3254.994,223.6072;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;201;-488.3773,654.145;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-3463.573,734.1125;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;166;-702.3997,453.5815;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;200;-677.7151,648.213;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;232;-3388.666,589.1027;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;560;-1245.632,1312.672;Inherit;False;1886.165;1162.995;Comment;37;591;542;622;621;595;557;545;625;567;547;558;619;555;548;613;549;620;626;554;556;614;552;550;617;553;610;551;615;618;544;616;537;612;543;609;853;1134;Rimlighting;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;230;-3390.865,428.9026;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;116;-3462.773,880.1125;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;231;-3388.366,506.7026;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;68;-2378.209,-1304.412;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;609;-498.8056,2203.786;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;161;-509.7723,469.6328;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;4;False;1;FLOAT;0 +Node;AmplifyShaderEditor.PowerNode;392;-2451.833,-2613.263;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;543;-1187.779,1789.996;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;202;-300.1848,678.6759;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;379;-3135.121,470.3841;Inherit;False;float L = (NdotL) / (NdotL * (1- k) + k)@$float V = (NdotV) / (NdotV * (1-k) +k)@$$return L*V@;1;Create;3;True;k;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;SchlickGGX;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;138;-3189.65,726.0227;Inherit;False;float FresnelLight = SchlickFresnel(NdotL)@$float FresnelView = SchlickFresnel(NdotV)@$float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness@$return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView)@;1;Create;4;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;True;LdotH;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;F0;True;False;2;139;140;;False;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;566;-3170.882,867.2664;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;612;-477.8056,2287.786;Inherit;False;Constant;_Vector0;Vector 0;20;0;Create;True;0;0;0;False;0;False;0,1,0;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;537;-1181.791,1709.072;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;616;-673.2114,1454.868;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;272;-2284.777,-2618.305;Inherit;False;Occlusion;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;23;-2079.385,-604.7594;Inherit;False;diffuse;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;544;-972.4919,1731.102;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;618;-669.238,1542.556;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;615;-313.6245,2334.562;Inherit;False;Constant;_Float15;Float 15;20;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;480;-283.3387,506.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;551;-994.2482,1828.831;Inherit;False;Constant;_Float11;Float 11;21;0;Create;True;0;0;0;False;0;False;-0.2;-0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;123;-2829.634,444.2128;Inherit;False;return (N*G*F) / (4 * (NdotL*NdotV))@;3;Create;5;True;N;FLOAT3;0,0,0;In;;Inherit;False;True;G;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;BRDF;False;True;0;;False;5;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;482;-68.33875,789.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;610;-307.3041,2238.428;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;314;-2832.01,372.4067;Inherit;False;Constant;_Float7;Float 7;10;0;Create;True;0;0;0;False;0;False;0.001;0.02;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;214;-77.45105,524.8002;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;553;-842.7739,1978.127;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;550;-845.248,1736.831;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;215;-64.47279,601.2673;Inherit;False;Constant;_Float4;Float 4;4;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;561;2095.64,27.8058;Inherit;False;2082.213;872.7515;Comment;38;831;830;829;828;827;826;823;822;824;819;818;490;524;792;497;788;486;494;489;495;492;532;488;496;493;529;491;832;1042;1045;1046;1058;1060;1059;1066;1081;1185;1186;Outlines;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;623;-2658.41,622.8109;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;203;-58.52485,674.2479;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;275;-2675.618,355.3681;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;481;-253.3387,402.084;Inherit;False;2;2;0;FLOAT;0.01;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;306;-2699.387,905.8491;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;132;-2651.551,446.4316;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;552;-804.2864,1907.889;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;614;-184.6245,2238.562;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;313;-2657.845,542.0784;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;556;-644.5186,2003.105;Inherit;False;Constant;_Float12;Float 12;20;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;554;-648.5186,1913.105;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;626;-64.21997,2164.697;Inherit;False;Constant;_Float17;Float 17;21;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;274;-2481.617,300.3679;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;491;3076.28,552.4065;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;152;29.06121,326.3416;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;549;-727.676,1835.152;Inherit;False;Constant;_Float8;Float 8;20;0;Create;True;0;0;0;False;0;False;20;20;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;311;-2495.592,917.2233;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;312;-2476.895,448.7652;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;276;40.03976,402.8723;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;613;-59.30401,2235.428;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;213;131.8297,544.2889;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;162;-122.9196,431.788;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;153;32.36602,250.3197;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;205;129.113,663.7913;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;548;-717.1375,1742.013;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;529;3380.719,431.3767;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;555;-524.5184,1917.105;Inherit;False;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;128;-2302.115,345.1725;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.IndirectSpecularLight;151;227.3664,278.3197;Inherit;False;World;3;0;FLOAT3;0,0,1;False;1;FLOAT;0.5;False;2;FLOAT;1;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;310;-2346.613,816.7513;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;558;-504.3968,2017.898;Inherit;False;Property;_RimlightColor;Rimlight Color;49;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;11.98431,11.98431,11.98431,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;547;-563.4562,1738.109;Inherit;False;ExponentialSquared_Blend;-1;;1;7792fe74aab0b2f4d8615a784f562aa2;1,7,0;2;12;FLOAT;0;False;9;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;567;-239.0434,2075.365;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;204;310.205,469.0058;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;625;75.78027,2222.697;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;545;58.48236,1477.761;Inherit;False;7;7;0;FLOAT;0;False;1;FLOAT;0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;FLOAT;0;False;6;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;165;547.4448,426.1721;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;532;3520.733,382.9306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;562;-426.9865,-1298.826;Inherit;False;2708.104;1199.057;Comment;25;905;911;912;909;910;908;907;906;268;864;863;861;860;859;858;871;868;866;862;786;266;267;265;913;1062;Emission;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TransformDirectionNode;492;3363.496,547.6183;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;190;-2167.837,347.7095;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CommentaryNode;222;3678.678,-355.4811;Inherit;False;440.5804;266.2591;Comment;4;169;221;159;1119;Composite;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;219;-2029.515,342.5311;Inherit;False;BRDF;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;557;340.3037,1469.082;Inherit;False;Rimlighting;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;265;1209.963,-1067.859;Inherit;True;Property;_EmissionMap;EmissionMap;31;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.GetLocalVarNode;159;3706.322,-313.2809;Inherit;False;158;IndirectSpecular;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;267;1330.802,-1248.826;Inherit;False;Property;_EmissionColor;Emission Color;32;1;[HDR];Create;True;0;0;0;False;0;False;0,0,0,0;1,0.5188679,0.5188679,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;221;3730.281,-237.8131;Inherit;False;219;BRDF;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;175;-816.4901,529.5698;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;140;-2813.083,603.2727;Inherit;False;return j*x+i*(1-x)@;1;Create;3;True;i;FLOAT;0;In;;Inherit;False;True;j;FLOAT;0;In;;Inherit;False;True;x;FLOAT;0;In;;Inherit;False;MixFunc;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-1931.422,-916.1447;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;599;-822.542,-307.6921;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;285;-3030.983,-472.9721;Inherit;False;Constant;_Float6;Float 6;9;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;605;-1093.615,-232.9525;Inherit;False;Constant;_Float14;Float 14;20;0;Create;True;0;0;0;False;0;False;0.1;0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;595;-463.6266,1369.061;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;75;-1071.254,-468.1801;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;18;-1399.849,-658.295;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;156;-987.3672,523.5707;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ClampOpNode;174;-668.5641,526.8943;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.03;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;266;1570.802,-1101.826;Inherit;False;3;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;37;-1397.826,-503.7185;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;621;-370.3684,1572.545;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;607;-1086.071,-307.0391;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;596;-1401.809,-263.1957;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;622;-231.1782,1347.674;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;-0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;33;-1207.206,-626.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;362;-2129.13,-156.8327;Inherit;False;clearcoatNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;42;-950.3943,-631.1833;Inherit;False;VdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;22;-1791.587,-919.7219;Inherit;False;roughnessSquared;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;598;-1204.471,-306.6816;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;36;-1402.521,-428.6837;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;597;-1397.114,-338.2305;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;542;-641.7698,1365.349;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;74;-1073.991,-625.5533;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;139;-2812.083,713.2732;Inherit;False;float x = saturate(1-i)@$float x2 = x*x@$return x2*x2*x@;1;Create;1;True;i;FLOAT;0;In;;Inherit;False;SchlickFresnel;False;True;0;;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;591;-229.3808,2146.77;Inherit;False;600;LdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;48;-1397.544,-583.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;600;-698.5538,-311.3818;Inherit;False;LdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;284;-2635.655,-620.5502;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleSubtractOpNode;604;-958.6155,-306.9525;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;40;-1205.183,-472.1696;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;169;3994.139,-276.3966;Inherit;False;4;4;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;56;-944.2661,-473.8698;Inherit;False;LdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;587;-2603.063,-1230.459;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;45;-2031.958,-1307.261;Inherit;False;lightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;634;-3188.233,1238.03;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;635;-2982.671,1391.145;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;636;-2683.895,1302.977;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;568;-8834.074,-1222.282;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.BreakToComponentsNode;569;-8681.742,-1198.18;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.SimpleMaxOpNode;570;-8559.542,-1198.18;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;571;-8442.542,-1178.68;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;572;-8320.396,-1179.31;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.001;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;574;-8184.584,-1271.711;Inherit;False;Constant;_Float9;Float 9;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;573;-8192.156,-1184.819;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;577;-7802.581,-1318.901;Inherit;False;int lightEnv = int(any(_WorldSpaceLightPos0.xyz))@ $if(lightEnv != 1){$ return 0@$ }$return 1@;0;Create;0;LightExists;True;False;0;;False;0;1;INT;0 +Node;AmplifyShaderEditor.StaticSwitch;575;-8015.616,-1225.002;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;583;-7672.467,-1626.043;Inherit;False;Constant;_FakeLightDir;Fake Light Dir;0;0;Create;True;0;0;0;False;0;False;1,1,2;1,1,2;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;592;-7492.139,-1619.998;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;582;-7677.819,-1475.114;Inherit;False;True;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;576;-7656.862,-1317.273;Inherit;False;2;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;584;-7325.008,-1619.547;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;32;-7165.986,-1623.907;Inherit;False;lightDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;588;-6689.845,-1532.681;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;578;-6439.266,-1411.936;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;581;-6248.605,-1415.129;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;589;-6106.444,-1419.762;Inherit;False;InitialLightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;580;-6606.341,-1293.334;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;533;-6459.45,-1297.361;Inherit;False;Attenuation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightAttenuation;627;-7325.271,-1094.686;Inherit;False;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;629;-7336.423,-1022.664;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;630;-6807.647,-1120.831;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;632;-6667.123,-1432.648;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;628;-7069.139,-1200;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;793;4084.51,-419.9491;Inherit;False;1029;FinalEmission;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;378;4100.366,-511.162;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;787;1382.497,1440.873;Inherit;False;786;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;789;1392.707,1516.109;Inherit;False;788;OutlineRGB;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;795;-3209.973,-1321.565;Inherit;False;Property;_Culling;Culling;306;1;[Enum];Create;True;0;0;1;UnityEngine.Rendering.CullMode;True;0;False;0;2;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;790;2002.123,1543.81;Inherit;False;OutlineGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;798;1961.58,1450.408;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;791;2081.115,1445.012;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SurfaceDepthNode;524;3118.077,458.5213;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;819;2748.469,326.6143;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;824;2956.071,303.7247;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;822;2550.839,340.7459;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;823;2570.85,500.8378;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;827;2521.599,567.8765;Inherit;False;Constant;_Float16;Float 16;26;0;Create;True;0;0;0;False;0;False;1000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;828;2680.669,636.316;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;829;2888.271,613.4264;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;830;2483.039,650.4476;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;831;2503.05,810.5396;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;225;-3007.329,-3413.345;Inherit;False;0;223;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.GetLocalVarNode;853;-24.64026,1740.427;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;498;485.348,590.3273;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;484;306.6857,585.6535;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;852;-2074.02,-2722.352;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;862;1041.562,-1033.402;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.LerpOp;859;751.5616,-913.4023;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.RangedFloatNode;860;561.5616,-938.4023;Inherit;False;Constant;_Float18;Float 18;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;863;219.952,-742.4731;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;864;558.0835,-863.7878;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;268;716.8016,-1035.826;Inherit;False;0;265;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.LerpOp;906;208.5399,-512.4272;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;910;15.06175,-462.8127;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleTimeNode;909;-323.0697,-341.498;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;912;486.7254,-565.1698;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;911;-3.374744,-656.1698;Inherit;False;0;866;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.RegisterLocalVarNode;871;1003.037,-350.0024;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;913;676.2248,-352.4956;Inherit;True;Property;_TextureSample0;Texture Sample 0;30;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Instance;866;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.FunctionNode;984;1174.184,-646.1843;Inherit;True;EffectMaskChannel;-1;;3967;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;124;-3173.241,958.7939;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1027;4291.965,105.7077;Inherit;False;791;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1031;1959.949,1643.783;Inherit;False;DirectionMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1032;4430.452,465.3638;Inherit;False;1031;DirectionMap;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;792;3756.018,53.18221;Inherit;False;790;OutlineGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;788;2525.206,109.5492;Inherit;False;OutlineRGB;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.FunctionNode;1042;3327.138,80.1829;Inherit;False;EffectMaskChannel;-1;;4562;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1043;2795.438,112.6829;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1044;3034.638,113.9829;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.GetLocalVarNode;1011;4262.274,6.535469;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;226;-3076.27,-549.0756;Inherit;False;1049;IridescentMainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.WorldNormalVector;1058;3137.704,747.7896;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;495;3640.296,550.8184;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;489;3680.985,243.5691;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;832;3638.739,385.1481;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;493;3237.892,553.2095;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;494;3833.85,241.0057;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;1059;3854.503,558.9896;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;1060;3875.304,715.7897;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.WorldNormalVector;1061;3312.104,-28.2103;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalVertexDataNode;488;3480.785,242.0691;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;818;2589.399,258.1747;Inherit;False;Constant;_Float10;Float 10;26;0;Create;True;0;0;0;False;0;False;10000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;786;2002.439,-932.0972;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1064;1629.501,-909.2549;Inherit;False;Constant;_Float20;Float 20;43;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;380;-2930.957,-2386.695;Inherit;True;Property;_SpecGlossMap;Specular;47;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f3bc535e7a220264d8a1f770fb367426;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.ColorNode;383;-2699.411,-2185.3;Inherit;False;Property;_SpecColor;Specular Color;48;0;Fetch;False;0;0;0;False;0;False;1,1,1,0;0.3169973,0.3169973,0.3169973,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1065;-1840.527,-3445.194;Inherit;False;Property;_ShowMain;ShowMain;208;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;302;-3285.939,-3140.613;Inherit;False;Property;_BumpScale;Normal Scale;39;0;Create;False;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;246;-2794.355,-3038.931;Inherit;True;Property;_MetallicGlossMap;Metallic;40;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;391;-2771.034,-2477.877;Inherit;False;Property;_OcclusionStrength;Occlusion Strength;45;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;223;-2790.1,-3446.149;Inherit;True;Property;_MainTex;Main Tex;28;0;Create;True;0;0;0;False;0;False;-1;None;0a92f98f03d58ac449724fa4a3f0e1f8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;241;-2788.6,-3244.549;Inherit;True;Property;_BumpMap;Normal;38;2;[Normal];[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;55479011db618034693440f32dbe9240;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.SamplerNode;386;-2786.9,-2663.733;Inherit;True;Property;_OcclusionMap;OcclusionMap;44;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;866;671.9223,-679.6194;Inherit;True;Property;_EffectMask;Effect Mask;30;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;907;75.53984,-539.4272;Inherit;False;Constant;_Float19;Float 19;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;868;705.1241,-481.1015;Inherit;False;Property;_EmissionMaskingChannel;Emission Masking Channel;33;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;908;-2.460165,-365.4272;Inherit;False;Property;_EmissionMaskPan;Emission Mask Pan;34;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;905;-346.4601,-469.4272;Inherit;False;Property;_EmissionMaskPanSpeed;Emission Mask Pan Speed;35;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;861;540.5616,-766.4023;Inherit;False;Property;_EmissionPan;Emission Pan;36;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;858;200.5616,-870.4023;Inherit;False;Property;_EmissionPanSpeed;Emission Pan Speed;37;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;1067;1402.106,1599.42;Inherit;False;Property;_ShowGlow;ShowGlow;205;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1075;4763.708,211.9052;Inherit;False;Property;_ShowEffects;ShowEffects;204;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StaticSwitch;1062;1764.78,-943.7126;Inherit;False;Property;_EnableEmission;_Enable Emission;209;0;Create;False;0;0;0;False;0;False;0;0;0;True;_EMISSION;Toggle;2;Key0;Key1;Create;True;False;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1066;2124.162,89.25903;Inherit;False;Property;_ShowOutline;ShowOutline;206;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1081;2121.584,167.0743;Inherit;False;Property;_ShowOutline2;ShowOutline2;207;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1095;4455.95,550.3781;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;460;-2981.99,956.8101;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.125;False;2;FLOAT;0.15;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;983;4391.114,201.3586;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1029;5287.174,278.7382;Inherit;False;FinalEmission;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;986;4408.033,344.0441;Inherit;False;557;Rimlighting;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1118;5024.975,112.8467;Inherit;False;RimlightEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1119;3712.385,-167.4584;Inherit;False;1118;RimlightEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;988;4397.987,266.4666;Inherit;False;987;ColoredSpec;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;121;-3038.383,159.6466;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;987;-2860.835,149.3844;Inherit;False;ColoredSpec;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1120;-3083.43,383.6133;Inherit;False;1117;SpecEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1117;5016.975,3.84671;Inherit;False;SpecEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;445;-3270.5,299.042;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1132;-5621.691,460.2031;Inherit;False;GGXTerm;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;617;-481.7099,1489.51;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;620;-347.238,1489.556;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;619;-182.238,1488.556;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1134;38.33276,1373.834;Inherit;False;RimAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1127;4223.965,452.6614;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;1142;-1548.589,-2761.705;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;90;-1410.964,-2767.599;Inherit;False;Smoothness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;1143;-1795.298,-2903.922;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.4;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1144;-1546.305,-2910.684;Inherit;False;SmoothnessColorMult;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1145;-2345.992,-693.0366;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1146;-1698.886,-501.7159;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;224;-2484.676,-3439.029;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1048;4322.479,-94.13754;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1149;-2887.883,-734.886;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1148;-3251.883,-930.886;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1150;-3073.883,-974.886;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.ColorNode;59;-3111.619,-716.5183;Inherit;False;Property;_Color;Color;29;0;Create;True;0;0;0;False;0;False;1,1,1,1;0.9,0.9,0.9,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1147;-3110.883,-802.886;Inherit;False;Alpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;5503.371,-421.687;Float;False;True;-1;5;FuralityShaderUI;0;0;CustomLighting;Furality/Sylva Shader/Sylva Cutout Outline;False;False;False;False;False;False;True;True;True;False;True;False;False;False;True;False;False;False;False;False;False;Back;0;False;;0;False;;False;0;False;;0;False;;False;0;Masked;0.5;True;True;0;False;TransparentCutout;;AlphaTest;All;12;all;True;True;True;True;0;False;;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;2;15;10;25;False;0.5;True;0;5;True;_BlendOPsrc;10;True;_BlendOPdst;0;5;False;;10;False;;0;False;;0;False;;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;True;Relative;0;;-1;-1;-1;-1;0;False;0;0;True;_Culling;-1;0;True;_MaskClipValue;1;Include;;True;1ec20832dfbb48343b8e0764e0864276;Custom;False;0;0;;0;0;False;0.1;False;;0;False;;False;15;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0 +Node;AmplifyShaderEditor.GetLocalVarNode;522;-2643.834,795.6546;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;521;-5129.626,1237.589;Inherit;False;ToonAmbience;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;129;-2672.565,275.1928;Inherit;False;23;diffuse;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1160;-2670.334,200.1979;Inherit;False;1155;Opacity;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;158;785.2396,421.767;Inherit;False;IndirectSpecular;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1135;4221.086,375.6588;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1133;4486.572,701.4352;Inherit;False;1132;GGXTerm;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1154;4563.932,-907.7635;Inherit;False;Constant;_Float21;Float 21;49;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1165;101.98,461.387;Inherit;False;IndirectAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1168;1511.465,577.6862;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;850;1694.621,568.6945;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1169;1218.465,607.6862;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;847;1088.521,513.8946;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CustomExpressionNode;848;1266.621,508.6945;Inherit;False;float3 nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;851;1863.677,556.974;Inherit;False;SpecularAntiAlias;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1170;4714.897,-772.7258;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1172;4452.577,-804.3515;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1049;5381.64,400.6321;Inherit;False;IridescentMainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;1152;4949.605,-904.1158;Inherit;False;Property;_Keyword3;Keyword 3;203;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1174;4082.013,-676.3953;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1175;4418.013,-707.3953;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1162;3713.449,-850.2751;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1177;3737.299,-754.6938;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1171;3942.885,-861.8574;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1179;4102.299,-795.6938;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1182;-2967.033,-1241.008;Inherit;False;Property;_BlendOPIndex;_BlendOPIndex;201;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1180;-3056.033,-1322.008;Inherit;False;Property;_BlendOPsrc;_BlendOPsrc;200;0;Create;True;0;0;0;True;0;False;5;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1181;-2884.033,-1321.008;Inherit;False;Property;_BlendOPdst;_BlendOPdst;202;0;Create;True;0;0;0;True;0;False;10;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1151;4245.475,-858.7676;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1176;5015.775,-989.7418;Inherit;False;Constant;_Float22;Float 22;49;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1046;3934.238,344.0829;Inherit;False;Property;_MaskClipValue;Mask Clip Value;307;0;Create;True;0;0;0;True;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1045;3173.738,250.4829;Inherit;False;Property;_OutlineMaskingChannel;Outline Masking Channel;53;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;496;3392.317,690.8503;Inherit;False;Property;_ViewFudge;ViewFudge;52;0;Create;True;0;0;0;True;0;False;0;0.05;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;490;2224.805,337.181;Inherit;False;Property;_OutlineWidth;Outline Width;50;0;Create;False;0;0;0;True;0;False;1;20;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;826;2157.005,646.8827;Inherit;False;Property;_MaxOutlineWidth;Max Outline Width;51;0;Create;True;0;0;0;True;0;False;850;1000;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1183;5035.267,-264.119;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1185;3759.467,144.6142;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1155;5226.195,-903.2067;Inherit;False;Opacity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OutlineNode;486;3973.185,203.869;Inherit;False;2;False;Masked;1;0;Front;True;True;True;True;0;False;;3;0;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ColorNode;497;2291.574,109.3901;Inherit;False;Property;_OutlineColor;Outline Color;54;0;Create;True;0;0;0;True;0;False;0,0,0,1;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.SimpleMinOpNode;1186;3999.04,82.15136;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1187;-3190.829,-1234.786;Inherit;False;Property;_BlendModeIndex;_BlendModeIndex;199;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1188;-3185.829,-1146.786;Inherit;False;Property;_EnableOutline;EnableOutline;198;1;[Toggle];Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1189;1625.512,1469.38;Inherit;False;Luma Glow Properties;55;;4913;7b40ef0e4b7a40f4f9276cd62640845c;1,260,0;2;1;COLOR;0,0,0,0;False;155;FLOAT3;0,0,0;False;3;FLOAT;244;FLOAT4;183;FLOAT4;0 +Node;AmplifyShaderEditor.FunctionNode;1190;4793.75,336.9004;Inherit;False;Iridescent Emission;210;;5010;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93 +Node;AmplifyShaderEditor.FunctionNode;1191;4586.708,44.20444;Inherit;False;Applfy Effects;228;;5018;86ee36ff59e1113469676c1c5ac8dd3c;0;7;31;COLOR;0,0,0,0;False;15;FLOAT3;0,0,1;False;16;COLOR;0,0,1,0;False;2;COLOR;0,0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;23;FLOAT;0;False;3;FLOAT4;0;FLOAT4;38;FLOAT4;39 +Node;AmplifyShaderEditor.FunctionNode;1192;1638.881,1686.992;Inherit;False;Outline Glow;0;;5052;a95beee5cd09a3848994f1983d4ef324;0;2;229;FLOAT3;0,0,0;False;42;FLOAT;1;False;1;FLOAT4;0 +WireConnection;388;0;302;0 +WireConnection;388;1;389;0 +WireConnection;243;0;241;0 +WireConnection;101;0;100;0 +WireConnection;257;0;245;0 +WireConnection;258;0;101;0 +WireConnection;258;1;257;0 +WireConnection;251;0;250;3 +WireConnection;251;1;250;4 +WireConnection;259;0;258;0 +WireConnection;252;1;251;0 +WireConnection;254;0;246;4 +WireConnection;254;1;253;0 +WireConnection;29;0;6;0 +WireConnection;31;0;259;0 +WireConnection;255;0;7;0 +WireConnection;255;1;254;0 +WireConnection;255;2;252;0 +WireConnection;14;0;15;0 +WireConnection;14;1;26;0 +WireConnection;19;0;10;0 +WireConnection;19;1;8;0 +WireConnection;71;0;14;0 +WireConnection;13;0;19;0 +WireConnection;39;0;71;0 +WireConnection;176;0;256;0 +WireConnection;176;3;177;0 +WireConnection;176;4;212;0 +WireConnection;25;0;13;0 +WireConnection;303;0;176;0 +WireConnection;211;0;303;0 +WireConnection;50;0;28;0 +WireConnection;50;1;52;0 +WireConnection;516;0;512;0 +WireConnection;247;0;246;1 +WireConnection;73;0;50;0 +WireConnection;511;0;516;0 +WireConnection;47;0;211;0 +WireConnection;514;0;636;0 +WireConnection;501;0;511;0 +WireConnection;38;0;73;0 +WireConnection;249;0;41;0 +WireConnection;249;1;248;0 +WireConnection;517;0;519;0 +WireConnection;17;0;47;0 +WireConnection;477;0;476;0 +WireConnection;384;0;380;0 +WireConnection;384;1;383;0 +WireConnection;518;0;517;0 +WireConnection;472;0;473;0 +WireConnection;472;1;476;0 +WireConnection;535;0;513;0 +WireConnection;535;1;534;0 +WireConnection;475;0;473;0 +WireConnection;475;1;477;0 +WireConnection;46;0;249;0 +WireConnection;593;0;501;0 +WireConnection;593;1;594;0 +WireConnection;394;0;384;0 +WireConnection;479;0;475;0 +WireConnection;24;0;49;0 +WireConnection;24;1;27;0 +WireConnection;478;0;472;0 +WireConnection;413;0;416;0 +WireConnection;413;1;415;0 +WireConnection;227;0;59;0 +WireConnection;227;1;226;0 +WireConnection;520;0;593;0 +WireConnection;520;1;518;0 +WireConnection;520;2;535;0 +WireConnection;436;0;413;0 +WireConnection;436;1;478;0 +WireConnection;436;2;479;0 +WireConnection;72;0;24;0 +WireConnection;163;0;227;0 +WireConnection;163;1;54;0 +WireConnection;401;0;402;0 +WireConnection;401;1;54;0 +WireConnection;401;2;396;0 +WireConnection;381;0;395;0 +WireConnection;381;1;163;1 +WireConnection;381;2;401;0 +WireConnection;11;0;72;0 +WireConnection;452;0;436;0 +WireConnection;452;1;451;0 +WireConnection;315;0;180;0 +WireConnection;315;1;180;0 +WireConnection;469;0;470;0 +WireConnection;208;0;315;0 +WireConnection;44;0;1146;0 +WireConnection;471;0;469;0 +WireConnection;471;2;452;0 +WireConnection;181;0;208;0 +WireConnection;181;1;208;0 +WireConnection;181;2;208;0 +WireConnection;461;0;125;0 +WireConnection;450;0;452;0 +WireConnection;450;1;471;0 +WireConnection;191;0;181;0 +WireConnection;444;0;450;0 +WireConnection;565;0;461;0 +WireConnection;300;0;233;0 +WireConnection;300;1;120;0 +WireConnection;301;0;300;0 +WireConnection;200;0;191;0 +WireConnection;68;1;587;0 +WireConnection;161;0;166;0 +WireConnection;161;2;200;0 +WireConnection;392;0;386;2 +WireConnection;392;1;391;0 +WireConnection;202;0;201;0 +WireConnection;202;2;200;0 +WireConnection;379;0;230;0 +WireConnection;379;1;231;0 +WireConnection;379;2;232;0 +WireConnection;138;0;115;0 +WireConnection;138;1;114;0 +WireConnection;138;2;116;0 +WireConnection;138;3;117;0 +WireConnection;272;0;392;0 +WireConnection;23;0;163;0 +WireConnection;544;0;537;0 +WireConnection;544;1;543;0 +WireConnection;480;0;161;0 +WireConnection;123;0;1120;0 +WireConnection;123;1;379;0 +WireConnection;123;2;138;0 +WireConnection;123;3;636;0 +WireConnection;123;4;566;0 +WireConnection;482;0;202;0 +WireConnection;610;0;609;0 +WireConnection;610;1;612;0 +WireConnection;550;0;544;0 +WireConnection;550;1;551;0 +WireConnection;203;0;482;0 +WireConnection;481;1;480;0 +WireConnection;132;0;123;0 +WireConnection;132;1;314;0 +WireConnection;614;0;610;0 +WireConnection;614;1;615;0 +WireConnection;554;0;552;0 +WireConnection;554;1;553;0 +WireConnection;274;0;129;0 +WireConnection;274;1;275;0 +WireConnection;274;2;1160;0 +WireConnection;311;0;306;0 +WireConnection;311;1;514;0 +WireConnection;312;0;132;0 +WireConnection;312;1;460;0 +WireConnection;312;2;623;0 +WireConnection;613;0;614;0 +WireConnection;213;0;214;0 +WireConnection;213;1;215;0 +WireConnection;213;2;203;0 +WireConnection;162;0;481;0 +WireConnection;548;0;550;0 +WireConnection;529;0;824;0 +WireConnection;529;1;524;0 +WireConnection;555;0;554;0 +WireConnection;555;1;556;0 +WireConnection;128;0;274;0 +WireConnection;128;1;312;0 +WireConnection;151;0;153;0 +WireConnection;151;1;152;0 +WireConnection;151;2;276;0 +WireConnection;310;0;522;0 +WireConnection;310;1;311;0 +WireConnection;547;12;548;0 +WireConnection;547;9;549;0 +WireConnection;204;0;1165;0 +WireConnection;204;1;213;0 +WireConnection;204;2;205;0 +WireConnection;625;1;626;0 +WireConnection;625;0;613;0 +WireConnection;545;0;619;0 +WireConnection;545;1;547;0 +WireConnection;545;2;555;0 +WireConnection;545;3;558;0 +WireConnection;545;4;567;0 +WireConnection;545;5;625;0 +WireConnection;545;6;853;0 +WireConnection;165;0;151;0 +WireConnection;165;1;204;0 +WireConnection;165;2;498;0 +WireConnection;532;0;824;0 +WireConnection;532;1;529;0 +WireConnection;190;0;128;0 +WireConnection;190;1;310;0 +WireConnection;219;0;190;0 +WireConnection;557;0;545;0 +WireConnection;265;1;862;0 +WireConnection;175;0;156;0 +WireConnection;30;0;47;0 +WireConnection;30;1;47;0 +WireConnection;599;0;604;0 +WireConnection;595;0;542;0 +WireConnection;75;0;40;0 +WireConnection;174;0;175;0 +WireConnection;266;0;267;0 +WireConnection;266;1;265;0 +WireConnection;266;2;984;0 +WireConnection;621;0;622;0 +WireConnection;607;0;598;0 +WireConnection;622;0;617;0 +WireConnection;33;0;18;0 +WireConnection;33;1;48;0 +WireConnection;362;0;101;0 +WireConnection;42;0;74;0 +WireConnection;22;0;30;0 +WireConnection;598;0;597;0 +WireConnection;598;1;596;0 +WireConnection;74;0;33;0 +WireConnection;600;0;599;0 +WireConnection;284;0;227;0 +WireConnection;604;0;607;0 +WireConnection;604;1;605;0 +WireConnection;40;0;37;0 +WireConnection;40;1;36;0 +WireConnection;169;0;159;0 +WireConnection;169;1;221;0 +WireConnection;169;2;1191;0 +WireConnection;169;3;1119;0 +WireConnection;56;0;75;0 +WireConnection;45;0;590;0 +WireConnection;634;0;460;0 +WireConnection;636;0;634;0 +WireConnection;636;1;460;0 +WireConnection;636;2;635;4 +WireConnection;569;0;568;1 +WireConnection;570;0;569;0 +WireConnection;570;1;569;1 +WireConnection;571;0;570;0 +WireConnection;571;1;569;2 +WireConnection;572;0;571;0 +WireConnection;573;0;572;0 +WireConnection;575;1;574;0 +WireConnection;575;0;573;0 +WireConnection;592;0;583;0 +WireConnection;576;0;577;0 +WireConnection;576;1;575;0 +WireConnection;584;0;592;0 +WireConnection;584;1;582;0 +WireConnection;584;2;576;0 +WireConnection;32;0;584;0 +WireConnection;578;0;588;0 +WireConnection;578;1;632;0 +WireConnection;578;2;576;0 +WireConnection;581;0;578;0 +WireConnection;581;1;533;0 +WireConnection;589;0;581;0 +WireConnection;580;1;630;0 +WireConnection;580;2;576;0 +WireConnection;533;0;580;0 +WireConnection;630;0;628;0 +WireConnection;630;1;627;0 +WireConnection;630;2;629;4 +WireConnection;628;0;627;0 +WireConnection;790;0;1192;0 +WireConnection;798;0;1189;183 +WireConnection;798;1;1189;0 +WireConnection;791;0;798;0 +WireConnection;819;0;490;0 +WireConnection;819;1;818;0 +WireConnection;824;1;819;0 +WireConnection;824;2;823;0 +WireConnection;822;0;490;0 +WireConnection;823;0;490;0 +WireConnection;828;0;826;0 +WireConnection;828;1;818;0 +WireConnection;829;1;828;0 +WireConnection;829;2;831;0 +WireConnection;830;0;826;0 +WireConnection;831;0;826;0 +WireConnection;498;0;484;0 +WireConnection;498;1;484;0 +WireConnection;862;0;268;0 +WireConnection;862;1;859;0 +WireConnection;859;0;860;0 +WireConnection;859;1;864;0 +WireConnection;859;2;861;0 +WireConnection;864;0;858;0 +WireConnection;864;1;863;0 +WireConnection;906;0;907;0 +WireConnection;906;1;910;0 +WireConnection;906;2;908;0 +WireConnection;910;0;905;0 +WireConnection;910;1;909;0 +WireConnection;912;0;911;0 +WireConnection;912;1;906;0 +WireConnection;871;0;913;0 +WireConnection;984;14;866;1 +WireConnection;984;15;866;2 +WireConnection;984;16;866;3 +WireConnection;984;17;866;4 +WireConnection;984;18;868;0 +WireConnection;1031;0;1189;244 +WireConnection;788;0;497;0 +WireConnection;1042;14;1044;0 +WireConnection;1042;15;1044;1 +WireConnection;1042;16;1044;2 +WireConnection;1042;17;1044;3 +WireConnection;1042;18;1045;0 +WireConnection;1044;0;1043;0 +WireConnection;495;0;493;0 +WireConnection;495;1;496;0 +WireConnection;489;0;1061;0 +WireConnection;489;1;832;0 +WireConnection;489;2;1042;0 +WireConnection;832;0;532;0 +WireConnection;832;1;829;0 +WireConnection;493;0;491;0 +WireConnection;494;0;489;0 +WireConnection;494;1;495;0 +WireConnection;1059;0;488;0 +WireConnection;1060;0;494;0 +WireConnection;786;0;1062;0 +WireConnection;380;1;393;0 +WireConnection;246;1;269;0 +WireConnection;223;1;225;0 +WireConnection;241;1;242;0 +WireConnection;241;5;388;0 +WireConnection;386;1;385;0 +WireConnection;866;1;912;0 +WireConnection;1062;0;266;0 +WireConnection;460;0;124;0 +WireConnection;1029;0;1190;0 +WireConnection;1118;0;1191;39 +WireConnection;121;0;301;0 +WireConnection;121;1;445;0 +WireConnection;987;0;121;0 +WireConnection;1117;0;1191;38 +WireConnection;1132;0;413;0 +WireConnection;617;0;616;0 +WireConnection;617;1;618;0 +WireConnection;620;0;617;0 +WireConnection;619;0;620;0 +WireConnection;1134;0;547;0 +WireConnection;1142;0;255;0 +WireConnection;1142;1;852;0 +WireConnection;90;0;1142;0 +WireConnection;1143;0;255;0 +WireConnection;1144;0;1143;0 +WireConnection;1146;0;381;0 +WireConnection;1146;1;1145;0 +WireConnection;224;0;223;0 +WireConnection;1149;0;1150;3 +WireConnection;1149;1;59;4 +WireConnection;1150;0;1148;0 +WireConnection;1147;0;1149;0 +WireConnection;0;0;378;0 +WireConnection;0;2;793;0 +WireConnection;0;10;1183;0 +WireConnection;0;13;169;0 +WireConnection;0;11;486;0 +WireConnection;521;0;520;0 +WireConnection;158;0;165;0 +WireConnection;1165;0;162;0 +WireConnection;1168;0;848;0 +WireConnection;1168;1;1169;0 +WireConnection;850;0;1168;0 +WireConnection;848;0;847;0 +WireConnection;851;0;850;0 +WireConnection;1170;0;1172;0 +WireConnection;1170;1;1175;0 +WireConnection;1172;0;1151;0 +WireConnection;1049;0;1190;93 +WireConnection;1152;1;1154;0 +WireConnection;1152;0;1170;0 +WireConnection;1175;0;1179;0 +WireConnection;1175;1;1174;0 +WireConnection;1171;0;1162;0 +WireConnection;1179;0;1171;0 +WireConnection;1179;1;1177;0 +WireConnection;1155;0;1154;0 +WireConnection;486;0;792;0 +WireConnection;486;2;1186;0 +WireConnection;486;1;1060;0 +WireConnection;1186;0;1185;0 +WireConnection;1186;1;1042;0 +WireConnection;1189;1;787;0 +WireConnection;1190;214;1133;0 +WireConnection;1190;215;1135;0 +WireConnection;1190;207;1127;0 +WireConnection;1190;165;1095;0 +WireConnection;1190;84;1048;0 +WireConnection;1190;21;1011;0 +WireConnection;1190;44;1027;0 +WireConnection;1190;56;983;0 +WireConnection;1191;2;983;0 +WireConnection;1191;3;988;0 +WireConnection;1191;4;986;0 +WireConnection;1191;23;1032;0 +WireConnection;1192;229;789;0 +WireConnection;1192;42;1189;244 +ASEEND*/ +//CHKSM=EECB98E28838265AE4410B0627DC3689DC66AB0C \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout Outline.shader.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout Outline.shader.meta new file mode 100644 index 0000000..ce82d95 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout Outline.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: e5abf982077535e41b366df4fd683b4a +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout.shader b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout.shader new file mode 100644 index 0000000..0e08cb6 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout.shader @@ -0,0 +1,3800 @@ +// Made with Amplify Shader Editor v1.9.1.5 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "Furality/Sylva Shader/Sylva Cutout" +{ + Properties + { + _MainTex("Main Tex", 2D) = "white" {} + [HDR]_OutlineGlowTint("OutlineGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_OutlineGlowZone("OutlineGlowZone", Int) = 0 + _Color("Color", Color) = (1,1,1,1) + _EffectMask("Effect Mask", 2D) = "white" {} + _EmissionMap("EmissionMap", 2D) = "white" {} + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_OutlineGlowMode("OutlineGlowMode", Int) = 0 + [HDR]_EmissionColor("Emission Color", Color) = (0,0,0,0) + [Enum(Multiply,0,Additive,1)]_OutlineGlowBlendMode("OutlineGlowBlendMode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_EmissionMaskingChannel("Emission Masking Channel", Int) = 0 + _OutlineGlowMinBrightness("OutlineGlowMinBrightness", Range( 0 , 1)) = 0 + _OutlineGlowPulseDir("OutlineGlowPulseDir", Float) = 0 + [ToggleUI]_EmissionMaskPan("Emission Mask Pan", Float) = 0 + _EmissionMaskPanSpeed("Emission Mask Pan Speed", Vector) = (1,1,0,0) + _OutlineGlowPulseScale("OutlineGlowPulseScale", Float) = 127 + [ToggleUI]_EmissionPan("Emission Pan", Float) = 0 + _OutlineGlowPulseOffset("OutlineGlowPulseOffset", Float) = 0 + _OutlineGlowRadialCenter("OutlineGlowRadialCenter", Vector) = (0.5,0.5,0,0) + _EmissionPanSpeed("Emission Pan Speed", Vector) = (1,1,0,0) + [HDR]_OutlineReactiveTint("OutlineReactiveTint", Color) = (1,1,1,0) + [Normal][SingleLineTexture]_BumpMap("Normal", 2D) = "bump" {} + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineReactiveBand("OutlineReactiveBand", Int) = 10 + _BumpScale("Normal Scale", Range( 0 , 1)) = 1 + [SingleLineTexture]_MetallicGlossMap("Metallic", 2D) = "black" {} + _OutlineReactiveDelay("OutlineReactiveDelay", Int) = 0 + _Metallic("Metallic", Range( 0 , 1)) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_OutlineReactiveMode("OutlineReactiveMode", Int) = 0 + _Glossiness("Smoothness", Range( 0 , 1)) = 0.5 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_OutlineReactiveBlendMode("OutlineReactiveBlendMode", Int) = 0 + _GlossMapScale("GlossMapScale", Range( 0 , 1)) = 1 + _OutlineReactiveMinBrightness("OutlineReactiveMinBrightness", Range( 0 , 1)) = 0 + _OutlineReactiveGlobalSmoothing("OutlineReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + [SingleLineTexture]_OcclusionMap("OcclusionMap", 2D) = "white" {} + _OutlineReactivePulseDir("OutlineReactivePulseDir", Float) = 0 + _OcclusionStrength("Occlusion Strength", Range( 0 , 1)) = 1 + _OutlineReactivePulseScale("OutlineReactivePulseScale", Float) = 127 + [ToggleUI]_EnableSpecularMap("Enable Specular Map", Float) = 0 + [SingleLineTexture]_SpecGlossMap("Specular", 2D) = "white" {} + _OutlineReactivePulseOffset("OutlineReactivePulseOffset", Float) = 0 + _SpecColor("Specular Color", Color) = (1,1,1,0) + _OutlineReactiveRadialCenter("OutlineReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_RimlightColor("Rimlight Color", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineGlowAnimationBand("OutlineGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_OutlineGlowAnimationMode("OutlineGlowAnimationMode", Int) = 0 + _OutlineWidth("Outline Width", Range( 0 , 1000)) = 1 + [Enum(Slow,0,Fast,1)]_OutlineGlowAnimationSpeed("OutlineGlowAnimationSpeed", Int) = 0 + _MaxOutlineWidth("Max Outline Width", Range( 0 , 1000)) = 850 + _ViewFudge("ViewFudge", Float) = 0 + _OutlineGlowAnimationStrength("OutlineGlowAnimationStrength", Float) = 1 + _ShowOutlineGlow("_ShowOutlineGlow", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_OutlineMaskingChannel("Outline Masking Channel", Int) = 0 + _OutlineColor("Outline Color", Color) = (0,0,0,1) + _ShowOutlineAL("_ShowOutlineAL", Float) = 0 + _DirectionalMap("Directional Map", 2D) = "white" {} + [HDR]_EmissionGlowTint("EmissionGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_EmissionGlowZone("EmissionGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_EmissionGlowMode("EmissionGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_EmissionGlowBlendMode("EmissionGlowBlendMode", Int) = 0 + _EmissionGlowMinBrightness("EmissionGlowMinBrightness", Range( 0 , 1)) = 0 + _EmissionGlowPulseDir("EmissionGlowPulseDir", Float) = 0 + _EmissionGlowPulseScale("EmissionGlowPulseScale", Float) = 127 + _EmissionGlowPulseOffset("EmissionGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionGlowAnimationBand("EmissionGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_EmissionGlowAnimationMode("EmissionGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_EmissionGlowAnimationSpeed("EmissionGlowAnimationSpeed", Int) = 0 + _EmissionGlowAnimationStrength("EmissionGlowAnimationStrength", Float) = 1 + _EmissionGlowRadialCenter("EmissionGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_EmissionReactiveTint("EmissionReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionReactiveBand("EmissionReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_EmissionReactiveMode("EmissionReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_EmissionReactiveBlendMode("EmissionReactiveBlendMode", Int) = 0 + _EmissionReactiveMinBrightness("EmissionReactiveMinBrightness", Range( 0 , 1)) = 0 + _EmissionReactiveGlobalSmoothing("EmissionReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _EmissionReactivePulseDir("EmissionReactivePulseDir", Float) = 0 + _EmissionReactivePulseScale("EmissionReactivePulseScale", Float) = 127 + _EmissionReactivePulseOffset("EmissionReactivePulseOffset", Float) = 0 + _EmissionReactiveRadialCenter("EmissionReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowEmissGlow("_ShowEmissGlow", Float) = 0 + _ShowEmissAL("_ShowEmissAL", Float) = 0 + _GlowMask("GlowMask", 2D) = "black" {} + [HDR]_RedChGlowTint("RedChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_RedChGlowZone("RedChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_RedChGlowMode("RedChGlowMode", Int) = 0 + _RedChGlowMinBrightness("RedChGlowMinBrightness", Range( 0 , 1)) = 0 + _RedChGlowPulseDir("RedChGlowPulseDir", Float) = 0 + _RedChGlowPulseScale("RedChGlowPulseScale", Float) = 127 + _RedChGlowPulseOffset("RedChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChGlowAnimationBand("RedChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RedChGlowAnimationMode("RedChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RedChGlowAnimationSpeed("RedChGlowAnimationSpeed", Int) = 0 + _RedChGlowAnimationStrength("RedChGlowAnimationStrength", Float) = 1 + _RedChGlowRadialCenter("RedChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_RedChReactiveTint("RedChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChReactiveBand("RedChReactiveBand", Int) = 10 + [HideInInspector] _texcoord( "", 2D ) = "white" {} + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_RedChReactiveMode("RedChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_RedChReactiveBlendMode("RedChReactiveBlendMode", Int) = 0 + _RedChReactiveMinBrightness("RedChReactiveMinBrightness", Range( 0 , 1)) = 0 + _RedChReactiveGlobalSmoothing("RedChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _RedChReactivePulseDir("RedChReactivePulseDir", Float) = 0 + _RedChReactivePulseScale("RedChReactivePulseScale", Float) = 127 + _RedChReactivePulseOffset("RedChReactivePulseOffset", Float) = 0 + _RedChReactiveRadialCenter("RedChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowRedGlow("_ShowRedGlow", Float) = 0 + _ShowRedAL("_ShowRedAL", Float) = 0 + [ToggleUI]_EnableRedChannel("_EnableRedChannel", Float) = 0 + [HDR]_GreenChGlowTint("GreenChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_GreenChGlowZone("GreenChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_GreenChGlowMode("GreenChGlowMode", Int) = 0 + _GreenChReactiveMinBrightness("GreenChReactiveMinBrightness", Range( 0 , 1)) = 0 + _GreenChGlowPulseDir("GreenChGlowPulseDir", Float) = 0 + _GreenChGlowPulseScale("GreenChGlowPulseScale", Float) = 127 + _GreenChGlowPulseOffset("GreenChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChGlowAnimationBand("GreenChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_GreenChGlowAnimationMode("GreenChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_GreenChGlowAnimationSpeed("GreenChGlowAnimationSpeed", Int) = 0 + _GreenChGlowAnimationStrength("GreenChGlowAnimationStrength", Float) = 1 + _GreenChGlowRadialCenter("GreenChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_GreenChReactiveTint("GreenChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChReactiveBand("GreenChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_GreenChReactiveMode("GreenChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_GreenChReactiveBlendMode("GreenChReactiveBlendMode", Int) = 0 + _GreenChGlowMinBrightness("GreenChGlowMinBrightness", Range( 0 , 1)) = 0 + _GreenChReactiveGlobalSmoothing("GreenChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _GreenChReactivePulseDir("GreenChReactivePulseDir", Float) = 0 + _GreenChReactivePulseScale("GreenChReactivePulseScale", Float) = 127 + _GreenChReactivePulseOffset("GreenChReactivePulseOffset", Float) = 0 + _GreenChReactiveRadialCenter("GreenChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowGreenGlow("_ShowGreenGlow", Float) = 0 + _ShowGreenAL("_ShowGreenAL", Float) = 0 + [ToggleUI]_EnableGreenChannel("_EnableGreenChannel", Float) = 0 + [HDR]_BlueChGlowTint("BlueChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_BlueChGlowZone("BlueChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_BlueChGlowMode("BlueChGlowMode", Int) = 0 + _BlueChGlowMinBrightness("BlueChGlowMinBrightness", Range( 0 , 1)) = 0 + _BlueChGlowPulseDir("BlueChGlowPulseDir", Float) = 0 + _BlueChGlowPulseScale("BlueChGlowPulseScale", Float) = 127 + _BlueChGlowPulseOffset("BlueChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChGlowAnimationBand("BlueChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_BlueChGlowAnimationMode("BlueChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_BlueChGlowAnimationSpeed("BlueChGlowAnimationSpeed", Int) = 0 + _BlueChGlowAnimationStrength("BlueChGlowAnimationStrength", Float) = 1 + _BlueChGlowRadialCenter("BlueChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_BlueChReactiveTint("BlueChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChReactiveBand("BlueChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_BlueChReactiveMode("BlueChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_BlueChReactiveBlendMode("BlueChReactiveBlendMode", Int) = 0 + _BlueChReactiveMinBrightness("BlueChReactiveMinBrightness", Range( 0 , 1)) = 0 + _BlueChReactiveGlobalSmoothing("BlueChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _BlueChReactivePulseDir("BlueChReactivePulseDir", Float) = 0 + _BlueChReactivePulseScale("BlueChReactivePulseScale", Float) = 127 + _BlueChReactivePulseOffset("BlueChReactivePulseOffset", Float) = 0 + _BlueChReactiveRadialCenter("BlueChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowBlueGlow("_ShowBlueGlow", Float) = 0 + _ShowBlueAL("_ShowBlueAL", Float) = 0 + [ToggleUI]_EnableBlueChannel("_EnableBlueChannel", Float) = 0 + [HDR]_AlphaChGlowTint("AlphaChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_AlphaChGlowZone("AlphaChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_AlphaChGlowMode("AlphaChGlowMode", Int) = 0 + _AlphaChGlowMinBrightness("AlphaChGlowMinBrightness", Range( 0 , 1)) = 0 + _AlphaChGlowPulseDir("AlphaChGlowPulseDir", Float) = 0 + _AlphaChGlowPulseScale("AlphaChGlowPulseScale", Float) = 127 + _AlphaChGlowPulseOffset("AlphaChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChGlowAnimationBand("AlphaChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_AlphaChGlowAnimationMode("AlphaChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_AlphaChGlowAnimationSpeed("AlphaChGlowAnimationSpeed", Int) = 0 + _AlphaChGlowAnimationStrength("AlphaChGlowAnimationStrength", Float) = 1 + _AlphaChGlowRadialCenter("AlphaChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_AlphaChReactiveTint("AlphaChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChReactiveBand("AlphaChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_AlphaChReactiveMode("AlphaChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_AlphaChReactiveBlendMode("AlphaChReactiveBlendMode", Int) = 0 + _AlphaChReactiveMinBrightness("AlphaChReactiveMinBrightness", Range( 0 , 1)) = 0 + _AlphaChReactiveGlobalSmoothing("AlphaChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _AlphaChReactivePulseDir("AlphaChReactivePulseDir", Float) = 0 + _AlphaChReactivePulseScale("AlphaChReactivePulseScale", Float) = 127 + _AlphaChReactivePulseOffset("AlphaChReactivePulseOffset", Float) = 0 + _AlphaChReactiveRadialCenter("AlphaChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowAlphaGlow("_ShowAlphaGlow", Float) = 0 + _ShowAlphaAL("_ShowAlphaAL", Float) = 0 + [ToggleUI]_EnableAlphaChannel("_EnableAlphaChannel", Float) = 0 + _BlendModeIndex("_BlendModeIndex", Float) = 0 + _BlendOPsrc("_BlendOPsrc", Float) = 5 + _BlendOPIndex("_BlendOPIndex", Float) = 0 + _BlendOPdst("_BlendOPdst", Float) = 10 + [HideInInspector]_ShowEffects("ShowEffects", Float) = 0 + [HideInInspector]_ShowGlow("ShowGlow", Float) = 0 + [HideInInspector]_ShowOutline("ShowOutline", Float) = 0 + [HideInInspector]_ShowOutline2("ShowOutline2", Float) = 0 + [HideInInspector]_ShowMain("ShowMain", Float) = 0 + [Toggle(_EMISSION)] _EnableEmission("_Enable Emission", Float) = 0 + [Enum(Iridescent Colors,0,Emission Multiply,1,Rainbow,2,Texture HueSelect,3,Holographic,4,Texture HueShift,5)]_IridescentEmissionMode("Iridescent Emission Mode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_IridescentMaskingChannel("Iridescent Masking Channel", Int) = 0 + _IridescentEmissionColor1("Iridescent Emission Color 1", Color) = (1,0,0,0) + _IridescentEmissionColor2("Iridescent Emission Color 2", Color) = (0,1,0,0) + _IridescentEmissionColor3("Iridescent Emission Color 3", Color) = (0,0,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_IridescentALAnimationBand("IridescentALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_IridescentALAnimationMode("IridescentALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_IridescentALAnimationSpeed("IridescentALAnimationSpeed", Int) = 0 + _IridescentALAnimationStrength("IridescentALAnimationStrength", Float) = 1 + _ShowIridescence("_ShowIridescence", Float) = 0 + _IridescentIntensity("IridescentIntensity", Range( 0 , 10)) = 1 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword0("Keyword 0", Float) = 0 + [Enum(Facing,0,Reflection,1,Light Direction,2)]_IridescentMode2("Iridescent Mode 2", Int) = 0 + _IridescentScale("IridescentScale", Float) = 1 + _IridescentOffset("IridescentOffset", Float) = 0 + [Enum(Global,0,Specular,1,Rimlight,2,Both,3)]_IridescenceLightMode("Iridescence Light Mode", Int) = 0 + [ToggleUI]_Enableiridescence("_Enableiridescence", Float) = 0 + [Enum(Default,0,Specular,1,Rimlight,2,SpecRim,3,All,4)]_SparkleMode("Sparkle Mode", Int) = 0 + [Enum(Circle,0,Square,1,Star,2,Heart,3)]_SparkleShape("Sparkle Shape", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_SparkleMaskingChannel("Sparkle Masking Channel", Int) = 0 + [HDR]_SparkleColor("Sparkle Color", Color) = (1,1,1,0) + _SparkleSize("Sparkle Size", Range( 0 , 0.75)) = 0.5 + _SparkleScale("Sparkle Scale", Float) = 1 + _SparkleSpeed("Sparkle Speed", Float) = 1 + _SparkleSeed("Sparkle Seed", Float) = 20 + [HDR]_SparkleGlowTint("SparkleGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_SparkleGlowZone("SparkleGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_SparkleGlowMode("SparkleGlowMode", Int) = 0 + _SparkleGlowMinBrightness("SparkleGlowMinBrightness", Range( 0 , 1)) = 0 + _SparkleGlowPulseDir("SparkleGlowPulseDir", Float) = 0 + _SparkleGlowPulseScale("SparkleGlowPulseScale", Float) = 127 + _SparkleGlowPulseOffset("SparkleGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleGlowAnimationBand("SparkleGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_SparkleGlowAnimationMode("SparkleGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_SparkleGlowAnimationSpeed("SparkleGlowAnimationSpeed", Int) = 0 + _SparkleGlowAnimationStrength("SparkleGlowAnimationStrength", Float) = 1 + _SparkleGlowRadialCenter("SparkleGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_SparkleReactiveTint("SparkleReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleReactiveBand("SparkleReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_SparkleReactiveMode("SparkleReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_SparkleReactiveBlendMode("SparkleReactiveBlendMode", Int) = 0 + _SparkleReactiveMinBrightness("SparkleReactiveMinBrightness", Range( 0 , 1)) = 0 + _SparkleReactiveGlobalSmoothing("SparkleReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _SparkleReactivePulseDir("SparkleReactivePulseDir", Float) = 0 + _SparkleReactivePulseScale("SparkleReactivePulseScale", Float) = 127 + _SparkleReactivePulseOffset("SparkleReactivePulseOffset", Float) = 0 + _SparkleReactiveRadialCenter("SparkleReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowSparkleGlow("_ShowSparkleGlow", Float) = 0 + _ShowSparkleAL("_ShowSparkleAL", Float) = 0 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword1("Keyword 0", Float) = 0 + [Enum(Multiply,0,Additive,1)]_SparkleBlendMode("Sparkle Blend Mode", Int) = 0 + _ShowSparkles("_ShowSparkles", Float) = 0 + [Toggle(_SPARKLES)] _EnableSparkles("Enable Sparkles", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_RainbowMaskingChannel("Rainbow Masking Channel", Int) = 0 + [Enum(Default,0,Radial,1,Spiral,2,Direction Map,3,Reverse Direction,4)]_RainbowUVMode("Rainbow UV Mode", Int) = 0 + _RainbowHue("Rainbow Hue", Range( 0 , 1)) = 1 + _RainbowSaturation("Rainbow Saturation", Range( 0 , 1)) = 1 + _RainbowValue("Rainbow Value", Range( 0 , 1)) = 1 + _RainbowHueRange("Rainbow Hue Range", Range( 0 , 1)) = 1 + _RainbowRotation("Rainbow Rotation", Float) = 0 + _RainbowScale("Rainbow Scale", Float) = 1 + _RainbowSpiralCurve("Rainbow Spiral Curve", Float) = 1 + _RainbowRadialCenter("Rainbow Radial Center", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RainbowALAnimationBand("RainbowALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RainbowALAnimationMode("RainbowALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RainbowALAnimationSpeed("RainbowALAnimationSpeed", Int) = 0 + _RainbowALAnimationStrength("RainbowALAnimationStrength", Float) = 1 + _ShowRainbow("_ShowRainbow", Float) = 0 + [ToggleUI]_EnableScrollingRainbow("_EnableScrollingRainbow", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)]_Culling("Culling", Float) = 0 + _MaskClipValue("Mask Clip Value", Float) = 0.5 + [HideInInspector] __dirty( "", Int ) = 1 + } + + SubShader + { + Tags{ "RenderType" = "TransparentCutout" "Queue" = "AlphaTest+0" "IgnoreProjector" = "True" "IsEmissive" = "true" } + Cull [_Culling] + CGINCLUDE + #include "UnityPBSLighting.cginc" + #include "UnityShaderVariables.cginc" + #include "UnityStandardUtils.cginc" + #include "UnityCG.cginc" + #include "Lighting.cginc" + #pragma target 4.5 + #pragma shader_feature_local _EMISSION + #pragma shader_feature_local _SPARKLES + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + #ifdef UNITY_PASS_SHADOWCASTER + #undef INTERNAL_DATA + #undef WorldReflectionVector + #undef WorldNormalVector + #define INTERNAL_DATA half3 internalSurfaceTtoW0; half3 internalSurfaceTtoW1; half3 internalSurfaceTtoW2; + #define WorldReflectionVector(data,normal) reflect (data.worldRefl, half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal))) + #define WorldNormalVector(data,normal) half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal)) + #endif + struct Input + { + float2 uv_texcoord; + float3 worldRefl; + INTERNAL_DATA + float3 worldPos; + float3 worldNormal; + }; + + struct SurfaceOutputCustomLightingCustom + { + half3 Albedo; + half3 Normal; + half3 Emission; + half Metallic; + half Smoothness; + half Occlusion; + half Alpha; + Input SurfInput; + UnityGIInput GIData; + }; + + uniform float _Culling; + uniform float _ShowMain; + uniform float _ShowGlow; + uniform float _ShowEffects; + uniform float _ShowOutline; + uniform float _ShowOutline2; + uniform float _ShowIridescence; + uniform float _ShowSparkleGlow; + uniform float _ShowSparkleAL; + uniform float _ShowSparkles; + uniform float _ShowRainbow; + uniform float _BlendOPIndex; + uniform float _BlendOPsrc; + uniform float _BlendOPdst; + uniform float _MaskClipValue; + uniform int _OutlineMaskingChannel; + uniform float _ViewFudge; + uniform float _OutlineWidth; + uniform float _MaxOutlineWidth; + uniform float4 _OutlineColor; + uniform float _BlendModeIndex; + uniform float _OutlineGlowAnimationStrength; + uniform int _OutlineGlowAnimationMode; + uniform int _OutlineGlowAnimationBand; + uniform int _OutlineGlowAnimationSpeed; + uniform float _OutlineGlowPulseScale; + uniform float _OutlineGlowPulseDir; + uniform int _OutlineGlowMode; + uniform float2 _OutlineGlowRadialCenter; + uniform float _OutlineGlowPulseOffset; + uniform float _OutlineReactivePulseDir; + uniform int _OutlineGlowZone; + uniform float2 _OutlineReactiveRadialCenter; + uniform float _OutlineReactivePulseScale; + uniform int _OutlineReactiveMode; + uniform int _OutlineReactiveDelay; + uniform int _OutlineReactiveBand; + uniform float _OutlineReactivePulseOffset; + uniform float _OutlineReactiveGlobalSmoothing; + uniform float _OutlineReactiveMinBrightness; + uniform float4 _OutlineReactiveTint; + uniform float _ShowOutlineGlow; + uniform float _ShowOutlineAL; + uniform int _OutlineGlowBlendMode; + uniform float _OutlineGlowMinBrightness; + uniform float4 _OutlineGlowTint; + uniform int _OutlineReactiveBlendMode; + uniform float _ShowEmissGlow; + uniform float _ShowEmissAL; + uniform float _ShowRedGlow; + uniform float _ShowRedAL; + uniform float _EnableRedChannel; + uniform float _ShowGreenGlow; + uniform float _ShowGreenAL; + uniform float _ShowBlueGlow; + uniform float _ShowBlueAL; + uniform float _ShowAlphaGlow; + uniform float _ShowAlphaAL; + uniform sampler2D _MainTex; + uniform float4 _MainTex_ST; + uniform int _RedChGlowZone; + uniform float _RedChGlowPulseDir; + uniform float _RedChGlowPulseScale; + uniform float _RedChGlowPulseOffset; + uniform float _RedChGlowAnimationStrength; + uniform int _RedChGlowAnimationBand; + uniform int _RedChGlowAnimationMode; + uniform int _RedChGlowAnimationSpeed; + uniform float2 _RedChGlowRadialCenter; + uniform int _RedChGlowMode; + uniform sampler2D _DirectionalMap; + uniform float4 _DirectionalMap_ST; + uniform float _RedChGlowMinBrightness; + uniform float4 _RedChGlowTint; + uniform int _RedChReactiveBand; + uniform float _RedChReactivePulseDir; + uniform float _RedChReactivePulseScale; + uniform float _RedChReactivePulseOffset; + uniform float2 _RedChReactiveRadialCenter; + uniform int _RedChReactiveMode; + uniform float _RedChReactiveGlobalSmoothing; + uniform float _RedChReactiveMinBrightness; + uniform float4 _RedChReactiveTint; + uniform int _RedChReactiveBlendMode; + uniform sampler2D _GlowMask; + uniform float4 _GlowMask_ST; + uniform int _GreenChGlowZone; + uniform float _GreenChGlowPulseDir; + uniform float _GreenChGlowPulseScale; + uniform float _GreenChGlowPulseOffset; + uniform float _GreenChGlowAnimationStrength; + uniform int _GreenChGlowAnimationBand; + uniform int _GreenChGlowAnimationMode; + uniform int _GreenChGlowAnimationSpeed; + uniform float2 _GreenChGlowRadialCenter; + uniform int _GreenChGlowMode; + uniform float _GreenChGlowMinBrightness; + uniform float4 _GreenChGlowTint; + uniform int _GreenChReactiveBand; + uniform float _GreenChReactivePulseDir; + uniform float _GreenChReactivePulseScale; + uniform float _GreenChReactivePulseOffset; + uniform float2 _GreenChReactiveRadialCenter; + uniform int _GreenChReactiveMode; + uniform float _GreenChReactiveGlobalSmoothing; + uniform float _GreenChReactiveMinBrightness; + uniform float4 _GreenChReactiveTint; + uniform int _GreenChReactiveBlendMode; + uniform float _EnableGreenChannel; + uniform int _BlueChGlowZone; + uniform float _BlueChGlowPulseDir; + uniform float _BlueChGlowPulseScale; + uniform float _BlueChGlowPulseOffset; + uniform float _BlueChGlowAnimationStrength; + uniform int _BlueChGlowAnimationBand; + uniform int _BlueChGlowAnimationMode; + uniform int _BlueChGlowAnimationSpeed; + uniform float2 _BlueChGlowRadialCenter; + uniform int _BlueChGlowMode; + uniform float _BlueChGlowMinBrightness; + uniform float4 _BlueChGlowTint; + uniform int _BlueChReactiveBand; + uniform float _BlueChReactivePulseDir; + uniform float _BlueChReactivePulseScale; + uniform float _BlueChReactivePulseOffset; + uniform float2 _BlueChReactiveRadialCenter; + uniform int _BlueChReactiveMode; + uniform float _BlueChReactiveGlobalSmoothing; + uniform float _BlueChReactiveMinBrightness; + uniform float4 _BlueChReactiveTint; + uniform int _BlueChReactiveBlendMode; + uniform float _EnableBlueChannel; + uniform int _AlphaChGlowZone; + uniform float _AlphaChGlowPulseDir; + uniform float _AlphaChGlowPulseScale; + uniform float _AlphaChGlowPulseOffset; + uniform float _AlphaChGlowAnimationStrength; + uniform int _AlphaChGlowAnimationBand; + uniform int _AlphaChGlowAnimationMode; + uniform int _AlphaChGlowAnimationSpeed; + uniform float2 _AlphaChGlowRadialCenter; + uniform int _AlphaChGlowMode; + uniform float _AlphaChGlowMinBrightness; + uniform float4 _AlphaChGlowTint; + uniform int _AlphaChReactiveBand; + uniform float _AlphaChReactivePulseDir; + uniform float _AlphaChReactivePulseScale; + uniform float _AlphaChReactivePulseOffset; + uniform float2 _AlphaChReactiveRadialCenter; + uniform int _AlphaChReactiveMode; + uniform float _AlphaChReactiveGlobalSmoothing; + uniform float _AlphaChReactiveMinBrightness; + uniform float4 _AlphaChReactiveTint; + uniform int _AlphaChReactiveBlendMode; + uniform float _EnableAlphaChannel; + uniform float4 _EmissionColor; + uniform sampler2D _EmissionMap; + uniform float4 _EmissionMap_ST; + uniform float2 _EmissionPanSpeed; + uniform float _EmissionPan; + uniform sampler2D _EffectMask; + uniform float4 _EffectMask_ST; + uniform float2 _EmissionMaskPanSpeed; + uniform float _EmissionMaskPan; + uniform int _EmissionMaskingChannel; + uniform int _EmissionGlowZone; + uniform float _EmissionGlowPulseDir; + uniform float _EmissionGlowPulseScale; + uniform float _EmissionGlowPulseOffset; + uniform float _EmissionGlowAnimationStrength; + uniform int _EmissionGlowAnimationBand; + uniform int _EmissionGlowAnimationMode; + uniform int _EmissionGlowAnimationSpeed; + uniform float2 _EmissionGlowRadialCenter; + uniform int _EmissionGlowMode; + uniform float _EmissionGlowMinBrightness; + uniform float4 _EmissionGlowTint; + uniform int _EmissionReactiveBand; + uniform float _EmissionReactivePulseDir; + uniform float _EmissionReactivePulseScale; + uniform float _EmissionReactivePulseOffset; + uniform float2 _EmissionReactiveRadialCenter; + uniform int _EmissionReactiveMode; + uniform float _EmissionReactiveGlobalSmoothing; + uniform float _EmissionReactiveMinBrightness; + uniform float4 _EmissionReactiveTint; + uniform int _EmissionReactiveBlendMode; + uniform int _EmissionGlowBlendMode; + uniform int _IridescentMaskingChannel; + uniform float4 _IridescentEmissionColor1; + uniform float4 _IridescentEmissionColor2; + uniform float _IridescentALAnimationStrength; + uniform int _IridescentALAnimationBand; + uniform int _IridescentALAnimationMode; + uniform int _IridescentALAnimationSpeed; + uniform sampler2D _BumpMap; + uniform float _BumpScale; + uniform int _IridescentMode2; + uniform float _IridescentScale; + uniform float _IridescentOffset; + uniform float4 _IridescentEmissionColor3; + uniform float _IridescentIntensity; + uniform int _IridescentEmissionMode; + uniform float _Glossiness; + uniform sampler2D _MetallicGlossMap; + uniform float _GlossMapScale; + float4 _MetallicGlossMap_TexelSize; + uniform int _IridescenceLightMode; + uniform float _Enableiridescence; + uniform float4 _Color; + uniform sampler2D _OcclusionMap; + uniform float _OcclusionStrength; + uniform sampler2D _SpecGlossMap; + uniform float _Metallic; + uniform float _EnableSpecularMap; + uniform float4 _SparkleColor; + uniform float _SparkleScale; + uniform float _SparkleSize; + uniform float _SparkleSeed; + uniform float _SparkleSpeed; + uniform int _SparkleShape; + uniform int _SparkleMaskingChannel; + uniform float4 _SparkleGlowTint; + uniform int _SparkleGlowZone; + uniform float _SparkleGlowPulseDir; + uniform float _SparkleGlowPulseScale; + uniform float _SparkleGlowPulseOffset; + uniform float _SparkleGlowAnimationStrength; + uniform int _SparkleGlowAnimationBand; + uniform int _SparkleGlowAnimationMode; + uniform int _SparkleGlowAnimationSpeed; + uniform float2 _SparkleGlowRadialCenter; + uniform int _SparkleGlowMode; + uniform float _SparkleGlowMinBrightness; + uniform int _SparkleReactiveBand; + uniform float _SparkleReactivePulseDir; + uniform float _SparkleReactivePulseScale; + uniform float _SparkleReactivePulseOffset; + uniform float2 _SparkleReactiveRadialCenter; + uniform int _SparkleReactiveMode; + uniform float _SparkleReactiveGlobalSmoothing; + uniform float _SparkleReactiveMinBrightness; + uniform float4 _SparkleReactiveTint; + uniform int _SparkleReactiveBlendMode; + uniform int _SparkleBlendMode; + uniform int _SparkleMode; + uniform float _RainbowALAnimationStrength; + uniform int _RainbowALAnimationBand; + uniform int _RainbowALAnimationMode; + uniform int _RainbowALAnimationSpeed; + uniform float _RainbowRotation; + uniform float2 _RainbowRadialCenter; + uniform float _RainbowSpiralCurve; + uniform int _RainbowUVMode; + uniform float _RainbowScale; + uniform float _RainbowHueRange; + uniform float _RainbowHue; + uniform float _RainbowSaturation; + uniform float _RainbowValue; + uniform int _RainbowMaskingChannel; + uniform float _EnableScrollingRainbow; + uniform float4 _RimlightColor; + + + float SchlickGGX( float k, float NdotL, float NdotV ) + { + float L = (NdotL) / (NdotL * (1- k) + k); + float V = (NdotV) / (NdotV * (1-k) +k); + return L*V; + } + + + float3 BRDF( float3 N, float G, float F, float NdotL, float NdotV ) + { + return (N*G*F) / (4 * (NdotL*NdotV)); + } + + + float MixFunc( float i, float j, float x ) + { + return j*x+i*(1-x); + } + + + float SchlickFresnel( float i ) + { + float x = saturate(1-i); + float x2 = x*x; + return x2*x2*x; + } + + + float sdStar5( float2 p, float r, float rf ) + { + const float2 k1 = float2(0.809016994375, -0.587785252292); + const float2 k2 = float2(-k1.x,k1.y); + p.x = abs(p.x); + p -= 2.0*max(dot(k1,p),0.0)*k1; + p -= 2.0*max(dot(k2,p),0.0)*k2; + p.x = abs(p.x); + p.y -= r; + float2 ba = rf*float2(-k1.y,k1.x) - float2(0,1); + float h = clamp( dot(p,ba)/dot(ba,ba), 0.0, r ); + return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y); + } + + + float dot2( float2 a ) + { + return dot(a,a); + } + + + float sdHeart( float2 p ) + { + p.x = abs(p.x); + if( p.y+p.x>1.0 ) + return sqrt(dot2(p-float2(0.25,0.75))) - sqrt(2.0)/4.0; + return sqrt(min(dot2(p-float2(0.00,1.00)), + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y); + } + + + float3 getThemeData( int Zone ) + { + float3 result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2)); + return result; + } + + + float geometricRoughness( float3 WorldNormal ) + { + float3 nDdx = ddx_fine(WorldNormal); + float3 nDdy = ddy_fine(WorldNormal); + return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 ); + } + + + inline int IsLumaActive11_g5131( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5130( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5133( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5137( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g5124( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5124( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5124( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5132( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5136( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5134( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5135( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g5125( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5124( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5124( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5124( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5127( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5129( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g5139( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g5147( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5146( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5149( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5153( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g5140( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5140( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5140( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5148( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5152( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5150( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5151( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g5141( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5140( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5140( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5140( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5143( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5145( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g5155( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g5163( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5162( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5165( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5169( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g5156( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5156( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5156( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5164( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5168( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5166( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5167( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g5157( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5156( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5156( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5156( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5159( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5161( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g5171( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g5179( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5178( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5181( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5185( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g5172( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5172( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5172( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5180( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5184( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5182( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5183( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g5173( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5172( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5172( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5172( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5175( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5177( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g5187( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g5120( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g5119( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5122( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g5114( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g5121( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g5118( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g5116( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g5117( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g5109( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g5111( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g5113( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline float glslmod270_g5108( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g5123( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4906( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4909( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + int LightExists577( ) + { + int lightEnv = int(any(_WorldSpaceLightPos0.xyz)); + if(lightEnv != 1){ + return 0; + } + return 1; + } + + + float3 HSVToRGB( float3 c ) + { + float4 K = float4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); + float3 p = abs( frac( c.xxx + K.xyz ) * 6.0 - K.www ); + return c.z * lerp( K.xxx, saturate( p - K.xxx ), c.y ); + } + + + inline float ggx( float nh, float roughness ) + { + return GGXTerm(nh, roughness); + } + + + float3 RGBToHSV(float3 c) + { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp( float4( c.bg, K.wz ), float4( c.gb, K.xy ), step( c.b, c.g ) ); + float4 q = lerp( float4( p.xyw, c.r ), float4( c.r, p.yzx ), step( p.x, c.r ) ); + float d = q.x - min( q.w, q.y ); + float e = 1.0e-10; + return float3( abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); + } + + float2 voronoihash2_g4880( float2 p ) + { + + p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) ); + return frac( sin( p ) *43758.5453); + } + + + float voronoi2_g4880( float2 v, float time, inout float2 id, inout float2 mr, float smoothness, inout float2 smoothId ) + { + float2 n = floor( v ); + float2 f = frac( v ); + float F1 = 8.0; + float F2 = 8.0; float2 mg = 0; + for ( int j = -1; j <= 1; j++ ) + { + for ( int i = -1; i <= 1; i++ ) + { + float2 g = float2( i, j ); + float2 o = voronoihash2_g4880( n + g ); + o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o; + float d = 0.5 * dot( r, r ); + if( d x0.y ) ? float2( 1.0, 0.0 ) : float2( 0.0, 1.0 ); + float4 x12 = x0.xyxy + C.xxzz; + x12.xy -= i1; + i = mod2D289( i ); + float3 p = permute( permute( i.y + float3( 0.0, i1.y, 1.0 ) ) + i.x + float3( 0.0, i1.x, 1.0 ) ); + float3 m = max( 0.5 - float3( dot( x0, x0 ), dot( x12.xy, x12.xy ), dot( x12.zw, x12.zw ) ), 0.0 ); + m = m * m; + m = m * m; + float3 x = 2.0 * frac( p * C.www ) - 1.0; + float3 h = abs( x ) - 0.5; + float3 ox = floor( x + 0.5 ); + float3 a0 = x - ox; + m *= 1.79284291400159 - 0.85373472095314 * ( a0 * a0 + h * h ); + float3 g; + g.x = a0.x * x0.x + h.x * x0.y; + g.yz = a0.yz * x12.xz + h.yz * x12.yw; + return 130.0 * dot( m, g ); + } + + + inline int IsLumaActive11_g4890( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4889( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4892( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4896( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4891( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4895( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4893( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4894( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4884( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4886( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4888( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4898( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float IfAudioLinkv2Exists1_g4882( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float F0138( float NdotL, float NdotV, float LdotH, float roughness ) + { + float FresnelLight = SchlickFresnel(NdotL); + float FresnelView = SchlickFresnel(NdotV); + float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness; + return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView); + } + + + inline float3 getProbes( float4 uvw ) + { + return ShadeSH9(uvw); + } + + + inline int AudioLinkDecodeDataAsUInt6_g4902( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4903( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline half4 LightingStandardCustomLighting( inout SurfaceOutputCustomLightingCustom s, half3 viewDir, UnityGI gi ) + { + UnityGIInput data = s.GIData; + Input i = s.SurfInput; + half4 c = 0; + #ifdef UNITY_PASS_FORWARDBASE + float ase_lightAtten = data.atten; + if( _LightColor0.a == 0) + ase_lightAtten = 0; + #else + float3 ase_lightAttenRGB = gi.light.color / ( ( _LightColor0.rgb ) + 0.000001 ); + float ase_lightAtten = max( max( ase_lightAttenRGB.r, ase_lightAttenRGB.g ), ase_lightAttenRGB.b ); + #endif + #if defined(HANDLE_SHADOWS_BLENDING_IN_GI) + half bakedAtten = UnitySampleBakedOcclusion(data.lightmapUV.xy, data.worldPos); + float zDist = dot(_WorldSpaceCameraPos - data.worldPos, UNITY_MATRIX_V[2].xyz); + float fadeDist = UnityComputeShadowFadeDistance(data.worldPos, zDist); + ase_lightAtten = UnityMixRealtimeAndBakedShadows(data.atten, bakedAtten, UnityComputeShadowFade(fadeDist)); + #endif + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float Alpha1147 = ( MainTex224.a * _Color.a ); + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 indirectNormal151 = worldNorm31; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float Occlusion272 = pow( tex2D( _OcclusionMap, uv_MainTex ).g , _OcclusionStrength ); + Unity_GlossyEnvironmentData g151 = UnityGlossyEnvironmentSetup( Smoothness90, data.worldViewDir, indirectNormal151, float3(0,0,0)); + float3 indirectSpecular151 = UnityGI_IndirectSpecular( data, Occlusion272, indirectNormal151, g151 ); + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float temp_output_208_0 = ( 1.0 - ( Smoothness90 * Smoothness90 ) ); + float temp_output_200_0 = max( ( 1.0 - ( temp_output_208_0 * temp_output_208_0 * temp_output_208_0 ) ) , 0.1 ); + float fresnelNdotV161 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode161 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV161, 4.0 ) ); + float smoothstepResult480 = smoothstep( 0.0 , 0.35 , fresnelNode161); + float IndirectAlpha1165 = saturate( ( 0.01 + smoothstepResult480 ) ); + float4 temp_cast_240 = (IndirectAlpha1165).xxxx; + float4 SpecularTex394 = ( tex2D( _SpecGlossMap, uv_MainTex ) * _SpecColor ); + float4 MainTex147_g4905 = MainTex224; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 temp_output_21_0_g4905 = Normal243; + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (ase_lightAtten*0.5 + 0.5) , ase_lightAtten , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float4 Colors149_g4905 = lerpResult32_g4905; + float3 hsvTorgb86_g4905 = RGBToHSV( Colors149_g4905.rgb ); + float3 hsvTorgb85_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb87_g4905 = HSVToRGB( float3(hsvTorgb86_g4905.x,hsvTorgb85_g4905.y,hsvTorgb85_g4905.z) ); + float Intensity132_g4905 = _IridescentIntensity; + float4 lerpResult205_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb87_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + int ModeTransferSat145_g4905 = temp_output_91_0_g4905; + float4 lerpResult92_g4905 = lerp( MainTex147_g4905 , ( lerpResult205_g4905 * max( Intensity132_g4905 , 1.0 ) ) , (float)ModeTransferSat145_g4905); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb99_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb100_g4905 = HSVToRGB( float3(( AnimatedDot130_g4905 + hsvTorgb99_g4905.x ),hsvTorgb99_g4905.y,hsvTorgb99_g4905.y) ); + float4 lerpResult199_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb100_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Holographic153_g4905 = ( lerpResult199_g4905 * max( Intensity132_g4905 , 1.0 ) ); + int ModeTransfer143_g4905 = temp_output_90_0_g4905; + int temp_output_97_0_g4905 = ( ModeTransfer143_g4905 - 1 ); + float4 lerpResult96_g4905 = lerp( lerpResult92_g4905 , Holographic153_g4905 , (float)saturate( temp_output_97_0_g4905 )); + float3 hsvTorgb124_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb126_g4905 = HSVToRGB( float3(( hsvTorgb124_g4905.x + AnimatedDot130_g4905 ),hsvTorgb124_g4905.y,hsvTorgb124_g4905.z) ); + float4 lerpResult203_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb126_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Hueshift152_g4905 = ( lerpResult203_g4905 * max( Intensity132_g4905 , 1.0 ) ); + float4 lerpResult127_g4905 = lerp( lerpResult96_g4905 , Hueshift152_g4905 , (float)saturate( ( temp_output_97_0_g4905 - 1 ) )); + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult227_g4905 = lerp( MainTex147_g4905 , lerpResult127_g4905 , temp_output_233_0_g4905); + float4 lerpResult236_g4905 = lerp( lerpResult127_g4905 , lerpResult227_g4905 , (float)temp_output_225_0_g4905); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + float EffectMask140_g4905 = temp_output_55_0_g4905; + float4 lerpResult95_g4905 = lerp( MainTex147_g4905 , lerpResult236_g4905 , EffectMask140_g4905); + float4 lerpResult248_g4905 = lerp( MainTex147_g4905 , lerpResult95_g4905 , _Enableiridescence); + float4 IridescentMainTex1049 = lerpResult248_g4905; + float4 temp_output_227_0 = ( _Color * IridescentMainTex1049 ); + float MetallticFromTex247 = tex2DNode246.r; + float metallic46 = ( _Metallic * MetallticFromTex247 ); + half3 specColor163 = (0).xxx; + half oneMinusReflectivity163 = 0; + half3 diffuseAndSpecularFromMetallic163 = DiffuseAndSpecularFromMetallic(temp_output_227_0.rgb,metallic46,specColor163,oneMinusReflectivity163); + float lerpResult401 = lerp( 1.0 , metallic46 , _EnableSpecularMap); + float4 lerpResult381 = lerp( SpecularTex394 , float4( specColor163 , 0.0 ) , lerpResult401); + float4 specColor44 = ( lerpResult381 * SmoothnessColorMult1144 ); + float4 temp_cast_264 = (1.0).xxxx; + float fresnelNdotV202 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode202 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV202, 5.0 ) ); + float smoothstepResult482 = smoothstep( 0.0 , 0.35 , fresnelNode202); + float4 lerpResult213 = lerp( specColor44 , temp_cast_264 , saturate( smoothstepResult482 )); + float4 lerpResult204 = lerp( temp_cast_240 , lerpResult213 , metallic46); + float4 IndirectSpecular158 = ( float4( indirectSpecular151 , 0.0 ) * lerpResult204 * ( Smoothness90 * Smoothness90 ) ); + float3 diffuse23 = diffuseAndSpecularFromMetallic163; + float Opacity1155 = 1.0; + float smoothstepResult436 = smoothstep( saturate( ( -0.4 + 0.48 ) ) , saturate( ( -0.4 + ( 1.0 - 0.48 ) ) ) , localggx413); + float temp_output_452_0 = ( smoothstepResult436 * Smoothness90 ); + float smoothstepResult469 = smoothstep( 0.8 , 1.0 , Smoothness90); + float ToonSpecular444 = ( temp_output_452_0 + ( smoothstepResult469 * 5.0 * temp_output_452_0 ) ); + float4 ColoredSpec987 = ( saturate( ( 1.2 * specColor44 ) ) * ToonSpecular444 ); + float3 temp_output_125_0_g4880 = ColoredSpec987.rgb; + float3 SpecularIN194_g4880 = temp_output_125_0_g4880; + float time2_g4880 = 0.0; + float2 voronoiSmoothId2_g4880 = 0; + float2 coords2_g4880 = i.uv_texcoord * _SparkleScale; + float2 id2_g4880 = 0; + float2 uv2_g4880 = 0; + float voroi2_g4880 = voronoi2_g4880( coords2_g4880, time2_g4880, id2_g4880, uv2_g4880, 0, voronoiSmoothId2_g4880 ); + float2 ID44_g4880 = id2_g4880; + float2 break71_g4880 = ( ID44_g4880 * float2( 360,360 ) ); + float cos68_g4880 = cos( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float sin68_g4880 = sin( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float2 rotator68_g4880 = mul( uv2_g4880 - float2( 0,0 ) , float2x2( cos68_g4880 , -sin68_g4880 , sin68_g4880 , cos68_g4880 )) + float2( 0,0 ); + float2 UV45_g4880 = rotator68_g4880; + float mulTime14_g4880 = _Time.y * _SparkleSpeed; + float simplePerlin2D37_g4880 = snoise( ( ( ID44_g4880 * _SparkleSeed ) + mulTime14_g4880 ) ); + simplePerlin2D37_g4880 = simplePerlin2D37_g4880*0.5 + 0.5; + float Noise50_g4880 = ( _SparkleSize * simplePerlin2D37_g4880 ); + float smoothstepResult31_g4880 = smoothstep( 0.2 , 0.1 , ( length( UV45_g4880 ) - (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )); + float Sphere52_g4880 = smoothstepResult31_g4880; + float2 temp_cast_268 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 temp_output_54_0_g4880 = ( abs( UV45_g4880 ) - temp_cast_268 ); + float2 temp_cast_269 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 break59_g4880 = temp_output_54_0_g4880; + float smoothstepResult62_g4880 = smoothstep( 0.01 , 0.0 , ( length( max( temp_output_54_0_g4880 , float2( 0,0 ) ) ) + min( max( break59_g4880.x , break59_g4880.y ) , 0.0 ) )); + float Square63_g4880 = smoothstepResult62_g4880; + float lerpResult111_g4880 = lerp( Sphere52_g4880 , Square63_g4880 , (float)saturate( _SparkleShape )); + float2 p73_g4880 = UV45_g4880; + float r73_g4880 = (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)); + float rf73_g4880 = 0.25; + float localsdStar573_g4880 = sdStar5( p73_g4880 , r73_g4880 , rf73_g4880 ); + float smoothstepResult79_g4880 = smoothstep( 0.01 , 0.0 , localsdStar573_g4880); + float Star80_g4880 = smoothstepResult79_g4880; + int temp_output_114_0_g4880 = ( _SparkleShape - 1 ); + float lerpResult112_g4880 = lerp( lerpResult111_g4880 , Star80_g4880 , (float)saturate( temp_output_114_0_g4880 )); + float temp_output_99_0_g4880 = (-0.25 + (Noise50_g4880 - 0.0) * (0.0 - -0.25) / (1.0 - 0.0)); + float2 p85_g4880 = ( UV45_g4880 * 2.15 ); + float localsdHeart85_g4880 = sdHeart( p85_g4880 ); + float smoothstepResult91_g4880 = smoothstep( ( temp_output_99_0_g4880 + 0.01 ) , temp_output_99_0_g4880 , ( localsdHeart85_g4880 / 2.15 )); + float Heart90_g4880 = smoothstepResult91_g4880; + float lerpResult113_g4880 = lerp( lerpResult112_g4880 , Heart90_g4880 , (float)saturate( ( temp_output_114_0_g4880 - 1 ) )); + float4 temp_output_2_0_g4871 = EffectMaskRGBA871; + float4 break120_g4880 = temp_output_2_0_g4871; + int temp_output_18_0_g4881 = _SparkleMaskingChannel; + float lerpResult1_g4881 = lerp( 1.0 , break120_g4880.r , (float)saturate( temp_output_18_0_g4881 )); + int temp_output_5_0_g4881 = ( temp_output_18_0_g4881 - 1 ); + float lerpResult12_g4881 = lerp( lerpResult1_g4881 , break120_g4880.g , (float)saturate( temp_output_5_0_g4881 )); + int temp_output_6_0_g4881 = ( temp_output_5_0_g4881 - 1 ); + float lerpResult10_g4881 = lerp( lerpResult12_g4881 , break120_g4880.b , (float)saturate( temp_output_6_0_g4881 )); + float lerpResult11_g4881 = lerp( lerpResult10_g4881 , break120_g4880.a , (float)saturate( ( temp_output_6_0_g4881 - 1 ) )); + float SparkleAlpha129_g4880 = ( lerpResult113_g4880 * lerpResult11_g4881 ); + float4 temp_cast_278 = (1.0).xxxx; + float4 temp_cast_280 = (1.0).xxxx; + float3 temp_cast_281 = (1.0).xxx; + int EmissionGlowZone47_g4883 = _SparkleGlowZone; + int clampResult8_g4889 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4889 = ( clampResult8_g4889 - 1 ); + int Zone16_g4889 = temp_output_3_0_g4889; + float3 localgetThemeData16_g4889 = getThemeData( Zone16_g4889 ); + int Band11_g4890 = 56; + int localIsLumaActive11_g4890 = IsLumaActive11_g4890( Band11_g4890 ); + int temp_output_14_0_g4889 = localIsLumaActive11_g4890; + int lerpResult15_g4889 = lerp( temp_output_3_0_g4889 , ( 63 - temp_output_3_0_g4889 ) , (float)temp_output_14_0_g4889); + int Band2_g4889 = lerpResult15_g4889; + int Delay2_g4889 = 0; + float3 localLumaGlowData2_g4889 = LumaGlowData2_g4889( Band2_g4889 , Delay2_g4889 ); + float3 lerpResult17_g4889 = lerp( ( localgetThemeData16_g4889 * localLumaGlowData2_g4889 ) , localLumaGlowData2_g4889 , (float)temp_output_14_0_g4889); + int temp_output_21_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float3 lerpResult20_g4883 = lerp( temp_cast_281 , lerpResult17_g4889 , (float)temp_output_21_0_g4883); + float3 temp_cast_285 = (1.0).xxx; + int clampResult8_g4891 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4891 = ( clampResult8_g4891 - 1 ); + int Zone15_g4891 = temp_output_3_0_g4891; + float3 localgetThemeData15_g4891 = getThemeData( Zone15_g4891 ); + int Band11_g4892 = 56; + int localIsLumaActive11_g4892 = IsLumaActive11_g4892( Band11_g4892 ); + int temp_output_13_0_g4891 = localIsLumaActive11_g4892; + int lerpResult14_g4891 = lerp( temp_output_3_0_g4891 , ( 63 - temp_output_3_0_g4891 ) , (float)temp_output_13_0_g4891); + int Band11_g4891 = lerpResult14_g4891; + float cos6_g4883 = cos( radians( _SparkleGlowPulseDir ) ); + float sin6_g4883 = sin( radians( _SparkleGlowPulseDir ) ); + float2 rotator6_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4883 , -sin6_g4883 , sin6_g4883 , cos6_g4883 )) + float2( 0.5,0.5 ); + int Band6_g4896 = _SparkleGlowAnimationBand; + int Mode6_g4896 = ( ( _SparkleGlowAnimationMode * 2 ) + _SparkleGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4896 = AudioLinkDecodeDataAsUInt6_g4896( Band6_g4896 , Mode6_g4896 ); + float localGetLocalTime2_g4897 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4883 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4896 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4897 , (float)saturate( ( _SparkleGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4883 = ( _SparkleGlowAnimationStrength * lerpResult206_g4883 * step( _SparkleGlowAnimationBand , 9 ) ); + float x13_g4883 = ( ( rotator6_g4883.x * _SparkleGlowPulseScale ) + _SparkleGlowPulseOffset + EmissionGlowAnimation195_g4883 ); + float y13_g4883 = 127.0; + float localglslmod13_g4883 = glslmod13_g4883( x13_g4883 , y13_g4883 ); + float2 CenteredUV15_g4885 = ( i.uv_texcoord - _SparkleGlowRadialCenter ); + float2 break17_g4885 = CenteredUV15_g4885; + float2 appendResult23_g4885 = (float2(( length( CenteredUV15_g4885 ) * _SparkleGlowPulseScale * 2.0 ) , ( atan2( break17_g4885.x , break17_g4885.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4883 = ( _SparkleGlowPulseOffset + appendResult23_g4885.x + EmissionGlowAnimation195_g4883 ); + float y12_g4883 = 127.0; + float localglslmod12_g4883 = glslmod12_g4883( x12_g4883 , y12_g4883 ); + int EmissionGlowMode35_g4883 = _SparkleGlowMode; + int temp_output_37_0_g4883 = ( EmissionGlowMode35_g4883 - 1 ); + float lerpResult5_g4883 = lerp( localglslmod13_g4883 , localglslmod12_g4883 , (float)saturate( temp_output_37_0_g4883 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g5107 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionMap1031 = Direction27_g5107; + float temp_output_23_0_g4871 = DirectionMap1031; + float DirectionalMap106_g4883 = temp_output_23_0_g4871; + float lerpResult179_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionGlowMode35_g4883 - 3 ) )); + float x34_g4883 = ( _SparkleGlowPulseOffset + ( _SparkleGlowPulseScale * lerpResult179_g4883 ) + EmissionGlowAnimation195_g4883 ); + float y34_g4883 = 127.0; + float localglslmod34_g4883 = glslmod34_g4883( x34_g4883 , y34_g4883 ); + float lerpResult30_g4883 = lerp( lerpResult5_g4883 , localglslmod34_g4883 , (float)saturate( ( temp_output_37_0_g4883 - 1 ) )); + float EmissionGlowDelay56_g4883 = lerpResult30_g4883; + float Delay11_g4891 = EmissionGlowDelay56_g4883; + float3 localLumaGlowLerp11_g4891 = LumaGlowLerp11_g4891( Band11_g4891 , Delay11_g4891 ); + float3 lerpResult17_g4891 = lerp( ( localgetThemeData15_g4891 * localLumaGlowLerp11_g4891 ) , localLumaGlowLerp11_g4891 , (float)temp_output_13_0_g4891); + float3 lerpResult22_g4883 = lerp( temp_cast_285 , lerpResult17_g4891 , (float)temp_output_21_0_g4883); + float3 lerpResult23_g4883 = lerp( lerpResult20_g4883 , lerpResult22_g4883 , (float)saturate( EmissionGlowMode35_g4883 )); + float4 temp_cast_295 = (1.0).xxxx; + float temp_output_10_0_g4893 = EmissionGlowDelay56_g4883; + float Position1_g4895 = ( temp_output_10_0_g4893 / 127.0 ); + float4 localAudioLinkLerp1_g4895 = AudioLinkLerp1_g4895( Position1_g4895 ); + int clampResult8_g4893 = clamp( ( EmissionGlowZone47_g4883 - 4 ) , 1 , 3 ); + int Band11_g4893 = ( 59 - ( clampResult8_g4893 - 1 ) ); + float Delay11_g4893 = temp_output_10_0_g4893; + float3 localLumaGlowLerp11_g4893 = LumaGlowLerp11_g4893( Band11_g4893 , Delay11_g4893 ); + int Band11_g4894 = 56; + int localIsLumaActive11_g4894 = IsLumaActive11_g4894( Band11_g4894 ); + float4 lerpResult14_g4893 = lerp( localAudioLinkLerp1_g4895 , float4( localLumaGlowLerp11_g4893 , 0.0 ) , (float)localIsLumaActive11_g4894); + float4 lerpResult52_g4883 = lerp( temp_cast_295 , lerpResult14_g4893 , (float)saturate( EmissionGlowZone47_g4883 )); + float4 lerpResult51_g4883 = lerp( float4( lerpResult23_g4883 , 0.0 ) , lerpResult52_g4883 , (float)saturate( ( EmissionGlowZone47_g4883 - 4 ) )); + float4 temp_cast_300 = (_SparkleGlowMinBrightness).xxxx; + float4 temp_cast_301 = (( _SparkleGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float4 EmissionGlow142_g4883 = ( (temp_cast_300 + (lerpResult51_g4883 - float4( 0,0,0,0 )) * (temp_cast_301 - temp_cast_300) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _SparkleGlowTint * temp_output_258_0_g4883 ); + float4 lerpResult261_g4883 = lerp( temp_cast_280 , EmissionGlow142_g4883 , (float)temp_output_258_0_g4883); + float4 EmissionGlowTog262_g4883 = lerpResult261_g4883; + int EmissionReactiveBand243_g4883 = _SparkleReactiveBand; + int Band3_g4884 = EmissionReactiveBand243_g4883; + int Delay3_g4884 = 0; + float localAudioLinkData3_g4884 = AudioLinkData3_g4884( Band3_g4884 , Delay3_g4884 ); + int temp_output_64_0_g4883 = step( _SparkleReactiveBand , 9 ); + float lerpResult66_g4883 = lerp( 1.0 , localAudioLinkData3_g4884 , (float)temp_output_64_0_g4883); + int Band3_g4886 = _SparkleReactiveBand; + float cos78_g4883 = cos( radians( _SparkleReactivePulseDir ) ); + float sin78_g4883 = sin( radians( _SparkleReactivePulseDir ) ); + float2 rotator78_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4883 , -sin78_g4883 , sin78_g4883 , cos78_g4883 )) + float2( 0.5,0.5 ); + float x96_g4883 = ( ( rotator78_g4883.x * _SparkleReactivePulseScale ) + _SparkleReactivePulseOffset ); + float y96_g4883 = 127.0; + float localglslmod96_g4883 = glslmod96_g4883( x96_g4883 , y96_g4883 ); + float2 CenteredUV15_g4887 = ( i.uv_texcoord - _SparkleReactiveRadialCenter ); + float2 break17_g4887 = CenteredUV15_g4887; + float2 appendResult23_g4887 = (float2(( length( CenteredUV15_g4887 ) * _SparkleReactivePulseScale * 2.0 ) , ( atan2( break17_g4887.x , break17_g4887.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4883 = ( _SparkleReactivePulseOffset + appendResult23_g4887.x ); + float y97_g4883 = 127.0; + float localglslmod97_g4883 = glslmod97_g4883( x97_g4883 , y97_g4883 ); + int EmissionReactiveMode99_g4883 = _SparkleReactiveMode; + int temp_output_90_0_g4883 = ( EmissionReactiveMode99_g4883 - 1 ); + float lerpResult77_g4883 = lerp( localglslmod96_g4883 , localglslmod97_g4883 , (float)saturate( temp_output_90_0_g4883 )); + float lerpResult174_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionReactiveMode99_g4883 - 3 ) )); + float x98_g4883 = ( _SparkleReactivePulseOffset + ( _SparkleReactivePulseScale * lerpResult174_g4883 ) ); + float y98_g4883 = 127.0; + float localglslmod98_g4883 = glslmod98_g4883( x98_g4883 , y98_g4883 ); + float lerpResult87_g4883 = lerp( lerpResult77_g4883 , localglslmod98_g4883 , (float)saturate( ( temp_output_90_0_g4883 - 1 ) )); + float Delay3_g4886 = lerpResult87_g4883; + float localAudioLinkLerp3_g4886 = AudioLinkLerp3_g4886( Band3_g4886 , Delay3_g4886 ); + float lerpResult102_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4886 , (float)temp_output_64_0_g4883); + float lerpResult103_g4883 = lerp( lerpResult66_g4883 , lerpResult102_g4883 , (float)saturate( EmissionReactiveMode99_g4883 )); + int Band3_g4888 = _SparkleReactiveBand; + float FilteredAmount3_g4888 = ( ( 1.0 - _SparkleReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4888 = AudioLinkLerp3_g4888( Band3_g4888 , FilteredAmount3_g4888 ); + float lerpResult168_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4888 , (float)temp_output_64_0_g4883); + float lerpResult172_g4883 = lerp( lerpResult103_g4883 , lerpResult168_g4883 , (float)saturate( ( EmissionReactiveMode99_g4883 - 4 ) )); + float ReactivityAlpha132_g4883 = (_SparkleReactiveMinBrightness + (lerpResult172_g4883 - 0.0) * (( _SparkleReactiveMinBrightness + 1.0 ) - _SparkleReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_312 = (1.0).xxxx; + float4 lerpResult268_g4883 = lerp( temp_cast_312 , _SparkleReactiveTint , (float)step( EmissionReactiveBand243_g4883 , 9 )); + float4 FinalReactivity68_g4883 = ( ReactivityAlpha132_g4883 * lerpResult268_g4883 ); + float4 lerpResult146_g4883 = lerp( ( EmissionGlowTog262_g4883 * FinalReactivity68_g4883 ) , ( EmissionGlow142_g4883 + FinalReactivity68_g4883 ) , (float)saturate( _SparkleReactiveBlendMode )); + float4 ReversedReactivity152_g4883 = ( ( 1.0 - ReactivityAlpha132_g4883 ) * lerpResult268_g4883 ); + int temp_output_157_0_g4883 = ( _SparkleReactiveBlendMode - 1 ); + float4 lerpResult114_g4883 = lerp( lerpResult146_g4883 , ( EmissionGlowTog262_g4883 * ReversedReactivity152_g4883 ) , (float)saturate( temp_output_157_0_g4883 )); + int temp_output_255_0_g4883 = step( EmissionReactiveBand243_g4883 , 9 ); + float4 lerpResult164_g4883 = lerp( lerpResult114_g4883 , ( EmissionGlow142_g4883 + ( ReversedReactivity152_g4883 * temp_output_255_0_g4883 ) ) , (float)max( saturate( ( temp_output_157_0_g4883 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4883 , 9 ) ) )); + float4 lerpResult280_g4883 = lerp( _SparkleGlowTint , lerpResult164_g4883 , (float)max( temp_output_255_0_g4883 , saturate( EmissionGlowZone47_g4883 ) )); + float localIfAudioLinkv2Exists1_g4898 = IfAudioLinkv2Exists1_g4898(); + float4 lerpResult275_g4883 = lerp( temp_cast_278 , ( lerpResult280_g4883 * SparkleAlpha129_g4880 ) , localIfAudioLinkv2Exists1_g4898); + float localIfAudioLinkv2Exists1_g4882 = IfAudioLinkv2Exists1_g4882(); + float4 lerpResult172_g4880 = lerp( ( _SparkleColor * SparkleAlpha129_g4880 ) , lerpResult275_g4883 , localIfAudioLinkv2Exists1_g4882); + float4 Sparkles152_g4880 = lerpResult172_g4880; + float4 lerpResult190_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_125_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_125_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 SpecularSparkles142_g4880 = lerpResult190_g4880; + int temp_output_133_0_g4880 = saturate( _SparkleMode ); + float4 lerpResult127_g4880 = lerp( float4( SpecularIN194_g4880 , 0.0 ) , SpecularSparkles142_g4880 , (float)temp_output_133_0_g4880); + int temp_output_137_0_g4880 = ( _SparkleMode - 1 ); + float4 lerpResult198_g4880 = lerp( lerpResult127_g4880 , float4( SpecularIN194_g4880 , 0.0 ) , (float)saturate( temp_output_137_0_g4880 )); + int temp_output_150_0_g4880 = ( temp_output_137_0_g4880 - 1 ); + int temp_output_151_0_g4880 = saturate( temp_output_150_0_g4880 ); + float4 lerpResult149_g4880 = lerp( lerpResult198_g4880 , SpecularSparkles142_g4880 , (float)temp_output_151_0_g4880); + int temp_output_160_0_g4880 = saturate( ( temp_output_150_0_g4880 - 1 ) ); + float4 lerpResult153_g4880 = lerp( lerpResult149_g4880 , SpecularSparkles142_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch173_g4880 = lerpResult153_g4880; + #else + float4 staticSwitch173_g4880 = float4( SpecularIN194_g4880 , 0.0 ); + #endif + float4 SpecEffects1117 = staticSwitch173_g4880; + float3 N123 = SpecEffects1117.xyz; + float k379 = roughness17; + float dotResult14 = dot( worldNorm31 , lightDir32 ); + float NdotL39 = max( dotResult14 , 0.0 ); + float smoothstepResult460 = smoothstep( 0.125 , 0.15 , NdotL39); + float lerpResult636 = lerp( (smoothstepResult460*0.5 + 0.5) , smoothstepResult460 , _WorldSpaceLightPos0.w); + float ToonNdotL514 = lerpResult636; + float NdotL379 = ToonNdotL514; + float dotResult24 = dot( worldNorm31 , viewDir29 ); + float NdotV11 = max( dotResult24 , 0.0 ); + float NdotV379 = NdotV11; + float localSchlickGGX379 = SchlickGGX( k379 , NdotL379 , NdotV379 ); + float G123 = localSchlickGGX379; + float NdotL138 = ToonNdotL514; + float smoothstepResult461 = smoothstep( 0.0 , 0.25 , NdotV11); + float ToonNdotV565 = smoothstepResult461; + float NdotV138 = ToonNdotV565; + float LdotH138 = NdotH38; + float roughness138 = roughness17; + float localF0138 = F0138( NdotL138 , NdotV138 , LdotH138 , roughness138 ); + float F123 = localF0138; + float NdotL123 = lerpResult636; + float NdotV123 = NdotV11; + float3 localBRDF123 = BRDF( N123 , G123 , F123 , NdotL123 , NdotV123 ); + float3 temp_cast_331 = (0.001).xxx; + float4 appendResult511 = (float4(-lightDir32 , 1.0)); + float4 uvw501 = appendResult511; + float3 localgetProbes501 = getProbes( uvw501 ); + float4 appendResult517 = (float4(lightDir32 , 1.0)); + float4 uvw518 = appendResult517; + float3 localgetProbes518 = getProbes( uvw518 ); + float3 lerpResult520 = lerp( ( localgetProbes501 * 0.65 ) , localgetProbes518 , ( ToonNdotL514 * Attenuation533 )); + float3 ToonAmbience521 = lerpResult520; + float4 lerpResult578 = lerp( float4( ToonAmbience521 , 0.0 ) , ase_lightColor , temp_output_576_0); + float4 InitialLightColor589 = ( lerpResult578 * Attenuation533 ); + float4 lightColor45 = InitialLightColor589; + float4 BRDF219 = ( float4( ( ( diffuse23 * Occlusion272 * Opacity1155 ) + ( max( localBRDF123 , temp_cast_331 ) * smoothstepResult460 * Attenuation533 ) ) , 0.0 ) * ( float4( ToonAmbience521 , 0.0 ) + ( lightColor45 * ToonNdotL514 ) ) ); + float4 lerpResult182_g4880 = lerp( Sparkles152_g4880 , float4( 0,0,0,0 ) , (float)temp_output_133_0_g4880); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch177_g4880 = Sparkles152_g4880; + #else + float4 staticSwitch177_g4880 = float4( 0,0,0,0 ); + #endif + float4 lerpResult185_g4880 = lerp( lerpResult182_g4880 , staticSwitch177_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch178_g4880 = lerpResult185_g4880; + #else + float4 staticSwitch178_g4880 = float4( 0,0,0,0 ); + #endif + int Band6_g4902 = _RainbowALAnimationBand; + int Mode6_g4902 = ( ( _RainbowALAnimationMode * 2 ) + _RainbowALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4902 = AudioLinkDecodeDataAsUInt6_g4902( Band6_g4902 , Mode6_g4902 ); + float localGetNetworkTime4_g4904 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4903 = IfAudioLinkv2Exists1_g4903(); + float temp_output_95_0_g4899 = localIfAudioLinkv2Exists1_g4903; + float lerpResult94_g4899 = lerp( _Time.y , localGetNetworkTime4_g4904 , temp_output_95_0_g4899); + float lerpResult66_g4899 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4902 % 628319 ) / 100000.0 ) * step( _RainbowALAnimationBand , 9 ) ) , lerpResult94_g4899 , (float)saturate( ( _RainbowALAnimationMode - 3 ) )); + float lerpResult96_g4899 = lerp( _Time.y , lerpResult66_g4899 , temp_output_95_0_g4899); + float EmissionGlowAnimation67_g4899 = ( _RainbowALAnimationStrength * lerpResult96_g4899 ); + float cos45_g4899 = cos( radians( _RainbowRotation ) ); + float sin45_g4899 = sin( radians( _RainbowRotation ) ); + float2 rotator45_g4899 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos45_g4899 , -sin45_g4899 , sin45_g4899 , cos45_g4899 )) + float2( 0.5,0.5 ); + float2 CenteredUV15_g4901 = ( i.uv_texcoord - _RainbowRadialCenter ); + float2 break17_g4901 = CenteredUV15_g4901; + float2 appendResult23_g4901 = (float2(( length( CenteredUV15_g4901 ) * _RainbowSpiralCurve * 2.0 ) , ( atan2( break17_g4901.x , break17_g4901.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float2 break50_g4899 = appendResult23_g4901; + float lerpResult49_g4899 = lerp( rotator45_g4899.x , break50_g4899.x , (float)saturate( _RainbowUVMode )); + int temp_output_60_0_g4899 = ( _RainbowUVMode - 1 ); + float lerpResult63_g4899 = lerp( lerpResult49_g4899 , ( break50_g4899.x + ( break50_g4899.y * ( 2.0 * UNITY_PI ) ) ) , (float)saturate( temp_output_60_0_g4899 )); + float temp_output_85_0_g4899 = temp_output_23_0_g4871; + int temp_output_81_0_g4899 = ( temp_output_60_0_g4899 - 1 ); + float lerpResult79_g4899 = lerp( lerpResult63_g4899 , temp_output_85_0_g4899 , (float)saturate( temp_output_81_0_g4899 )); + float lerpResult80_g4899 = lerp( lerpResult79_g4899 , ( 1.0 - temp_output_85_0_g4899 ) , (float)saturate( ( temp_output_81_0_g4899 - 1 ) )); + float temp_output_24_0_g4899 = ( ( 1.0 - _RainbowHueRange ) * 0.5 ); + float3 hsvTorgb3_g4899 = HSVToRGB( float3(( (temp_output_24_0_g4899 + (sin( ( EmissionGlowAnimation67_g4899 + ( lerpResult80_g4899 * _RainbowScale ) ) ) - -1.0) * (( 1.0 - temp_output_24_0_g4899 ) - temp_output_24_0_g4899) / (1.0 - -1.0)) + _RainbowHue ),_RainbowSaturation,_RainbowValue) ); + float4 EffectMaskRGBA8_g4871 = temp_output_2_0_g4871; + float4 break38_g4899 = EffectMaskRGBA8_g4871; + int temp_output_18_0_g4900 = _RainbowMaskingChannel; + float lerpResult1_g4900 = lerp( 1.0 , break38_g4899.r , (float)saturate( temp_output_18_0_g4900 )); + int temp_output_5_0_g4900 = ( temp_output_18_0_g4900 - 1 ); + float lerpResult12_g4900 = lerp( lerpResult1_g4900 , break38_g4899.g , (float)saturate( temp_output_5_0_g4900 )); + int temp_output_6_0_g4900 = ( temp_output_5_0_g4900 - 1 ); + float lerpResult10_g4900 = lerp( lerpResult12_g4900 , break38_g4899.b , (float)saturate( temp_output_6_0_g4900 )); + float lerpResult11_g4900 = lerp( lerpResult10_g4900 , break38_g4899.a , (float)saturate( ( temp_output_6_0_g4900 - 1 ) )); + float3 lerpResult98_g4899 = lerp( float3( 0,0,0 ) , ( hsvTorgb3_g4899 * lerpResult11_g4900 ) , _EnableScrollingRainbow); + #ifdef UNITY_PASS_FORWARDBASE + float3 staticSwitch35_g4871 = lerpResult98_g4899; + #else + float3 staticSwitch35_g4871 = float3( 0,0,0 ); + #endif + float dotResult617 = dot( worldNorm31 , lightDir32 ); + float dotResult610 = dot( worldNorm31 , float3(0,1,0) ); + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch625 = max( ( dotResult610 + 0.5 ) , 0.0 ); + #else + float staticSwitch625 = 1.0; + #endif + float4 Rimlighting557 = ( max( -dotResult617 , 0.0 ) * temp_output_547_0 * ( ( lightColor45 + float4( ToonAmbience521 , 0.0 ) ) / 2.0 ) * _RimlightColor * specColor44 * staticSwitch625 * SpecularAntiAlias851 ); + float3 temp_output_126_0_g4880 = Rimlighting557.rgb; + float3 RimlightIN195_g4880 = temp_output_126_0_g4880; + float4 lerpResult191_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_126_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_126_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 RimlightSparkles143_g4880 = lerpResult191_g4880; + float4 lerpResult136_g4880 = lerp( float4( RimlightIN195_g4880 , 0.0 ) , RimlightSparkles143_g4880 , (float)saturate( temp_output_137_0_g4880 )); + float4 lerpResult181_g4880 = lerp( lerpResult136_g4880 , RimlightSparkles143_g4880 , (float)temp_output_151_0_g4880); + float4 lerpResult183_g4880 = lerp( lerpResult181_g4880 , RimlightSparkles143_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch187_g4880 = lerpResult183_g4880; + #else + float4 staticSwitch187_g4880 = float4( RimlightIN195_g4880 , 0.0 ); + #endif + float4 RimlightEffects1118 = staticSwitch187_g4880; + c.rgb = ( IndirectSpecular158 + BRDF219 + ( staticSwitch178_g4880 + float4( staticSwitch35_g4871 , 0.0 ) ) + RimlightEffects1118 ).rgb; + c.a = 1; + clip( Alpha1147 - _MaskClipValue ); + return c; + } + + inline void LightingStandardCustomLighting_GI( inout SurfaceOutputCustomLightingCustom s, UnityGIInput data, inout UnityGI gi ) + { + s.GIData = data; + } + + void surf( Input i , inout SurfaceOutputCustomLightingCustom o ) + { + o.SurfInput = i; + o.Normal = float3(0,0,1); + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + o.Albedo = MainTex224.rgb; + float4 temp_cast_1 = (1.0).xxxx; + float3 temp_cast_2 = (1.0).xxx; + int EmissionGlowZone47_g5124 = _RedChGlowZone; + int clampResult8_g5130 = clamp( EmissionGlowZone47_g5124 , 1 , 4 ); + int temp_output_3_0_g5130 = ( clampResult8_g5130 - 1 ); + int Zone16_g5130 = temp_output_3_0_g5130; + float3 localgetThemeData16_g5130 = getThemeData( Zone16_g5130 ); + int Band11_g5131 = 56; + int localIsLumaActive11_g5131 = IsLumaActive11_g5131( Band11_g5131 ); + int temp_output_14_0_g5130 = localIsLumaActive11_g5131; + int lerpResult15_g5130 = lerp( temp_output_3_0_g5130 , ( 63 - temp_output_3_0_g5130 ) , (float)temp_output_14_0_g5130); + int Band2_g5130 = lerpResult15_g5130; + int Delay2_g5130 = 0; + float3 localLumaGlowData2_g5130 = LumaGlowData2_g5130( Band2_g5130 , Delay2_g5130 ); + float3 lerpResult17_g5130 = lerp( ( localgetThemeData16_g5130 * localLumaGlowData2_g5130 ) , localLumaGlowData2_g5130 , (float)temp_output_14_0_g5130); + int temp_output_21_0_g5124 = saturate( EmissionGlowZone47_g5124 ); + float3 lerpResult20_g5124 = lerp( temp_cast_2 , lerpResult17_g5130 , (float)temp_output_21_0_g5124); + float3 temp_cast_6 = (1.0).xxx; + int clampResult8_g5132 = clamp( EmissionGlowZone47_g5124 , 1 , 4 ); + int temp_output_3_0_g5132 = ( clampResult8_g5132 - 1 ); + int Zone15_g5132 = temp_output_3_0_g5132; + float3 localgetThemeData15_g5132 = getThemeData( Zone15_g5132 ); + int Band11_g5133 = 56; + int localIsLumaActive11_g5133 = IsLumaActive11_g5133( Band11_g5133 ); + int temp_output_13_0_g5132 = localIsLumaActive11_g5133; + int lerpResult14_g5132 = lerp( temp_output_3_0_g5132 , ( 63 - temp_output_3_0_g5132 ) , (float)temp_output_13_0_g5132); + int Band11_g5132 = lerpResult14_g5132; + float cos6_g5124 = cos( radians( _RedChGlowPulseDir ) ); + float sin6_g5124 = sin( radians( _RedChGlowPulseDir ) ); + float2 rotator6_g5124 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5124 , -sin6_g5124 , sin6_g5124 , cos6_g5124 )) + float2( 0.5,0.5 ); + int Band6_g5137 = _RedChGlowAnimationBand; + int Mode6_g5137 = ( ( _RedChGlowAnimationMode * 2 ) + _RedChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5137 = AudioLinkDecodeDataAsUInt6_g5137( Band6_g5137 , Mode6_g5137 ); + float localGetLocalTime2_g5138 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g5124 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g5137 % 628319 ) / 100000.0 ) , localGetLocalTime2_g5138 , (float)saturate( ( _RedChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g5124 = ( _RedChGlowAnimationStrength * lerpResult206_g5124 * step( _RedChGlowAnimationBand , 9 ) ); + float x13_g5124 = ( ( rotator6_g5124.x * _RedChGlowPulseScale ) + _RedChGlowPulseOffset + EmissionGlowAnimation195_g5124 ); + float y13_g5124 = 127.0; + float localglslmod13_g5124 = glslmod13_g5124( x13_g5124 , y13_g5124 ); + float2 CenteredUV15_g5126 = ( i.uv_texcoord - _RedChGlowRadialCenter ); + float2 break17_g5126 = CenteredUV15_g5126; + float2 appendResult23_g5126 = (float2(( length( CenteredUV15_g5126 ) * _RedChGlowPulseScale * 2.0 ) , ( atan2( break17_g5126.x , break17_g5126.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5124 = ( _RedChGlowPulseOffset + appendResult23_g5126.x + EmissionGlowAnimation195_g5124 ); + float y12_g5124 = 127.0; + float localglslmod12_g5124 = glslmod12_g5124( x12_g5124 , y12_g5124 ); + int EmissionGlowMode35_g5124 = _RedChGlowMode; + int temp_output_37_0_g5124 = ( EmissionGlowMode35_g5124 - 1 ); + float lerpResult5_g5124 = lerp( localglslmod13_g5124 , localglslmod12_g5124 , (float)saturate( temp_output_37_0_g5124 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g5107 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionalMap106_g5124 = Direction27_g5107; + float lerpResult179_g5124 = lerp( DirectionalMap106_g5124 , ( 1.0 - DirectionalMap106_g5124 ) , (float)saturate( ( EmissionGlowMode35_g5124 - 3 ) )); + float x34_g5124 = ( _RedChGlowPulseOffset + ( _RedChGlowPulseScale * lerpResult179_g5124 ) + EmissionGlowAnimation195_g5124 ); + float y34_g5124 = 127.0; + float localglslmod34_g5124 = glslmod34_g5124( x34_g5124 , y34_g5124 ); + float lerpResult30_g5124 = lerp( lerpResult5_g5124 , localglslmod34_g5124 , (float)saturate( ( temp_output_37_0_g5124 - 1 ) )); + float EmissionGlowDelay56_g5124 = lerpResult30_g5124; + float Delay11_g5132 = EmissionGlowDelay56_g5124; + float3 localLumaGlowLerp11_g5132 = LumaGlowLerp11_g5132( Band11_g5132 , Delay11_g5132 ); + float3 lerpResult17_g5132 = lerp( ( localgetThemeData15_g5132 * localLumaGlowLerp11_g5132 ) , localLumaGlowLerp11_g5132 , (float)temp_output_13_0_g5132); + float3 lerpResult22_g5124 = lerp( temp_cast_6 , lerpResult17_g5132 , (float)temp_output_21_0_g5124); + float3 lerpResult23_g5124 = lerp( lerpResult20_g5124 , lerpResult22_g5124 , (float)saturate( EmissionGlowMode35_g5124 )); + float4 temp_cast_16 = (1.0).xxxx; + float temp_output_10_0_g5134 = EmissionGlowDelay56_g5124; + float Position1_g5136 = ( temp_output_10_0_g5134 / 127.0 ); + float4 localAudioLinkLerp1_g5136 = AudioLinkLerp1_g5136( Position1_g5136 ); + int clampResult8_g5134 = clamp( ( EmissionGlowZone47_g5124 - 4 ) , 1 , 3 ); + int Band11_g5134 = ( 59 - ( clampResult8_g5134 - 1 ) ); + float Delay11_g5134 = temp_output_10_0_g5134; + float3 localLumaGlowLerp11_g5134 = LumaGlowLerp11_g5134( Band11_g5134 , Delay11_g5134 ); + int Band11_g5135 = 56; + int localIsLumaActive11_g5135 = IsLumaActive11_g5135( Band11_g5135 ); + float4 lerpResult14_g5134 = lerp( localAudioLinkLerp1_g5136 , float4( localLumaGlowLerp11_g5134 , 0.0 ) , (float)localIsLumaActive11_g5135); + float4 lerpResult52_g5124 = lerp( temp_cast_16 , lerpResult14_g5134 , (float)saturate( EmissionGlowZone47_g5124 )); + float4 lerpResult51_g5124 = lerp( float4( lerpResult23_g5124 , 0.0 ) , lerpResult52_g5124 , (float)saturate( ( EmissionGlowZone47_g5124 - 4 ) )); + float4 temp_cast_21 = (_RedChGlowMinBrightness).xxxx; + float4 temp_cast_22 = (( _RedChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_254_0_g5124 = saturate( EmissionGlowZone47_g5124 ); + float4 EmissionGlow142_g5124 = ( (temp_cast_21 + (lerpResult51_g5124 - float4( 0,0,0,0 )) * (temp_cast_22 - temp_cast_21) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _RedChGlowTint * temp_output_254_0_g5124 ); + float4 lerpResult257_g5124 = lerp( temp_cast_1 , EmissionGlow142_g5124 , (float)temp_output_254_0_g5124); + float4 EmissionGlowTog258_g5124 = lerpResult257_g5124; + int EmissionReactiveBand243_g5124 = _RedChReactiveBand; + int Band3_g5125 = EmissionReactiveBand243_g5124; + int Delay3_g5125 = 0; + float localAudioLinkData3_g5125 = AudioLinkData3_g5125( Band3_g5125 , Delay3_g5125 ); + int temp_output_64_0_g5124 = step( _RedChReactiveBand , 9 ); + float lerpResult66_g5124 = lerp( 1.0 , localAudioLinkData3_g5125 , (float)temp_output_64_0_g5124); + int Band3_g5127 = _RedChReactiveBand; + float cos78_g5124 = cos( radians( _RedChReactivePulseDir ) ); + float sin78_g5124 = sin( radians( _RedChReactivePulseDir ) ); + float2 rotator78_g5124 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5124 , -sin78_g5124 , sin78_g5124 , cos78_g5124 )) + float2( 0.5,0.5 ); + float x96_g5124 = ( ( rotator78_g5124.x * _RedChReactivePulseScale ) + _RedChReactivePulseOffset ); + float y96_g5124 = 127.0; + float localglslmod96_g5124 = glslmod96_g5124( x96_g5124 , y96_g5124 ); + float2 CenteredUV15_g5128 = ( i.uv_texcoord - _RedChReactiveRadialCenter ); + float2 break17_g5128 = CenteredUV15_g5128; + float2 appendResult23_g5128 = (float2(( length( CenteredUV15_g5128 ) * _RedChReactivePulseScale * 2.0 ) , ( atan2( break17_g5128.x , break17_g5128.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5124 = ( _RedChReactivePulseOffset + appendResult23_g5128.x ); + float y97_g5124 = 127.0; + float localglslmod97_g5124 = glslmod97_g5124( x97_g5124 , y97_g5124 ); + int EmissionReactiveMode99_g5124 = _RedChReactiveMode; + int temp_output_90_0_g5124 = ( EmissionReactiveMode99_g5124 - 1 ); + float lerpResult77_g5124 = lerp( localglslmod96_g5124 , localglslmod97_g5124 , (float)saturate( temp_output_90_0_g5124 )); + float lerpResult174_g5124 = lerp( DirectionalMap106_g5124 , ( 1.0 - DirectionalMap106_g5124 ) , (float)saturate( ( EmissionReactiveMode99_g5124 - 3 ) )); + float x98_g5124 = ( _RedChReactivePulseOffset + ( _RedChReactivePulseScale * lerpResult174_g5124 ) ); + float y98_g5124 = 127.0; + float localglslmod98_g5124 = glslmod98_g5124( x98_g5124 , y98_g5124 ); + float lerpResult87_g5124 = lerp( lerpResult77_g5124 , localglslmod98_g5124 , (float)saturate( ( temp_output_90_0_g5124 - 1 ) )); + float Delay3_g5127 = lerpResult87_g5124; + float localAudioLinkLerp3_g5127 = AudioLinkLerp3_g5127( Band3_g5127 , Delay3_g5127 ); + float lerpResult102_g5124 = lerp( 1.0 , localAudioLinkLerp3_g5127 , (float)temp_output_64_0_g5124); + float lerpResult103_g5124 = lerp( lerpResult66_g5124 , lerpResult102_g5124 , (float)saturate( EmissionReactiveMode99_g5124 )); + int Band3_g5129 = _RedChReactiveBand; + float FilteredAmount3_g5129 = ( ( 1.0 - _RedChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5129 = AudioLinkLerp3_g5129( Band3_g5129 , FilteredAmount3_g5129 ); + float lerpResult168_g5124 = lerp( 1.0 , localAudioLinkLerp3_g5129 , (float)temp_output_64_0_g5124); + float lerpResult172_g5124 = lerp( lerpResult103_g5124 , lerpResult168_g5124 , (float)saturate( ( EmissionReactiveMode99_g5124 - 4 ) )); + float ReactivityAlpha132_g5124 = (_RedChReactiveMinBrightness + (lerpResult172_g5124 - 0.0) * (( _RedChReactiveMinBrightness + 1.0 ) - _RedChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_33 = (1.0).xxxx; + float4 lerpResult253_g5124 = lerp( temp_cast_33 , _RedChReactiveTint , (float)step( EmissionReactiveBand243_g5124 , 9 )); + float4 FinalReactivity68_g5124 = ( ReactivityAlpha132_g5124 * lerpResult253_g5124 ); + float4 lerpResult146_g5124 = lerp( ( EmissionGlowTog258_g5124 * FinalReactivity68_g5124 ) , ( EmissionGlow142_g5124 + FinalReactivity68_g5124 ) , (float)saturate( _RedChReactiveBlendMode )); + float4 ReversedReactivity152_g5124 = ( ( 1.0 - ReactivityAlpha132_g5124 ) * lerpResult253_g5124 ); + int temp_output_157_0_g5124 = ( _RedChReactiveBlendMode - 1 ); + float4 lerpResult114_g5124 = lerp( lerpResult146_g5124 , ( EmissionGlowTog258_g5124 * ReversedReactivity152_g5124 ) , (float)saturate( temp_output_157_0_g5124 )); + float4 lerpResult164_g5124 = lerp( lerpResult114_g5124 , ( EmissionGlow142_g5124 + ( ReversedReactivity152_g5124 * step( EmissionReactiveBand243_g5124 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g5124 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g5124 , 9 ) ) )); + float2 uv_GlowMask = i.uv_texcoord * _GlowMask_ST.xy + _GlowMask_ST.zw; + float4 GlowMaskRGBA174_g5107 = tex2D( _GlowMask, uv_GlowMask ); + float localIfAudioLinkv2Exists1_g5139 = IfAudioLinkv2Exists1_g5139(); + float4 lerpResult280_g5124 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g5124 * (GlowMaskRGBA174_g5107).ra.x * localIfAudioLinkv2Exists1_g5139 ) , _EnableRedChannel); + float4 temp_cast_43 = (1.0).xxxx; + float3 temp_cast_44 = (1.0).xxx; + int EmissionGlowZone47_g5140 = _GreenChGlowZone; + int clampResult8_g5146 = clamp( EmissionGlowZone47_g5140 , 1 , 4 ); + int temp_output_3_0_g5146 = ( clampResult8_g5146 - 1 ); + int Zone16_g5146 = temp_output_3_0_g5146; + float3 localgetThemeData16_g5146 = getThemeData( Zone16_g5146 ); + int Band11_g5147 = 56; + int localIsLumaActive11_g5147 = IsLumaActive11_g5147( Band11_g5147 ); + int temp_output_14_0_g5146 = localIsLumaActive11_g5147; + int lerpResult15_g5146 = lerp( temp_output_3_0_g5146 , ( 63 - temp_output_3_0_g5146 ) , (float)temp_output_14_0_g5146); + int Band2_g5146 = lerpResult15_g5146; + int Delay2_g5146 = 0; + float3 localLumaGlowData2_g5146 = LumaGlowData2_g5146( Band2_g5146 , Delay2_g5146 ); + float3 lerpResult17_g5146 = lerp( ( localgetThemeData16_g5146 * localLumaGlowData2_g5146 ) , localLumaGlowData2_g5146 , (float)temp_output_14_0_g5146); + int temp_output_21_0_g5140 = saturate( EmissionGlowZone47_g5140 ); + float3 lerpResult20_g5140 = lerp( temp_cast_44 , lerpResult17_g5146 , (float)temp_output_21_0_g5140); + float3 temp_cast_48 = (1.0).xxx; + int clampResult8_g5148 = clamp( EmissionGlowZone47_g5140 , 1 , 4 ); + int temp_output_3_0_g5148 = ( clampResult8_g5148 - 1 ); + int Zone15_g5148 = temp_output_3_0_g5148; + float3 localgetThemeData15_g5148 = getThemeData( Zone15_g5148 ); + int Band11_g5149 = 56; + int localIsLumaActive11_g5149 = IsLumaActive11_g5149( Band11_g5149 ); + int temp_output_13_0_g5148 = localIsLumaActive11_g5149; + int lerpResult14_g5148 = lerp( temp_output_3_0_g5148 , ( 63 - temp_output_3_0_g5148 ) , (float)temp_output_13_0_g5148); + int Band11_g5148 = lerpResult14_g5148; + float cos6_g5140 = cos( radians( _GreenChGlowPulseDir ) ); + float sin6_g5140 = sin( radians( _GreenChGlowPulseDir ) ); + float2 rotator6_g5140 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5140 , -sin6_g5140 , sin6_g5140 , cos6_g5140 )) + float2( 0.5,0.5 ); + int Band6_g5153 = _GreenChGlowAnimationBand; + int Mode6_g5153 = ( ( _GreenChGlowAnimationMode * 2 ) + _GreenChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5153 = AudioLinkDecodeDataAsUInt6_g5153( Band6_g5153 , Mode6_g5153 ); + float localGetLocalTime2_g5154 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g5140 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g5153 % 628319 ) / 100000.0 ) , localGetLocalTime2_g5154 , (float)saturate( ( _GreenChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g5140 = ( _GreenChGlowAnimationStrength * lerpResult206_g5140 * step( _GreenChGlowAnimationBand , 9 ) ); + float x13_g5140 = ( ( rotator6_g5140.x * _GreenChGlowPulseScale ) + _GreenChGlowPulseOffset + EmissionGlowAnimation195_g5140 ); + float y13_g5140 = 127.0; + float localglslmod13_g5140 = glslmod13_g5140( x13_g5140 , y13_g5140 ); + float2 CenteredUV15_g5142 = ( i.uv_texcoord - _GreenChGlowRadialCenter ); + float2 break17_g5142 = CenteredUV15_g5142; + float2 appendResult23_g5142 = (float2(( length( CenteredUV15_g5142 ) * _GreenChGlowPulseScale * 2.0 ) , ( atan2( break17_g5142.x , break17_g5142.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5140 = ( _GreenChGlowPulseOffset + appendResult23_g5142.x + EmissionGlowAnimation195_g5140 ); + float y12_g5140 = 127.0; + float localglslmod12_g5140 = glslmod12_g5140( x12_g5140 , y12_g5140 ); + int EmissionGlowMode35_g5140 = _GreenChGlowMode; + int temp_output_37_0_g5140 = ( EmissionGlowMode35_g5140 - 1 ); + float lerpResult5_g5140 = lerp( localglslmod13_g5140 , localglslmod12_g5140 , (float)saturate( temp_output_37_0_g5140 )); + float DirectionalMap106_g5140 = Direction27_g5107; + float lerpResult179_g5140 = lerp( DirectionalMap106_g5140 , ( 1.0 - DirectionalMap106_g5140 ) , (float)saturate( ( EmissionGlowMode35_g5140 - 3 ) )); + float x34_g5140 = ( _GreenChGlowPulseOffset + ( _GreenChGlowPulseScale * lerpResult179_g5140 ) + EmissionGlowAnimation195_g5140 ); + float y34_g5140 = 127.0; + float localglslmod34_g5140 = glslmod34_g5140( x34_g5140 , y34_g5140 ); + float lerpResult30_g5140 = lerp( lerpResult5_g5140 , localglslmod34_g5140 , (float)saturate( ( temp_output_37_0_g5140 - 1 ) )); + float EmissionGlowDelay56_g5140 = lerpResult30_g5140; + float Delay11_g5148 = EmissionGlowDelay56_g5140; + float3 localLumaGlowLerp11_g5148 = LumaGlowLerp11_g5148( Band11_g5148 , Delay11_g5148 ); + float3 lerpResult17_g5148 = lerp( ( localgetThemeData15_g5148 * localLumaGlowLerp11_g5148 ) , localLumaGlowLerp11_g5148 , (float)temp_output_13_0_g5148); + float3 lerpResult22_g5140 = lerp( temp_cast_48 , lerpResult17_g5148 , (float)temp_output_21_0_g5140); + float3 lerpResult23_g5140 = lerp( lerpResult20_g5140 , lerpResult22_g5140 , (float)saturate( EmissionGlowMode35_g5140 )); + float4 temp_cast_58 = (1.0).xxxx; + float temp_output_10_0_g5150 = EmissionGlowDelay56_g5140; + float Position1_g5152 = ( temp_output_10_0_g5150 / 127.0 ); + float4 localAudioLinkLerp1_g5152 = AudioLinkLerp1_g5152( Position1_g5152 ); + int clampResult8_g5150 = clamp( ( EmissionGlowZone47_g5140 - 4 ) , 1 , 3 ); + int Band11_g5150 = ( 59 - ( clampResult8_g5150 - 1 ) ); + float Delay11_g5150 = temp_output_10_0_g5150; + float3 localLumaGlowLerp11_g5150 = LumaGlowLerp11_g5150( Band11_g5150 , Delay11_g5150 ); + int Band11_g5151 = 56; + int localIsLumaActive11_g5151 = IsLumaActive11_g5151( Band11_g5151 ); + float4 lerpResult14_g5150 = lerp( localAudioLinkLerp1_g5152 , float4( localLumaGlowLerp11_g5150 , 0.0 ) , (float)localIsLumaActive11_g5151); + float4 lerpResult52_g5140 = lerp( temp_cast_58 , lerpResult14_g5150 , (float)saturate( EmissionGlowZone47_g5140 )); + float4 lerpResult51_g5140 = lerp( float4( lerpResult23_g5140 , 0.0 ) , lerpResult52_g5140 , (float)saturate( ( EmissionGlowZone47_g5140 - 4 ) )); + float4 temp_cast_63 = (_GreenChGlowMinBrightness).xxxx; + float4 temp_cast_64 = (( _GreenChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_255_0_g5140 = saturate( EmissionGlowZone47_g5140 ); + float4 EmissionGlow142_g5140 = ( (temp_cast_63 + (lerpResult51_g5140 - float4( 0,0,0,0 )) * (temp_cast_64 - temp_cast_63) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _GreenChGlowTint * temp_output_255_0_g5140 ); + float4 lerpResult258_g5140 = lerp( temp_cast_43 , EmissionGlow142_g5140 , (float)temp_output_255_0_g5140); + float4 EmissionGlowTog259_g5140 = lerpResult258_g5140; + int EmissionReactiveBand243_g5140 = _GreenChReactiveBand; + int Band3_g5141 = EmissionReactiveBand243_g5140; + int Delay3_g5141 = 0; + float localAudioLinkData3_g5141 = AudioLinkData3_g5141( Band3_g5141 , Delay3_g5141 ); + int temp_output_64_0_g5140 = step( _GreenChReactiveBand , 9 ); + float lerpResult66_g5140 = lerp( 1.0 , localAudioLinkData3_g5141 , (float)temp_output_64_0_g5140); + int Band3_g5143 = _GreenChReactiveBand; + float cos78_g5140 = cos( radians( _GreenChReactivePulseDir ) ); + float sin78_g5140 = sin( radians( _GreenChReactivePulseDir ) ); + float2 rotator78_g5140 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5140 , -sin78_g5140 , sin78_g5140 , cos78_g5140 )) + float2( 0.5,0.5 ); + float x96_g5140 = ( ( rotator78_g5140.x * _GreenChReactivePulseScale ) + _GreenChReactivePulseOffset ); + float y96_g5140 = 127.0; + float localglslmod96_g5140 = glslmod96_g5140( x96_g5140 , y96_g5140 ); + float2 CenteredUV15_g5144 = ( i.uv_texcoord - _GreenChReactiveRadialCenter ); + float2 break17_g5144 = CenteredUV15_g5144; + float2 appendResult23_g5144 = (float2(( length( CenteredUV15_g5144 ) * _GreenChReactivePulseScale * 2.0 ) , ( atan2( break17_g5144.x , break17_g5144.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5140 = ( _GreenChReactivePulseOffset + appendResult23_g5144.x ); + float y97_g5140 = 127.0; + float localglslmod97_g5140 = glslmod97_g5140( x97_g5140 , y97_g5140 ); + int EmissionReactiveMode99_g5140 = _GreenChReactiveMode; + int temp_output_90_0_g5140 = ( EmissionReactiveMode99_g5140 - 1 ); + float lerpResult77_g5140 = lerp( localglslmod96_g5140 , localglslmod97_g5140 , (float)saturate( temp_output_90_0_g5140 )); + float lerpResult174_g5140 = lerp( DirectionalMap106_g5140 , ( 1.0 - DirectionalMap106_g5140 ) , (float)saturate( ( EmissionReactiveMode99_g5140 - 3 ) )); + float x98_g5140 = ( _GreenChReactivePulseOffset + ( _GreenChReactivePulseScale * lerpResult174_g5140 ) ); + float y98_g5140 = 127.0; + float localglslmod98_g5140 = glslmod98_g5140( x98_g5140 , y98_g5140 ); + float lerpResult87_g5140 = lerp( lerpResult77_g5140 , localglslmod98_g5140 , (float)saturate( ( temp_output_90_0_g5140 - 1 ) )); + float Delay3_g5143 = lerpResult87_g5140; + float localAudioLinkLerp3_g5143 = AudioLinkLerp3_g5143( Band3_g5143 , Delay3_g5143 ); + float lerpResult102_g5140 = lerp( 1.0 , localAudioLinkLerp3_g5143 , (float)temp_output_64_0_g5140); + float lerpResult103_g5140 = lerp( lerpResult66_g5140 , lerpResult102_g5140 , (float)saturate( EmissionReactiveMode99_g5140 )); + int Band3_g5145 = _GreenChReactiveBand; + float FilteredAmount3_g5145 = ( ( 1.0 - _GreenChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5145 = AudioLinkLerp3_g5145( Band3_g5145 , FilteredAmount3_g5145 ); + float lerpResult168_g5140 = lerp( 1.0 , localAudioLinkLerp3_g5145 , (float)temp_output_64_0_g5140); + float lerpResult172_g5140 = lerp( lerpResult103_g5140 , lerpResult168_g5140 , (float)saturate( ( EmissionReactiveMode99_g5140 - 4 ) )); + float ReactivityAlpha132_g5140 = (_GreenChReactiveMinBrightness + (lerpResult172_g5140 - 0.0) * (( _GreenChReactiveMinBrightness + 1.0 ) - _GreenChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_75 = (1.0).xxxx; + float4 lerpResult264_g5140 = lerp( temp_cast_75 , _GreenChReactiveTint , (float)step( EmissionReactiveBand243_g5140 , 9 )); + float4 FinalReactivity68_g5140 = ( ReactivityAlpha132_g5140 * lerpResult264_g5140 ); + float4 lerpResult146_g5140 = lerp( ( EmissionGlowTog259_g5140 * FinalReactivity68_g5140 ) , ( EmissionGlow142_g5140 + FinalReactivity68_g5140 ) , (float)saturate( _GreenChReactiveBlendMode )); + float4 ReversedReactivity152_g5140 = ( ( 1.0 - ReactivityAlpha132_g5140 ) * lerpResult264_g5140 ); + int temp_output_157_0_g5140 = ( _GreenChReactiveBlendMode - 1 ); + float4 lerpResult114_g5140 = lerp( lerpResult146_g5140 , ( EmissionGlowTog259_g5140 * ReversedReactivity152_g5140 ) , (float)saturate( temp_output_157_0_g5140 )); + float4 lerpResult164_g5140 = lerp( lerpResult114_g5140 , ( EmissionGlow142_g5140 + ( ReversedReactivity152_g5140 * step( EmissionReactiveBand243_g5140 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g5140 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g5140 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g5155 = IfAudioLinkv2Exists1_g5155(); + float4 lerpResult276_g5140 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g5140 * (GlowMaskRGBA174_g5107).ga.x * localIfAudioLinkv2Exists1_g5155 ) , _EnableGreenChannel); + float4 temp_cast_85 = (1.0).xxxx; + float3 temp_cast_86 = (1.0).xxx; + int EmissionGlowZone47_g5156 = _BlueChGlowZone; + int clampResult8_g5162 = clamp( EmissionGlowZone47_g5156 , 1 , 4 ); + int temp_output_3_0_g5162 = ( clampResult8_g5162 - 1 ); + int Zone16_g5162 = temp_output_3_0_g5162; + float3 localgetThemeData16_g5162 = getThemeData( Zone16_g5162 ); + int Band11_g5163 = 56; + int localIsLumaActive11_g5163 = IsLumaActive11_g5163( Band11_g5163 ); + int temp_output_14_0_g5162 = localIsLumaActive11_g5163; + int lerpResult15_g5162 = lerp( temp_output_3_0_g5162 , ( 63 - temp_output_3_0_g5162 ) , (float)temp_output_14_0_g5162); + int Band2_g5162 = lerpResult15_g5162; + int Delay2_g5162 = 0; + float3 localLumaGlowData2_g5162 = LumaGlowData2_g5162( Band2_g5162 , Delay2_g5162 ); + float3 lerpResult17_g5162 = lerp( ( localgetThemeData16_g5162 * localLumaGlowData2_g5162 ) , localLumaGlowData2_g5162 , (float)temp_output_14_0_g5162); + int temp_output_21_0_g5156 = saturate( EmissionGlowZone47_g5156 ); + float3 lerpResult20_g5156 = lerp( temp_cast_86 , lerpResult17_g5162 , (float)temp_output_21_0_g5156); + float3 temp_cast_90 = (1.0).xxx; + int clampResult8_g5164 = clamp( EmissionGlowZone47_g5156 , 1 , 4 ); + int temp_output_3_0_g5164 = ( clampResult8_g5164 - 1 ); + int Zone15_g5164 = temp_output_3_0_g5164; + float3 localgetThemeData15_g5164 = getThemeData( Zone15_g5164 ); + int Band11_g5165 = 56; + int localIsLumaActive11_g5165 = IsLumaActive11_g5165( Band11_g5165 ); + int temp_output_13_0_g5164 = localIsLumaActive11_g5165; + int lerpResult14_g5164 = lerp( temp_output_3_0_g5164 , ( 63 - temp_output_3_0_g5164 ) , (float)temp_output_13_0_g5164); + int Band11_g5164 = lerpResult14_g5164; + float cos6_g5156 = cos( radians( _BlueChGlowPulseDir ) ); + float sin6_g5156 = sin( radians( _BlueChGlowPulseDir ) ); + float2 rotator6_g5156 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5156 , -sin6_g5156 , sin6_g5156 , cos6_g5156 )) + float2( 0.5,0.5 ); + int Band6_g5169 = _BlueChGlowAnimationBand; + int Mode6_g5169 = ( ( _BlueChGlowAnimationMode * 2 ) + _BlueChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5169 = AudioLinkDecodeDataAsUInt6_g5169( Band6_g5169 , Mode6_g5169 ); + float localGetLocalTime2_g5170 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g5156 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g5169 % 628319 ) / 100000.0 ) , localGetLocalTime2_g5170 , (float)saturate( ( _BlueChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g5156 = ( _BlueChGlowAnimationStrength * lerpResult206_g5156 * step( _BlueChGlowAnimationBand , 9 ) ); + float x13_g5156 = ( ( rotator6_g5156.x * _BlueChGlowPulseScale ) + _BlueChGlowPulseOffset + EmissionGlowAnimation195_g5156 ); + float y13_g5156 = 127.0; + float localglslmod13_g5156 = glslmod13_g5156( x13_g5156 , y13_g5156 ); + float2 CenteredUV15_g5158 = ( i.uv_texcoord - _BlueChGlowRadialCenter ); + float2 break17_g5158 = CenteredUV15_g5158; + float2 appendResult23_g5158 = (float2(( length( CenteredUV15_g5158 ) * _BlueChGlowPulseScale * 2.0 ) , ( atan2( break17_g5158.x , break17_g5158.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5156 = ( _BlueChGlowPulseOffset + appendResult23_g5158.x + EmissionGlowAnimation195_g5156 ); + float y12_g5156 = 127.0; + float localglslmod12_g5156 = glslmod12_g5156( x12_g5156 , y12_g5156 ); + int EmissionGlowMode35_g5156 = _BlueChGlowMode; + int temp_output_37_0_g5156 = ( EmissionGlowMode35_g5156 - 1 ); + float lerpResult5_g5156 = lerp( localglslmod13_g5156 , localglslmod12_g5156 , (float)saturate( temp_output_37_0_g5156 )); + float DirectionalMap106_g5156 = Direction27_g5107; + float lerpResult179_g5156 = lerp( DirectionalMap106_g5156 , ( 1.0 - DirectionalMap106_g5156 ) , (float)saturate( ( EmissionGlowMode35_g5156 - 3 ) )); + float x34_g5156 = ( _BlueChGlowPulseOffset + ( _BlueChGlowPulseScale * lerpResult179_g5156 ) + EmissionGlowAnimation195_g5156 ); + float y34_g5156 = 127.0; + float localglslmod34_g5156 = glslmod34_g5156( x34_g5156 , y34_g5156 ); + float lerpResult30_g5156 = lerp( lerpResult5_g5156 , localglslmod34_g5156 , (float)saturate( ( temp_output_37_0_g5156 - 1 ) )); + float EmissionGlowDelay56_g5156 = lerpResult30_g5156; + float Delay11_g5164 = EmissionGlowDelay56_g5156; + float3 localLumaGlowLerp11_g5164 = LumaGlowLerp11_g5164( Band11_g5164 , Delay11_g5164 ); + float3 lerpResult17_g5164 = lerp( ( localgetThemeData15_g5164 * localLumaGlowLerp11_g5164 ) , localLumaGlowLerp11_g5164 , (float)temp_output_13_0_g5164); + float3 lerpResult22_g5156 = lerp( temp_cast_90 , lerpResult17_g5164 , (float)temp_output_21_0_g5156); + float3 lerpResult23_g5156 = lerp( lerpResult20_g5156 , lerpResult22_g5156 , (float)saturate( EmissionGlowMode35_g5156 )); + float4 temp_cast_100 = (1.0).xxxx; + float temp_output_10_0_g5166 = EmissionGlowDelay56_g5156; + float Position1_g5168 = ( temp_output_10_0_g5166 / 127.0 ); + float4 localAudioLinkLerp1_g5168 = AudioLinkLerp1_g5168( Position1_g5168 ); + int clampResult8_g5166 = clamp( ( EmissionGlowZone47_g5156 - 4 ) , 1 , 3 ); + int Band11_g5166 = ( 59 - ( clampResult8_g5166 - 1 ) ); + float Delay11_g5166 = temp_output_10_0_g5166; + float3 localLumaGlowLerp11_g5166 = LumaGlowLerp11_g5166( Band11_g5166 , Delay11_g5166 ); + int Band11_g5167 = 56; + int localIsLumaActive11_g5167 = IsLumaActive11_g5167( Band11_g5167 ); + float4 lerpResult14_g5166 = lerp( localAudioLinkLerp1_g5168 , float4( localLumaGlowLerp11_g5166 , 0.0 ) , (float)localIsLumaActive11_g5167); + float4 lerpResult52_g5156 = lerp( temp_cast_100 , lerpResult14_g5166 , (float)saturate( EmissionGlowZone47_g5156 )); + float4 lerpResult51_g5156 = lerp( float4( lerpResult23_g5156 , 0.0 ) , lerpResult52_g5156 , (float)saturate( ( EmissionGlowZone47_g5156 - 4 ) )); + float4 temp_cast_105 = (_BlueChGlowMinBrightness).xxxx; + float4 temp_cast_106 = (( _BlueChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g5156 = saturate( EmissionGlowZone47_g5156 ); + float4 EmissionGlow142_g5156 = ( (temp_cast_105 + (lerpResult51_g5156 - float4( 0,0,0,0 )) * (temp_cast_106 - temp_cast_105) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _BlueChGlowTint * temp_output_258_0_g5156 ); + float4 lerpResult261_g5156 = lerp( temp_cast_85 , EmissionGlow142_g5156 , (float)temp_output_258_0_g5156); + float4 EmissionGlowTog262_g5156 = lerpResult261_g5156; + int EmissionReactiveBand243_g5156 = _BlueChReactiveBand; + int Band3_g5157 = EmissionReactiveBand243_g5156; + int Delay3_g5157 = 0; + float localAudioLinkData3_g5157 = AudioLinkData3_g5157( Band3_g5157 , Delay3_g5157 ); + int temp_output_64_0_g5156 = step( _BlueChReactiveBand , 9 ); + float lerpResult66_g5156 = lerp( 1.0 , localAudioLinkData3_g5157 , (float)temp_output_64_0_g5156); + int Band3_g5159 = _BlueChReactiveBand; + float cos78_g5156 = cos( radians( _BlueChReactivePulseDir ) ); + float sin78_g5156 = sin( radians( _BlueChReactivePulseDir ) ); + float2 rotator78_g5156 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5156 , -sin78_g5156 , sin78_g5156 , cos78_g5156 )) + float2( 0.5,0.5 ); + float x96_g5156 = ( ( rotator78_g5156.x * _BlueChReactivePulseScale ) + _BlueChReactivePulseOffset ); + float y96_g5156 = 127.0; + float localglslmod96_g5156 = glslmod96_g5156( x96_g5156 , y96_g5156 ); + float2 CenteredUV15_g5160 = ( i.uv_texcoord - _BlueChReactiveRadialCenter ); + float2 break17_g5160 = CenteredUV15_g5160; + float2 appendResult23_g5160 = (float2(( length( CenteredUV15_g5160 ) * _BlueChReactivePulseScale * 2.0 ) , ( atan2( break17_g5160.x , break17_g5160.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5156 = ( _BlueChReactivePulseOffset + appendResult23_g5160.x ); + float y97_g5156 = 127.0; + float localglslmod97_g5156 = glslmod97_g5156( x97_g5156 , y97_g5156 ); + int EmissionReactiveMode99_g5156 = _BlueChReactiveMode; + int temp_output_90_0_g5156 = ( EmissionReactiveMode99_g5156 - 1 ); + float lerpResult77_g5156 = lerp( localglslmod96_g5156 , localglslmod97_g5156 , (float)saturate( temp_output_90_0_g5156 )); + float lerpResult174_g5156 = lerp( DirectionalMap106_g5156 , ( 1.0 - DirectionalMap106_g5156 ) , (float)saturate( ( EmissionReactiveMode99_g5156 - 3 ) )); + float x98_g5156 = ( _BlueChReactivePulseOffset + ( _BlueChReactivePulseScale * lerpResult174_g5156 ) ); + float y98_g5156 = 127.0; + float localglslmod98_g5156 = glslmod98_g5156( x98_g5156 , y98_g5156 ); + float lerpResult87_g5156 = lerp( lerpResult77_g5156 , localglslmod98_g5156 , (float)saturate( ( temp_output_90_0_g5156 - 1 ) )); + float Delay3_g5159 = lerpResult87_g5156; + float localAudioLinkLerp3_g5159 = AudioLinkLerp3_g5159( Band3_g5159 , Delay3_g5159 ); + float lerpResult102_g5156 = lerp( 1.0 , localAudioLinkLerp3_g5159 , (float)temp_output_64_0_g5156); + float lerpResult103_g5156 = lerp( lerpResult66_g5156 , lerpResult102_g5156 , (float)saturate( EmissionReactiveMode99_g5156 )); + int Band3_g5161 = _BlueChReactiveBand; + float FilteredAmount3_g5161 = ( ( 1.0 - _BlueChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5161 = AudioLinkLerp3_g5161( Band3_g5161 , FilteredAmount3_g5161 ); + float lerpResult168_g5156 = lerp( 1.0 , localAudioLinkLerp3_g5161 , (float)temp_output_64_0_g5156); + float lerpResult172_g5156 = lerp( lerpResult103_g5156 , lerpResult168_g5156 , (float)saturate( ( EmissionReactiveMode99_g5156 - 4 ) )); + float ReactivityAlpha132_g5156 = (_BlueChReactiveMinBrightness + (lerpResult172_g5156 - 0.0) * (( _BlueChReactiveMinBrightness + 1.0 ) - _BlueChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_117 = (1.0).xxxx; + float4 lerpResult268_g5156 = lerp( temp_cast_117 , _BlueChReactiveTint , (float)step( EmissionReactiveBand243_g5156 , 9 )); + float4 FinalReactivity68_g5156 = ( ReactivityAlpha132_g5156 * lerpResult268_g5156 ); + float4 lerpResult146_g5156 = lerp( ( EmissionGlowTog262_g5156 * FinalReactivity68_g5156 ) , ( EmissionGlow142_g5156 + FinalReactivity68_g5156 ) , (float)saturate( _BlueChReactiveBlendMode )); + float4 ReversedReactivity152_g5156 = ( ( 1.0 - ReactivityAlpha132_g5156 ) * lerpResult268_g5156 ); + int temp_output_157_0_g5156 = ( _BlueChReactiveBlendMode - 1 ); + float4 lerpResult114_g5156 = lerp( lerpResult146_g5156 , ( EmissionGlowTog262_g5156 * ReversedReactivity152_g5156 ) , (float)saturate( temp_output_157_0_g5156 )); + float4 lerpResult164_g5156 = lerp( lerpResult114_g5156 , ( EmissionGlow142_g5156 + ( ReversedReactivity152_g5156 * step( EmissionReactiveBand243_g5156 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g5156 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g5156 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g5171 = IfAudioLinkv2Exists1_g5171(); + float4 lerpResult278_g5156 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g5156 * (GlowMaskRGBA174_g5107).ba.x * localIfAudioLinkv2Exists1_g5171 ) , _EnableBlueChannel); + float4 temp_cast_127 = (1.0).xxxx; + float3 temp_cast_128 = (1.0).xxx; + int EmissionGlowZone47_g5172 = _AlphaChGlowZone; + int clampResult8_g5178 = clamp( EmissionGlowZone47_g5172 , 1 , 4 ); + int temp_output_3_0_g5178 = ( clampResult8_g5178 - 1 ); + int Zone16_g5178 = temp_output_3_0_g5178; + float3 localgetThemeData16_g5178 = getThemeData( Zone16_g5178 ); + int Band11_g5179 = 56; + int localIsLumaActive11_g5179 = IsLumaActive11_g5179( Band11_g5179 ); + int temp_output_14_0_g5178 = localIsLumaActive11_g5179; + int lerpResult15_g5178 = lerp( temp_output_3_0_g5178 , ( 63 - temp_output_3_0_g5178 ) , (float)temp_output_14_0_g5178); + int Band2_g5178 = lerpResult15_g5178; + int Delay2_g5178 = 0; + float3 localLumaGlowData2_g5178 = LumaGlowData2_g5178( Band2_g5178 , Delay2_g5178 ); + float3 lerpResult17_g5178 = lerp( ( localgetThemeData16_g5178 * localLumaGlowData2_g5178 ) , localLumaGlowData2_g5178 , (float)temp_output_14_0_g5178); + int temp_output_21_0_g5172 = saturate( EmissionGlowZone47_g5172 ); + float3 lerpResult20_g5172 = lerp( temp_cast_128 , lerpResult17_g5178 , (float)temp_output_21_0_g5172); + float3 temp_cast_132 = (1.0).xxx; + int clampResult8_g5180 = clamp( EmissionGlowZone47_g5172 , 1 , 4 ); + int temp_output_3_0_g5180 = ( clampResult8_g5180 - 1 ); + int Zone15_g5180 = temp_output_3_0_g5180; + float3 localgetThemeData15_g5180 = getThemeData( Zone15_g5180 ); + int Band11_g5181 = 56; + int localIsLumaActive11_g5181 = IsLumaActive11_g5181( Band11_g5181 ); + int temp_output_13_0_g5180 = localIsLumaActive11_g5181; + int lerpResult14_g5180 = lerp( temp_output_3_0_g5180 , ( 63 - temp_output_3_0_g5180 ) , (float)temp_output_13_0_g5180); + int Band11_g5180 = lerpResult14_g5180; + float cos6_g5172 = cos( radians( _AlphaChGlowPulseDir ) ); + float sin6_g5172 = sin( radians( _AlphaChGlowPulseDir ) ); + float2 rotator6_g5172 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5172 , -sin6_g5172 , sin6_g5172 , cos6_g5172 )) + float2( 0.5,0.5 ); + int Band6_g5185 = _AlphaChGlowAnimationBand; + int Mode6_g5185 = ( ( _AlphaChGlowAnimationMode * 2 ) + _AlphaChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5185 = AudioLinkDecodeDataAsUInt6_g5185( Band6_g5185 , Mode6_g5185 ); + float localGetLocalTime2_g5186 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g5172 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g5185 % 628319 ) / 100000.0 ) , localGetLocalTime2_g5186 , (float)saturate( ( _AlphaChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g5172 = ( _AlphaChGlowAnimationStrength * lerpResult206_g5172 * step( _AlphaChGlowAnimationBand , 9 ) ); + float x13_g5172 = ( ( rotator6_g5172.x * _AlphaChGlowPulseScale ) + _AlphaChGlowPulseOffset + EmissionGlowAnimation195_g5172 ); + float y13_g5172 = 127.0; + float localglslmod13_g5172 = glslmod13_g5172( x13_g5172 , y13_g5172 ); + float2 CenteredUV15_g5174 = ( i.uv_texcoord - _AlphaChGlowRadialCenter ); + float2 break17_g5174 = CenteredUV15_g5174; + float2 appendResult23_g5174 = (float2(( length( CenteredUV15_g5174 ) * _AlphaChGlowPulseScale * 2.0 ) , ( atan2( break17_g5174.x , break17_g5174.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5172 = ( _AlphaChGlowPulseOffset + appendResult23_g5174.x + EmissionGlowAnimation195_g5172 ); + float y12_g5172 = 127.0; + float localglslmod12_g5172 = glslmod12_g5172( x12_g5172 , y12_g5172 ); + int EmissionGlowMode35_g5172 = _AlphaChGlowMode; + int temp_output_37_0_g5172 = ( EmissionGlowMode35_g5172 - 1 ); + float lerpResult5_g5172 = lerp( localglslmod13_g5172 , localglslmod12_g5172 , (float)saturate( temp_output_37_0_g5172 )); + float DirectionalMap106_g5172 = Direction27_g5107; + float lerpResult179_g5172 = lerp( DirectionalMap106_g5172 , ( 1.0 - DirectionalMap106_g5172 ) , (float)saturate( ( EmissionGlowMode35_g5172 - 3 ) )); + float x34_g5172 = ( _AlphaChGlowPulseOffset + ( _AlphaChGlowPulseScale * lerpResult179_g5172 ) + EmissionGlowAnimation195_g5172 ); + float y34_g5172 = 127.0; + float localglslmod34_g5172 = glslmod34_g5172( x34_g5172 , y34_g5172 ); + float lerpResult30_g5172 = lerp( lerpResult5_g5172 , localglslmod34_g5172 , (float)saturate( ( temp_output_37_0_g5172 - 1 ) )); + float EmissionGlowDelay56_g5172 = lerpResult30_g5172; + float Delay11_g5180 = EmissionGlowDelay56_g5172; + float3 localLumaGlowLerp11_g5180 = LumaGlowLerp11_g5180( Band11_g5180 , Delay11_g5180 ); + float3 lerpResult17_g5180 = lerp( ( localgetThemeData15_g5180 * localLumaGlowLerp11_g5180 ) , localLumaGlowLerp11_g5180 , (float)temp_output_13_0_g5180); + float3 lerpResult22_g5172 = lerp( temp_cast_132 , lerpResult17_g5180 , (float)temp_output_21_0_g5172); + float3 lerpResult23_g5172 = lerp( lerpResult20_g5172 , lerpResult22_g5172 , (float)saturate( EmissionGlowMode35_g5172 )); + float4 temp_cast_142 = (1.0).xxxx; + float temp_output_10_0_g5182 = EmissionGlowDelay56_g5172; + float Position1_g5184 = ( temp_output_10_0_g5182 / 127.0 ); + float4 localAudioLinkLerp1_g5184 = AudioLinkLerp1_g5184( Position1_g5184 ); + int clampResult8_g5182 = clamp( ( EmissionGlowZone47_g5172 - 4 ) , 1 , 3 ); + int Band11_g5182 = ( 59 - ( clampResult8_g5182 - 1 ) ); + float Delay11_g5182 = temp_output_10_0_g5182; + float3 localLumaGlowLerp11_g5182 = LumaGlowLerp11_g5182( Band11_g5182 , Delay11_g5182 ); + int Band11_g5183 = 56; + int localIsLumaActive11_g5183 = IsLumaActive11_g5183( Band11_g5183 ); + float4 lerpResult14_g5182 = lerp( localAudioLinkLerp1_g5184 , float4( localLumaGlowLerp11_g5182 , 0.0 ) , (float)localIsLumaActive11_g5183); + float4 lerpResult52_g5172 = lerp( temp_cast_142 , lerpResult14_g5182 , (float)saturate( EmissionGlowZone47_g5172 )); + float4 lerpResult51_g5172 = lerp( float4( lerpResult23_g5172 , 0.0 ) , lerpResult52_g5172 , (float)saturate( ( EmissionGlowZone47_g5172 - 4 ) )); + float4 temp_cast_147 = (_AlphaChGlowMinBrightness).xxxx; + float4 temp_cast_148 = (( _AlphaChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g5172 = saturate( EmissionGlowZone47_g5172 ); + float4 EmissionGlow142_g5172 = ( (temp_cast_147 + (lerpResult51_g5172 - float4( 0,0,0,0 )) * (temp_cast_148 - temp_cast_147) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _AlphaChGlowTint * temp_output_258_0_g5172 ); + float4 lerpResult261_g5172 = lerp( temp_cast_127 , EmissionGlow142_g5172 , (float)temp_output_258_0_g5172); + float4 EmissionGlowTog262_g5172 = lerpResult261_g5172; + int EmissionReactiveBand243_g5172 = _AlphaChReactiveBand; + int Band3_g5173 = EmissionReactiveBand243_g5172; + int Delay3_g5173 = 0; + float localAudioLinkData3_g5173 = AudioLinkData3_g5173( Band3_g5173 , Delay3_g5173 ); + int temp_output_64_0_g5172 = step( _AlphaChReactiveBand , 9 ); + float lerpResult66_g5172 = lerp( 1.0 , localAudioLinkData3_g5173 , (float)temp_output_64_0_g5172); + int Band3_g5175 = _AlphaChReactiveBand; + float cos78_g5172 = cos( radians( _AlphaChReactivePulseDir ) ); + float sin78_g5172 = sin( radians( _AlphaChReactivePulseDir ) ); + float2 rotator78_g5172 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5172 , -sin78_g5172 , sin78_g5172 , cos78_g5172 )) + float2( 0.5,0.5 ); + float x96_g5172 = ( ( rotator78_g5172.x * _AlphaChReactivePulseScale ) + _AlphaChReactivePulseOffset ); + float y96_g5172 = 127.0; + float localglslmod96_g5172 = glslmod96_g5172( x96_g5172 , y96_g5172 ); + float2 CenteredUV15_g5176 = ( i.uv_texcoord - _AlphaChReactiveRadialCenter ); + float2 break17_g5176 = CenteredUV15_g5176; + float2 appendResult23_g5176 = (float2(( length( CenteredUV15_g5176 ) * _AlphaChReactivePulseScale * 2.0 ) , ( atan2( break17_g5176.x , break17_g5176.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5172 = ( _AlphaChReactivePulseOffset + appendResult23_g5176.x ); + float y97_g5172 = 127.0; + float localglslmod97_g5172 = glslmod97_g5172( x97_g5172 , y97_g5172 ); + int EmissionReactiveMode99_g5172 = _AlphaChReactiveMode; + int temp_output_90_0_g5172 = ( EmissionReactiveMode99_g5172 - 1 ); + float lerpResult77_g5172 = lerp( localglslmod96_g5172 , localglslmod97_g5172 , (float)saturate( temp_output_90_0_g5172 )); + float lerpResult174_g5172 = lerp( DirectionalMap106_g5172 , ( 1.0 - DirectionalMap106_g5172 ) , (float)saturate( ( EmissionReactiveMode99_g5172 - 3 ) )); + float x98_g5172 = ( _AlphaChReactivePulseOffset + ( _AlphaChReactivePulseScale * lerpResult174_g5172 ) ); + float y98_g5172 = 127.0; + float localglslmod98_g5172 = glslmod98_g5172( x98_g5172 , y98_g5172 ); + float lerpResult87_g5172 = lerp( lerpResult77_g5172 , localglslmod98_g5172 , (float)saturate( ( temp_output_90_0_g5172 - 1 ) )); + float Delay3_g5175 = lerpResult87_g5172; + float localAudioLinkLerp3_g5175 = AudioLinkLerp3_g5175( Band3_g5175 , Delay3_g5175 ); + float lerpResult102_g5172 = lerp( 1.0 , localAudioLinkLerp3_g5175 , (float)temp_output_64_0_g5172); + float lerpResult103_g5172 = lerp( lerpResult66_g5172 , lerpResult102_g5172 , (float)saturate( EmissionReactiveMode99_g5172 )); + int Band3_g5177 = _AlphaChReactiveBand; + float FilteredAmount3_g5177 = ( ( 1.0 - _AlphaChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5177 = AudioLinkLerp3_g5177( Band3_g5177 , FilteredAmount3_g5177 ); + float lerpResult168_g5172 = lerp( 1.0 , localAudioLinkLerp3_g5177 , (float)temp_output_64_0_g5172); + float lerpResult172_g5172 = lerp( lerpResult103_g5172 , lerpResult168_g5172 , (float)saturate( ( EmissionReactiveMode99_g5172 - 4 ) )); + float ReactivityAlpha132_g5172 = (_AlphaChReactiveMinBrightness + (lerpResult172_g5172 - 0.0) * (( _AlphaChReactiveMinBrightness + 1.0 ) - _AlphaChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_159 = (1.0).xxxx; + float4 lerpResult268_g5172 = lerp( temp_cast_159 , _AlphaChReactiveTint , (float)step( EmissionReactiveBand243_g5172 , 9 )); + float4 FinalReactivity68_g5172 = ( ReactivityAlpha132_g5172 * lerpResult268_g5172 ); + float4 lerpResult146_g5172 = lerp( ( EmissionGlowTog262_g5172 * FinalReactivity68_g5172 ) , ( EmissionGlow142_g5172 + FinalReactivity68_g5172 ) , (float)saturate( _AlphaChReactiveBlendMode )); + float4 ReversedReactivity152_g5172 = ( ( 1.0 - ReactivityAlpha132_g5172 ) * lerpResult268_g5172 ); + int temp_output_157_0_g5172 = ( _AlphaChReactiveBlendMode - 1 ); + float4 lerpResult114_g5172 = lerp( lerpResult146_g5172 , ( EmissionGlowTog262_g5172 * ReversedReactivity152_g5172 ) , (float)saturate( temp_output_157_0_g5172 )); + float4 lerpResult164_g5172 = lerp( lerpResult114_g5172 , ( EmissionGlow142_g5172 + ( ReversedReactivity152_g5172 * step( EmissionReactiveBand243_g5172 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g5172 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g5172 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g5187 = IfAudioLinkv2Exists1_g5187(); + float4 lerpResult278_g5172 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g5172 * (GlowMaskRGBA174_g5107).a * localIfAudioLinkv2Exists1_g5187 ) , _EnableAlphaChannel); + float2 uv_EmissionMap = i.uv_texcoord * _EmissionMap_ST.xy + _EmissionMap_ST.zw; + float2 temp_cast_168 = (1.0).xx; + float2 lerpResult859 = lerp( temp_cast_168 , ( _EmissionPanSpeed * _Time.y ) , _EmissionPan); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float2 temp_cast_169 = (1.0).xx; + float2 lerpResult906 = lerp( temp_cast_169 , ( _EmissionMaskPanSpeed * _Time.y ) , _EmissionMaskPan); + float4 tex2DNode866 = tex2D( _EffectMask, ( uv_EffectMask + lerpResult906 ) ); + int temp_output_18_0_g3967 = _EmissionMaskingChannel; + float lerpResult1_g3967 = lerp( 1.0 , tex2DNode866.r , (float)saturate( temp_output_18_0_g3967 )); + int temp_output_5_0_g3967 = ( temp_output_18_0_g3967 - 1 ); + float lerpResult12_g3967 = lerp( lerpResult1_g3967 , tex2DNode866.g , (float)saturate( temp_output_5_0_g3967 )); + int temp_output_6_0_g3967 = ( temp_output_5_0_g3967 - 1 ); + float lerpResult10_g3967 = lerp( lerpResult12_g3967 , tex2DNode866.b , (float)saturate( temp_output_6_0_g3967 )); + float lerpResult11_g3967 = lerp( lerpResult10_g3967 , tex2DNode866.a , (float)saturate( ( temp_output_6_0_g3967 - 1 ) )); + #ifdef _EMISSION + float4 staticSwitch1062 = ( _EmissionColor * tex2D( _EmissionMap, ( uv_EmissionMap + lerpResult859 ) ) * lerpResult11_g3967 ); + #else + float4 staticSwitch1062 = float4( 0,0,0,0 ); + #endif + float4 EmissionRGBA786 = staticSwitch1062; + float4 temp_output_211_0_g5108 = EmissionRGBA786; + float4 temp_cast_175 = (1.0).xxxx; + float3 temp_cast_176 = (1.0).xxx; + int EmissionGlowZone47_g5108 = _EmissionGlowZone; + int clampResult8_g5119 = clamp( EmissionGlowZone47_g5108 , 1 , 4 ); + int temp_output_3_0_g5119 = ( clampResult8_g5119 - 1 ); + int Zone16_g5119 = temp_output_3_0_g5119; + float3 localgetThemeData16_g5119 = getThemeData( Zone16_g5119 ); + int Band11_g5120 = 56; + int localIsLumaActive11_g5120 = IsLumaActive11_g5120( Band11_g5120 ); + int temp_output_14_0_g5119 = localIsLumaActive11_g5120; + int lerpResult15_g5119 = lerp( temp_output_3_0_g5119 , ( 63 - temp_output_3_0_g5119 ) , (float)temp_output_14_0_g5119); + int Band2_g5119 = lerpResult15_g5119; + int Delay2_g5119 = 0; + float3 localLumaGlowData2_g5119 = LumaGlowData2_g5119( Band2_g5119 , Delay2_g5119 ); + float3 lerpResult17_g5119 = lerp( ( localgetThemeData16_g5119 * localLumaGlowData2_g5119 ) , localLumaGlowData2_g5119 , (float)temp_output_14_0_g5119); + int temp_output_21_0_g5108 = saturate( EmissionGlowZone47_g5108 ); + float3 lerpResult20_g5108 = lerp( temp_cast_176 , lerpResult17_g5119 , (float)temp_output_21_0_g5108); + float3 temp_cast_180 = (1.0).xxx; + int clampResult8_g5121 = clamp( EmissionGlowZone47_g5108 , 1 , 4 ); + int temp_output_3_0_g5121 = ( clampResult8_g5121 - 1 ); + int Zone15_g5121 = temp_output_3_0_g5121; + float3 localgetThemeData15_g5121 = getThemeData( Zone15_g5121 ); + int Band11_g5122 = 56; + int localIsLumaActive11_g5122 = IsLumaActive11_g5122( Band11_g5122 ); + int temp_output_13_0_g5121 = localIsLumaActive11_g5122; + int lerpResult14_g5121 = lerp( temp_output_3_0_g5121 , ( 63 - temp_output_3_0_g5121 ) , (float)temp_output_13_0_g5121); + int Band11_g5121 = lerpResult14_g5121; + float cos6_g5108 = cos( radians( _EmissionGlowPulseDir ) ); + float sin6_g5108 = sin( radians( _EmissionGlowPulseDir ) ); + float2 rotator6_g5108 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g5108 , -sin6_g5108 , sin6_g5108 , cos6_g5108 )) + float2( 0.5,0.5 ); + int Band6_g5114 = _EmissionGlowAnimationBand; + int Mode6_g5114 = ( ( _EmissionGlowAnimationMode * 2 ) + _EmissionGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g5114 = AudioLinkDecodeDataAsUInt6_g5114( Band6_g5114 , Mode6_g5114 ); + float localGetLocalTime2_g5115 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g5108 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g5114 % 628319 ) / 100000.0 ) , localGetLocalTime2_g5115 , (float)saturate( ( _EmissionGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g5108 = ( _EmissionGlowAnimationStrength * lerpResult206_g5108 * step( _EmissionGlowAnimationBand , 9 ) ); + float x13_g5108 = ( ( rotator6_g5108.x * _EmissionGlowPulseScale ) + _EmissionGlowPulseOffset + EmissionGlowAnimation195_g5108 ); + float y13_g5108 = 127.0; + float localglslmod13_g5108 = glslmod13_g5108( x13_g5108 , y13_g5108 ); + float2 CenteredUV15_g5110 = ( i.uv_texcoord - _EmissionGlowRadialCenter ); + float2 break17_g5110 = CenteredUV15_g5110; + float2 appendResult23_g5110 = (float2(( length( CenteredUV15_g5110 ) * _EmissionGlowPulseScale * 2.0 ) , ( atan2( break17_g5110.x , break17_g5110.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g5108 = ( _EmissionGlowPulseOffset + appendResult23_g5110.x + EmissionGlowAnimation195_g5108 ); + float y12_g5108 = 127.0; + float localglslmod12_g5108 = glslmod12_g5108( x12_g5108 , y12_g5108 ); + int EmissionGlowMode35_g5108 = _EmissionGlowMode; + int temp_output_37_0_g5108 = ( EmissionGlowMode35_g5108 - 1 ); + float lerpResult5_g5108 = lerp( localglslmod13_g5108 , localglslmod12_g5108 , (float)saturate( temp_output_37_0_g5108 )); + float DirectionalMap106_g5108 = Direction27_g5107; + float lerpResult179_g5108 = lerp( DirectionalMap106_g5108 , ( 1.0 - DirectionalMap106_g5108 ) , (float)saturate( ( EmissionGlowMode35_g5108 - 3 ) )); + float x34_g5108 = ( _EmissionGlowPulseOffset + ( _EmissionGlowPulseScale * lerpResult179_g5108 ) + EmissionGlowAnimation195_g5108 ); + float y34_g5108 = 127.0; + float localglslmod34_g5108 = glslmod34_g5108( x34_g5108 , y34_g5108 ); + float lerpResult30_g5108 = lerp( lerpResult5_g5108 , localglslmod34_g5108 , (float)saturate( ( temp_output_37_0_g5108 - 1 ) )); + float EmissionGlowDelay56_g5108 = lerpResult30_g5108; + float Delay11_g5121 = EmissionGlowDelay56_g5108; + float3 localLumaGlowLerp11_g5121 = LumaGlowLerp11_g5121( Band11_g5121 , Delay11_g5121 ); + float3 lerpResult17_g5121 = lerp( ( localgetThemeData15_g5121 * localLumaGlowLerp11_g5121 ) , localLumaGlowLerp11_g5121 , (float)temp_output_13_0_g5121); + float3 lerpResult22_g5108 = lerp( temp_cast_180 , lerpResult17_g5121 , (float)temp_output_21_0_g5108); + float3 lerpResult23_g5108 = lerp( lerpResult20_g5108 , lerpResult22_g5108 , (float)saturate( EmissionGlowMode35_g5108 )); + float4 temp_cast_190 = (1.0).xxxx; + float temp_output_10_0_g5116 = EmissionGlowDelay56_g5108; + float Position1_g5118 = ( temp_output_10_0_g5116 / 127.0 ); + float4 localAudioLinkLerp1_g5118 = AudioLinkLerp1_g5118( Position1_g5118 ); + int clampResult8_g5116 = clamp( ( EmissionGlowZone47_g5108 - 4 ) , 1 , 3 ); + int Band11_g5116 = ( 59 - ( clampResult8_g5116 - 1 ) ); + float Delay11_g5116 = temp_output_10_0_g5116; + float3 localLumaGlowLerp11_g5116 = LumaGlowLerp11_g5116( Band11_g5116 , Delay11_g5116 ); + int Band11_g5117 = 56; + int localIsLumaActive11_g5117 = IsLumaActive11_g5117( Band11_g5117 ); + float4 lerpResult14_g5116 = lerp( localAudioLinkLerp1_g5118 , float4( localLumaGlowLerp11_g5116 , 0.0 ) , (float)localIsLumaActive11_g5117); + float4 lerpResult52_g5108 = lerp( temp_cast_190 , lerpResult14_g5116 , (float)saturate( EmissionGlowZone47_g5108 )); + float4 lerpResult51_g5108 = lerp( float4( lerpResult23_g5108 , 0.0 ) , lerpResult52_g5108 , (float)saturate( ( EmissionGlowZone47_g5108 - 4 ) )); + float4 temp_cast_195 = (_EmissionGlowMinBrightness).xxxx; + float4 temp_cast_196 = (( _EmissionGlowMinBrightness + 1.0 )).xxxx; + int temp_output_245_0_g5108 = saturate( EmissionGlowZone47_g5108 ); + float4 EmissionGlow142_g5108 = ( (temp_cast_195 + (lerpResult51_g5108 - float4( 0,0,0,0 )) * (temp_cast_196 - temp_cast_195) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _EmissionGlowTint * temp_output_245_0_g5108 ); + float4 lerpResult248_g5108 = lerp( temp_cast_175 , EmissionGlow142_g5108 , (float)temp_output_245_0_g5108); + float4 EmissionGlowTog249_g5108 = lerpResult248_g5108; + int EmissionReactiveBand254_g5108 = _EmissionReactiveBand; + int Band3_g5109 = EmissionReactiveBand254_g5108; + int Delay3_g5109 = 0; + float localAudioLinkData3_g5109 = AudioLinkData3_g5109( Band3_g5109 , Delay3_g5109 ); + int temp_output_64_0_g5108 = step( _EmissionReactiveBand , 9 ); + float lerpResult66_g5108 = lerp( 1.0 , localAudioLinkData3_g5109 , (float)temp_output_64_0_g5108); + int Band3_g5111 = _EmissionReactiveBand; + float cos78_g5108 = cos( radians( _EmissionReactivePulseDir ) ); + float sin78_g5108 = sin( radians( _EmissionReactivePulseDir ) ); + float2 rotator78_g5108 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g5108 , -sin78_g5108 , sin78_g5108 , cos78_g5108 )) + float2( 0.5,0.5 ); + float x96_g5108 = ( ( rotator78_g5108.x * _EmissionReactivePulseScale ) + _EmissionReactivePulseOffset ); + float y96_g5108 = 127.0; + float localglslmod96_g5108 = glslmod96_g5108( x96_g5108 , y96_g5108 ); + float2 CenteredUV15_g5112 = ( i.uv_texcoord - _EmissionReactiveRadialCenter ); + float2 break17_g5112 = CenteredUV15_g5112; + float2 appendResult23_g5112 = (float2(( length( CenteredUV15_g5112 ) * _EmissionReactivePulseScale * 2.0 ) , ( atan2( break17_g5112.x , break17_g5112.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g5108 = ( _EmissionReactivePulseOffset + appendResult23_g5112.x ); + float y97_g5108 = 127.0; + float localglslmod97_g5108 = glslmod97_g5108( x97_g5108 , y97_g5108 ); + int EmissionReactiveMode99_g5108 = _EmissionReactiveMode; + int temp_output_90_0_g5108 = ( EmissionReactiveMode99_g5108 - 1 ); + float lerpResult77_g5108 = lerp( localglslmod96_g5108 , localglslmod97_g5108 , (float)saturate( temp_output_90_0_g5108 )); + float lerpResult174_g5108 = lerp( DirectionalMap106_g5108 , ( 1.0 - DirectionalMap106_g5108 ) , (float)saturate( ( EmissionReactiveMode99_g5108 - 3 ) )); + float x98_g5108 = ( _EmissionReactivePulseOffset + ( _EmissionReactivePulseScale * lerpResult174_g5108 ) ); + float y98_g5108 = 127.0; + float localglslmod98_g5108 = glslmod98_g5108( x98_g5108 , y98_g5108 ); + float lerpResult87_g5108 = lerp( lerpResult77_g5108 , localglslmod98_g5108 , (float)saturate( ( temp_output_90_0_g5108 - 1 ) )); + float Delay3_g5111 = lerpResult87_g5108; + float localAudioLinkLerp3_g5111 = AudioLinkLerp3_g5111( Band3_g5111 , Delay3_g5111 ); + float lerpResult102_g5108 = lerp( 1.0 , localAudioLinkLerp3_g5111 , (float)temp_output_64_0_g5108); + float lerpResult103_g5108 = lerp( lerpResult66_g5108 , lerpResult102_g5108 , (float)saturate( EmissionReactiveMode99_g5108 )); + int Band3_g5113 = _EmissionReactiveBand; + float FilteredAmount3_g5113 = ( ( 1.0 - _EmissionReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g5113 = AudioLinkLerp3_g5113( Band3_g5113 , FilteredAmount3_g5113 ); + float lerpResult168_g5108 = lerp( 1.0 , localAudioLinkLerp3_g5113 , (float)temp_output_64_0_g5108); + float lerpResult172_g5108 = lerp( lerpResult103_g5108 , lerpResult168_g5108 , (float)saturate( ( EmissionReactiveMode99_g5108 - 4 ) )); + float ReactivityAlpha132_g5108 = (_EmissionReactiveMinBrightness + (lerpResult172_g5108 - 0.0) * (( _EmissionReactiveMinBrightness + 1.0 ) - _EmissionReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_207 = (1.0).xxxx; + float4 lerpResult265_g5108 = lerp( temp_cast_207 , _EmissionReactiveTint , (float)step( EmissionReactiveBand254_g5108 , 9 )); + float4 FinalReactivity68_g5108 = ( ReactivityAlpha132_g5108 * lerpResult265_g5108 ); + float4 lerpResult146_g5108 = lerp( ( EmissionGlowTog249_g5108 * FinalReactivity68_g5108 ) , ( EmissionGlow142_g5108 + FinalReactivity68_g5108 ) , (float)saturate( _EmissionReactiveBlendMode )); + float4 ReversedReactivity152_g5108 = ( ( 1.0 - ReactivityAlpha132_g5108 ) * lerpResult265_g5108 ); + int temp_output_157_0_g5108 = ( _EmissionReactiveBlendMode - 1 ); + float4 lerpResult114_g5108 = lerp( lerpResult146_g5108 , ( EmissionGlowTog249_g5108 * ReversedReactivity152_g5108 ) , (float)saturate( temp_output_157_0_g5108 )); + float4 lerpResult164_g5108 = lerp( lerpResult114_g5108 , ( EmissionGlow142_g5108 + ( ReversedReactivity152_g5108 * step( EmissionReactiveBand254_g5108 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g5108 - 1 ) )); + float grayscale214_g5108 = Luminance(temp_output_211_0_g5108.rgb); + float smoothstepResult215_g5108 = smoothstep( 0.0 , 0.5 , grayscale214_g5108); + int ReactiveBlendmode272_g5108 = _EmissionReactiveBlendMode; + float x270_g5108 = (float)ReactiveBlendmode272_g5108; + float y270_g5108 = 2.0; + float localglslmod270_g5108 = glslmod270_g5108( x270_g5108 , y270_g5108 ); + float lerpResult271_g5108 = lerp( localglslmod270_g5108 , (float)_EmissionGlowBlendMode , (float)saturate( EmissionGlowZone47_g5108 )); + float4 lerpResult212_g5108 = lerp( ( lerpResult164_g5108 * temp_output_211_0_g5108 ) , ( ( lerpResult164_g5108 * smoothstepResult215_g5108 ) + temp_output_211_0_g5108 ) , lerpResult271_g5108); + float localIfAudioLinkv2Exists1_g5123 = IfAudioLinkv2Exists1_g5123(); + float4 lerpResult281_g5108 = lerp( temp_output_211_0_g5108 , lerpResult212_g5108 , localIfAudioLinkv2Exists1_g5123); + #ifdef _EMISSION + float4 staticSwitch284_g5108 = lerpResult281_g5108; + #else + float4 staticSwitch284_g5108 = float4( 0,0,0,0 ); + #endif + float4 EmissionGlow791 = ( ( lerpResult280_g5124 + lerpResult276_g5140 + lerpResult278_g5156 + lerpResult278_g5172 ) + staticSwitch284_g5108 ); + float4 EmissionRGBA135_g4905 = EmissionGlow791; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 temp_output_21_0_g4905 = Normal243; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (1*0.5 + 0.5) , 1 , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float Intensity132_g4905 = _IridescentIntensity; + float4 temp_output_110_0_g4905 = ( lerpResult32_g4905 * Intensity132_g4905 ); + float4 lerpResult46_g4905 = lerp( temp_output_110_0_g4905 , ( temp_output_110_0_g4905 * EmissionRGBA135_g4905 ) , (float)saturate( _IridescentEmissionMode )); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb3_g4911 = HSVToRGB( float3(AnimatedDot130_g4905,1.0,1.0) ); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + float4 lerpResult54_g4905 = lerp( lerpResult46_g4905 , float4( ( hsvTorgb3_g4911 * Intensity132_g4905 ) , 0.0 ) , (float)saturate( temp_output_52_0_g4905 )); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + float4 lerpResult89_g4905 = lerp( lerpResult54_g4905 , EmissionRGBA135_g4905 , (float)temp_output_91_0_g4905); + float4 lerpResult82_g4905 = lerp( EmissionRGBA135_g4905 , ( temp_output_55_0_g4905 * lerpResult89_g4905 ) , temp_output_55_0_g4905); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch108_g4905 = lerpResult82_g4905; + #else + float4 staticSwitch108_g4905 = float4( 0,0,0,0 ); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult229_g4905 = lerp( staticSwitch108_g4905 , ( staticSwitch108_g4905 * temp_output_233_0_g4905 ) , (float)temp_output_225_0_g4905); + float4 lerpResult246_g4905 = lerp( EmissionRGBA135_g4905 , lerpResult229_g4905 , _Enableiridescence); + float4 FinalEmission1029 = lerpResult246_g4905; + o.Emission = FinalEmission1029.rgb; + } + + ENDCG + CGPROGRAM + #pragma surface surf StandardCustomLighting keepalpha fullforwardshadows nolightmap nodynlightmap nodirlightmap nometa + + ENDCG + Pass + { + Name "ShadowCaster" + Tags{ "LightMode" = "ShadowCaster" } + ZWrite On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma target 4.5 + #pragma multi_compile_shadowcaster + #pragma multi_compile UNITY_PASS_SHADOWCASTER + #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 + #include "HLSLSupport.cginc" + #if ( SHADER_API_D3D11 || SHADER_API_GLCORE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_METAL || SHADER_API_VULKAN ) + #define CAN_SKIP_VPOS + #endif + #include "UnityCG.cginc" + #include "Lighting.cginc" + #include "UnityPBSLighting.cginc" + struct v2f + { + V2F_SHADOW_CASTER; + float2 customPack1 : TEXCOORD1; + float4 tSpace0 : TEXCOORD2; + float4 tSpace1 : TEXCOORD3; + float4 tSpace2 : TEXCOORD4; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + v2f vert( appdata_full v ) + { + v2f o; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_INITIALIZE_OUTPUT( v2f, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + Input customInputData; + float3 worldPos = mul( unity_ObjectToWorld, v.vertex ).xyz; + half3 worldNormal = UnityObjectToWorldNormal( v.normal ); + half3 worldTangent = UnityObjectToWorldDir( v.tangent.xyz ); + half tangentSign = v.tangent.w * unity_WorldTransformParams.w; + half3 worldBinormal = cross( worldNormal, worldTangent ) * tangentSign; + o.tSpace0 = float4( worldTangent.x, worldBinormal.x, worldNormal.x, worldPos.x ); + o.tSpace1 = float4( worldTangent.y, worldBinormal.y, worldNormal.y, worldPos.y ); + o.tSpace2 = float4( worldTangent.z, worldBinormal.z, worldNormal.z, worldPos.z ); + o.customPack1.xy = customInputData.uv_texcoord; + o.customPack1.xy = v.texcoord; + TRANSFER_SHADOW_CASTER_NORMALOFFSET( o ) + return o; + } + half4 frag( v2f IN + #if !defined( CAN_SKIP_VPOS ) + , UNITY_VPOS_TYPE vpos : VPOS + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID( IN ); + Input surfIN; + UNITY_INITIALIZE_OUTPUT( Input, surfIN ); + surfIN.uv_texcoord = IN.customPack1.xy; + float3 worldPos = float3( IN.tSpace0.w, IN.tSpace1.w, IN.tSpace2.w ); + half3 worldViewDir = normalize( UnityWorldSpaceViewDir( worldPos ) ); + surfIN.worldPos = worldPos; + surfIN.worldNormal = float3( IN.tSpace0.z, IN.tSpace1.z, IN.tSpace2.z ); + surfIN.worldRefl = -worldViewDir; + surfIN.internalSurfaceTtoW0 = IN.tSpace0.xyz; + surfIN.internalSurfaceTtoW1 = IN.tSpace1.xyz; + surfIN.internalSurfaceTtoW2 = IN.tSpace2.xyz; + SurfaceOutputCustomLightingCustom o; + UNITY_INITIALIZE_OUTPUT( SurfaceOutputCustomLightingCustom, o ) + surf( surfIN, o ); + UnityGI gi; + UNITY_INITIALIZE_OUTPUT( UnityGI, gi ); + o.Alpha = LightingStandardCustomLighting( o, worldViewDir, gi ).a; + #if defined( CAN_SKIP_VPOS ) + float2 vpos = IN.pos; + #endif + SHADOW_CASTER_FRAGMENT( IN ) + } + ENDCG + } + } + Fallback "Diffuse" + CustomEditor "FuralityShaderUI" +} +/*ASEBEGIN +Version=19105 +Node;AmplifyShaderEditor.CommentaryNode;1217;1967.137,3467.509;Inherit;False;2277.787;663.5576;Comment;26;1203;1204;1205;1206;1200;1201;1202;1198;1199;1207;1197;1208;1211;1209;1210;1213;1214;1212;1216;1215;1196;1195;1194;1193;1191;1192;Outline Properties to make UI work;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;794;1332.497,1390.873;Inherit;False;961.6262;243.937;Comment;5;791;798;790;789;787;Luma Glow;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;639;-8884.074,-1676.043;Inherit;False;3010.964;860.379;Comment;26;568;569;570;571;572;574;573;577;575;583;592;582;576;584;32;588;578;581;589;580;533;627;629;630;632;628;Light Color + Attenuation;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;403;-3335.939,-3496.149;Inherit;False;2162.522;1530.744;Comment;35;90;1143;1142;386;241;223;391;246;302;1065;383;380;852;225;272;392;385;394;384;224;393;247;255;254;252;7;253;251;269;250;243;388;242;389;1144;Texture Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RangedFloatNode;389;-3188.197,-3056.841;Inherit;False;Constant;_Float3;Float 3;14;0;Create;True;0;0;0;False;0;False;1.25;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;242;-3006.6,-3221.549;Inherit;False;0;223;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.SimpleMultiplyOpNode;388;-2970.259,-3105.271;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;243;-2263.6,-3243.549;Inherit;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;5;-3238.615,-1376.222;Inherit;False;1756.584;1421.47;Comment;52;22;284;285;362;30;45;23;68;17;47;44;211;381;401;303;163;395;54;396;402;31;227;176;259;46;59;226;256;212;177;258;249;101;41;248;257;29;100;245;6;795;587;590;1145;1147;1148;1150;1180;1181;1182;1189;1190;Input Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.NormalVertexDataNode;100;-2593.113,-255.3687;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;245;-2547.908,-114.6905;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;101;-2379.915,-261.8687;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;257;-2372.083,-114.9804;Inherit;False;Tangent;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TexelSizeNode;250;-2892.26,-2840.326;Inherit;False;246;1;0;SAMPLER2D;;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.TextureCoordinatesNode;269;-3020.702,-3015.853;Inherit;False;0;223;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.SimpleAddOpNode;258;-2121.888,-254.5151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;251;-2670.343,-2766.867;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;6;-2330.628,-1069.771;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;259;-2008.888,-253.5151;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;253;-2664.241,-2840.508;Inherit;False;Property;_GlossMapScale;GlossMapScale;29;0;Create;True;0;0;0;False;0;False;1;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;7;-2304.152,-2910.047;Inherit;False;Property;_Glossiness;Smoothness;27;0;Create;False;0;0;0;False;0;False;0.5;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;252;-2559.297,-2766.867;Inherit;False;2;0;FLOAT;10;False;1;FLOAT;10;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;254;-2220.061,-2832.362;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;4;-1449.85,-1331.164;Inherit;False;957.896;1201.264;Comment;38;56;40;604;600;48;74;597;36;598;42;33;596;607;37;18;75;605;599;11;72;24;27;49;38;73;50;28;52;25;39;13;71;19;14;8;15;26;10;Dot Products;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;29;-2027.33,-1071.781;Inherit;False;viewDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;31;-1815.471,-256.4359;Inherit;False;worldNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;10;-1395.339,-1281.164;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;26;-1397.544,-1043.199;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;15;-1399.849,-1118.233;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;8;-1396.339,-1211.164;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;255;-2027.867,-2837.701;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;14;-1207.206,-1086.684;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;19;-1215.339,-1257.164;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;212;-2855.798,-845.3053;Inherit;False;Constant;_Float2;Float 2;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;256;-2846.284,-985.8676;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;71;-1072.621,-1085.356;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;177;-2854.646,-916.5242;Inherit;False;Constant;_Float0;Float 0;10;0;Create;True;0;0;0;False;0;False;0.3;0.4;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.NormalizeNode;13;-1100.339,-1258.164;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;563;-6117.17,1090.775;Inherit;False;1218.21;440.525;Comment;13;512;516;519;511;534;513;517;501;535;518;520;521;594;Toon Ambience;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;39;-939.8036,-1090.568;Inherit;False;NdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;176;-2657.246,-978.5247;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;25;-960.3385,-1262.164;Inherit;False;halfDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;220;-4332.81,70.03413;Inherit;False;2632.908;1547.742;Comment;46;460;636;635;634;139;140;219;190;310;128;312;311;522;274;313;132;306;275;623;129;314;123;566;138;379;121;231;116;230;445;232;115;301;117;114;300;565;461;233;120;125;514;124;987;1120;1160;BRDF;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;512;-6067.17,1140.775;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;52;-1397.545,-736.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;28;-1399.85,-811.295;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;303;-2463.311,-925.2256;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.999;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;456;-6422.013,407.4249;Inherit;False;1957.475;517.7657;Comment;19;450;471;452;469;444;476;415;477;473;472;413;451;470;436;478;479;475;416;1132;Stylize Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;211;-2342.89,-903.3854;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;50;-1207.207,-779.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;516;-5894.896,1145.77;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;247;-2436.355,-3015.931;Inherit;False;MetallticFromTex;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;73;-1065.78,-781.5579;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;476;-6344.136,724.7207;Inherit;False;Constant;_ToonSpecular;Toon Specular;20;0;Create;True;0;0;0;False;0;False;0.48;0.479;0;0.499;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;248;-2629.301,-709.2548;Inherit;False;247;MetallticFromTex;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;511;-5761.434,1145.739;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;519;-5944.896,1237.77;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.OneMinusNode;47;-2111.788,-903.9219;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;41;-2693.438,-787.5811;Inherit;False;Property;_Metallic;Metallic;25;0;Create;True;0;0;0;False;0;False;0;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;393;-3172.445,-2357.431;Inherit;False;0;223;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.RegisterLocalVarNode;514;-2719.453,985.0649;Inherit;False;ToonNdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;501;-5623.576,1144.053;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;534;-5780.627,1416.3;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;38;-919.9026,-783.9518;Inherit;False;NdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;473;-6345.945,648.5159;Inherit;False;Constant;_ToonOffset;Toon Offset;16;0;Create;True;0;0;0;False;0;False;-0.4;-0.39;-1;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;249;-2412.301,-763.2548;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;517;-5760.825,1242.613;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;17;-1935.923,-820.6301;Inherit;False;roughness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;513;-5776.97,1337.775;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;594;-5601.755,1091.489;Inherit;False;Constant;_Float13;Float 13;20;0;Create;True;0;0;0;False;0;False;0.65;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;477;-6067.136,806.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;384;-2437.779,-2302.501;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CustomExpressionNode;518;-5622.967,1240.927;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;49;-1399.055,-960.3293;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;472;-5895.945,655.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;535;-5599.627,1374.3;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;475;-5902.945,770.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;46;-2269.892,-769.3549;Inherit;False;metallic;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;416;-6164.954,464.0959;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;415;-6173.801,539.6567;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;27;-1396.75,-885.2946;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;593;-5431.755,1149.489;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;394;-2098.372,-2307.369;Inherit;False;SpecularTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;479;-5755.136,750.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;24;-1206.412,-928.7805;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;217;-1594.872,200.3197;Inherit;False;2616.111;764.0852;Comment;32;174;175;156;204;162;213;205;214;215;203;161;202;166;200;201;191;181;208;315;180;158;165;151;152;276;153;480;481;484;482;498;1165;Indirect Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;478;-5760.136,643.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;413;-5946.941,511.468;Inherit;False;GGXTerm(nh, roughness);1;Create;2;True;nh;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;ggx;False;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;227;-2831.27,-633.0755;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;396;-2327.961,-390.6081;Inherit;False;Property;_EnableSpecularMap;Enable Specular Map;36;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;402;-2220.789,-483.7458;Inherit;False;Constant;_Float5;Float 5;17;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;54;-2628.055,-457.5206;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;520;-5308.896,1242.77;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;470;-5210.727,730.8561;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;395;-2066.061,-680.9556;Inherit;False;394;SpecularTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;436;-5605.002,544.9354;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;72;-1073.99,-930.7202;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;451;-5604.283,672.5679;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DiffuseAndSpecularFromMetallicNode;163;-2399.557,-597.6036;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;3;FLOAT3;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.GetLocalVarNode;180;-1514.461,680.5375;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;401;-2051.101,-479.9181;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;381;-1868.959,-588.0468;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;11;-941.7469,-929.9261;Inherit;False;NdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;452;-5209.375,553.4788;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;315;-1300.661,675.7377;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;469;-4966.727,731.8561;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.8;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;125;-3174.562,1070.987;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;208;-1151.827,677.0204;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;44;-1720.645,-591.458;Inherit;False;specColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;471;-4799.567,730.9291;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;5;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;120;-3571.68,274.0615;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;233;-3569.558,177.7777;Inherit;False;Constant;_Float1;Float 1;6;0;Create;True;0;0;0;False;0;False;1.2;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;181;-982.5577,650.3491;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;461;-2980.706,1074.058;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;450;-4769.774,574.9086;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;191;-853.3322,650.4323;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;444;-4651.538,570.9512;Inherit;False;ToonSpecular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;565;-2804.095,1073.13;Inherit;False;ToonNdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;385;-3013.247,-2640.655;Inherit;False;0;223;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.SimpleMultiplyOpNode;300;-3386.994,223.6072;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;114;-3461.573,805.1125;Inherit;False;565;ToonNdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;590;-2621.987,-1305.75;Inherit;False;589;InitialLightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;117;-3462.64,952.4464;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;301;-3254.994,223.6072;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;201;-488.3773,654.145;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-3463.573,734.1125;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;166;-702.3997,453.5815;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;200;-677.7151,648.213;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;232;-3388.666,589.1027;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;560;-1245.632,1312.672;Inherit;False;1886.165;1162.995;Comment;37;591;542;622;621;595;557;545;625;567;547;558;619;555;548;613;549;620;626;554;556;614;552;550;617;553;610;551;615;618;544;616;537;612;543;609;853;1134;Rimlighting;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;230;-3390.865,428.9026;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;116;-3462.773,880.1125;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;231;-3388.366,506.7026;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;68;-2378.209,-1304.412;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;609;-498.8056,2203.786;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;161;-509.7723,469.6328;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;4;False;1;FLOAT;0 +Node;AmplifyShaderEditor.PowerNode;392;-2451.833,-2613.263;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;543;-1187.779,1789.996;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;202;-300.1848,678.6759;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;379;-3135.121,470.3841;Inherit;False;float L = (NdotL) / (NdotL * (1- k) + k)@$float V = (NdotV) / (NdotV * (1-k) +k)@$$return L*V@;1;Create;3;True;k;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;SchlickGGX;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;138;-3189.65,726.0227;Inherit;False;float FresnelLight = SchlickFresnel(NdotL)@$float FresnelView = SchlickFresnel(NdotV)@$float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness@$return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView)@;1;Create;4;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;True;LdotH;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;F0;True;False;2;139;140;;False;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;566;-3170.882,867.2664;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;612;-477.8056,2287.786;Inherit;False;Constant;_Vector0;Vector 0;20;0;Create;True;0;0;0;False;0;False;0,1,0;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;537;-1181.791,1709.072;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;616;-673.2114,1454.868;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;272;-2284.777,-2618.305;Inherit;False;Occlusion;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;23;-2079.385,-604.7594;Inherit;False;diffuse;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;544;-972.4919,1731.102;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;618;-669.238,1542.556;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;615;-313.6245,2334.562;Inherit;False;Constant;_Float15;Float 15;20;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;480;-283.3387,506.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;551;-994.2482,1828.831;Inherit;False;Constant;_Float11;Float 11;21;0;Create;True;0;0;0;False;0;False;-0.2;-0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;123;-2829.634,444.2128;Inherit;False;return (N*G*F) / (4 * (NdotL*NdotV))@;3;Create;5;True;N;FLOAT3;0,0,0;In;;Inherit;False;True;G;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;BRDF;False;True;0;;False;5;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;482;-68.33875,789.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;610;-307.3041,2238.428;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;314;-2832.01,372.4067;Inherit;False;Constant;_Float7;Float 7;10;0;Create;True;0;0;0;False;0;False;0.001;0.02;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;214;-77.45105,524.8002;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;553;-842.7739,1978.127;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;550;-845.248,1736.831;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;215;-64.47279,601.2673;Inherit;False;Constant;_Float4;Float 4;4;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;561;2095.64,27.8058;Inherit;False;2082.213;872.7515;Comment;38;831;830;829;828;827;826;823;822;824;819;818;490;524;792;497;788;486;494;489;495;492;532;488;496;493;529;491;832;1042;1045;1046;1058;1060;1059;1066;1081;1185;1186;Outlines;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;623;-2658.41,622.8109;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;203;-58.52485,674.2479;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;275;-2675.618,355.3681;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;481;-253.3387,402.084;Inherit;False;2;2;0;FLOAT;0.01;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;306;-2699.387,905.8491;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;132;-2651.551,446.4316;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;552;-804.2864,1907.889;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;614;-184.6245,2238.562;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;313;-2657.845,542.0784;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;556;-644.5186,2003.105;Inherit;False;Constant;_Float12;Float 12;20;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;554;-648.5186,1913.105;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;626;-64.21997,2164.697;Inherit;False;Constant;_Float17;Float 17;21;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;274;-2481.617,300.3679;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;491;3076.28,552.4065;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;152;29.06121,326.3416;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;549;-727.676,1835.152;Inherit;False;Constant;_Float8;Float 8;20;0;Create;True;0;0;0;False;0;False;20;20;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;311;-2495.592,917.2233;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;312;-2476.895,448.7652;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;276;40.03976,402.8723;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;613;-59.30401,2235.428;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;213;131.8297,544.2889;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;162;-122.9196,431.788;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;153;32.36602,250.3197;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;205;129.113,663.7913;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;548;-717.1375,1742.013;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;529;3380.719,431.3767;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;555;-524.5184,1917.105;Inherit;False;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;128;-2302.115,345.1725;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.IndirectSpecularLight;151;227.3664,278.3197;Inherit;False;World;3;0;FLOAT3;0,0,1;False;1;FLOAT;0.5;False;2;FLOAT;1;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;310;-2346.613,816.7513;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;558;-504.3968,2017.898;Inherit;False;Property;_RimlightColor;Rimlight Color;41;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;11.98431,11.98431,11.98431,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;547;-563.4562,1738.109;Inherit;False;ExponentialSquared_Blend;-1;;1;7792fe74aab0b2f4d8615a784f562aa2;1,7,0;2;12;FLOAT;0;False;9;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;567;-239.0434,2075.365;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;204;310.205,469.0058;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;625;75.78027,2222.697;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;545;58.48236,1477.761;Inherit;False;7;7;0;FLOAT;0;False;1;FLOAT;0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;FLOAT;0;False;6;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;165;547.4448,426.1721;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;532;3520.733,382.9306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;562;-426.9865,-1298.826;Inherit;False;2708.104;1199.057;Comment;25;905;911;912;909;910;908;907;906;268;864;863;861;860;859;858;871;868;866;862;786;266;267;265;913;1062;Emission;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TransformDirectionNode;492;3363.496,547.6183;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;190;-2167.837,347.7095;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CommentaryNode;222;3678.678,-355.4811;Inherit;False;440.5804;266.2591;Comment;4;169;221;159;1119;Composite;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;219;-2029.515,342.5311;Inherit;False;BRDF;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;557;340.3037,1469.082;Inherit;False;Rimlighting;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;265;1209.963,-1067.859;Inherit;True;Property;_EmissionMap;EmissionMap;5;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.GetLocalVarNode;159;3706.322,-313.2809;Inherit;False;158;IndirectSpecular;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;267;1330.802,-1248.826;Inherit;False;Property;_EmissionColor;Emission Color;7;1;[HDR];Create;True;0;0;0;False;0;False;0,0,0,0;1,0.5188679,0.5188679,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;221;3730.281,-237.8131;Inherit;False;219;BRDF;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;175;-816.4901,529.5698;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;140;-2813.083,603.2727;Inherit;False;return j*x+i*(1-x)@;1;Create;3;True;i;FLOAT;0;In;;Inherit;False;True;j;FLOAT;0;In;;Inherit;False;True;x;FLOAT;0;In;;Inherit;False;MixFunc;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-1931.422,-916.1447;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;599;-822.542,-307.6921;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;285;-3030.983,-472.9721;Inherit;False;Constant;_Float6;Float 6;9;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;605;-1093.615,-232.9525;Inherit;False;Constant;_Float14;Float 14;20;0;Create;True;0;0;0;False;0;False;0.1;0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;595;-463.6266,1369.061;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;75;-1071.254,-468.1801;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;18;-1399.849,-658.295;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;156;-987.3672,523.5707;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ClampOpNode;174;-668.5641,526.8943;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.03;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;266;1570.802,-1101.826;Inherit;False;3;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;37;-1397.826,-503.7185;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;621;-370.3684,1572.545;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;607;-1086.071,-307.0391;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;596;-1401.809,-263.1957;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;622;-231.1782,1347.674;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;-0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;33;-1207.206,-626.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;362;-2129.13,-156.8327;Inherit;False;clearcoatNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;42;-950.3943,-631.1833;Inherit;False;VdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;22;-1791.587,-919.7219;Inherit;False;roughnessSquared;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;598;-1204.471,-306.6816;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;36;-1402.521,-428.6837;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;597;-1397.114,-338.2305;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;542;-641.7698,1365.349;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;74;-1073.991,-625.5533;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;139;-2812.083,713.2732;Inherit;False;float x = saturate(1-i)@$float x2 = x*x@$return x2*x2*x@;1;Create;1;True;i;FLOAT;0;In;;Inherit;False;SchlickFresnel;False;True;0;;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;591;-229.3808,2146.77;Inherit;False;600;LdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;48;-1397.544,-583.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;600;-698.5538,-311.3818;Inherit;False;LdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;284;-2635.655,-620.5502;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleSubtractOpNode;604;-958.6155,-306.9525;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;40;-1205.183,-472.1696;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;169;3994.139,-276.3966;Inherit;False;4;4;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;56;-944.2661,-473.8698;Inherit;False;LdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;587;-2603.063,-1230.459;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;45;-2031.958,-1307.261;Inherit;False;lightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;634;-3188.233,1238.03;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;635;-2982.671,1391.145;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;636;-2683.895,1302.977;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;568;-8834.074,-1222.282;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.BreakToComponentsNode;569;-8681.742,-1198.18;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.SimpleMaxOpNode;570;-8559.542,-1198.18;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;571;-8442.542,-1178.68;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;572;-8320.396,-1179.31;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.001;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;574;-8184.584,-1271.711;Inherit;False;Constant;_Float9;Float 9;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;573;-8192.156,-1184.819;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;577;-7802.581,-1318.901;Inherit;False;int lightEnv = int(any(_WorldSpaceLightPos0.xyz))@ $if(lightEnv != 1){$ return 0@$ }$return 1@;0;Create;0;LightExists;True;False;0;;False;0;1;INT;0 +Node;AmplifyShaderEditor.StaticSwitch;575;-8015.616,-1225.002;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;583;-7672.467,-1626.043;Inherit;False;Constant;_FakeLightDir;Fake Light Dir;0;0;Create;True;0;0;0;False;0;False;1,1,2;1,1,2;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;592;-7492.139,-1619.998;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;582;-7677.819,-1475.114;Inherit;False;True;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;576;-7656.862,-1317.273;Inherit;False;2;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;584;-7325.008,-1619.547;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;32;-7165.986,-1623.907;Inherit;False;lightDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;588;-6689.845,-1532.681;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;578;-6439.266,-1411.936;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;581;-6248.605,-1415.129;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;589;-6106.444,-1419.762;Inherit;False;InitialLightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;580;-6606.341,-1293.334;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;533;-6459.45,-1297.361;Inherit;False;Attenuation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightAttenuation;627;-7325.271,-1094.686;Inherit;False;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;629;-7336.423,-1022.664;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;630;-6807.647,-1120.831;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;632;-6667.123,-1432.648;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;628;-7069.139,-1200;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;793;4084.51,-419.9491;Inherit;False;1029;FinalEmission;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;378;4100.366,-511.162;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;787;1382.497,1440.873;Inherit;False;786;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;795;-3209.973,-1321.565;Inherit;False;Property;_Culling;Culling;304;1;[Enum];Create;True;0;0;1;UnityEngine.Rendering.CullMode;True;0;False;0;2;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;798;1961.58,1450.408;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;791;2081.115,1445.012;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SurfaceDepthNode;524;3118.077,458.5213;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;819;2748.469,326.6143;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;824;2956.071,303.7247;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;822;2550.839,340.7459;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;823;2570.85,500.8378;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;827;2521.599,567.8765;Inherit;False;Constant;_Float16;Float 16;26;0;Create;True;0;0;0;False;0;False;1000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;828;2680.669,636.316;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;829;2888.271,613.4264;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;830;2483.039,650.4476;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;831;2503.05,810.5396;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;225;-3007.329,-3413.345;Inherit;False;0;223;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.GetLocalVarNode;853;-24.64026,1740.427;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;498;485.348,590.3273;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;484;306.6857,585.6535;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;852;-2074.02,-2722.352;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;862;1041.562,-1033.402;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.LerpOp;859;751.5616,-913.4023;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.RangedFloatNode;860;561.5616,-938.4023;Inherit;False;Constant;_Float18;Float 18;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;863;219.952,-742.4731;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;864;558.0835,-863.7878;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;268;716.8016,-1035.826;Inherit;False;0;265;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.LerpOp;906;208.5399,-512.4272;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;910;15.06175,-462.8127;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleTimeNode;909;-323.0697,-341.498;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;912;486.7254,-565.1698;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;911;-3.374744,-656.1698;Inherit;False;0;866;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.RegisterLocalVarNode;871;1003.037,-350.0024;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;913;676.2248,-352.4956;Inherit;True;Property;_TextureSample0;Texture Sample 0;4;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Instance;866;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.FunctionNode;984;1174.184,-646.1843;Inherit;True;EffectMaskChannel;-1;;3967;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;124;-3173.241,958.7939;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1027;4291.965,105.7077;Inherit;False;791;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1031;1959.949,1643.783;Inherit;False;DirectionMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1032;4430.452,465.3638;Inherit;False;1031;DirectionMap;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1042;3327.138,80.1829;Inherit;False;EffectMaskChannel;-1;;4562;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1043;2795.438,112.6829;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1044;3034.638,113.9829;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.GetLocalVarNode;1011;4262.274,6.535469;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;226;-3076.27,-549.0756;Inherit;False;1049;IridescentMainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.WorldNormalVector;1058;3137.704,747.7896;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;495;3640.296,550.8184;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;489;3680.985,243.5691;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;832;3638.739,385.1481;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;493;3237.892,553.2095;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;494;3833.85,241.0057;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;1059;3854.503,558.9896;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;1060;3875.304,715.7897;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.WorldNormalVector;1061;3312.104,-28.2103;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalVertexDataNode;488;3480.785,242.0691;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;818;2589.399,258.1747;Inherit;False;Constant;_Float10;Float 10;26;0;Create;True;0;0;0;False;0;False;10000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;786;2002.439,-932.0972;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1064;1629.501,-909.2549;Inherit;False;Constant;_Float20;Float 20;43;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;380;-2930.957,-2386.695;Inherit;True;Property;_SpecGlossMap;Specular;37;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f3bc535e7a220264d8a1f770fb367426;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.ColorNode;383;-2699.411,-2185.3;Inherit;False;Property;_SpecColor;Specular Color;39;0;Fetch;False;0;0;0;False;0;False;1,1,1,0;0.3169973,0.3169973,0.3169973,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1065;-1840.527,-3445.194;Inherit;False;Property;_ShowMain;ShowMain;206;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;302;-3285.939,-3140.613;Inherit;False;Property;_BumpScale;Normal Scale;22;0;Create;False;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;246;-2794.355,-3038.931;Inherit;True;Property;_MetallicGlossMap;Metallic;23;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;391;-2771.034,-2477.877;Inherit;False;Property;_OcclusionStrength;Occlusion Strength;34;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;223;-2790.1,-3446.149;Inherit;True;Property;_MainTex;Main Tex;0;0;Create;True;0;0;0;False;0;False;-1;None;0a92f98f03d58ac449724fa4a3f0e1f8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;241;-2788.6,-3244.549;Inherit;True;Property;_BumpMap;Normal;20;2;[Normal];[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;55479011db618034693440f32dbe9240;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.SamplerNode;386;-2786.9,-2663.733;Inherit;True;Property;_OcclusionMap;OcclusionMap;32;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;866;671.9223,-679.6194;Inherit;True;Property;_EffectMask;Effect Mask;4;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;907;75.53984,-539.4272;Inherit;False;Constant;_Float19;Float 19;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;868;705.1241,-481.1015;Inherit;False;Property;_EmissionMaskingChannel;Emission Masking Channel;9;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;908;-2.460165,-365.4272;Inherit;False;Property;_EmissionMaskPan;Emission Mask Pan;12;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;905;-346.4601,-469.4272;Inherit;False;Property;_EmissionMaskPanSpeed;Emission Mask Pan Speed;13;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;861;540.5616,-766.4023;Inherit;False;Property;_EmissionPan;Emission Pan;15;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;858;200.5616,-870.4023;Inherit;False;Property;_EmissionPanSpeed;Emission Pan Speed;18;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;1067;1402.106,1599.42;Inherit;False;Property;_ShowGlow;ShowGlow;203;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1075;4763.708,211.9052;Inherit;False;Property;_ShowEffects;ShowEffects;202;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StaticSwitch;1062;1764.78,-943.7126;Inherit;False;Property;_EnableEmission;_Enable Emission;207;0;Create;False;0;0;0;False;0;False;0;0;0;True;_EMISSION;Toggle;2;Key0;Key1;Create;True;False;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1066;2124.162,89.25903;Inherit;False;Property;_ShowOutline;ShowOutline;204;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1081;2121.584,167.0743;Inherit;False;Property;_ShowOutline2;ShowOutline2;205;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1095;4455.95,550.3781;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;460;-2981.99,956.8101;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.125;False;2;FLOAT;0.15;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;983;4391.114,201.3586;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1029;5287.174,278.7382;Inherit;False;FinalEmission;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;986;4408.033,344.0441;Inherit;False;557;Rimlighting;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1118;5024.975,112.8467;Inherit;False;RimlightEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1119;3712.385,-167.4584;Inherit;False;1118;RimlightEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;988;4397.987,266.4666;Inherit;False;987;ColoredSpec;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;121;-3038.383,159.6466;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;987;-2860.835,149.3844;Inherit;False;ColoredSpec;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1120;-3083.43,383.6133;Inherit;False;1117;SpecEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1117;5016.975,3.84671;Inherit;False;SpecEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;445;-3270.5,299.042;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1132;-5621.691,460.2031;Inherit;False;GGXTerm;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;617;-481.7099,1489.51;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;620;-347.238,1489.556;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;619;-182.238,1488.556;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1134;38.33276,1373.834;Inherit;False;RimAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1127;4223.965,452.6614;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1140;4586.708,44.20444;Inherit;False;Applfy Effects;226;;4871;86ee36ff59e1113469676c1c5ac8dd3c;0;7;31;COLOR;0,0,0,0;False;15;FLOAT3;0,0,1;False;16;COLOR;0,0,1,0;False;2;COLOR;0,0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;23;FLOAT;0;False;3;FLOAT4;0;FLOAT4;38;FLOAT4;39 +Node;AmplifyShaderEditor.FunctionNode;1141;4793.75,336.9004;Inherit;False;Iridescent Emission;208;;4905;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93 +Node;AmplifyShaderEditor.SimpleMinOpNode;1142;-1548.589,-2761.705;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;90;-1410.964,-2767.599;Inherit;False;Smoothness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;1143;-1795.298,-2903.922;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.4;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1144;-1546.305,-2910.684;Inherit;False;SmoothnessColorMult;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1145;-2345.992,-693.0366;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1146;-1698.886,-501.7159;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;224;-2484.676,-3439.029;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1048;4322.479,-94.13754;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1149;-2887.883,-734.886;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1148;-3251.883,-930.886;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1150;-3073.883,-974.886;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.ColorNode;59;-3111.619,-716.5183;Inherit;False;Property;_Color;Color;3;0;Create;True;0;0;0;False;0;False;1,1,1,1;0.9,0.9,0.9,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1147;-3110.883,-802.886;Inherit;False;Alpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;5503.371,-421.687;Float;False;True;-1;5;FuralityShaderUI;0;0;CustomLighting;Furality/Sylva Shader/Sylva Cutout;False;False;False;False;False;False;True;True;True;False;True;False;False;False;True;False;False;False;False;False;False;Back;0;False;;0;False;;False;0;False;;0;False;;False;0;Masked;0.5;True;True;0;False;TransparentCutout;;AlphaTest;All;12;all;True;True;True;True;0;False;;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;2;15;10;25;False;0.5;True;0;5;True;_BlendOPsrc;10;True;_BlendOPdst;0;5;False;;10;False;;0;False;;0;False;;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;True;Relative;0;;-1;-1;-1;-1;0;False;0;0;True;_Culling;-1;0;True;_MaskClipValue;1;Include;;True;1ec20832dfbb48343b8e0764e0864276;Custom;False;0;0;;0;0;False;0.1;False;;0;False;;False;15;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0 +Node;AmplifyShaderEditor.GetLocalVarNode;522;-2643.834,795.6546;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;521;-5129.626,1237.589;Inherit;False;ToonAmbience;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;129;-2672.565,275.1928;Inherit;False;23;diffuse;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1160;-2670.334,200.1979;Inherit;False;1155;Opacity;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;158;785.2396,421.767;Inherit;False;IndirectSpecular;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1135;4221.086,375.6588;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1133;4486.572,701.4352;Inherit;False;1132;GGXTerm;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1154;4563.932,-907.7635;Inherit;False;Constant;_Float21;Float 21;49;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1165;101.98,461.387;Inherit;False;IndirectAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1168;1511.465,577.6862;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;850;1694.621,568.6945;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1169;1218.465,607.6862;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;847;1088.521,513.8946;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CustomExpressionNode;848;1266.621,508.6945;Inherit;False;float3 nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;851;1863.677,556.974;Inherit;False;SpecularAntiAlias;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1170;4714.897,-772.7258;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1172;4452.577,-804.3515;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1049;5381.64,400.6321;Inherit;False;IridescentMainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;1152;4949.605,-904.1158;Inherit;False;Property;_Keyword3;Keyword 3;201;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1174;4082.013,-676.3953;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1175;4418.013,-707.3953;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1162;3713.449,-850.2751;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1177;3737.299,-754.6938;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1171;3942.885,-861.8574;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1179;4102.299,-795.6938;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1182;-2967.033,-1241.008;Inherit;False;Property;_BlendOPIndex;_BlendOPIndex;199;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1180;-3056.033,-1322.008;Inherit;False;Property;_BlendOPsrc;_BlendOPsrc;198;0;Create;True;0;0;0;True;0;False;5;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1181;-2884.033,-1321.008;Inherit;False;Property;_BlendOPdst;_BlendOPdst;200;0;Create;True;0;0;0;True;0;False;10;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1151;4245.475,-858.7676;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1176;5015.775,-989.7418;Inherit;False;Constant;_Float22;Float 22;49;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1046;3934.238,344.0829;Inherit;False;Property;_MaskClipValue;Mask Clip Value;305;0;Create;True;0;0;0;True;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1045;3173.738,250.4829;Inherit;False;Property;_OutlineMaskingChannel;Outline Masking Channel;50;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;496;3392.317,690.8503;Inherit;False;Property;_ViewFudge;ViewFudge;47;0;Create;True;0;0;0;True;0;False;0;0.05;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;490;2224.805,337.181;Inherit;False;Property;_OutlineWidth;Outline Width;44;0;Create;False;0;0;0;True;0;False;1;20;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;826;2157.005,646.8827;Inherit;False;Property;_MaxOutlineWidth;Max Outline Width;46;0;Create;True;0;0;0;True;0;False;850;1000;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1183;5035.267,-264.119;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1185;3759.467,144.6142;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1155;5226.195,-903.2067;Inherit;False;Opacity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OutlineNode;486;3973.185,203.869;Inherit;False;2;False;Masked;1;0;Front;True;True;True;True;0;False;;3;0;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;1186;3999.04,82.15136;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;788;2525.206,109.5492;Inherit;False;OutlineRGB;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;792;3756.018,53.18221;Inherit;False;790;OutlineGlow;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;789;1392.707,1516.109;Inherit;False;788;OutlineRGB;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;790;2002.123,1543.81;Inherit;False;OutlineGlow;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;497;2291.574,109.3901;Inherit;False;Property;_OutlineColor;Outline Color;51;0;Create;True;0;0;0;True;0;False;0,0,0,1;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1189;-3195.007,-1233.05;Inherit;False;Property;_BlendModeIndex;_BlendModeIndex;197;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1190;-3190.007,-1145.05;Inherit;False;Property;_EnableOutline;EnableOutline;196;1;[Toggle];Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1218;1625.512,1469.38;Inherit;False;Luma Glow Properties;53;;5107;7b40ef0e4b7a40f4f9276cd62640845c;1,260,1;2;1;COLOR;0,0,0,0;False;155;FLOAT3;0,0,0;False;3;FLOAT;244;FLOAT4;183;FLOAT4;0 +Node;AmplifyShaderEditor.IntNode;1193;3981.59,3567.54;Inherit;False;Property;_OutlineGlowBlendMode;OutlineGlowBlendMode;8;1;[Enum];Create;True;0;2;Multiply;0;Additive;1;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1191;3972.301,3681.553;Inherit;False;Property;_ShowOutlineGlow;_ShowOutlineGlow;49;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1192;3981.732,3758.725;Inherit;False;Property;_ShowOutlineAL;_ShowOutlineAL;52;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1196;3625.702,3552.859;Inherit;False;Property;_OutlineGlowMinBrightness;OutlineGlowMinBrightness;10;0;Create;True;0;0;0;True;0;False;0;0;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;1195;3655.529,3678.246;Inherit;False;Property;_OutlineGlowTint;OutlineGlowTint;1;1;[HDR];Create;True;0;0;0;True;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.IntNode;1194;3617.356,3884.342;Inherit;False;Property;_OutlineReactiveBlendMode;OutlineReactiveBlendMode;28;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed Multiply;2;Reversed Additve;3;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1210;3338.623,3557.499;Inherit;False;Property;_OutlineReactivePulseOffset;OutlineReactivePulseOffset;38;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1212;3310.554,3716.174;Inherit;False;Property;_OutlineReactiveGlobalSmoothing;OutlineReactiveGlobalSmoothing;31;0;Create;True;0;0;0;True;0;False;1;1;0;2;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1216;3322.151,3821.726;Inherit;False;Property;_OutlineReactiveMinBrightness;OutlineReactiveMinBrightness;30;0;Create;True;0;0;0;True;0;False;0;0;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;1215;3324.876,3924.067;Inherit;False;Property;_OutlineReactiveTint;OutlineReactiveTint;19;1;[HDR];Create;True;0;0;0;True;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.IntNode;1213;3013.77,3926.205;Inherit;False;Property;_OutlineReactiveBand;OutlineReactiveBand;21;1;[Enum];Create;True;0;5;None;10;Bass;0;Low Mid;1;High Mid;2;Treble;3;0;True;0;False;10;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1214;3023.574,3836.133;Inherit;False;Property;_OutlineReactiveDelay;OutlineReactiveDelay;24;0;Create;True;0;3;None;0;Zone 1;1;Zone 2;2;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1211;2993.412,3698.405;Inherit;False;Property;_OutlineReactiveMode;OutlineReactiveMode;26;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction Map;3;Reversed Direction Map;4;Smooth Global;5;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1209;3047.31,3560.2;Inherit;False;Property;_OutlineReactivePulseScale;OutlineReactivePulseScale;35;0;Create;True;0;0;0;True;0;False;127;128;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1207;2725.64,3549.37;Inherit;False;Property;_OutlineReactivePulseDir;OutlineReactivePulseDir;33;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1197;2749.492,3669.001;Inherit;False;Property;_OutlineGlowZone;OutlineGlowZone;2;1;[Enum];Create;True;0;8;None;0;Zone 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.Vector2Node;1208;2703.005,3777.304;Inherit;False;Property;_OutlineReactiveRadialCenter;OutlineReactiveRadialCenter;40;0;Create;True;0;0;0;True;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.Vector2Node;1201;2427.461,3703.102;Inherit;False;Property;_OutlineGlowRadialCenter;OutlineGlowRadialCenter;17;0;Create;True;0;0;0;True;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.IntNode;1202;2418.855,3615.963;Inherit;False;Property;_OutlineGlowMode;OutlineGlowMode;6;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction Map;3;Reversed Direction Map;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1200;2399.281,3517.509;Inherit;False;Property;_OutlineGlowPulseDir;OutlineGlowPulseDir;11;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1198;2361.17,3918.967;Inherit;False;Property;_OutlineGlowPulseOffset;OutlineGlowPulseOffset;16;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1199;2061.789,3937.804;Inherit;False;Property;_OutlineGlowPulseScale;OutlineGlowPulseScale;14;0;Create;True;0;0;0;True;0;False;127;128;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1203;2017.137,3810.449;Inherit;False;Property;_OutlineGlowAnimationSpeed;OutlineGlowAnimationSpeed;45;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1204;2020.101,3728.505;Inherit;False;Property;_OutlineGlowAnimationBand;OutlineGlowAnimationBand;42;1;[Enum];Create;True;0;5;None;10;Bass;0;Low Mid;1;High Mid;2;Treble;3;0;True;0;False;10;10;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1205;2017.137,3647.368;Inherit;False;Property;_OutlineGlowAnimationMode;OutlineGlowAnimationMode;43;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard Stop;3;Constant;4;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1206;2038.896,3564.422;Inherit;False;Property;_OutlineGlowAnimationStrength;OutlineGlowAnimationStrength;48;0;Create;True;0;0;0;True;0;False;1;1;0;0;0;1;FLOAT;0 +WireConnection;388;0;302;0 +WireConnection;388;1;389;0 +WireConnection;243;0;241;0 +WireConnection;101;0;100;0 +WireConnection;257;0;245;0 +WireConnection;258;0;101;0 +WireConnection;258;1;257;0 +WireConnection;251;0;250;3 +WireConnection;251;1;250;4 +WireConnection;259;0;258;0 +WireConnection;252;1;251;0 +WireConnection;254;0;246;4 +WireConnection;254;1;253;0 +WireConnection;29;0;6;0 +WireConnection;31;0;259;0 +WireConnection;255;0;7;0 +WireConnection;255;1;254;0 +WireConnection;255;2;252;0 +WireConnection;14;0;15;0 +WireConnection;14;1;26;0 +WireConnection;19;0;10;0 +WireConnection;19;1;8;0 +WireConnection;71;0;14;0 +WireConnection;13;0;19;0 +WireConnection;39;0;71;0 +WireConnection;176;0;256;0 +WireConnection;176;3;177;0 +WireConnection;176;4;212;0 +WireConnection;25;0;13;0 +WireConnection;303;0;176;0 +WireConnection;211;0;303;0 +WireConnection;50;0;28;0 +WireConnection;50;1;52;0 +WireConnection;516;0;512;0 +WireConnection;247;0;246;1 +WireConnection;73;0;50;0 +WireConnection;511;0;516;0 +WireConnection;47;0;211;0 +WireConnection;514;0;636;0 +WireConnection;501;0;511;0 +WireConnection;38;0;73;0 +WireConnection;249;0;41;0 +WireConnection;249;1;248;0 +WireConnection;517;0;519;0 +WireConnection;17;0;47;0 +WireConnection;477;0;476;0 +WireConnection;384;0;380;0 +WireConnection;384;1;383;0 +WireConnection;518;0;517;0 +WireConnection;472;0;473;0 +WireConnection;472;1;476;0 +WireConnection;535;0;513;0 +WireConnection;535;1;534;0 +WireConnection;475;0;473;0 +WireConnection;475;1;477;0 +WireConnection;46;0;249;0 +WireConnection;593;0;501;0 +WireConnection;593;1;594;0 +WireConnection;394;0;384;0 +WireConnection;479;0;475;0 +WireConnection;24;0;49;0 +WireConnection;24;1;27;0 +WireConnection;478;0;472;0 +WireConnection;413;0;416;0 +WireConnection;413;1;415;0 +WireConnection;227;0;59;0 +WireConnection;227;1;226;0 +WireConnection;520;0;593;0 +WireConnection;520;1;518;0 +WireConnection;520;2;535;0 +WireConnection;436;0;413;0 +WireConnection;436;1;478;0 +WireConnection;436;2;479;0 +WireConnection;72;0;24;0 +WireConnection;163;0;227;0 +WireConnection;163;1;54;0 +WireConnection;401;0;402;0 +WireConnection;401;1;54;0 +WireConnection;401;2;396;0 +WireConnection;381;0;395;0 +WireConnection;381;1;163;1 +WireConnection;381;2;401;0 +WireConnection;11;0;72;0 +WireConnection;452;0;436;0 +WireConnection;452;1;451;0 +WireConnection;315;0;180;0 +WireConnection;315;1;180;0 +WireConnection;469;0;470;0 +WireConnection;208;0;315;0 +WireConnection;44;0;1146;0 +WireConnection;471;0;469;0 +WireConnection;471;2;452;0 +WireConnection;181;0;208;0 +WireConnection;181;1;208;0 +WireConnection;181;2;208;0 +WireConnection;461;0;125;0 +WireConnection;450;0;452;0 +WireConnection;450;1;471;0 +WireConnection;191;0;181;0 +WireConnection;444;0;450;0 +WireConnection;565;0;461;0 +WireConnection;300;0;233;0 +WireConnection;300;1;120;0 +WireConnection;301;0;300;0 +WireConnection;200;0;191;0 +WireConnection;68;1;587;0 +WireConnection;161;0;166;0 +WireConnection;161;2;200;0 +WireConnection;392;0;386;2 +WireConnection;392;1;391;0 +WireConnection;202;0;201;0 +WireConnection;202;2;200;0 +WireConnection;379;0;230;0 +WireConnection;379;1;231;0 +WireConnection;379;2;232;0 +WireConnection;138;0;115;0 +WireConnection;138;1;114;0 +WireConnection;138;2;116;0 +WireConnection;138;3;117;0 +WireConnection;272;0;392;0 +WireConnection;23;0;163;0 +WireConnection;544;0;537;0 +WireConnection;544;1;543;0 +WireConnection;480;0;161;0 +WireConnection;123;0;1120;0 +WireConnection;123;1;379;0 +WireConnection;123;2;138;0 +WireConnection;123;3;636;0 +WireConnection;123;4;566;0 +WireConnection;482;0;202;0 +WireConnection;610;0;609;0 +WireConnection;610;1;612;0 +WireConnection;550;0;544;0 +WireConnection;550;1;551;0 +WireConnection;203;0;482;0 +WireConnection;481;1;480;0 +WireConnection;132;0;123;0 +WireConnection;132;1;314;0 +WireConnection;614;0;610;0 +WireConnection;614;1;615;0 +WireConnection;554;0;552;0 +WireConnection;554;1;553;0 +WireConnection;274;0;129;0 +WireConnection;274;1;275;0 +WireConnection;274;2;1160;0 +WireConnection;311;0;306;0 +WireConnection;311;1;514;0 +WireConnection;312;0;132;0 +WireConnection;312;1;460;0 +WireConnection;312;2;623;0 +WireConnection;613;0;614;0 +WireConnection;213;0;214;0 +WireConnection;213;1;215;0 +WireConnection;213;2;203;0 +WireConnection;162;0;481;0 +WireConnection;548;0;550;0 +WireConnection;529;0;824;0 +WireConnection;529;1;524;0 +WireConnection;555;0;554;0 +WireConnection;555;1;556;0 +WireConnection;128;0;274;0 +WireConnection;128;1;312;0 +WireConnection;151;0;153;0 +WireConnection;151;1;152;0 +WireConnection;151;2;276;0 +WireConnection;310;0;522;0 +WireConnection;310;1;311;0 +WireConnection;547;12;548;0 +WireConnection;547;9;549;0 +WireConnection;204;0;1165;0 +WireConnection;204;1;213;0 +WireConnection;204;2;205;0 +WireConnection;625;1;626;0 +WireConnection;625;0;613;0 +WireConnection;545;0;619;0 +WireConnection;545;1;547;0 +WireConnection;545;2;555;0 +WireConnection;545;3;558;0 +WireConnection;545;4;567;0 +WireConnection;545;5;625;0 +WireConnection;545;6;853;0 +WireConnection;165;0;151;0 +WireConnection;165;1;204;0 +WireConnection;165;2;498;0 +WireConnection;532;0;824;0 +WireConnection;532;1;529;0 +WireConnection;190;0;128;0 +WireConnection;190;1;310;0 +WireConnection;219;0;190;0 +WireConnection;557;0;545;0 +WireConnection;265;1;862;0 +WireConnection;175;0;156;0 +WireConnection;30;0;47;0 +WireConnection;30;1;47;0 +WireConnection;599;0;604;0 +WireConnection;595;0;542;0 +WireConnection;75;0;40;0 +WireConnection;174;0;175;0 +WireConnection;266;0;267;0 +WireConnection;266;1;265;0 +WireConnection;266;2;984;0 +WireConnection;621;0;622;0 +WireConnection;607;0;598;0 +WireConnection;622;0;617;0 +WireConnection;33;0;18;0 +WireConnection;33;1;48;0 +WireConnection;362;0;101;0 +WireConnection;42;0;74;0 +WireConnection;22;0;30;0 +WireConnection;598;0;597;0 +WireConnection;598;1;596;0 +WireConnection;74;0;33;0 +WireConnection;600;0;599;0 +WireConnection;284;0;227;0 +WireConnection;604;0;607;0 +WireConnection;604;1;605;0 +WireConnection;40;0;37;0 +WireConnection;40;1;36;0 +WireConnection;169;0;159;0 +WireConnection;169;1;221;0 +WireConnection;169;2;1140;0 +WireConnection;169;3;1119;0 +WireConnection;56;0;75;0 +WireConnection;45;0;590;0 +WireConnection;634;0;460;0 +WireConnection;636;0;634;0 +WireConnection;636;1;460;0 +WireConnection;636;2;635;4 +WireConnection;569;0;568;1 +WireConnection;570;0;569;0 +WireConnection;570;1;569;1 +WireConnection;571;0;570;0 +WireConnection;571;1;569;2 +WireConnection;572;0;571;0 +WireConnection;573;0;572;0 +WireConnection;575;1;574;0 +WireConnection;575;0;573;0 +WireConnection;592;0;583;0 +WireConnection;576;0;577;0 +WireConnection;576;1;575;0 +WireConnection;584;0;592;0 +WireConnection;584;1;582;0 +WireConnection;584;2;576;0 +WireConnection;32;0;584;0 +WireConnection;578;0;588;0 +WireConnection;578;1;632;0 +WireConnection;578;2;576;0 +WireConnection;581;0;578;0 +WireConnection;581;1;533;0 +WireConnection;589;0;581;0 +WireConnection;580;1;630;0 +WireConnection;580;2;576;0 +WireConnection;533;0;580;0 +WireConnection;630;0;628;0 +WireConnection;630;1;627;0 +WireConnection;630;2;629;4 +WireConnection;628;0;627;0 +WireConnection;798;0;1218;183 +WireConnection;798;1;1218;0 +WireConnection;791;0;798;0 +WireConnection;819;0;490;0 +WireConnection;819;1;818;0 +WireConnection;824;1;819;0 +WireConnection;824;2;823;0 +WireConnection;822;0;490;0 +WireConnection;823;0;490;0 +WireConnection;828;0;826;0 +WireConnection;828;1;818;0 +WireConnection;829;1;828;0 +WireConnection;829;2;831;0 +WireConnection;830;0;826;0 +WireConnection;831;0;826;0 +WireConnection;498;0;484;0 +WireConnection;498;1;484;0 +WireConnection;862;0;268;0 +WireConnection;862;1;859;0 +WireConnection;859;0;860;0 +WireConnection;859;1;864;0 +WireConnection;859;2;861;0 +WireConnection;864;0;858;0 +WireConnection;864;1;863;0 +WireConnection;906;0;907;0 +WireConnection;906;1;910;0 +WireConnection;906;2;908;0 +WireConnection;910;0;905;0 +WireConnection;910;1;909;0 +WireConnection;912;0;911;0 +WireConnection;912;1;906;0 +WireConnection;871;0;913;0 +WireConnection;984;14;866;1 +WireConnection;984;15;866;2 +WireConnection;984;16;866;3 +WireConnection;984;17;866;4 +WireConnection;984;18;868;0 +WireConnection;1031;0;1218;244 +WireConnection;1042;14;1044;0 +WireConnection;1042;15;1044;1 +WireConnection;1042;16;1044;2 +WireConnection;1042;17;1044;3 +WireConnection;1042;18;1045;0 +WireConnection;1044;0;1043;0 +WireConnection;495;0;493;0 +WireConnection;495;1;496;0 +WireConnection;489;0;1061;0 +WireConnection;489;1;832;0 +WireConnection;489;2;1042;0 +WireConnection;832;0;532;0 +WireConnection;832;1;829;0 +WireConnection;493;0;491;0 +WireConnection;494;0;489;0 +WireConnection;494;1;495;0 +WireConnection;1059;0;488;0 +WireConnection;1060;0;494;0 +WireConnection;786;0;1062;0 +WireConnection;380;1;393;0 +WireConnection;246;1;269;0 +WireConnection;223;1;225;0 +WireConnection;241;1;242;0 +WireConnection;241;5;388;0 +WireConnection;386;1;385;0 +WireConnection;866;1;912;0 +WireConnection;1062;0;266;0 +WireConnection;460;0;124;0 +WireConnection;1029;0;1141;0 +WireConnection;1118;0;1140;39 +WireConnection;121;0;301;0 +WireConnection;121;1;445;0 +WireConnection;987;0;121;0 +WireConnection;1117;0;1140;38 +WireConnection;1132;0;413;0 +WireConnection;617;0;616;0 +WireConnection;617;1;618;0 +WireConnection;620;0;617;0 +WireConnection;619;0;620;0 +WireConnection;1134;0;547;0 +WireConnection;1140;2;983;0 +WireConnection;1140;3;988;0 +WireConnection;1140;4;986;0 +WireConnection;1140;23;1032;0 +WireConnection;1141;214;1133;0 +WireConnection;1141;215;1135;0 +WireConnection;1141;207;1127;0 +WireConnection;1141;165;1095;0 +WireConnection;1141;84;1048;0 +WireConnection;1141;21;1011;0 +WireConnection;1141;44;1027;0 +WireConnection;1141;56;983;0 +WireConnection;1142;0;255;0 +WireConnection;1142;1;852;0 +WireConnection;90;0;1142;0 +WireConnection;1143;0;255;0 +WireConnection;1144;0;1143;0 +WireConnection;1146;0;381;0 +WireConnection;1146;1;1145;0 +WireConnection;224;0;223;0 +WireConnection;1149;0;1150;3 +WireConnection;1149;1;59;4 +WireConnection;1150;0;1148;0 +WireConnection;1147;0;1149;0 +WireConnection;0;0;378;0 +WireConnection;0;2;793;0 +WireConnection;0;10;1183;0 +WireConnection;0;13;169;0 +WireConnection;521;0;520;0 +WireConnection;158;0;165;0 +WireConnection;1165;0;162;0 +WireConnection;1168;0;848;0 +WireConnection;1168;1;1169;0 +WireConnection;850;0;1168;0 +WireConnection;848;0;847;0 +WireConnection;851;0;850;0 +WireConnection;1170;0;1172;0 +WireConnection;1170;1;1175;0 +WireConnection;1172;0;1151;0 +WireConnection;1049;0;1141;93 +WireConnection;1152;1;1154;0 +WireConnection;1152;0;1170;0 +WireConnection;1175;0;1179;0 +WireConnection;1175;1;1174;0 +WireConnection;1171;0;1162;0 +WireConnection;1179;0;1171;0 +WireConnection;1179;1;1177;0 +WireConnection;1155;0;1154;0 +WireConnection;486;0;792;0 +WireConnection;486;2;1186;0 +WireConnection;486;1;1060;0 +WireConnection;1186;0;1185;0 +WireConnection;1186;1;1042;0 +WireConnection;788;0;497;0 +WireConnection;1218;1;787;0 +ASEEND*/ +//CHKSM=3D373890F24F3E09A61DFA58620DF786FA92FF25 \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout.shader.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout.shader.meta new file mode 100644 index 0000000..2a9c6be --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Cutout.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 3ebe60ff5dfea104ab1acc411126716d +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque Outline.shader b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque Outline.shader new file mode 100644 index 0000000..164048a --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque Outline.shader @@ -0,0 +1,4054 @@ +// Made with Amplify Shader Editor v1.9.1.5 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "Furality/Sylva Shader/Sylva Opaque Outline" +{ + Properties + { + [HDR]_OutlineGlowTint("OutlineGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_OutlineGlowZone("OutlineGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_OutlineGlowMode("OutlineGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_OutlineGlowBlendMode("OutlineGlowBlendMode", Int) = 0 + _OutlineGlowMinBrightness("OutlineGlowMinBrightness", Range( 0 , 1)) = 0 + _OutlineGlowPulseDir("OutlineGlowPulseDir", Float) = 0 + _OutlineGlowPulseScale("OutlineGlowPulseScale", Float) = 127 + _OutlineGlowPulseOffset("OutlineGlowPulseOffset", Float) = 0 + _OutlineGlowRadialCenter("OutlineGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_OutlineReactiveTint("OutlineReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineReactiveBand("OutlineReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_OutlineReactiveMode("OutlineReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_OutlineReactiveBlendMode("OutlineReactiveBlendMode", Int) = 0 + _OutlineReactiveMinBrightness("OutlineReactiveMinBrightness", Range( 0 , 1)) = 0 + _OutlineReactiveGlobalSmoothing("OutlineReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _OutlineReactivePulseDir("OutlineReactivePulseDir", Float) = 0 + _OutlineReactivePulseScale("OutlineReactivePulseScale", Float) = 127 + _OutlineReactivePulseOffset("OutlineReactivePulseOffset", Float) = 0 + _OutlineReactiveRadialCenter("OutlineReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowOutlineGlow("_ShowOutlineGlow", Float) = 0 + _ShowOutlineAL("_ShowOutlineAL", Float) = 0 + _MainTex("Main Tex", 2D) = "white" {} + _Color("Color", Color) = (1,1,1,1) + _EffectMask("Effect Mask", 2D) = "white" {} + _EmissionMap("EmissionMap", 2D) = "white" {} + [HDR]_EmissionColor("Emission Color", Color) = (0,0,0,0) + [Enum(None,0,R,1,G,2,B,3,A,4)]_EmissionMaskingChannel("Emission Masking Channel", Int) = 0 + [ToggleUI]_EmissionMaskPan("Emission Mask Pan", Float) = 0 + _EmissionMaskPanSpeed("Emission Mask Pan Speed", Vector) = (1,1,0,0) + [ToggleUI]_EmissionPan("Emission Pan", Float) = 0 + _EmissionPanSpeed("Emission Pan Speed", Vector) = (1,1,0,0) + [Normal][SingleLineTexture]_BumpMap("Normal", 2D) = "bump" {} + _BumpScale("Normal Scale", Range( 0 , 1)) = 1 + [SingleLineTexture]_MetallicGlossMap("Metallic", 2D) = "black" {} + _Metallic("Metallic", Range( 0 , 1)) = 0 + _Glossiness("Smoothness", Range( 0 , 1)) = 0.5 + _GlossMapScale("GlossMapScale", Range( 0 , 1)) = 1 + [SingleLineTexture]_OcclusionMap("OcclusionMap", 2D) = "white" {} + _OcclusionStrength("Occlusion Strength", Range( 0 , 1)) = 1 + [ToggleUI]_EnableSpecularMap("Enable Specular Map", Float) = 0 + [SingleLineTexture]_SpecGlossMap("Specular", 2D) = "white" {} + _SpecColor("Specular Color", Color) = (1,1,1,0) + [HDR]_RimlightColor("Rimlight Color", Color) = (1,1,1,0) + _OutlineWidth("Outline Width", Range( 0 , 1000)) = 1 + _MaxOutlineWidth("Max Outline Width", Range( 0 , 1000)) = 850 + _ViewFudge("ViewFudge", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_OutlineMaskingChannel("Outline Masking Channel", Int) = 0 + _OutlineColor("Outline Color", Color) = (0,0,0,1) + _DirectionalMap("Directional Map", 2D) = "white" {} + [HDR]_EmissionGlowTint("EmissionGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_EmissionGlowZone("EmissionGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_EmissionGlowMode("EmissionGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_EmissionGlowBlendMode("EmissionGlowBlendMode", Int) = 0 + _EmissionGlowMinBrightness("EmissionGlowMinBrightness", Range( 0 , 1)) = 0 + _EmissionGlowPulseDir("EmissionGlowPulseDir", Float) = 0 + _EmissionGlowPulseScale("EmissionGlowPulseScale", Float) = 127 + _EmissionGlowPulseOffset("EmissionGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionGlowAnimationBand("EmissionGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_EmissionGlowAnimationMode("EmissionGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_EmissionGlowAnimationSpeed("EmissionGlowAnimationSpeed", Int) = 0 + _EmissionGlowAnimationStrength("EmissionGlowAnimationStrength", Float) = 1 + _EmissionGlowRadialCenter("EmissionGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_EmissionReactiveTint("EmissionReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionReactiveBand("EmissionReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_EmissionReactiveMode("EmissionReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_EmissionReactiveBlendMode("EmissionReactiveBlendMode", Int) = 0 + _EmissionReactiveMinBrightness("EmissionReactiveMinBrightness", Range( 0 , 1)) = 0 + _EmissionReactiveGlobalSmoothing("EmissionReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _EmissionReactivePulseDir("EmissionReactivePulseDir", Float) = 0 + _EmissionReactivePulseScale("EmissionReactivePulseScale", Float) = 127 + _EmissionReactivePulseOffset("EmissionReactivePulseOffset", Float) = 0 + _EmissionReactiveRadialCenter("EmissionReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowEmissGlow("_ShowEmissGlow", Float) = 0 + _ShowEmissAL("_ShowEmissAL", Float) = 0 + _GlowMask("GlowMask", 2D) = "black" {} + [HDR]_RedChGlowTint("RedChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_RedChGlowZone("RedChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_RedChGlowMode("RedChGlowMode", Int) = 0 + _RedChGlowMinBrightness("RedChGlowMinBrightness", Range( 0 , 1)) = 0 + _RedChGlowPulseDir("RedChGlowPulseDir", Float) = 0 + _RedChGlowPulseScale("RedChGlowPulseScale", Float) = 127 + _RedChGlowPulseOffset("RedChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChGlowAnimationBand("RedChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RedChGlowAnimationMode("RedChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RedChGlowAnimationSpeed("RedChGlowAnimationSpeed", Int) = 0 + _RedChGlowAnimationStrength("RedChGlowAnimationStrength", Float) = 1 + _RedChGlowRadialCenter("RedChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_RedChReactiveTint("RedChReactiveTint", Color) = (1,1,1,0) + [HideInInspector] _texcoord( "", 2D ) = "white" {} + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChReactiveBand("RedChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_RedChReactiveMode("RedChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_RedChReactiveBlendMode("RedChReactiveBlendMode", Int) = 0 + _RedChReactiveMinBrightness("RedChReactiveMinBrightness", Range( 0 , 1)) = 0 + _RedChReactiveGlobalSmoothing("RedChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _RedChReactivePulseDir("RedChReactivePulseDir", Float) = 0 + _RedChReactivePulseScale("RedChReactivePulseScale", Float) = 127 + _RedChReactivePulseOffset("RedChReactivePulseOffset", Float) = 0 + _RedChReactiveRadialCenter("RedChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowRedGlow("_ShowRedGlow", Float) = 0 + _ShowRedAL("_ShowRedAL", Float) = 0 + [ToggleUI]_EnableRedChannel("_EnableRedChannel", Float) = 0 + [HDR]_GreenChGlowTint("GreenChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_GreenChGlowZone("GreenChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_GreenChGlowMode("GreenChGlowMode", Int) = 0 + _GreenChReactiveMinBrightness("GreenChReactiveMinBrightness", Range( 0 , 1)) = 0 + _GreenChGlowPulseDir("GreenChGlowPulseDir", Float) = 0 + _GreenChGlowPulseScale("GreenChGlowPulseScale", Float) = 127 + _GreenChGlowPulseOffset("GreenChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChGlowAnimationBand("GreenChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_GreenChGlowAnimationMode("GreenChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_GreenChGlowAnimationSpeed("GreenChGlowAnimationSpeed", Int) = 0 + _GreenChGlowAnimationStrength("GreenChGlowAnimationStrength", Float) = 1 + _GreenChGlowRadialCenter("GreenChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_GreenChReactiveTint("GreenChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChReactiveBand("GreenChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_GreenChReactiveMode("GreenChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_GreenChReactiveBlendMode("GreenChReactiveBlendMode", Int) = 0 + _GreenChGlowMinBrightness("GreenChGlowMinBrightness", Range( 0 , 1)) = 0 + _GreenChReactiveGlobalSmoothing("GreenChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _GreenChReactivePulseDir("GreenChReactivePulseDir", Float) = 0 + _GreenChReactivePulseScale("GreenChReactivePulseScale", Float) = 127 + _GreenChReactivePulseOffset("GreenChReactivePulseOffset", Float) = 0 + _GreenChReactiveRadialCenter("GreenChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowGreenGlow("_ShowGreenGlow", Float) = 0 + _ShowGreenAL("_ShowGreenAL", Float) = 0 + [ToggleUI]_EnableGreenChannel("_EnableGreenChannel", Float) = 0 + [HDR]_BlueChGlowTint("BlueChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_BlueChGlowZone("BlueChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_BlueChGlowMode("BlueChGlowMode", Int) = 0 + _BlueChGlowMinBrightness("BlueChGlowMinBrightness", Range( 0 , 1)) = 0 + _BlueChGlowPulseDir("BlueChGlowPulseDir", Float) = 0 + _BlueChGlowPulseScale("BlueChGlowPulseScale", Float) = 127 + _BlueChGlowPulseOffset("BlueChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChGlowAnimationBand("BlueChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_BlueChGlowAnimationMode("BlueChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_BlueChGlowAnimationSpeed("BlueChGlowAnimationSpeed", Int) = 0 + _BlueChGlowAnimationStrength("BlueChGlowAnimationStrength", Float) = 1 + _BlueChGlowRadialCenter("BlueChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_BlueChReactiveTint("BlueChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChReactiveBand("BlueChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_BlueChReactiveMode("BlueChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_BlueChReactiveBlendMode("BlueChReactiveBlendMode", Int) = 0 + _BlueChReactiveMinBrightness("BlueChReactiveMinBrightness", Range( 0 , 1)) = 0 + _BlueChReactiveGlobalSmoothing("BlueChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _BlueChReactivePulseDir("BlueChReactivePulseDir", Float) = 0 + _BlueChReactivePulseScale("BlueChReactivePulseScale", Float) = 127 + _BlueChReactivePulseOffset("BlueChReactivePulseOffset", Float) = 0 + _BlueChReactiveRadialCenter("BlueChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowBlueGlow("_ShowBlueGlow", Float) = 0 + _ShowBlueAL("_ShowBlueAL", Float) = 0 + [ToggleUI]_EnableBlueChannel("_EnableBlueChannel", Float) = 0 + [HDR]_AlphaChGlowTint("AlphaChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_AlphaChGlowZone("AlphaChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_AlphaChGlowMode("AlphaChGlowMode", Int) = 0 + _AlphaChGlowMinBrightness("AlphaChGlowMinBrightness", Range( 0 , 1)) = 0 + _AlphaChGlowPulseDir("AlphaChGlowPulseDir", Float) = 0 + _AlphaChGlowPulseScale("AlphaChGlowPulseScale", Float) = 127 + _AlphaChGlowPulseOffset("AlphaChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChGlowAnimationBand("AlphaChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_AlphaChGlowAnimationMode("AlphaChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_AlphaChGlowAnimationSpeed("AlphaChGlowAnimationSpeed", Int) = 0 + _AlphaChGlowAnimationStrength("AlphaChGlowAnimationStrength", Float) = 1 + _AlphaChGlowRadialCenter("AlphaChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_AlphaChReactiveTint("AlphaChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChReactiveBand("AlphaChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_AlphaChReactiveMode("AlphaChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_AlphaChReactiveBlendMode("AlphaChReactiveBlendMode", Int) = 0 + _AlphaChReactiveMinBrightness("AlphaChReactiveMinBrightness", Range( 0 , 1)) = 0 + _AlphaChReactiveGlobalSmoothing("AlphaChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _AlphaChReactivePulseDir("AlphaChReactivePulseDir", Float) = 0 + _AlphaChReactivePulseScale("AlphaChReactivePulseScale", Float) = 127 + _AlphaChReactivePulseOffset("AlphaChReactivePulseOffset", Float) = 0 + _AlphaChReactiveRadialCenter("AlphaChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowAlphaGlow("_ShowAlphaGlow", Float) = 0 + _ShowAlphaAL("_ShowAlphaAL", Float) = 0 + [ToggleUI]_EnableAlphaChannel("_EnableAlphaChannel", Float) = 0 + _BlendModeIndex("_BlendModeIndex", Float) = 0 + _BlendOPsrc("_BlendOPsrc", Float) = 5 + _BlendOPIndex("_BlendOPIndex", Float) = 0 + _BlendOPdst("_BlendOPdst", Float) = 10 + [HideInInspector]_ShowEffects("ShowEffects", Float) = 0 + [HideInInspector]_ShowGlow("ShowGlow", Float) = 0 + [HideInInspector]_ShowOutline("ShowOutline", Float) = 0 + [HideInInspector]_ShowOutline2("ShowOutline2", Float) = 0 + [HideInInspector]_ShowMain("ShowMain", Float) = 0 + [Toggle(_EMISSION)] _EnableEmission("_Enable Emission", Float) = 0 + [Enum(Iridescent Colors,0,Emission Multiply,1,Rainbow,2,Texture HueSelect,3,Holographic,4,Texture HueShift,5)]_IridescentEmissionMode("Iridescent Emission Mode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_IridescentMaskingChannel("Iridescent Masking Channel", Int) = 0 + _IridescentEmissionColor1("Iridescent Emission Color 1", Color) = (1,0,0,0) + _IridescentEmissionColor2("Iridescent Emission Color 2", Color) = (0,1,0,0) + _IridescentEmissionColor3("Iridescent Emission Color 3", Color) = (0,0,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_IridescentALAnimationBand("IridescentALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_IridescentALAnimationMode("IridescentALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_IridescentALAnimationSpeed("IridescentALAnimationSpeed", Int) = 0 + _IridescentALAnimationStrength("IridescentALAnimationStrength", Float) = 1 + _ShowIridescence("_ShowIridescence", Float) = 0 + _IridescentIntensity("IridescentIntensity", Range( 0 , 10)) = 1 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword0("Keyword 0", Float) = 0 + [Enum(Facing,0,Reflection,1,Light Direction,2)]_IridescentMode2("Iridescent Mode 2", Int) = 0 + _IridescentScale("IridescentScale", Float) = 1 + _IridescentOffset("IridescentOffset", Float) = 0 + [Enum(Global,0,Specular,1,Rimlight,2,Both,3)]_IridescenceLightMode("Iridescence Light Mode", Int) = 0 + [ToggleUI]_Enableiridescence("_Enableiridescence", Float) = 0 + [Enum(Default,0,Specular,1,Rimlight,2,SpecRim,3,All,4)]_SparkleMode("Sparkle Mode", Int) = 0 + [Enum(Circle,0,Square,1,Star,2,Heart,3)]_SparkleShape("Sparkle Shape", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_SparkleMaskingChannel("Sparkle Masking Channel", Int) = 0 + [HDR]_SparkleColor("Sparkle Color", Color) = (1,1,1,0) + _SparkleSize("Sparkle Size", Range( 0 , 0.75)) = 0.5 + _SparkleScale("Sparkle Scale", Float) = 1 + _SparkleSpeed("Sparkle Speed", Float) = 1 + _SparkleSeed("Sparkle Seed", Float) = 20 + [HDR]_SparkleGlowTint("SparkleGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_SparkleGlowZone("SparkleGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_SparkleGlowMode("SparkleGlowMode", Int) = 0 + _SparkleGlowMinBrightness("SparkleGlowMinBrightness", Range( 0 , 1)) = 0 + _SparkleGlowPulseDir("SparkleGlowPulseDir", Float) = 0 + _SparkleGlowPulseScale("SparkleGlowPulseScale", Float) = 127 + _SparkleGlowPulseOffset("SparkleGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleGlowAnimationBand("SparkleGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_SparkleGlowAnimationMode("SparkleGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_SparkleGlowAnimationSpeed("SparkleGlowAnimationSpeed", Int) = 0 + _SparkleGlowAnimationStrength("SparkleGlowAnimationStrength", Float) = 1 + _SparkleGlowRadialCenter("SparkleGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_SparkleReactiveTint("SparkleReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleReactiveBand("SparkleReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_SparkleReactiveMode("SparkleReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_SparkleReactiveBlendMode("SparkleReactiveBlendMode", Int) = 0 + _SparkleReactiveMinBrightness("SparkleReactiveMinBrightness", Range( 0 , 1)) = 0 + _SparkleReactiveGlobalSmoothing("SparkleReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _SparkleReactivePulseDir("SparkleReactivePulseDir", Float) = 0 + _SparkleReactivePulseScale("SparkleReactivePulseScale", Float) = 127 + _SparkleReactivePulseOffset("SparkleReactivePulseOffset", Float) = 0 + _SparkleReactiveRadialCenter("SparkleReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowSparkleGlow("_ShowSparkleGlow", Float) = 0 + _ShowSparkleAL("_ShowSparkleAL", Float) = 0 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword1("Keyword 0", Float) = 0 + [Enum(Multiply,0,Additive,1)]_SparkleBlendMode("Sparkle Blend Mode", Int) = 0 + _ShowSparkles("_ShowSparkles", Float) = 0 + [Toggle(_SPARKLES)] _EnableSparkles("Enable Sparkles", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_RainbowMaskingChannel("Rainbow Masking Channel", Int) = 0 + [Enum(Default,0,Radial,1,Spiral,2,Direction Map,3,Reverse Direction,4)]_RainbowUVMode("Rainbow UV Mode", Int) = 0 + _RainbowHue("Rainbow Hue", Range( 0 , 1)) = 1 + _RainbowSaturation("Rainbow Saturation", Range( 0 , 1)) = 1 + _RainbowValue("Rainbow Value", Range( 0 , 1)) = 1 + _RainbowHueRange("Rainbow Hue Range", Range( 0 , 1)) = 1 + _RainbowRotation("Rainbow Rotation", Float) = 0 + _RainbowScale("Rainbow Scale", Float) = 1 + _RainbowSpiralCurve("Rainbow Spiral Curve", Float) = 1 + _RainbowRadialCenter("Rainbow Radial Center", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RainbowALAnimationBand("RainbowALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RainbowALAnimationMode("RainbowALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RainbowALAnimationSpeed("RainbowALAnimationSpeed", Int) = 0 + _RainbowALAnimationStrength("RainbowALAnimationStrength", Float) = 1 + _ShowRainbow("_ShowRainbow", Float) = 0 + [ToggleUI]_EnableScrollingRainbow("_EnableScrollingRainbow", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)]_Culling("Culling", Float) = 0 + _MaskClipValue("Mask Clip Value", Float) = 0.5 + [HideInInspector] __dirty( "", Int ) = 1 + } + + SubShader + { + Tags{ } + ZWrite On + Cull Front + CGPROGRAM + #pragma target 3.0 + #pragma surface outlineSurf Outline keepalpha noshadow noambient novertexlights nolightmap nodynlightmap nodirlightmap nometa noforwardadd vertex:outlineVertexDataFunc + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + + void outlineVertexDataFunc( inout appdata_full v, out Input o ) + { + UNITY_INITIALIZE_OUTPUT( Input, o ); + float eyeDepth = -UnityObjectToViewPos( v.vertex.xyz ).z; + float3 ase_worldNormal = UnityObjectToWorldNormal( v.normal ); + float lerpResult824 = lerp( 0.0 , ( _OutlineWidth / 10000.0 ) , saturate( _OutlineWidth )); + float lerpResult829 = lerp( 0.0 , ( _MaxOutlineWidth / 10000.0 ) , saturate( _MaxOutlineWidth )); + float2 uv_EffectMask = v.texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2Dlod( _EffectMask, float4( uv_EffectMask, 0, 0.0) ); + float4 break1044 = EffectMaskRGBA871; + int temp_output_18_0_g4562 = _OutlineMaskingChannel; + float lerpResult1_g4562 = lerp( 1.0 , break1044.r , (float)saturate( temp_output_18_0_g4562 )); + int temp_output_5_0_g4562 = ( temp_output_18_0_g4562 - 1 ); + float lerpResult12_g4562 = lerp( lerpResult1_g4562 , break1044.g , (float)saturate( temp_output_5_0_g4562 )); + int temp_output_6_0_g4562 = ( temp_output_5_0_g4562 - 1 ); + float lerpResult10_g4562 = lerp( lerpResult12_g4562 , break1044.b , (float)saturate( temp_output_6_0_g4562 )); + float lerpResult11_g4562 = lerp( lerpResult10_g4562 , break1044.a , (float)saturate( ( temp_output_6_0_g4562 - 1 ) )); + float3 ase_worldPos = mul( unity_ObjectToWorld, v.vertex ); + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 worldToObjDir1060 = mul( unity_WorldToObject, float4( ( ( ase_worldNormal * min( ( lerpResult824 + ( lerpResult824 * eyeDepth ) ) , lerpResult829 ) * lerpResult11_g4562 ) + ( -ase_worldViewDir * _ViewFudge ) ), 0 ) ).xyz; + float3 outlineVar = worldToObjDir1060; + v.vertex.xyz += outlineVar; + } + inline half4 LightingOutline( SurfaceOutput s, half3 lightDir, half atten ) { return half4 ( 0,0,0, s.Alpha); } + void outlineSurf( Input i, inout SurfaceOutput o ) + { + float4 OutlineRGB788 = _OutlineColor; + float3 temp_output_229_0_g4913 = OutlineRGB788.rgb; + int EmissionReactiveBand236_g4913 = _OutlineReactiveBand; + int Band3_g4914 = EmissionReactiveBand236_g4913; + int Delay3_g4914 = 0; + float localAudioLinkData3_g4914 = AudioLinkData3_g4914( Band3_g4914 , Delay3_g4914 ); + int temp_output_64_0_g4913 = step( _OutlineReactiveBand , 9 ); + float lerpResult66_g4913 = lerp( 1.0 , localAudioLinkData3_g4914 , (float)temp_output_64_0_g4913); + int Band3_g4916 = _OutlineReactiveBand; + float cos78_g4913 = cos( radians( _OutlineReactivePulseDir ) ); + float sin78_g4913 = sin( radians( _OutlineReactivePulseDir ) ); + float2 rotator78_g4913 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4913 , -sin78_g4913 , sin78_g4913 , cos78_g4913 )) + float2( 0.5,0.5 ); + float x96_g4913 = ( ( rotator78_g4913.x * _OutlineReactivePulseScale ) + _OutlineReactivePulseOffset ); + float y96_g4913 = 127.0; + float localglslmod96_g4913 = glslmod96_g4913( x96_g4913 , y96_g4913 ); + float2 CenteredUV15_g4917 = ( i.uv_texcoord - _OutlineReactiveRadialCenter ); + float2 break17_g4917 = CenteredUV15_g4917; + float2 appendResult23_g4917 = (float2(( length( CenteredUV15_g4917 ) * _OutlineReactivePulseScale * 2.0 ) , ( atan2( break17_g4917.x , break17_g4917.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4913 = ( _OutlineReactivePulseOffset + appendResult23_g4917.x ); + float y97_g4913 = 127.0; + float localglslmod97_g4913 = glslmod97_g4913( x97_g4913 , y97_g4913 ); + int EmissionReactiveMode99_g4913 = _OutlineReactiveMode; + int temp_output_90_0_g4913 = ( EmissionReactiveMode99_g4913 - 1 ); + float lerpResult77_g4913 = lerp( localglslmod96_g4913 , localglslmod97_g4913 , (float)saturate( temp_output_90_0_g4913 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4606 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float temp_output_1074_244 = Direction27_g4606; + float DirectionalMap106_g4913 = temp_output_1074_244; + float lerpResult174_g4913 = lerp( DirectionalMap106_g4913 , ( 1.0 - DirectionalMap106_g4913 ) , (float)saturate( ( EmissionReactiveMode99_g4913 - 3 ) )); + float x98_g4913 = ( _OutlineReactivePulseOffset + ( _OutlineReactivePulseScale * lerpResult174_g4913 ) ); + float y98_g4913 = 127.0; + float localglslmod98_g4913 = glslmod98_g4913( x98_g4913 , y98_g4913 ); + float lerpResult87_g4913 = lerp( lerpResult77_g4913 , localglslmod98_g4913 , (float)saturate( ( temp_output_90_0_g4913 - 1 ) )); + float Delay3_g4916 = lerpResult87_g4913; + float localAudioLinkLerp3_g4916 = AudioLinkLerp3_g4916( Band3_g4916 , Delay3_g4916 ); + float lerpResult102_g4913 = lerp( 1.0 , localAudioLinkLerp3_g4916 , (float)temp_output_64_0_g4913); + float lerpResult103_g4913 = lerp( lerpResult66_g4913 , lerpResult102_g4913 , (float)saturate( EmissionReactiveMode99_g4913 )); + int Band3_g4918 = _OutlineReactiveBand; + float FilteredAmount3_g4918 = ( ( 1.0 - _OutlineReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4918 = AudioLinkLerp3_g4918( Band3_g4918 , FilteredAmount3_g4918 ); + float lerpResult168_g4913 = lerp( 1.0 , localAudioLinkLerp3_g4918 , (float)temp_output_64_0_g4913); + float lerpResult172_g4913 = lerp( lerpResult103_g4913 , lerpResult168_g4913 , (float)saturate( ( EmissionReactiveMode99_g4913 - 4 ) )); + float ReactivityAlpha132_g4913 = (_OutlineReactiveMinBrightness + (lerpResult172_g4913 - 0.0) * (( _OutlineReactiveMinBrightness + 1.0 ) - _OutlineReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_10 = (1.0).xxxx; + float4 lerpResult240_g4913 = lerp( temp_cast_10 , _OutlineReactiveTint , (float)step( EmissionReactiveBand236_g4913 , 9 )); + float4 FinalReactivity68_g4913 = ( ReactivityAlpha132_g4913 * lerpResult240_g4913 ); + float4 temp_cast_12 = (1.0).xxxx; + float3 temp_cast_13 = (1.0).xxx; + int EmissionGlowZone47_g4913 = _OutlineGlowZone; + int clampResult8_g4920 = clamp( EmissionGlowZone47_g4913 , 1 , 4 ); + int temp_output_3_0_g4920 = ( clampResult8_g4920 - 1 ); + int Zone16_g4920 = temp_output_3_0_g4920; + float3 localgetThemeData16_g4920 = getThemeData( Zone16_g4920 ); + int Band11_g4921 = 56; + int localIsLumaActive11_g4921 = IsLumaActive11_g4921( Band11_g4921 ); + int temp_output_14_0_g4920 = localIsLumaActive11_g4921; + int lerpResult15_g4920 = lerp( temp_output_3_0_g4920 , ( 63 - temp_output_3_0_g4920 ) , (float)temp_output_14_0_g4920); + int Band2_g4920 = lerpResult15_g4920; + int Delay2_g4920 = 0; + float3 localLumaGlowData2_g4920 = LumaGlowData2_g4920( Band2_g4920 , Delay2_g4920 ); + float3 lerpResult17_g4920 = lerp( ( localgetThemeData16_g4920 * localLumaGlowData2_g4920 ) , localLumaGlowData2_g4920 , (float)temp_output_14_0_g4920); + int temp_output_21_0_g4913 = saturate( EmissionGlowZone47_g4913 ); + float3 lerpResult20_g4913 = lerp( temp_cast_13 , lerpResult17_g4920 , (float)temp_output_21_0_g4913); + float3 temp_cast_17 = (1.0).xxx; + int clampResult8_g4922 = clamp( EmissionGlowZone47_g4913 , 1 , 4 ); + int temp_output_3_0_g4922 = ( clampResult8_g4922 - 1 ); + int Zone15_g4922 = temp_output_3_0_g4922; + float3 localgetThemeData15_g4922 = getThemeData( Zone15_g4922 ); + int Band11_g4923 = 56; + int localIsLumaActive11_g4923 = IsLumaActive11_g4923( Band11_g4923 ); + int temp_output_13_0_g4922 = localIsLumaActive11_g4923; + int lerpResult14_g4922 = lerp( temp_output_3_0_g4922 , ( 63 - temp_output_3_0_g4922 ) , (float)temp_output_13_0_g4922); + int Band11_g4922 = lerpResult14_g4922; + float cos6_g4913 = cos( radians( _OutlineGlowPulseDir ) ); + float sin6_g4913 = sin( radians( _OutlineGlowPulseDir ) ); + float2 rotator6_g4913 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4913 , -sin6_g4913 , sin6_g4913 , cos6_g4913 )) + float2( 0.5,0.5 ); + float x13_g4913 = ( ( rotator6_g4913.x * _OutlineGlowPulseScale ) + _OutlineGlowPulseOffset ); + float y13_g4913 = 127.0; + float localglslmod13_g4913 = glslmod13_g4913( x13_g4913 , y13_g4913 ); + float2 CenteredUV15_g4915 = ( i.uv_texcoord - _OutlineGlowRadialCenter ); + float2 break17_g4915 = CenteredUV15_g4915; + float2 appendResult23_g4915 = (float2(( length( CenteredUV15_g4915 ) * _OutlineGlowPulseScale * 2.0 ) , ( atan2( break17_g4915.x , break17_g4915.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4913 = ( _OutlineGlowPulseOffset + appendResult23_g4915.x ); + float y12_g4913 = 127.0; + float localglslmod12_g4913 = glslmod12_g4913( x12_g4913 , y12_g4913 ); + int EmissionGlowMode35_g4913 = _OutlineGlowMode; + int temp_output_37_0_g4913 = ( EmissionGlowMode35_g4913 - 1 ); + float lerpResult5_g4913 = lerp( localglslmod13_g4913 , localglslmod12_g4913 , (float)saturate( temp_output_37_0_g4913 )); + float lerpResult179_g4913 = lerp( DirectionalMap106_g4913 , ( 1.0 - DirectionalMap106_g4913 ) , (float)saturate( ( EmissionGlowMode35_g4913 - 3 ) )); + float x34_g4913 = ( _OutlineGlowPulseOffset + ( _OutlineGlowPulseScale * lerpResult179_g4913 ) ); + float y34_g4913 = 127.0; + float localglslmod34_g4913 = glslmod34_g4913( x34_g4913 , y34_g4913 ); + float lerpResult30_g4913 = lerp( lerpResult5_g4913 , localglslmod34_g4913 , (float)saturate( ( temp_output_37_0_g4913 - 1 ) )); + float EmissionGlowDelay56_g4913 = lerpResult30_g4913; + float Delay11_g4922 = EmissionGlowDelay56_g4913; + float3 localLumaGlowLerp11_g4922 = LumaGlowLerp11_g4922( Band11_g4922 , Delay11_g4922 ); + float3 lerpResult17_g4922 = lerp( ( localgetThemeData15_g4922 * localLumaGlowLerp11_g4922 ) , localLumaGlowLerp11_g4922 , (float)temp_output_13_0_g4922); + float3 lerpResult22_g4913 = lerp( temp_cast_17 , lerpResult17_g4922 , (float)temp_output_21_0_g4913); + float3 lerpResult23_g4913 = lerp( lerpResult20_g4913 , lerpResult22_g4913 , (float)saturate( EmissionGlowMode35_g4913 )); + float4 temp_cast_26 = (1.0).xxxx; + float temp_output_10_0_g4924 = EmissionGlowDelay56_g4913; + float Position1_g4926 = ( temp_output_10_0_g4924 / 127.0 ); + float4 localAudioLinkLerp1_g4926 = AudioLinkLerp1_g4926( Position1_g4926 ); + int clampResult8_g4924 = clamp( ( EmissionGlowZone47_g4913 - 4 ) , 1 , 3 ); + int Band11_g4924 = ( 59 - ( clampResult8_g4924 - 1 ) ); + float Delay11_g4924 = temp_output_10_0_g4924; + float3 localLumaGlowLerp11_g4924 = LumaGlowLerp11_g4924( Band11_g4924 , Delay11_g4924 ); + int Band11_g4925 = 56; + int localIsLumaActive11_g4925 = IsLumaActive11_g4925( Band11_g4925 ); + float4 lerpResult14_g4924 = lerp( localAudioLinkLerp1_g4926 , float4( localLumaGlowLerp11_g4924 , 0.0 ) , (float)localIsLumaActive11_g4925); + float4 lerpResult52_g4913 = lerp( temp_cast_26 , lerpResult14_g4924 , (float)saturate( EmissionGlowZone47_g4913 )); + float4 lerpResult51_g4913 = lerp( float4( lerpResult23_g4913 , 0.0 ) , lerpResult52_g4913 , (float)saturate( ( EmissionGlowZone47_g4913 - 4 ) )); + float4 temp_cast_31 = (_OutlineGlowMinBrightness).xxxx; + float4 temp_cast_32 = (( _OutlineGlowMinBrightness + 1.0 )).xxxx; + int temp_output_234_0_g4913 = saturate( EmissionGlowZone47_g4913 ); + float4 EmissionGlow142_g4913 = ( (temp_cast_31 + (lerpResult51_g4913 - float4( 0,0,0,0 )) * (temp_cast_32 - temp_cast_31) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _OutlineGlowTint * temp_output_234_0_g4913 ); + float4 lerpResult248_g4913 = lerp( temp_cast_12 , EmissionGlow142_g4913 , (float)temp_output_234_0_g4913); + float4 EmissionGlowTog250_g4913 = lerpResult248_g4913; + float4 lerpResult146_g4913 = lerp( ( FinalReactivity68_g4913 * EmissionGlowTog250_g4913 ) , ( EmissionGlow142_g4913 + ( FinalReactivity68_g4913 * step( EmissionReactiveBand236_g4913 , 9 ) ) ) , (float)saturate( _OutlineReactiveBlendMode )); + float4 ReversedReactivity152_g4913 = ( ( 1.0 - ReactivityAlpha132_g4913 ) * lerpResult240_g4913 ); + int temp_output_157_0_g4913 = ( _OutlineReactiveBlendMode - 1 ); + float4 lerpResult114_g4913 = lerp( lerpResult146_g4913 , ( EmissionGlowTog250_g4913 * ReversedReactivity152_g4913 ) , (float)saturate( temp_output_157_0_g4913 )); + float4 lerpResult164_g4913 = lerp( lerpResult114_g4913 , ( EmissionGlow142_g4913 + ( ReversedReactivity152_g4913 * step( EmissionReactiveBand236_g4913 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4913 - 1 ) )); + int ReactiveBlendmode257_g4913 = _OutlineReactiveBlendMode; + float x266_g4913 = (float)ReactiveBlendmode257_g4913; + float y266_g4913 = 2.0; + float localglslmod266_g4913 = glslmod266_g4913( x266_g4913 , y266_g4913 ); + float lerpResult253_g4913 = lerp( localglslmod266_g4913 , (float)_OutlineGlowBlendMode , (float)saturate( EmissionGlowZone47_g4913 )); + float4 lerpResult222_g4913 = lerp( ( lerpResult164_g4913 * float4( temp_output_229_0_g4913 , 0.0 ) ) , ( lerpResult164_g4913 + float4( temp_output_229_0_g4913 , 0.0 ) ) , lerpResult253_g4913); + float localIfAudioLinkv2Exists1_g4928 = IfAudioLinkv2Exists1_g4928(); + float4 lerpResult273_g4913 = lerp( float4( temp_output_229_0_g4913 , 0.0 ) , lerpResult222_g4913 , localIfAudioLinkv2Exists1_g4928); + float4 OutlineGlow790 = lerpResult273_g4913; + o.Emission = OutlineGlow790.xyz; + } + ENDCG + + + Tags{ "RenderType" = "Opaque" "Queue" = "Geometry+0" "IgnoreProjector" = "True" "IsEmissive" = "true" } + Cull [_Culling] + ZWrite On + CGINCLUDE + #include "UnityPBSLighting.cginc" + #include "UnityShaderVariables.cginc" + #include "UnityStandardUtils.cginc" + #include "UnityCG.cginc" + #include "Lighting.cginc" + #pragma target 4.5 + #pragma shader_feature_local _EMISSION + #pragma shader_feature_local _SPARKLES + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + #ifdef UNITY_PASS_SHADOWCASTER + #undef INTERNAL_DATA + #undef WorldReflectionVector + #undef WorldNormalVector + #define INTERNAL_DATA half3 internalSurfaceTtoW0; half3 internalSurfaceTtoW1; half3 internalSurfaceTtoW2; + #define WorldReflectionVector(data,normal) reflect (data.worldRefl, half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal))) + #define WorldNormalVector(data,normal) half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal)) + #endif + struct Input + { + float2 uv_texcoord; + float3 worldRefl; + INTERNAL_DATA + float3 worldPos; + float3 worldNormal; + }; + + struct SurfaceOutputCustomLightingCustom + { + half3 Albedo; + half3 Normal; + half3 Emission; + half Metallic; + half Smoothness; + half Occlusion; + half Alpha; + Input SurfInput; + UnityGIInput GIData; + }; + + uniform float _Culling; + uniform float _ShowMain; + uniform float _ShowGlow; + uniform float _ShowEmissGlow; + uniform float _ShowEmissAL; + uniform float _ShowRedGlow; + uniform float _ShowRedAL; + uniform float _EnableRedChannel; + uniform float _ShowGreenGlow; + uniform float _ShowGreenAL; + uniform float _ShowBlueGlow; + uniform float _ShowBlueAL; + uniform float _ShowAlphaGlow; + uniform float _ShowAlphaAL; + uniform float _ShowEffects; + uniform float _ShowOutline; + uniform float _ShowOutline2; + uniform float _ShowIridescence; + uniform float _ShowSparkleGlow; + uniform float _ShowSparkleAL; + uniform float _ShowSparkles; + uniform float _ShowRainbow; + uniform float _BlendOPIndex; + uniform float _BlendOPsrc; + uniform float _BlendOPdst; + uniform float _MaskClipValue; + uniform float _BlendModeIndex; + uniform float _ShowOutlineGlow; + uniform float _ShowOutlineAL; + uniform sampler2D _MainTex; + uniform float4 _MainTex_ST; + uniform int _RedChGlowZone; + uniform float _RedChGlowPulseDir; + uniform float _RedChGlowPulseScale; + uniform float _RedChGlowPulseOffset; + uniform float _RedChGlowAnimationStrength; + uniform int _RedChGlowAnimationBand; + uniform int _RedChGlowAnimationMode; + uniform int _RedChGlowAnimationSpeed; + uniform float2 _RedChGlowRadialCenter; + uniform int _RedChGlowMode; + uniform sampler2D _DirectionalMap; + uniform float4 _DirectionalMap_ST; + uniform float _RedChGlowMinBrightness; + uniform float4 _RedChGlowTint; + uniform int _RedChReactiveBand; + uniform float _RedChReactivePulseDir; + uniform float _RedChReactivePulseScale; + uniform float _RedChReactivePulseOffset; + uniform float2 _RedChReactiveRadialCenter; + uniform int _RedChReactiveMode; + uniform float _RedChReactiveGlobalSmoothing; + uniform float _RedChReactiveMinBrightness; + uniform float4 _RedChReactiveTint; + uniform int _RedChReactiveBlendMode; + uniform sampler2D _GlowMask; + uniform float4 _GlowMask_ST; + uniform int _GreenChGlowZone; + uniform float _GreenChGlowPulseDir; + uniform float _GreenChGlowPulseScale; + uniform float _GreenChGlowPulseOffset; + uniform float _GreenChGlowAnimationStrength; + uniform int _GreenChGlowAnimationBand; + uniform int _GreenChGlowAnimationMode; + uniform int _GreenChGlowAnimationSpeed; + uniform float2 _GreenChGlowRadialCenter; + uniform int _GreenChGlowMode; + uniform float _GreenChGlowMinBrightness; + uniform float4 _GreenChGlowTint; + uniform int _GreenChReactiveBand; + uniform float _GreenChReactivePulseDir; + uniform float _GreenChReactivePulseScale; + uniform float _GreenChReactivePulseOffset; + uniform float2 _GreenChReactiveRadialCenter; + uniform int _GreenChReactiveMode; + uniform float _GreenChReactiveGlobalSmoothing; + uniform float _GreenChReactiveMinBrightness; + uniform float4 _GreenChReactiveTint; + uniform int _GreenChReactiveBlendMode; + uniform float _EnableGreenChannel; + uniform int _BlueChGlowZone; + uniform float _BlueChGlowPulseDir; + uniform float _BlueChGlowPulseScale; + uniform float _BlueChGlowPulseOffset; + uniform float _BlueChGlowAnimationStrength; + uniform int _BlueChGlowAnimationBand; + uniform int _BlueChGlowAnimationMode; + uniform int _BlueChGlowAnimationSpeed; + uniform float2 _BlueChGlowRadialCenter; + uniform int _BlueChGlowMode; + uniform float _BlueChGlowMinBrightness; + uniform float4 _BlueChGlowTint; + uniform int _BlueChReactiveBand; + uniform float _BlueChReactivePulseDir; + uniform float _BlueChReactivePulseScale; + uniform float _BlueChReactivePulseOffset; + uniform float2 _BlueChReactiveRadialCenter; + uniform int _BlueChReactiveMode; + uniform float _BlueChReactiveGlobalSmoothing; + uniform float _BlueChReactiveMinBrightness; + uniform float4 _BlueChReactiveTint; + uniform int _BlueChReactiveBlendMode; + uniform float _EnableBlueChannel; + uniform int _AlphaChGlowZone; + uniform float _AlphaChGlowPulseDir; + uniform float _AlphaChGlowPulseScale; + uniform float _AlphaChGlowPulseOffset; + uniform float _AlphaChGlowAnimationStrength; + uniform int _AlphaChGlowAnimationBand; + uniform int _AlphaChGlowAnimationMode; + uniform int _AlphaChGlowAnimationSpeed; + uniform float2 _AlphaChGlowRadialCenter; + uniform int _AlphaChGlowMode; + uniform float _AlphaChGlowMinBrightness; + uniform float4 _AlphaChGlowTint; + uniform int _AlphaChReactiveBand; + uniform float _AlphaChReactivePulseDir; + uniform float _AlphaChReactivePulseScale; + uniform float _AlphaChReactivePulseOffset; + uniform float2 _AlphaChReactiveRadialCenter; + uniform int _AlphaChReactiveMode; + uniform float _AlphaChReactiveGlobalSmoothing; + uniform float _AlphaChReactiveMinBrightness; + uniform float4 _AlphaChReactiveTint; + uniform int _AlphaChReactiveBlendMode; + uniform float _EnableAlphaChannel; + uniform float4 _EmissionColor; + uniform sampler2D _EmissionMap; + uniform float4 _EmissionMap_ST; + uniform float2 _EmissionPanSpeed; + uniform float _EmissionPan; + uniform sampler2D _EffectMask; + uniform float4 _EffectMask_ST; + uniform float2 _EmissionMaskPanSpeed; + uniform float _EmissionMaskPan; + uniform int _EmissionMaskingChannel; + uniform int _EmissionGlowZone; + uniform float _EmissionGlowPulseDir; + uniform float _EmissionGlowPulseScale; + uniform float _EmissionGlowPulseOffset; + uniform float _EmissionGlowAnimationStrength; + uniform int _EmissionGlowAnimationBand; + uniform int _EmissionGlowAnimationMode; + uniform int _EmissionGlowAnimationSpeed; + uniform float2 _EmissionGlowRadialCenter; + uniform int _EmissionGlowMode; + uniform float _EmissionGlowMinBrightness; + uniform float4 _EmissionGlowTint; + uniform int _EmissionReactiveBand; + uniform float _EmissionReactivePulseDir; + uniform float _EmissionReactivePulseScale; + uniform float _EmissionReactivePulseOffset; + uniform float2 _EmissionReactiveRadialCenter; + uniform int _EmissionReactiveMode; + uniform float _EmissionReactiveGlobalSmoothing; + uniform float _EmissionReactiveMinBrightness; + uniform float4 _EmissionReactiveTint; + uniform int _EmissionReactiveBlendMode; + uniform int _EmissionGlowBlendMode; + uniform int _IridescentMaskingChannel; + uniform float4 _IridescentEmissionColor1; + uniform float4 _IridescentEmissionColor2; + uniform float _IridescentALAnimationStrength; + uniform int _IridescentALAnimationBand; + uniform int _IridescentALAnimationMode; + uniform int _IridescentALAnimationSpeed; + uniform sampler2D _BumpMap; + uniform float _BumpScale; + uniform int _IridescentMode2; + uniform float _IridescentScale; + uniform float _IridescentOffset; + uniform float4 _IridescentEmissionColor3; + uniform float _IridescentIntensity; + uniform int _IridescentEmissionMode; + uniform float _Glossiness; + uniform sampler2D _MetallicGlossMap; + uniform float _GlossMapScale; + float4 _MetallicGlossMap_TexelSize; + uniform int _IridescenceLightMode; + uniform float _Enableiridescence; + uniform sampler2D _OcclusionMap; + uniform float _OcclusionStrength; + uniform sampler2D _SpecGlossMap; + uniform float4 _Color; + uniform float _Metallic; + uniform float _EnableSpecularMap; + uniform float4 _SparkleColor; + uniform float _SparkleScale; + uniform float _SparkleSize; + uniform float _SparkleSeed; + uniform float _SparkleSpeed; + uniform int _SparkleShape; + uniform int _SparkleMaskingChannel; + uniform float4 _SparkleGlowTint; + uniform int _SparkleGlowZone; + uniform float _SparkleGlowPulseDir; + uniform float _SparkleGlowPulseScale; + uniform float _SparkleGlowPulseOffset; + uniform float _SparkleGlowAnimationStrength; + uniform int _SparkleGlowAnimationBand; + uniform int _SparkleGlowAnimationMode; + uniform int _SparkleGlowAnimationSpeed; + uniform float2 _SparkleGlowRadialCenter; + uniform int _SparkleGlowMode; + uniform float _SparkleGlowMinBrightness; + uniform int _SparkleReactiveBand; + uniform float _SparkleReactivePulseDir; + uniform float _SparkleReactivePulseScale; + uniform float _SparkleReactivePulseOffset; + uniform float2 _SparkleReactiveRadialCenter; + uniform int _SparkleReactiveMode; + uniform float _SparkleReactiveGlobalSmoothing; + uniform float _SparkleReactiveMinBrightness; + uniform float4 _SparkleReactiveTint; + uniform int _SparkleReactiveBlendMode; + uniform int _SparkleBlendMode; + uniform int _SparkleMode; + uniform float _RainbowALAnimationStrength; + uniform int _RainbowALAnimationBand; + uniform int _RainbowALAnimationMode; + uniform int _RainbowALAnimationSpeed; + uniform float _RainbowRotation; + uniform float2 _RainbowRadialCenter; + uniform float _RainbowSpiralCurve; + uniform int _RainbowUVMode; + uniform float _RainbowScale; + uniform float _RainbowHueRange; + uniform float _RainbowHue; + uniform float _RainbowSaturation; + uniform float _RainbowValue; + uniform int _RainbowMaskingChannel; + uniform float _EnableScrollingRainbow; + uniform float4 _RimlightColor; + uniform float4 _OutlineColor; + uniform int _OutlineReactiveBand; + uniform float _OutlineReactivePulseDir; + uniform float _OutlineReactivePulseScale; + uniform float _OutlineReactivePulseOffset; + uniform float2 _OutlineReactiveRadialCenter; + uniform int _OutlineReactiveMode; + uniform float _OutlineReactiveGlobalSmoothing; + uniform float _OutlineReactiveMinBrightness; + uniform float4 _OutlineReactiveTint; + uniform int _OutlineGlowZone; + uniform float _OutlineGlowPulseDir; + uniform float _OutlineGlowPulseScale; + uniform float _OutlineGlowPulseOffset; + uniform float2 _OutlineGlowRadialCenter; + uniform int _OutlineGlowMode; + uniform float _OutlineGlowMinBrightness; + uniform float4 _OutlineGlowTint; + uniform int _OutlineReactiveBlendMode; + uniform int _OutlineGlowBlendMode; + uniform float _OutlineWidth; + uniform float _MaxOutlineWidth; + uniform int _OutlineMaskingChannel; + uniform float _ViewFudge; + + + float SchlickGGX( float k, float NdotL, float NdotV ) + { + float L = (NdotL) / (NdotL * (1- k) + k); + float V = (NdotV) / (NdotV * (1-k) +k); + return L*V; + } + + + float3 BRDF( float3 N, float G, float F, float NdotL, float NdotV ) + { + return (N*G*F) / (4 * (NdotL*NdotV)); + } + + + float MixFunc( float i, float j, float x ) + { + return j*x+i*(1-x); + } + + + float SchlickFresnel( float i ) + { + float x = saturate(1-i); + float x2 = x*x; + return x2*x2*x; + } + + + float3 getThemeData( int Zone ) + { + float3 result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2)); + return result; + } + + + float sdStar5( float2 p, float r, float rf ) + { + const float2 k1 = float2(0.809016994375, -0.587785252292); + const float2 k2 = float2(-k1.x,k1.y); + p.x = abs(p.x); + p -= 2.0*max(dot(k1,p),0.0)*k1; + p -= 2.0*max(dot(k2,p),0.0)*k2; + p.x = abs(p.x); + p.y -= r; + float2 ba = rf*float2(-k1.y,k1.x) - float2(0,1); + float h = clamp( dot(p,ba)/dot(ba,ba), 0.0, r ); + return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y); + } + + + float dot2( float2 a ) + { + return dot(a,a); + } + + + float sdHeart( float2 p ) + { + p.x = abs(p.x); + if( p.y+p.x>1.0 ) + return sqrt(dot2(p-float2(0.25,0.75))) - sqrt(2.0)/4.0; + return sqrt(min(dot2(p-float2(0.00,1.00)), + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y); + } + + + float geometricRoughness( float3 WorldNormal ) + { + float3 nDdx = ddx_fine(WorldNormal); + float3 nDdy = ddy_fine(WorldNormal); + return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 ); + } + + + inline int IsLumaActive11_g4630( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4629( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4632( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4636( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4631( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4635( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4633( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4634( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4624( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4626( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4628( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4638( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4646( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4645( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4648( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4652( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4647( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4651( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4649( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4650( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4640( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4642( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4644( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4654( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4662( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4661( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4664( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4668( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4663( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4667( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4665( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4666( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4656( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4658( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4660( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4670( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4678( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4677( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4680( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4684( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4679( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4683( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4681( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4682( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4672( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4674( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4676( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4686( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4619( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4618( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4621( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4613( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4620( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4617( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4615( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4616( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4608( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4610( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4612( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline float glslmod270_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4622( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4906( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4909( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + int LightExists577( ) + { + int lightEnv = int(any(_WorldSpaceLightPos0.xyz)); + if(lightEnv != 1){ + return 0; + } + return 1; + } + + + float3 HSVToRGB( float3 c ) + { + float4 K = float4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); + float3 p = abs( frac( c.xxx + K.xyz ) * 6.0 - K.www ); + return c.z * lerp( K.xxx, saturate( p - K.xxx ), c.y ); + } + + + inline float ggx( float nh, float roughness ) + { + return GGXTerm(nh, roughness); + } + + + float3 RGBToHSV(float3 c) + { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp( float4( c.bg, K.wz ), float4( c.gb, K.xy ), step( c.b, c.g ) ); + float4 q = lerp( float4( p.xyw, c.r ), float4( c.r, p.yzx ), step( p.x, c.r ) ); + float d = q.x - min( q.w, q.y ); + float e = 1.0e-10; + return float3( abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); + } + + float2 voronoihash2_g4880( float2 p ) + { + + p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) ); + return frac( sin( p ) *43758.5453); + } + + + float voronoi2_g4880( float2 v, float time, inout float2 id, inout float2 mr, float smoothness, inout float2 smoothId ) + { + float2 n = floor( v ); + float2 f = frac( v ); + float F1 = 8.0; + float F2 = 8.0; float2 mg = 0; + for ( int j = -1; j <= 1; j++ ) + { + for ( int i = -1; i <= 1; i++ ) + { + float2 g = float2( i, j ); + float2 o = voronoihash2_g4880( n + g ); + o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o; + float d = 0.5 * dot( r, r ); + if( d x0.y ) ? float2( 1.0, 0.0 ) : float2( 0.0, 1.0 ); + float4 x12 = x0.xyxy + C.xxzz; + x12.xy -= i1; + i = mod2D289( i ); + float3 p = permute( permute( i.y + float3( 0.0, i1.y, 1.0 ) ) + i.x + float3( 0.0, i1.x, 1.0 ) ); + float3 m = max( 0.5 - float3( dot( x0, x0 ), dot( x12.xy, x12.xy ), dot( x12.zw, x12.zw ) ), 0.0 ); + m = m * m; + m = m * m; + float3 x = 2.0 * frac( p * C.www ) - 1.0; + float3 h = abs( x ) - 0.5; + float3 ox = floor( x + 0.5 ); + float3 a0 = x - ox; + m *= 1.79284291400159 - 0.85373472095314 * ( a0 * a0 + h * h ); + float3 g; + g.x = a0.x * x0.x + h.x * x0.y; + g.yz = a0.yz * x12.xz + h.yz * x12.yw; + return 130.0 * dot( m, g ); + } + + + inline int IsLumaActive11_g4890( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4889( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4892( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4896( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4891( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4895( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4893( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4894( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4884( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4886( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4888( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4898( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float IfAudioLinkv2Exists1_g4882( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float F0138( float NdotL, float NdotV, float LdotH, float roughness ) + { + float FresnelLight = SchlickFresnel(NdotL); + float FresnelView = SchlickFresnel(NdotV); + float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness; + return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView); + } + + + inline float3 getProbes( float4 uvw ) + { + return ShadeSH9(uvw); + } + + + inline int AudioLinkDecodeDataAsUInt6_g4902( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4903( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline float AudioLinkData3_g4914( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4916( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4918( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline int IsLumaActive11_g4921( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4920( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4923( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float glslmod13_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4922( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4926( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4924( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4925( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float glslmod266_g4913( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4928( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + void vertexDataFunc( inout appdata_full v, out Input o ) + { + UNITY_INITIALIZE_OUTPUT( Input, o ); + v.vertex.xyz += 0; + v.vertex.w = 1; + } + + inline half4 LightingStandardCustomLighting( inout SurfaceOutputCustomLightingCustom s, half3 viewDir, UnityGI gi ) + { + UnityGIInput data = s.GIData; + Input i = s.SurfInput; + half4 c = 0; + #ifdef UNITY_PASS_FORWARDBASE + float ase_lightAtten = data.atten; + if( _LightColor0.a == 0) + ase_lightAtten = 0; + #else + float3 ase_lightAttenRGB = gi.light.color / ( ( _LightColor0.rgb ) + 0.000001 ); + float ase_lightAtten = max( max( ase_lightAttenRGB.r, ase_lightAttenRGB.g ), ase_lightAttenRGB.b ); + #endif + #if defined(HANDLE_SHADOWS_BLENDING_IN_GI) + half bakedAtten = UnitySampleBakedOcclusion(data.lightmapUV.xy, data.worldPos); + float zDist = dot(_WorldSpaceCameraPos - data.worldPos, UNITY_MATRIX_V[2].xyz); + float fadeDist = UnityComputeShadowFadeDistance(data.worldPos, zDist); + ase_lightAtten = UnityMixRealtimeAndBakedShadows(data.atten, bakedAtten, UnityComputeShadowFade(fadeDist)); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 indirectNormal151 = worldNorm31; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float Occlusion272 = pow( tex2D( _OcclusionMap, uv_MainTex ).g , _OcclusionStrength ); + Unity_GlossyEnvironmentData g151 = UnityGlossyEnvironmentSetup( Smoothness90, data.worldViewDir, indirectNormal151, float3(0,0,0)); + float3 indirectSpecular151 = UnityGI_IndirectSpecular( data, Occlusion272, indirectNormal151, g151 ); + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float temp_output_208_0 = ( 1.0 - ( Smoothness90 * Smoothness90 ) ); + float temp_output_200_0 = max( ( 1.0 - ( temp_output_208_0 * temp_output_208_0 * temp_output_208_0 ) ) , 0.1 ); + float fresnelNdotV161 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode161 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV161, 4.0 ) ); + float smoothstepResult480 = smoothstep( 0.0 , 0.35 , fresnelNode161); + float IndirectAlpha1165 = saturate( ( 0.01 + smoothstepResult480 ) ); + float4 temp_cast_240 = (IndirectAlpha1165).xxxx; + float4 SpecularTex394 = ( tex2D( _SpecGlossMap, uv_MainTex ) * _SpecColor ); + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float4 MainTex147_g4905 = MainTex224; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 temp_output_21_0_g4905 = Normal243; + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (ase_lightAtten*0.5 + 0.5) , ase_lightAtten , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float4 Colors149_g4905 = lerpResult32_g4905; + float3 hsvTorgb86_g4905 = RGBToHSV( Colors149_g4905.rgb ); + float3 hsvTorgb85_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb87_g4905 = HSVToRGB( float3(hsvTorgb86_g4905.x,hsvTorgb85_g4905.y,hsvTorgb85_g4905.z) ); + float Intensity132_g4905 = _IridescentIntensity; + float4 lerpResult205_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb87_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + int ModeTransferSat145_g4905 = temp_output_91_0_g4905; + float4 lerpResult92_g4905 = lerp( MainTex147_g4905 , ( lerpResult205_g4905 * max( Intensity132_g4905 , 1.0 ) ) , (float)ModeTransferSat145_g4905); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb99_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb100_g4905 = HSVToRGB( float3(( AnimatedDot130_g4905 + hsvTorgb99_g4905.x ),hsvTorgb99_g4905.y,hsvTorgb99_g4905.y) ); + float4 lerpResult199_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb100_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Holographic153_g4905 = ( lerpResult199_g4905 * max( Intensity132_g4905 , 1.0 ) ); + int ModeTransfer143_g4905 = temp_output_90_0_g4905; + int temp_output_97_0_g4905 = ( ModeTransfer143_g4905 - 1 ); + float4 lerpResult96_g4905 = lerp( lerpResult92_g4905 , Holographic153_g4905 , (float)saturate( temp_output_97_0_g4905 )); + float3 hsvTorgb124_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb126_g4905 = HSVToRGB( float3(( hsvTorgb124_g4905.x + AnimatedDot130_g4905 ),hsvTorgb124_g4905.y,hsvTorgb124_g4905.z) ); + float4 lerpResult203_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb126_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Hueshift152_g4905 = ( lerpResult203_g4905 * max( Intensity132_g4905 , 1.0 ) ); + float4 lerpResult127_g4905 = lerp( lerpResult96_g4905 , Hueshift152_g4905 , (float)saturate( ( temp_output_97_0_g4905 - 1 ) )); + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult227_g4905 = lerp( MainTex147_g4905 , lerpResult127_g4905 , temp_output_233_0_g4905); + float4 lerpResult236_g4905 = lerp( lerpResult127_g4905 , lerpResult227_g4905 , (float)temp_output_225_0_g4905); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + float EffectMask140_g4905 = temp_output_55_0_g4905; + float4 lerpResult95_g4905 = lerp( MainTex147_g4905 , lerpResult236_g4905 , EffectMask140_g4905); + float4 lerpResult248_g4905 = lerp( MainTex147_g4905 , lerpResult95_g4905 , _Enableiridescence); + float4 IridescentMainTex1049 = lerpResult248_g4905; + float4 temp_output_227_0 = ( _Color * IridescentMainTex1049 ); + float MetallticFromTex247 = tex2DNode246.r; + float metallic46 = ( _Metallic * MetallticFromTex247 ); + half3 specColor163 = (0).xxx; + half oneMinusReflectivity163 = 0; + half3 diffuseAndSpecularFromMetallic163 = DiffuseAndSpecularFromMetallic(temp_output_227_0.rgb,metallic46,specColor163,oneMinusReflectivity163); + float lerpResult401 = lerp( 1.0 , metallic46 , _EnableSpecularMap); + float4 lerpResult381 = lerp( SpecularTex394 , float4( specColor163 , 0.0 ) , lerpResult401); + float4 specColor44 = ( lerpResult381 * SmoothnessColorMult1144 ); + float4 temp_cast_264 = (1.0).xxxx; + float fresnelNdotV202 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode202 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV202, 5.0 ) ); + float smoothstepResult482 = smoothstep( 0.0 , 0.35 , fresnelNode202); + float4 lerpResult213 = lerp( specColor44 , temp_cast_264 , saturate( smoothstepResult482 )); + float4 lerpResult204 = lerp( temp_cast_240 , lerpResult213 , metallic46); + float4 IndirectSpecular158 = ( float4( indirectSpecular151 , 0.0 ) * lerpResult204 * ( Smoothness90 * Smoothness90 ) ); + float3 diffuse23 = diffuseAndSpecularFromMetallic163; + float Opacity1155 = 1.0; + float smoothstepResult436 = smoothstep( saturate( ( -0.4 + 0.48 ) ) , saturate( ( -0.4 + ( 1.0 - 0.48 ) ) ) , localggx413); + float temp_output_452_0 = ( smoothstepResult436 * Smoothness90 ); + float smoothstepResult469 = smoothstep( 0.8 , 1.0 , Smoothness90); + float ToonSpecular444 = ( temp_output_452_0 + ( smoothstepResult469 * 5.0 * temp_output_452_0 ) ); + float4 ColoredSpec987 = ( saturate( ( 1.2 * specColor44 ) ) * ToonSpecular444 ); + float3 temp_output_125_0_g4880 = ColoredSpec987.rgb; + float3 SpecularIN194_g4880 = temp_output_125_0_g4880; + float time2_g4880 = 0.0; + float2 voronoiSmoothId2_g4880 = 0; + float2 coords2_g4880 = i.uv_texcoord * _SparkleScale; + float2 id2_g4880 = 0; + float2 uv2_g4880 = 0; + float voroi2_g4880 = voronoi2_g4880( coords2_g4880, time2_g4880, id2_g4880, uv2_g4880, 0, voronoiSmoothId2_g4880 ); + float2 ID44_g4880 = id2_g4880; + float2 break71_g4880 = ( ID44_g4880 * float2( 360,360 ) ); + float cos68_g4880 = cos( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float sin68_g4880 = sin( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float2 rotator68_g4880 = mul( uv2_g4880 - float2( 0,0 ) , float2x2( cos68_g4880 , -sin68_g4880 , sin68_g4880 , cos68_g4880 )) + float2( 0,0 ); + float2 UV45_g4880 = rotator68_g4880; + float mulTime14_g4880 = _Time.y * _SparkleSpeed; + float simplePerlin2D37_g4880 = snoise( ( ( ID44_g4880 * _SparkleSeed ) + mulTime14_g4880 ) ); + simplePerlin2D37_g4880 = simplePerlin2D37_g4880*0.5 + 0.5; + float Noise50_g4880 = ( _SparkleSize * simplePerlin2D37_g4880 ); + float smoothstepResult31_g4880 = smoothstep( 0.2 , 0.1 , ( length( UV45_g4880 ) - (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )); + float Sphere52_g4880 = smoothstepResult31_g4880; + float2 temp_cast_268 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 temp_output_54_0_g4880 = ( abs( UV45_g4880 ) - temp_cast_268 ); + float2 temp_cast_269 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 break59_g4880 = temp_output_54_0_g4880; + float smoothstepResult62_g4880 = smoothstep( 0.01 , 0.0 , ( length( max( temp_output_54_0_g4880 , float2( 0,0 ) ) ) + min( max( break59_g4880.x , break59_g4880.y ) , 0.0 ) )); + float Square63_g4880 = smoothstepResult62_g4880; + float lerpResult111_g4880 = lerp( Sphere52_g4880 , Square63_g4880 , (float)saturate( _SparkleShape )); + float2 p73_g4880 = UV45_g4880; + float r73_g4880 = (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)); + float rf73_g4880 = 0.25; + float localsdStar573_g4880 = sdStar5( p73_g4880 , r73_g4880 , rf73_g4880 ); + float smoothstepResult79_g4880 = smoothstep( 0.01 , 0.0 , localsdStar573_g4880); + float Star80_g4880 = smoothstepResult79_g4880; + int temp_output_114_0_g4880 = ( _SparkleShape - 1 ); + float lerpResult112_g4880 = lerp( lerpResult111_g4880 , Star80_g4880 , (float)saturate( temp_output_114_0_g4880 )); + float temp_output_99_0_g4880 = (-0.25 + (Noise50_g4880 - 0.0) * (0.0 - -0.25) / (1.0 - 0.0)); + float2 p85_g4880 = ( UV45_g4880 * 2.15 ); + float localsdHeart85_g4880 = sdHeart( p85_g4880 ); + float smoothstepResult91_g4880 = smoothstep( ( temp_output_99_0_g4880 + 0.01 ) , temp_output_99_0_g4880 , ( localsdHeart85_g4880 / 2.15 )); + float Heart90_g4880 = smoothstepResult91_g4880; + float lerpResult113_g4880 = lerp( lerpResult112_g4880 , Heart90_g4880 , (float)saturate( ( temp_output_114_0_g4880 - 1 ) )); + float4 temp_output_2_0_g4871 = EffectMaskRGBA871; + float4 break120_g4880 = temp_output_2_0_g4871; + int temp_output_18_0_g4881 = _SparkleMaskingChannel; + float lerpResult1_g4881 = lerp( 1.0 , break120_g4880.r , (float)saturate( temp_output_18_0_g4881 )); + int temp_output_5_0_g4881 = ( temp_output_18_0_g4881 - 1 ); + float lerpResult12_g4881 = lerp( lerpResult1_g4881 , break120_g4880.g , (float)saturate( temp_output_5_0_g4881 )); + int temp_output_6_0_g4881 = ( temp_output_5_0_g4881 - 1 ); + float lerpResult10_g4881 = lerp( lerpResult12_g4881 , break120_g4880.b , (float)saturate( temp_output_6_0_g4881 )); + float lerpResult11_g4881 = lerp( lerpResult10_g4881 , break120_g4880.a , (float)saturate( ( temp_output_6_0_g4881 - 1 ) )); + float SparkleAlpha129_g4880 = ( lerpResult113_g4880 * lerpResult11_g4881 ); + float4 temp_cast_278 = (1.0).xxxx; + float4 temp_cast_280 = (1.0).xxxx; + float3 temp_cast_281 = (1.0).xxx; + int EmissionGlowZone47_g4883 = _SparkleGlowZone; + int clampResult8_g4889 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4889 = ( clampResult8_g4889 - 1 ); + int Zone16_g4889 = temp_output_3_0_g4889; + float3 localgetThemeData16_g4889 = getThemeData( Zone16_g4889 ); + int Band11_g4890 = 56; + int localIsLumaActive11_g4890 = IsLumaActive11_g4890( Band11_g4890 ); + int temp_output_14_0_g4889 = localIsLumaActive11_g4890; + int lerpResult15_g4889 = lerp( temp_output_3_0_g4889 , ( 63 - temp_output_3_0_g4889 ) , (float)temp_output_14_0_g4889); + int Band2_g4889 = lerpResult15_g4889; + int Delay2_g4889 = 0; + float3 localLumaGlowData2_g4889 = LumaGlowData2_g4889( Band2_g4889 , Delay2_g4889 ); + float3 lerpResult17_g4889 = lerp( ( localgetThemeData16_g4889 * localLumaGlowData2_g4889 ) , localLumaGlowData2_g4889 , (float)temp_output_14_0_g4889); + int temp_output_21_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float3 lerpResult20_g4883 = lerp( temp_cast_281 , lerpResult17_g4889 , (float)temp_output_21_0_g4883); + float3 temp_cast_285 = (1.0).xxx; + int clampResult8_g4891 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4891 = ( clampResult8_g4891 - 1 ); + int Zone15_g4891 = temp_output_3_0_g4891; + float3 localgetThemeData15_g4891 = getThemeData( Zone15_g4891 ); + int Band11_g4892 = 56; + int localIsLumaActive11_g4892 = IsLumaActive11_g4892( Band11_g4892 ); + int temp_output_13_0_g4891 = localIsLumaActive11_g4892; + int lerpResult14_g4891 = lerp( temp_output_3_0_g4891 , ( 63 - temp_output_3_0_g4891 ) , (float)temp_output_13_0_g4891); + int Band11_g4891 = lerpResult14_g4891; + float cos6_g4883 = cos( radians( _SparkleGlowPulseDir ) ); + float sin6_g4883 = sin( radians( _SparkleGlowPulseDir ) ); + float2 rotator6_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4883 , -sin6_g4883 , sin6_g4883 , cos6_g4883 )) + float2( 0.5,0.5 ); + int Band6_g4896 = _SparkleGlowAnimationBand; + int Mode6_g4896 = ( ( _SparkleGlowAnimationMode * 2 ) + _SparkleGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4896 = AudioLinkDecodeDataAsUInt6_g4896( Band6_g4896 , Mode6_g4896 ); + float localGetLocalTime2_g4897 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4883 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4896 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4897 , (float)saturate( ( _SparkleGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4883 = ( _SparkleGlowAnimationStrength * lerpResult206_g4883 * step( _SparkleGlowAnimationBand , 9 ) ); + float x13_g4883 = ( ( rotator6_g4883.x * _SparkleGlowPulseScale ) + _SparkleGlowPulseOffset + EmissionGlowAnimation195_g4883 ); + float y13_g4883 = 127.0; + float localglslmod13_g4883 = glslmod13_g4883( x13_g4883 , y13_g4883 ); + float2 CenteredUV15_g4885 = ( i.uv_texcoord - _SparkleGlowRadialCenter ); + float2 break17_g4885 = CenteredUV15_g4885; + float2 appendResult23_g4885 = (float2(( length( CenteredUV15_g4885 ) * _SparkleGlowPulseScale * 2.0 ) , ( atan2( break17_g4885.x , break17_g4885.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4883 = ( _SparkleGlowPulseOffset + appendResult23_g4885.x + EmissionGlowAnimation195_g4883 ); + float y12_g4883 = 127.0; + float localglslmod12_g4883 = glslmod12_g4883( x12_g4883 , y12_g4883 ); + int EmissionGlowMode35_g4883 = _SparkleGlowMode; + int temp_output_37_0_g4883 = ( EmissionGlowMode35_g4883 - 1 ); + float lerpResult5_g4883 = lerp( localglslmod13_g4883 , localglslmod12_g4883 , (float)saturate( temp_output_37_0_g4883 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4606 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float temp_output_1074_244 = Direction27_g4606; + float DirectionMap1031 = temp_output_1074_244; + float temp_output_23_0_g4871 = DirectionMap1031; + float DirectionalMap106_g4883 = temp_output_23_0_g4871; + float lerpResult179_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionGlowMode35_g4883 - 3 ) )); + float x34_g4883 = ( _SparkleGlowPulseOffset + ( _SparkleGlowPulseScale * lerpResult179_g4883 ) + EmissionGlowAnimation195_g4883 ); + float y34_g4883 = 127.0; + float localglslmod34_g4883 = glslmod34_g4883( x34_g4883 , y34_g4883 ); + float lerpResult30_g4883 = lerp( lerpResult5_g4883 , localglslmod34_g4883 , (float)saturate( ( temp_output_37_0_g4883 - 1 ) )); + float EmissionGlowDelay56_g4883 = lerpResult30_g4883; + float Delay11_g4891 = EmissionGlowDelay56_g4883; + float3 localLumaGlowLerp11_g4891 = LumaGlowLerp11_g4891( Band11_g4891 , Delay11_g4891 ); + float3 lerpResult17_g4891 = lerp( ( localgetThemeData15_g4891 * localLumaGlowLerp11_g4891 ) , localLumaGlowLerp11_g4891 , (float)temp_output_13_0_g4891); + float3 lerpResult22_g4883 = lerp( temp_cast_285 , lerpResult17_g4891 , (float)temp_output_21_0_g4883); + float3 lerpResult23_g4883 = lerp( lerpResult20_g4883 , lerpResult22_g4883 , (float)saturate( EmissionGlowMode35_g4883 )); + float4 temp_cast_295 = (1.0).xxxx; + float temp_output_10_0_g4893 = EmissionGlowDelay56_g4883; + float Position1_g4895 = ( temp_output_10_0_g4893 / 127.0 ); + float4 localAudioLinkLerp1_g4895 = AudioLinkLerp1_g4895( Position1_g4895 ); + int clampResult8_g4893 = clamp( ( EmissionGlowZone47_g4883 - 4 ) , 1 , 3 ); + int Band11_g4893 = ( 59 - ( clampResult8_g4893 - 1 ) ); + float Delay11_g4893 = temp_output_10_0_g4893; + float3 localLumaGlowLerp11_g4893 = LumaGlowLerp11_g4893( Band11_g4893 , Delay11_g4893 ); + int Band11_g4894 = 56; + int localIsLumaActive11_g4894 = IsLumaActive11_g4894( Band11_g4894 ); + float4 lerpResult14_g4893 = lerp( localAudioLinkLerp1_g4895 , float4( localLumaGlowLerp11_g4893 , 0.0 ) , (float)localIsLumaActive11_g4894); + float4 lerpResult52_g4883 = lerp( temp_cast_295 , lerpResult14_g4893 , (float)saturate( EmissionGlowZone47_g4883 )); + float4 lerpResult51_g4883 = lerp( float4( lerpResult23_g4883 , 0.0 ) , lerpResult52_g4883 , (float)saturate( ( EmissionGlowZone47_g4883 - 4 ) )); + float4 temp_cast_300 = (_SparkleGlowMinBrightness).xxxx; + float4 temp_cast_301 = (( _SparkleGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float4 EmissionGlow142_g4883 = ( (temp_cast_300 + (lerpResult51_g4883 - float4( 0,0,0,0 )) * (temp_cast_301 - temp_cast_300) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _SparkleGlowTint * temp_output_258_0_g4883 ); + float4 lerpResult261_g4883 = lerp( temp_cast_280 , EmissionGlow142_g4883 , (float)temp_output_258_0_g4883); + float4 EmissionGlowTog262_g4883 = lerpResult261_g4883; + int EmissionReactiveBand243_g4883 = _SparkleReactiveBand; + int Band3_g4884 = EmissionReactiveBand243_g4883; + int Delay3_g4884 = 0; + float localAudioLinkData3_g4884 = AudioLinkData3_g4884( Band3_g4884 , Delay3_g4884 ); + int temp_output_64_0_g4883 = step( _SparkleReactiveBand , 9 ); + float lerpResult66_g4883 = lerp( 1.0 , localAudioLinkData3_g4884 , (float)temp_output_64_0_g4883); + int Band3_g4886 = _SparkleReactiveBand; + float cos78_g4883 = cos( radians( _SparkleReactivePulseDir ) ); + float sin78_g4883 = sin( radians( _SparkleReactivePulseDir ) ); + float2 rotator78_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4883 , -sin78_g4883 , sin78_g4883 , cos78_g4883 )) + float2( 0.5,0.5 ); + float x96_g4883 = ( ( rotator78_g4883.x * _SparkleReactivePulseScale ) + _SparkleReactivePulseOffset ); + float y96_g4883 = 127.0; + float localglslmod96_g4883 = glslmod96_g4883( x96_g4883 , y96_g4883 ); + float2 CenteredUV15_g4887 = ( i.uv_texcoord - _SparkleReactiveRadialCenter ); + float2 break17_g4887 = CenteredUV15_g4887; + float2 appendResult23_g4887 = (float2(( length( CenteredUV15_g4887 ) * _SparkleReactivePulseScale * 2.0 ) , ( atan2( break17_g4887.x , break17_g4887.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4883 = ( _SparkleReactivePulseOffset + appendResult23_g4887.x ); + float y97_g4883 = 127.0; + float localglslmod97_g4883 = glslmod97_g4883( x97_g4883 , y97_g4883 ); + int EmissionReactiveMode99_g4883 = _SparkleReactiveMode; + int temp_output_90_0_g4883 = ( EmissionReactiveMode99_g4883 - 1 ); + float lerpResult77_g4883 = lerp( localglslmod96_g4883 , localglslmod97_g4883 , (float)saturate( temp_output_90_0_g4883 )); + float lerpResult174_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionReactiveMode99_g4883 - 3 ) )); + float x98_g4883 = ( _SparkleReactivePulseOffset + ( _SparkleReactivePulseScale * lerpResult174_g4883 ) ); + float y98_g4883 = 127.0; + float localglslmod98_g4883 = glslmod98_g4883( x98_g4883 , y98_g4883 ); + float lerpResult87_g4883 = lerp( lerpResult77_g4883 , localglslmod98_g4883 , (float)saturate( ( temp_output_90_0_g4883 - 1 ) )); + float Delay3_g4886 = lerpResult87_g4883; + float localAudioLinkLerp3_g4886 = AudioLinkLerp3_g4886( Band3_g4886 , Delay3_g4886 ); + float lerpResult102_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4886 , (float)temp_output_64_0_g4883); + float lerpResult103_g4883 = lerp( lerpResult66_g4883 , lerpResult102_g4883 , (float)saturate( EmissionReactiveMode99_g4883 )); + int Band3_g4888 = _SparkleReactiveBand; + float FilteredAmount3_g4888 = ( ( 1.0 - _SparkleReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4888 = AudioLinkLerp3_g4888( Band3_g4888 , FilteredAmount3_g4888 ); + float lerpResult168_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4888 , (float)temp_output_64_0_g4883); + float lerpResult172_g4883 = lerp( lerpResult103_g4883 , lerpResult168_g4883 , (float)saturate( ( EmissionReactiveMode99_g4883 - 4 ) )); + float ReactivityAlpha132_g4883 = (_SparkleReactiveMinBrightness + (lerpResult172_g4883 - 0.0) * (( _SparkleReactiveMinBrightness + 1.0 ) - _SparkleReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_312 = (1.0).xxxx; + float4 lerpResult268_g4883 = lerp( temp_cast_312 , _SparkleReactiveTint , (float)step( EmissionReactiveBand243_g4883 , 9 )); + float4 FinalReactivity68_g4883 = ( ReactivityAlpha132_g4883 * lerpResult268_g4883 ); + float4 lerpResult146_g4883 = lerp( ( EmissionGlowTog262_g4883 * FinalReactivity68_g4883 ) , ( EmissionGlow142_g4883 + FinalReactivity68_g4883 ) , (float)saturate( _SparkleReactiveBlendMode )); + float4 ReversedReactivity152_g4883 = ( ( 1.0 - ReactivityAlpha132_g4883 ) * lerpResult268_g4883 ); + int temp_output_157_0_g4883 = ( _SparkleReactiveBlendMode - 1 ); + float4 lerpResult114_g4883 = lerp( lerpResult146_g4883 , ( EmissionGlowTog262_g4883 * ReversedReactivity152_g4883 ) , (float)saturate( temp_output_157_0_g4883 )); + int temp_output_255_0_g4883 = step( EmissionReactiveBand243_g4883 , 9 ); + float4 lerpResult164_g4883 = lerp( lerpResult114_g4883 , ( EmissionGlow142_g4883 + ( ReversedReactivity152_g4883 * temp_output_255_0_g4883 ) ) , (float)max( saturate( ( temp_output_157_0_g4883 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4883 , 9 ) ) )); + float4 lerpResult280_g4883 = lerp( _SparkleGlowTint , lerpResult164_g4883 , (float)max( temp_output_255_0_g4883 , saturate( EmissionGlowZone47_g4883 ) )); + float localIfAudioLinkv2Exists1_g4898 = IfAudioLinkv2Exists1_g4898(); + float4 lerpResult275_g4883 = lerp( temp_cast_278 , ( lerpResult280_g4883 * SparkleAlpha129_g4880 ) , localIfAudioLinkv2Exists1_g4898); + float localIfAudioLinkv2Exists1_g4882 = IfAudioLinkv2Exists1_g4882(); + float4 lerpResult172_g4880 = lerp( ( _SparkleColor * SparkleAlpha129_g4880 ) , lerpResult275_g4883 , localIfAudioLinkv2Exists1_g4882); + float4 Sparkles152_g4880 = lerpResult172_g4880; + float4 lerpResult190_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_125_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_125_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 SpecularSparkles142_g4880 = lerpResult190_g4880; + int temp_output_133_0_g4880 = saturate( _SparkleMode ); + float4 lerpResult127_g4880 = lerp( float4( SpecularIN194_g4880 , 0.0 ) , SpecularSparkles142_g4880 , (float)temp_output_133_0_g4880); + int temp_output_137_0_g4880 = ( _SparkleMode - 1 ); + float4 lerpResult198_g4880 = lerp( lerpResult127_g4880 , float4( SpecularIN194_g4880 , 0.0 ) , (float)saturate( temp_output_137_0_g4880 )); + int temp_output_150_0_g4880 = ( temp_output_137_0_g4880 - 1 ); + int temp_output_151_0_g4880 = saturate( temp_output_150_0_g4880 ); + float4 lerpResult149_g4880 = lerp( lerpResult198_g4880 , SpecularSparkles142_g4880 , (float)temp_output_151_0_g4880); + int temp_output_160_0_g4880 = saturate( ( temp_output_150_0_g4880 - 1 ) ); + float4 lerpResult153_g4880 = lerp( lerpResult149_g4880 , SpecularSparkles142_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch173_g4880 = lerpResult153_g4880; + #else + float4 staticSwitch173_g4880 = float4( SpecularIN194_g4880 , 0.0 ); + #endif + float4 SpecEffects1117 = staticSwitch173_g4880; + float3 N123 = SpecEffects1117.xyz; + float k379 = roughness17; + float dotResult14 = dot( worldNorm31 , lightDir32 ); + float NdotL39 = max( dotResult14 , 0.0 ); + float smoothstepResult460 = smoothstep( 0.125 , 0.15 , NdotL39); + float lerpResult636 = lerp( (smoothstepResult460*0.5 + 0.5) , smoothstepResult460 , _WorldSpaceLightPos0.w); + float ToonNdotL514 = lerpResult636; + float NdotL379 = ToonNdotL514; + float dotResult24 = dot( worldNorm31 , viewDir29 ); + float NdotV11 = max( dotResult24 , 0.0 ); + float NdotV379 = NdotV11; + float localSchlickGGX379 = SchlickGGX( k379 , NdotL379 , NdotV379 ); + float G123 = localSchlickGGX379; + float NdotL138 = ToonNdotL514; + float smoothstepResult461 = smoothstep( 0.0 , 0.25 , NdotV11); + float ToonNdotV565 = smoothstepResult461; + float NdotV138 = ToonNdotV565; + float LdotH138 = NdotH38; + float roughness138 = roughness17; + float localF0138 = F0138( NdotL138 , NdotV138 , LdotH138 , roughness138 ); + float F123 = localF0138; + float NdotL123 = lerpResult636; + float NdotV123 = NdotV11; + float3 localBRDF123 = BRDF( N123 , G123 , F123 , NdotL123 , NdotV123 ); + float3 temp_cast_331 = (0.001).xxx; + float4 appendResult511 = (float4(-lightDir32 , 1.0)); + float4 uvw501 = appendResult511; + float3 localgetProbes501 = getProbes( uvw501 ); + float4 appendResult517 = (float4(lightDir32 , 1.0)); + float4 uvw518 = appendResult517; + float3 localgetProbes518 = getProbes( uvw518 ); + float3 lerpResult520 = lerp( ( localgetProbes501 * 0.65 ) , localgetProbes518 , ( ToonNdotL514 * Attenuation533 )); + float3 ToonAmbience521 = lerpResult520; + float4 lerpResult578 = lerp( float4( ToonAmbience521 , 0.0 ) , ase_lightColor , temp_output_576_0); + float4 InitialLightColor589 = ( lerpResult578 * Attenuation533 ); + float4 lightColor45 = InitialLightColor589; + float4 BRDF219 = ( float4( ( ( diffuse23 * Occlusion272 * Opacity1155 ) + ( max( localBRDF123 , temp_cast_331 ) * smoothstepResult460 * Attenuation533 ) ) , 0.0 ) * ( float4( ToonAmbience521 , 0.0 ) + ( lightColor45 * ToonNdotL514 ) ) ); + float4 lerpResult182_g4880 = lerp( Sparkles152_g4880 , float4( 0,0,0,0 ) , (float)temp_output_133_0_g4880); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch177_g4880 = Sparkles152_g4880; + #else + float4 staticSwitch177_g4880 = float4( 0,0,0,0 ); + #endif + float4 lerpResult185_g4880 = lerp( lerpResult182_g4880 , staticSwitch177_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch178_g4880 = lerpResult185_g4880; + #else + float4 staticSwitch178_g4880 = float4( 0,0,0,0 ); + #endif + int Band6_g4902 = _RainbowALAnimationBand; + int Mode6_g4902 = ( ( _RainbowALAnimationMode * 2 ) + _RainbowALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4902 = AudioLinkDecodeDataAsUInt6_g4902( Band6_g4902 , Mode6_g4902 ); + float localGetNetworkTime4_g4904 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4903 = IfAudioLinkv2Exists1_g4903(); + float temp_output_95_0_g4899 = localIfAudioLinkv2Exists1_g4903; + float lerpResult94_g4899 = lerp( _Time.y , localGetNetworkTime4_g4904 , temp_output_95_0_g4899); + float lerpResult66_g4899 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4902 % 628319 ) / 100000.0 ) * step( _RainbowALAnimationBand , 9 ) ) , lerpResult94_g4899 , (float)saturate( ( _RainbowALAnimationMode - 3 ) )); + float lerpResult96_g4899 = lerp( _Time.y , lerpResult66_g4899 , temp_output_95_0_g4899); + float EmissionGlowAnimation67_g4899 = ( _RainbowALAnimationStrength * lerpResult96_g4899 ); + float cos45_g4899 = cos( radians( _RainbowRotation ) ); + float sin45_g4899 = sin( radians( _RainbowRotation ) ); + float2 rotator45_g4899 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos45_g4899 , -sin45_g4899 , sin45_g4899 , cos45_g4899 )) + float2( 0.5,0.5 ); + float2 CenteredUV15_g4901 = ( i.uv_texcoord - _RainbowRadialCenter ); + float2 break17_g4901 = CenteredUV15_g4901; + float2 appendResult23_g4901 = (float2(( length( CenteredUV15_g4901 ) * _RainbowSpiralCurve * 2.0 ) , ( atan2( break17_g4901.x , break17_g4901.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float2 break50_g4899 = appendResult23_g4901; + float lerpResult49_g4899 = lerp( rotator45_g4899.x , break50_g4899.x , (float)saturate( _RainbowUVMode )); + int temp_output_60_0_g4899 = ( _RainbowUVMode - 1 ); + float lerpResult63_g4899 = lerp( lerpResult49_g4899 , ( break50_g4899.x + ( break50_g4899.y * ( 2.0 * UNITY_PI ) ) ) , (float)saturate( temp_output_60_0_g4899 )); + float temp_output_85_0_g4899 = temp_output_23_0_g4871; + int temp_output_81_0_g4899 = ( temp_output_60_0_g4899 - 1 ); + float lerpResult79_g4899 = lerp( lerpResult63_g4899 , temp_output_85_0_g4899 , (float)saturate( temp_output_81_0_g4899 )); + float lerpResult80_g4899 = lerp( lerpResult79_g4899 , ( 1.0 - temp_output_85_0_g4899 ) , (float)saturate( ( temp_output_81_0_g4899 - 1 ) )); + float temp_output_24_0_g4899 = ( ( 1.0 - _RainbowHueRange ) * 0.5 ); + float3 hsvTorgb3_g4899 = HSVToRGB( float3(( (temp_output_24_0_g4899 + (sin( ( EmissionGlowAnimation67_g4899 + ( lerpResult80_g4899 * _RainbowScale ) ) ) - -1.0) * (( 1.0 - temp_output_24_0_g4899 ) - temp_output_24_0_g4899) / (1.0 - -1.0)) + _RainbowHue ),_RainbowSaturation,_RainbowValue) ); + float4 EffectMaskRGBA8_g4871 = temp_output_2_0_g4871; + float4 break38_g4899 = EffectMaskRGBA8_g4871; + int temp_output_18_0_g4900 = _RainbowMaskingChannel; + float lerpResult1_g4900 = lerp( 1.0 , break38_g4899.r , (float)saturate( temp_output_18_0_g4900 )); + int temp_output_5_0_g4900 = ( temp_output_18_0_g4900 - 1 ); + float lerpResult12_g4900 = lerp( lerpResult1_g4900 , break38_g4899.g , (float)saturate( temp_output_5_0_g4900 )); + int temp_output_6_0_g4900 = ( temp_output_5_0_g4900 - 1 ); + float lerpResult10_g4900 = lerp( lerpResult12_g4900 , break38_g4899.b , (float)saturate( temp_output_6_0_g4900 )); + float lerpResult11_g4900 = lerp( lerpResult10_g4900 , break38_g4899.a , (float)saturate( ( temp_output_6_0_g4900 - 1 ) )); + float3 lerpResult98_g4899 = lerp( float3( 0,0,0 ) , ( hsvTorgb3_g4899 * lerpResult11_g4900 ) , _EnableScrollingRainbow); + #ifdef UNITY_PASS_FORWARDBASE + float3 staticSwitch35_g4871 = lerpResult98_g4899; + #else + float3 staticSwitch35_g4871 = float3( 0,0,0 ); + #endif + float dotResult617 = dot( worldNorm31 , lightDir32 ); + float dotResult610 = dot( worldNorm31 , float3(0,1,0) ); + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch625 = max( ( dotResult610 + 0.5 ) , 0.0 ); + #else + float staticSwitch625 = 1.0; + #endif + float4 Rimlighting557 = ( max( -dotResult617 , 0.0 ) * temp_output_547_0 * ( ( lightColor45 + float4( ToonAmbience521 , 0.0 ) ) / 2.0 ) * _RimlightColor * specColor44 * staticSwitch625 * SpecularAntiAlias851 ); + float3 temp_output_126_0_g4880 = Rimlighting557.rgb; + float3 RimlightIN195_g4880 = temp_output_126_0_g4880; + float4 lerpResult191_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_126_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_126_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 RimlightSparkles143_g4880 = lerpResult191_g4880; + float4 lerpResult136_g4880 = lerp( float4( RimlightIN195_g4880 , 0.0 ) , RimlightSparkles143_g4880 , (float)saturate( temp_output_137_0_g4880 )); + float4 lerpResult181_g4880 = lerp( lerpResult136_g4880 , RimlightSparkles143_g4880 , (float)temp_output_151_0_g4880); + float4 lerpResult183_g4880 = lerp( lerpResult181_g4880 , RimlightSparkles143_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch187_g4880 = lerpResult183_g4880; + #else + float4 staticSwitch187_g4880 = float4( RimlightIN195_g4880 , 0.0 ); + #endif + float4 RimlightEffects1118 = staticSwitch187_g4880; + c.rgb = ( IndirectSpecular158 + BRDF219 + ( staticSwitch178_g4880 + float4( staticSwitch35_g4871 , 0.0 ) ) + RimlightEffects1118 ).rgb; + c.a = 1; + return c; + } + + inline void LightingStandardCustomLighting_GI( inout SurfaceOutputCustomLightingCustom s, UnityGIInput data, inout UnityGI gi ) + { + s.GIData = data; + } + + void surf( Input i , inout SurfaceOutputCustomLightingCustom o ) + { + o.SurfInput = i; + o.Normal = float3(0,0,1); + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + o.Albedo = MainTex224.rgb; + float4 temp_cast_1 = (1.0).xxxx; + float3 temp_cast_2 = (1.0).xxx; + int EmissionGlowZone47_g4623 = _RedChGlowZone; + int clampResult8_g4629 = clamp( EmissionGlowZone47_g4623 , 1 , 4 ); + int temp_output_3_0_g4629 = ( clampResult8_g4629 - 1 ); + int Zone16_g4629 = temp_output_3_0_g4629; + float3 localgetThemeData16_g4629 = getThemeData( Zone16_g4629 ); + int Band11_g4630 = 56; + int localIsLumaActive11_g4630 = IsLumaActive11_g4630( Band11_g4630 ); + int temp_output_14_0_g4629 = localIsLumaActive11_g4630; + int lerpResult15_g4629 = lerp( temp_output_3_0_g4629 , ( 63 - temp_output_3_0_g4629 ) , (float)temp_output_14_0_g4629); + int Band2_g4629 = lerpResult15_g4629; + int Delay2_g4629 = 0; + float3 localLumaGlowData2_g4629 = LumaGlowData2_g4629( Band2_g4629 , Delay2_g4629 ); + float3 lerpResult17_g4629 = lerp( ( localgetThemeData16_g4629 * localLumaGlowData2_g4629 ) , localLumaGlowData2_g4629 , (float)temp_output_14_0_g4629); + int temp_output_21_0_g4623 = saturate( EmissionGlowZone47_g4623 ); + float3 lerpResult20_g4623 = lerp( temp_cast_2 , lerpResult17_g4629 , (float)temp_output_21_0_g4623); + float3 temp_cast_6 = (1.0).xxx; + int clampResult8_g4631 = clamp( EmissionGlowZone47_g4623 , 1 , 4 ); + int temp_output_3_0_g4631 = ( clampResult8_g4631 - 1 ); + int Zone15_g4631 = temp_output_3_0_g4631; + float3 localgetThemeData15_g4631 = getThemeData( Zone15_g4631 ); + int Band11_g4632 = 56; + int localIsLumaActive11_g4632 = IsLumaActive11_g4632( Band11_g4632 ); + int temp_output_13_0_g4631 = localIsLumaActive11_g4632; + int lerpResult14_g4631 = lerp( temp_output_3_0_g4631 , ( 63 - temp_output_3_0_g4631 ) , (float)temp_output_13_0_g4631); + int Band11_g4631 = lerpResult14_g4631; + float cos6_g4623 = cos( radians( _RedChGlowPulseDir ) ); + float sin6_g4623 = sin( radians( _RedChGlowPulseDir ) ); + float2 rotator6_g4623 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4623 , -sin6_g4623 , sin6_g4623 , cos6_g4623 )) + float2( 0.5,0.5 ); + int Band6_g4636 = _RedChGlowAnimationBand; + int Mode6_g4636 = ( ( _RedChGlowAnimationMode * 2 ) + _RedChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4636 = AudioLinkDecodeDataAsUInt6_g4636( Band6_g4636 , Mode6_g4636 ); + float localGetLocalTime2_g4637 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4623 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4636 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4637 , (float)saturate( ( _RedChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4623 = ( _RedChGlowAnimationStrength * lerpResult206_g4623 * step( _RedChGlowAnimationBand , 9 ) ); + float x13_g4623 = ( ( rotator6_g4623.x * _RedChGlowPulseScale ) + _RedChGlowPulseOffset + EmissionGlowAnimation195_g4623 ); + float y13_g4623 = 127.0; + float localglslmod13_g4623 = glslmod13_g4623( x13_g4623 , y13_g4623 ); + float2 CenteredUV15_g4625 = ( i.uv_texcoord - _RedChGlowRadialCenter ); + float2 break17_g4625 = CenteredUV15_g4625; + float2 appendResult23_g4625 = (float2(( length( CenteredUV15_g4625 ) * _RedChGlowPulseScale * 2.0 ) , ( atan2( break17_g4625.x , break17_g4625.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4623 = ( _RedChGlowPulseOffset + appendResult23_g4625.x + EmissionGlowAnimation195_g4623 ); + float y12_g4623 = 127.0; + float localglslmod12_g4623 = glslmod12_g4623( x12_g4623 , y12_g4623 ); + int EmissionGlowMode35_g4623 = _RedChGlowMode; + int temp_output_37_0_g4623 = ( EmissionGlowMode35_g4623 - 1 ); + float lerpResult5_g4623 = lerp( localglslmod13_g4623 , localglslmod12_g4623 , (float)saturate( temp_output_37_0_g4623 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4606 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionalMap106_g4623 = Direction27_g4606; + float lerpResult179_g4623 = lerp( DirectionalMap106_g4623 , ( 1.0 - DirectionalMap106_g4623 ) , (float)saturate( ( EmissionGlowMode35_g4623 - 3 ) )); + float x34_g4623 = ( _RedChGlowPulseOffset + ( _RedChGlowPulseScale * lerpResult179_g4623 ) + EmissionGlowAnimation195_g4623 ); + float y34_g4623 = 127.0; + float localglslmod34_g4623 = glslmod34_g4623( x34_g4623 , y34_g4623 ); + float lerpResult30_g4623 = lerp( lerpResult5_g4623 , localglslmod34_g4623 , (float)saturate( ( temp_output_37_0_g4623 - 1 ) )); + float EmissionGlowDelay56_g4623 = lerpResult30_g4623; + float Delay11_g4631 = EmissionGlowDelay56_g4623; + float3 localLumaGlowLerp11_g4631 = LumaGlowLerp11_g4631( Band11_g4631 , Delay11_g4631 ); + float3 lerpResult17_g4631 = lerp( ( localgetThemeData15_g4631 * localLumaGlowLerp11_g4631 ) , localLumaGlowLerp11_g4631 , (float)temp_output_13_0_g4631); + float3 lerpResult22_g4623 = lerp( temp_cast_6 , lerpResult17_g4631 , (float)temp_output_21_0_g4623); + float3 lerpResult23_g4623 = lerp( lerpResult20_g4623 , lerpResult22_g4623 , (float)saturate( EmissionGlowMode35_g4623 )); + float4 temp_cast_16 = (1.0).xxxx; + float temp_output_10_0_g4633 = EmissionGlowDelay56_g4623; + float Position1_g4635 = ( temp_output_10_0_g4633 / 127.0 ); + float4 localAudioLinkLerp1_g4635 = AudioLinkLerp1_g4635( Position1_g4635 ); + int clampResult8_g4633 = clamp( ( EmissionGlowZone47_g4623 - 4 ) , 1 , 3 ); + int Band11_g4633 = ( 59 - ( clampResult8_g4633 - 1 ) ); + float Delay11_g4633 = temp_output_10_0_g4633; + float3 localLumaGlowLerp11_g4633 = LumaGlowLerp11_g4633( Band11_g4633 , Delay11_g4633 ); + int Band11_g4634 = 56; + int localIsLumaActive11_g4634 = IsLumaActive11_g4634( Band11_g4634 ); + float4 lerpResult14_g4633 = lerp( localAudioLinkLerp1_g4635 , float4( localLumaGlowLerp11_g4633 , 0.0 ) , (float)localIsLumaActive11_g4634); + float4 lerpResult52_g4623 = lerp( temp_cast_16 , lerpResult14_g4633 , (float)saturate( EmissionGlowZone47_g4623 )); + float4 lerpResult51_g4623 = lerp( float4( lerpResult23_g4623 , 0.0 ) , lerpResult52_g4623 , (float)saturate( ( EmissionGlowZone47_g4623 - 4 ) )); + float4 temp_cast_21 = (_RedChGlowMinBrightness).xxxx; + float4 temp_cast_22 = (( _RedChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_254_0_g4623 = saturate( EmissionGlowZone47_g4623 ); + float4 EmissionGlow142_g4623 = ( (temp_cast_21 + (lerpResult51_g4623 - float4( 0,0,0,0 )) * (temp_cast_22 - temp_cast_21) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _RedChGlowTint * temp_output_254_0_g4623 ); + float4 lerpResult257_g4623 = lerp( temp_cast_1 , EmissionGlow142_g4623 , (float)temp_output_254_0_g4623); + float4 EmissionGlowTog258_g4623 = lerpResult257_g4623; + int EmissionReactiveBand243_g4623 = _RedChReactiveBand; + int Band3_g4624 = EmissionReactiveBand243_g4623; + int Delay3_g4624 = 0; + float localAudioLinkData3_g4624 = AudioLinkData3_g4624( Band3_g4624 , Delay3_g4624 ); + int temp_output_64_0_g4623 = step( _RedChReactiveBand , 9 ); + float lerpResult66_g4623 = lerp( 1.0 , localAudioLinkData3_g4624 , (float)temp_output_64_0_g4623); + int Band3_g4626 = _RedChReactiveBand; + float cos78_g4623 = cos( radians( _RedChReactivePulseDir ) ); + float sin78_g4623 = sin( radians( _RedChReactivePulseDir ) ); + float2 rotator78_g4623 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4623 , -sin78_g4623 , sin78_g4623 , cos78_g4623 )) + float2( 0.5,0.5 ); + float x96_g4623 = ( ( rotator78_g4623.x * _RedChReactivePulseScale ) + _RedChReactivePulseOffset ); + float y96_g4623 = 127.0; + float localglslmod96_g4623 = glslmod96_g4623( x96_g4623 , y96_g4623 ); + float2 CenteredUV15_g4627 = ( i.uv_texcoord - _RedChReactiveRadialCenter ); + float2 break17_g4627 = CenteredUV15_g4627; + float2 appendResult23_g4627 = (float2(( length( CenteredUV15_g4627 ) * _RedChReactivePulseScale * 2.0 ) , ( atan2( break17_g4627.x , break17_g4627.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4623 = ( _RedChReactivePulseOffset + appendResult23_g4627.x ); + float y97_g4623 = 127.0; + float localglslmod97_g4623 = glslmod97_g4623( x97_g4623 , y97_g4623 ); + int EmissionReactiveMode99_g4623 = _RedChReactiveMode; + int temp_output_90_0_g4623 = ( EmissionReactiveMode99_g4623 - 1 ); + float lerpResult77_g4623 = lerp( localglslmod96_g4623 , localglslmod97_g4623 , (float)saturate( temp_output_90_0_g4623 )); + float lerpResult174_g4623 = lerp( DirectionalMap106_g4623 , ( 1.0 - DirectionalMap106_g4623 ) , (float)saturate( ( EmissionReactiveMode99_g4623 - 3 ) )); + float x98_g4623 = ( _RedChReactivePulseOffset + ( _RedChReactivePulseScale * lerpResult174_g4623 ) ); + float y98_g4623 = 127.0; + float localglslmod98_g4623 = glslmod98_g4623( x98_g4623 , y98_g4623 ); + float lerpResult87_g4623 = lerp( lerpResult77_g4623 , localglslmod98_g4623 , (float)saturate( ( temp_output_90_0_g4623 - 1 ) )); + float Delay3_g4626 = lerpResult87_g4623; + float localAudioLinkLerp3_g4626 = AudioLinkLerp3_g4626( Band3_g4626 , Delay3_g4626 ); + float lerpResult102_g4623 = lerp( 1.0 , localAudioLinkLerp3_g4626 , (float)temp_output_64_0_g4623); + float lerpResult103_g4623 = lerp( lerpResult66_g4623 , lerpResult102_g4623 , (float)saturate( EmissionReactiveMode99_g4623 )); + int Band3_g4628 = _RedChReactiveBand; + float FilteredAmount3_g4628 = ( ( 1.0 - _RedChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4628 = AudioLinkLerp3_g4628( Band3_g4628 , FilteredAmount3_g4628 ); + float lerpResult168_g4623 = lerp( 1.0 , localAudioLinkLerp3_g4628 , (float)temp_output_64_0_g4623); + float lerpResult172_g4623 = lerp( lerpResult103_g4623 , lerpResult168_g4623 , (float)saturate( ( EmissionReactiveMode99_g4623 - 4 ) )); + float ReactivityAlpha132_g4623 = (_RedChReactiveMinBrightness + (lerpResult172_g4623 - 0.0) * (( _RedChReactiveMinBrightness + 1.0 ) - _RedChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_33 = (1.0).xxxx; + float4 lerpResult253_g4623 = lerp( temp_cast_33 , _RedChReactiveTint , (float)step( EmissionReactiveBand243_g4623 , 9 )); + float4 FinalReactivity68_g4623 = ( ReactivityAlpha132_g4623 * lerpResult253_g4623 ); + float4 lerpResult146_g4623 = lerp( ( EmissionGlowTog258_g4623 * FinalReactivity68_g4623 ) , ( EmissionGlow142_g4623 + FinalReactivity68_g4623 ) , (float)saturate( _RedChReactiveBlendMode )); + float4 ReversedReactivity152_g4623 = ( ( 1.0 - ReactivityAlpha132_g4623 ) * lerpResult253_g4623 ); + int temp_output_157_0_g4623 = ( _RedChReactiveBlendMode - 1 ); + float4 lerpResult114_g4623 = lerp( lerpResult146_g4623 , ( EmissionGlowTog258_g4623 * ReversedReactivity152_g4623 ) , (float)saturate( temp_output_157_0_g4623 )); + float4 lerpResult164_g4623 = lerp( lerpResult114_g4623 , ( EmissionGlow142_g4623 + ( ReversedReactivity152_g4623 * step( EmissionReactiveBand243_g4623 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4623 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4623 , 9 ) ) )); + float2 uv_GlowMask = i.uv_texcoord * _GlowMask_ST.xy + _GlowMask_ST.zw; + float4 GlowMaskRGBA174_g4606 = tex2D( _GlowMask, uv_GlowMask ); + float localIfAudioLinkv2Exists1_g4638 = IfAudioLinkv2Exists1_g4638(); + float4 lerpResult280_g4623 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4623 * (GlowMaskRGBA174_g4606).ra.x * localIfAudioLinkv2Exists1_g4638 ) , _EnableRedChannel); + float4 temp_cast_43 = (1.0).xxxx; + float3 temp_cast_44 = (1.0).xxx; + int EmissionGlowZone47_g4639 = _GreenChGlowZone; + int clampResult8_g4645 = clamp( EmissionGlowZone47_g4639 , 1 , 4 ); + int temp_output_3_0_g4645 = ( clampResult8_g4645 - 1 ); + int Zone16_g4645 = temp_output_3_0_g4645; + float3 localgetThemeData16_g4645 = getThemeData( Zone16_g4645 ); + int Band11_g4646 = 56; + int localIsLumaActive11_g4646 = IsLumaActive11_g4646( Band11_g4646 ); + int temp_output_14_0_g4645 = localIsLumaActive11_g4646; + int lerpResult15_g4645 = lerp( temp_output_3_0_g4645 , ( 63 - temp_output_3_0_g4645 ) , (float)temp_output_14_0_g4645); + int Band2_g4645 = lerpResult15_g4645; + int Delay2_g4645 = 0; + float3 localLumaGlowData2_g4645 = LumaGlowData2_g4645( Band2_g4645 , Delay2_g4645 ); + float3 lerpResult17_g4645 = lerp( ( localgetThemeData16_g4645 * localLumaGlowData2_g4645 ) , localLumaGlowData2_g4645 , (float)temp_output_14_0_g4645); + int temp_output_21_0_g4639 = saturate( EmissionGlowZone47_g4639 ); + float3 lerpResult20_g4639 = lerp( temp_cast_44 , lerpResult17_g4645 , (float)temp_output_21_0_g4639); + float3 temp_cast_48 = (1.0).xxx; + int clampResult8_g4647 = clamp( EmissionGlowZone47_g4639 , 1 , 4 ); + int temp_output_3_0_g4647 = ( clampResult8_g4647 - 1 ); + int Zone15_g4647 = temp_output_3_0_g4647; + float3 localgetThemeData15_g4647 = getThemeData( Zone15_g4647 ); + int Band11_g4648 = 56; + int localIsLumaActive11_g4648 = IsLumaActive11_g4648( Band11_g4648 ); + int temp_output_13_0_g4647 = localIsLumaActive11_g4648; + int lerpResult14_g4647 = lerp( temp_output_3_0_g4647 , ( 63 - temp_output_3_0_g4647 ) , (float)temp_output_13_0_g4647); + int Band11_g4647 = lerpResult14_g4647; + float cos6_g4639 = cos( radians( _GreenChGlowPulseDir ) ); + float sin6_g4639 = sin( radians( _GreenChGlowPulseDir ) ); + float2 rotator6_g4639 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4639 , -sin6_g4639 , sin6_g4639 , cos6_g4639 )) + float2( 0.5,0.5 ); + int Band6_g4652 = _GreenChGlowAnimationBand; + int Mode6_g4652 = ( ( _GreenChGlowAnimationMode * 2 ) + _GreenChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4652 = AudioLinkDecodeDataAsUInt6_g4652( Band6_g4652 , Mode6_g4652 ); + float localGetLocalTime2_g4653 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4639 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4652 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4653 , (float)saturate( ( _GreenChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4639 = ( _GreenChGlowAnimationStrength * lerpResult206_g4639 * step( _GreenChGlowAnimationBand , 9 ) ); + float x13_g4639 = ( ( rotator6_g4639.x * _GreenChGlowPulseScale ) + _GreenChGlowPulseOffset + EmissionGlowAnimation195_g4639 ); + float y13_g4639 = 127.0; + float localglslmod13_g4639 = glslmod13_g4639( x13_g4639 , y13_g4639 ); + float2 CenteredUV15_g4641 = ( i.uv_texcoord - _GreenChGlowRadialCenter ); + float2 break17_g4641 = CenteredUV15_g4641; + float2 appendResult23_g4641 = (float2(( length( CenteredUV15_g4641 ) * _GreenChGlowPulseScale * 2.0 ) , ( atan2( break17_g4641.x , break17_g4641.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4639 = ( _GreenChGlowPulseOffset + appendResult23_g4641.x + EmissionGlowAnimation195_g4639 ); + float y12_g4639 = 127.0; + float localglslmod12_g4639 = glslmod12_g4639( x12_g4639 , y12_g4639 ); + int EmissionGlowMode35_g4639 = _GreenChGlowMode; + int temp_output_37_0_g4639 = ( EmissionGlowMode35_g4639 - 1 ); + float lerpResult5_g4639 = lerp( localglslmod13_g4639 , localglslmod12_g4639 , (float)saturate( temp_output_37_0_g4639 )); + float DirectionalMap106_g4639 = Direction27_g4606; + float lerpResult179_g4639 = lerp( DirectionalMap106_g4639 , ( 1.0 - DirectionalMap106_g4639 ) , (float)saturate( ( EmissionGlowMode35_g4639 - 3 ) )); + float x34_g4639 = ( _GreenChGlowPulseOffset + ( _GreenChGlowPulseScale * lerpResult179_g4639 ) + EmissionGlowAnimation195_g4639 ); + float y34_g4639 = 127.0; + float localglslmod34_g4639 = glslmod34_g4639( x34_g4639 , y34_g4639 ); + float lerpResult30_g4639 = lerp( lerpResult5_g4639 , localglslmod34_g4639 , (float)saturate( ( temp_output_37_0_g4639 - 1 ) )); + float EmissionGlowDelay56_g4639 = lerpResult30_g4639; + float Delay11_g4647 = EmissionGlowDelay56_g4639; + float3 localLumaGlowLerp11_g4647 = LumaGlowLerp11_g4647( Band11_g4647 , Delay11_g4647 ); + float3 lerpResult17_g4647 = lerp( ( localgetThemeData15_g4647 * localLumaGlowLerp11_g4647 ) , localLumaGlowLerp11_g4647 , (float)temp_output_13_0_g4647); + float3 lerpResult22_g4639 = lerp( temp_cast_48 , lerpResult17_g4647 , (float)temp_output_21_0_g4639); + float3 lerpResult23_g4639 = lerp( lerpResult20_g4639 , lerpResult22_g4639 , (float)saturate( EmissionGlowMode35_g4639 )); + float4 temp_cast_58 = (1.0).xxxx; + float temp_output_10_0_g4649 = EmissionGlowDelay56_g4639; + float Position1_g4651 = ( temp_output_10_0_g4649 / 127.0 ); + float4 localAudioLinkLerp1_g4651 = AudioLinkLerp1_g4651( Position1_g4651 ); + int clampResult8_g4649 = clamp( ( EmissionGlowZone47_g4639 - 4 ) , 1 , 3 ); + int Band11_g4649 = ( 59 - ( clampResult8_g4649 - 1 ) ); + float Delay11_g4649 = temp_output_10_0_g4649; + float3 localLumaGlowLerp11_g4649 = LumaGlowLerp11_g4649( Band11_g4649 , Delay11_g4649 ); + int Band11_g4650 = 56; + int localIsLumaActive11_g4650 = IsLumaActive11_g4650( Band11_g4650 ); + float4 lerpResult14_g4649 = lerp( localAudioLinkLerp1_g4651 , float4( localLumaGlowLerp11_g4649 , 0.0 ) , (float)localIsLumaActive11_g4650); + float4 lerpResult52_g4639 = lerp( temp_cast_58 , lerpResult14_g4649 , (float)saturate( EmissionGlowZone47_g4639 )); + float4 lerpResult51_g4639 = lerp( float4( lerpResult23_g4639 , 0.0 ) , lerpResult52_g4639 , (float)saturate( ( EmissionGlowZone47_g4639 - 4 ) )); + float4 temp_cast_63 = (_GreenChGlowMinBrightness).xxxx; + float4 temp_cast_64 = (( _GreenChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_255_0_g4639 = saturate( EmissionGlowZone47_g4639 ); + float4 EmissionGlow142_g4639 = ( (temp_cast_63 + (lerpResult51_g4639 - float4( 0,0,0,0 )) * (temp_cast_64 - temp_cast_63) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _GreenChGlowTint * temp_output_255_0_g4639 ); + float4 lerpResult258_g4639 = lerp( temp_cast_43 , EmissionGlow142_g4639 , (float)temp_output_255_0_g4639); + float4 EmissionGlowTog259_g4639 = lerpResult258_g4639; + int EmissionReactiveBand243_g4639 = _GreenChReactiveBand; + int Band3_g4640 = EmissionReactiveBand243_g4639; + int Delay3_g4640 = 0; + float localAudioLinkData3_g4640 = AudioLinkData3_g4640( Band3_g4640 , Delay3_g4640 ); + int temp_output_64_0_g4639 = step( _GreenChReactiveBand , 9 ); + float lerpResult66_g4639 = lerp( 1.0 , localAudioLinkData3_g4640 , (float)temp_output_64_0_g4639); + int Band3_g4642 = _GreenChReactiveBand; + float cos78_g4639 = cos( radians( _GreenChReactivePulseDir ) ); + float sin78_g4639 = sin( radians( _GreenChReactivePulseDir ) ); + float2 rotator78_g4639 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4639 , -sin78_g4639 , sin78_g4639 , cos78_g4639 )) + float2( 0.5,0.5 ); + float x96_g4639 = ( ( rotator78_g4639.x * _GreenChReactivePulseScale ) + _GreenChReactivePulseOffset ); + float y96_g4639 = 127.0; + float localglslmod96_g4639 = glslmod96_g4639( x96_g4639 , y96_g4639 ); + float2 CenteredUV15_g4643 = ( i.uv_texcoord - _GreenChReactiveRadialCenter ); + float2 break17_g4643 = CenteredUV15_g4643; + float2 appendResult23_g4643 = (float2(( length( CenteredUV15_g4643 ) * _GreenChReactivePulseScale * 2.0 ) , ( atan2( break17_g4643.x , break17_g4643.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4639 = ( _GreenChReactivePulseOffset + appendResult23_g4643.x ); + float y97_g4639 = 127.0; + float localglslmod97_g4639 = glslmod97_g4639( x97_g4639 , y97_g4639 ); + int EmissionReactiveMode99_g4639 = _GreenChReactiveMode; + int temp_output_90_0_g4639 = ( EmissionReactiveMode99_g4639 - 1 ); + float lerpResult77_g4639 = lerp( localglslmod96_g4639 , localglslmod97_g4639 , (float)saturate( temp_output_90_0_g4639 )); + float lerpResult174_g4639 = lerp( DirectionalMap106_g4639 , ( 1.0 - DirectionalMap106_g4639 ) , (float)saturate( ( EmissionReactiveMode99_g4639 - 3 ) )); + float x98_g4639 = ( _GreenChReactivePulseOffset + ( _GreenChReactivePulseScale * lerpResult174_g4639 ) ); + float y98_g4639 = 127.0; + float localglslmod98_g4639 = glslmod98_g4639( x98_g4639 , y98_g4639 ); + float lerpResult87_g4639 = lerp( lerpResult77_g4639 , localglslmod98_g4639 , (float)saturate( ( temp_output_90_0_g4639 - 1 ) )); + float Delay3_g4642 = lerpResult87_g4639; + float localAudioLinkLerp3_g4642 = AudioLinkLerp3_g4642( Band3_g4642 , Delay3_g4642 ); + float lerpResult102_g4639 = lerp( 1.0 , localAudioLinkLerp3_g4642 , (float)temp_output_64_0_g4639); + float lerpResult103_g4639 = lerp( lerpResult66_g4639 , lerpResult102_g4639 , (float)saturate( EmissionReactiveMode99_g4639 )); + int Band3_g4644 = _GreenChReactiveBand; + float FilteredAmount3_g4644 = ( ( 1.0 - _GreenChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4644 = AudioLinkLerp3_g4644( Band3_g4644 , FilteredAmount3_g4644 ); + float lerpResult168_g4639 = lerp( 1.0 , localAudioLinkLerp3_g4644 , (float)temp_output_64_0_g4639); + float lerpResult172_g4639 = lerp( lerpResult103_g4639 , lerpResult168_g4639 , (float)saturate( ( EmissionReactiveMode99_g4639 - 4 ) )); + float ReactivityAlpha132_g4639 = (_GreenChReactiveMinBrightness + (lerpResult172_g4639 - 0.0) * (( _GreenChReactiveMinBrightness + 1.0 ) - _GreenChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_75 = (1.0).xxxx; + float4 lerpResult264_g4639 = lerp( temp_cast_75 , _GreenChReactiveTint , (float)step( EmissionReactiveBand243_g4639 , 9 )); + float4 FinalReactivity68_g4639 = ( ReactivityAlpha132_g4639 * lerpResult264_g4639 ); + float4 lerpResult146_g4639 = lerp( ( EmissionGlowTog259_g4639 * FinalReactivity68_g4639 ) , ( EmissionGlow142_g4639 + FinalReactivity68_g4639 ) , (float)saturate( _GreenChReactiveBlendMode )); + float4 ReversedReactivity152_g4639 = ( ( 1.0 - ReactivityAlpha132_g4639 ) * lerpResult264_g4639 ); + int temp_output_157_0_g4639 = ( _GreenChReactiveBlendMode - 1 ); + float4 lerpResult114_g4639 = lerp( lerpResult146_g4639 , ( EmissionGlowTog259_g4639 * ReversedReactivity152_g4639 ) , (float)saturate( temp_output_157_0_g4639 )); + float4 lerpResult164_g4639 = lerp( lerpResult114_g4639 , ( EmissionGlow142_g4639 + ( ReversedReactivity152_g4639 * step( EmissionReactiveBand243_g4639 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4639 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4639 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4654 = IfAudioLinkv2Exists1_g4654(); + float4 lerpResult276_g4639 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4639 * (GlowMaskRGBA174_g4606).ga.x * localIfAudioLinkv2Exists1_g4654 ) , _EnableGreenChannel); + float4 temp_cast_85 = (1.0).xxxx; + float3 temp_cast_86 = (1.0).xxx; + int EmissionGlowZone47_g4655 = _BlueChGlowZone; + int clampResult8_g4661 = clamp( EmissionGlowZone47_g4655 , 1 , 4 ); + int temp_output_3_0_g4661 = ( clampResult8_g4661 - 1 ); + int Zone16_g4661 = temp_output_3_0_g4661; + float3 localgetThemeData16_g4661 = getThemeData( Zone16_g4661 ); + int Band11_g4662 = 56; + int localIsLumaActive11_g4662 = IsLumaActive11_g4662( Band11_g4662 ); + int temp_output_14_0_g4661 = localIsLumaActive11_g4662; + int lerpResult15_g4661 = lerp( temp_output_3_0_g4661 , ( 63 - temp_output_3_0_g4661 ) , (float)temp_output_14_0_g4661); + int Band2_g4661 = lerpResult15_g4661; + int Delay2_g4661 = 0; + float3 localLumaGlowData2_g4661 = LumaGlowData2_g4661( Band2_g4661 , Delay2_g4661 ); + float3 lerpResult17_g4661 = lerp( ( localgetThemeData16_g4661 * localLumaGlowData2_g4661 ) , localLumaGlowData2_g4661 , (float)temp_output_14_0_g4661); + int temp_output_21_0_g4655 = saturate( EmissionGlowZone47_g4655 ); + float3 lerpResult20_g4655 = lerp( temp_cast_86 , lerpResult17_g4661 , (float)temp_output_21_0_g4655); + float3 temp_cast_90 = (1.0).xxx; + int clampResult8_g4663 = clamp( EmissionGlowZone47_g4655 , 1 , 4 ); + int temp_output_3_0_g4663 = ( clampResult8_g4663 - 1 ); + int Zone15_g4663 = temp_output_3_0_g4663; + float3 localgetThemeData15_g4663 = getThemeData( Zone15_g4663 ); + int Band11_g4664 = 56; + int localIsLumaActive11_g4664 = IsLumaActive11_g4664( Band11_g4664 ); + int temp_output_13_0_g4663 = localIsLumaActive11_g4664; + int lerpResult14_g4663 = lerp( temp_output_3_0_g4663 , ( 63 - temp_output_3_0_g4663 ) , (float)temp_output_13_0_g4663); + int Band11_g4663 = lerpResult14_g4663; + float cos6_g4655 = cos( radians( _BlueChGlowPulseDir ) ); + float sin6_g4655 = sin( radians( _BlueChGlowPulseDir ) ); + float2 rotator6_g4655 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4655 , -sin6_g4655 , sin6_g4655 , cos6_g4655 )) + float2( 0.5,0.5 ); + int Band6_g4668 = _BlueChGlowAnimationBand; + int Mode6_g4668 = ( ( _BlueChGlowAnimationMode * 2 ) + _BlueChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4668 = AudioLinkDecodeDataAsUInt6_g4668( Band6_g4668 , Mode6_g4668 ); + float localGetLocalTime2_g4669 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4655 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4668 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4669 , (float)saturate( ( _BlueChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4655 = ( _BlueChGlowAnimationStrength * lerpResult206_g4655 * step( _BlueChGlowAnimationBand , 9 ) ); + float x13_g4655 = ( ( rotator6_g4655.x * _BlueChGlowPulseScale ) + _BlueChGlowPulseOffset + EmissionGlowAnimation195_g4655 ); + float y13_g4655 = 127.0; + float localglslmod13_g4655 = glslmod13_g4655( x13_g4655 , y13_g4655 ); + float2 CenteredUV15_g4657 = ( i.uv_texcoord - _BlueChGlowRadialCenter ); + float2 break17_g4657 = CenteredUV15_g4657; + float2 appendResult23_g4657 = (float2(( length( CenteredUV15_g4657 ) * _BlueChGlowPulseScale * 2.0 ) , ( atan2( break17_g4657.x , break17_g4657.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4655 = ( _BlueChGlowPulseOffset + appendResult23_g4657.x + EmissionGlowAnimation195_g4655 ); + float y12_g4655 = 127.0; + float localglslmod12_g4655 = glslmod12_g4655( x12_g4655 , y12_g4655 ); + int EmissionGlowMode35_g4655 = _BlueChGlowMode; + int temp_output_37_0_g4655 = ( EmissionGlowMode35_g4655 - 1 ); + float lerpResult5_g4655 = lerp( localglslmod13_g4655 , localglslmod12_g4655 , (float)saturate( temp_output_37_0_g4655 )); + float DirectionalMap106_g4655 = Direction27_g4606; + float lerpResult179_g4655 = lerp( DirectionalMap106_g4655 , ( 1.0 - DirectionalMap106_g4655 ) , (float)saturate( ( EmissionGlowMode35_g4655 - 3 ) )); + float x34_g4655 = ( _BlueChGlowPulseOffset + ( _BlueChGlowPulseScale * lerpResult179_g4655 ) + EmissionGlowAnimation195_g4655 ); + float y34_g4655 = 127.0; + float localglslmod34_g4655 = glslmod34_g4655( x34_g4655 , y34_g4655 ); + float lerpResult30_g4655 = lerp( lerpResult5_g4655 , localglslmod34_g4655 , (float)saturate( ( temp_output_37_0_g4655 - 1 ) )); + float EmissionGlowDelay56_g4655 = lerpResult30_g4655; + float Delay11_g4663 = EmissionGlowDelay56_g4655; + float3 localLumaGlowLerp11_g4663 = LumaGlowLerp11_g4663( Band11_g4663 , Delay11_g4663 ); + float3 lerpResult17_g4663 = lerp( ( localgetThemeData15_g4663 * localLumaGlowLerp11_g4663 ) , localLumaGlowLerp11_g4663 , (float)temp_output_13_0_g4663); + float3 lerpResult22_g4655 = lerp( temp_cast_90 , lerpResult17_g4663 , (float)temp_output_21_0_g4655); + float3 lerpResult23_g4655 = lerp( lerpResult20_g4655 , lerpResult22_g4655 , (float)saturate( EmissionGlowMode35_g4655 )); + float4 temp_cast_100 = (1.0).xxxx; + float temp_output_10_0_g4665 = EmissionGlowDelay56_g4655; + float Position1_g4667 = ( temp_output_10_0_g4665 / 127.0 ); + float4 localAudioLinkLerp1_g4667 = AudioLinkLerp1_g4667( Position1_g4667 ); + int clampResult8_g4665 = clamp( ( EmissionGlowZone47_g4655 - 4 ) , 1 , 3 ); + int Band11_g4665 = ( 59 - ( clampResult8_g4665 - 1 ) ); + float Delay11_g4665 = temp_output_10_0_g4665; + float3 localLumaGlowLerp11_g4665 = LumaGlowLerp11_g4665( Band11_g4665 , Delay11_g4665 ); + int Band11_g4666 = 56; + int localIsLumaActive11_g4666 = IsLumaActive11_g4666( Band11_g4666 ); + float4 lerpResult14_g4665 = lerp( localAudioLinkLerp1_g4667 , float4( localLumaGlowLerp11_g4665 , 0.0 ) , (float)localIsLumaActive11_g4666); + float4 lerpResult52_g4655 = lerp( temp_cast_100 , lerpResult14_g4665 , (float)saturate( EmissionGlowZone47_g4655 )); + float4 lerpResult51_g4655 = lerp( float4( lerpResult23_g4655 , 0.0 ) , lerpResult52_g4655 , (float)saturate( ( EmissionGlowZone47_g4655 - 4 ) )); + float4 temp_cast_105 = (_BlueChGlowMinBrightness).xxxx; + float4 temp_cast_106 = (( _BlueChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4655 = saturate( EmissionGlowZone47_g4655 ); + float4 EmissionGlow142_g4655 = ( (temp_cast_105 + (lerpResult51_g4655 - float4( 0,0,0,0 )) * (temp_cast_106 - temp_cast_105) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _BlueChGlowTint * temp_output_258_0_g4655 ); + float4 lerpResult261_g4655 = lerp( temp_cast_85 , EmissionGlow142_g4655 , (float)temp_output_258_0_g4655); + float4 EmissionGlowTog262_g4655 = lerpResult261_g4655; + int EmissionReactiveBand243_g4655 = _BlueChReactiveBand; + int Band3_g4656 = EmissionReactiveBand243_g4655; + int Delay3_g4656 = 0; + float localAudioLinkData3_g4656 = AudioLinkData3_g4656( Band3_g4656 , Delay3_g4656 ); + int temp_output_64_0_g4655 = step( _BlueChReactiveBand , 9 ); + float lerpResult66_g4655 = lerp( 1.0 , localAudioLinkData3_g4656 , (float)temp_output_64_0_g4655); + int Band3_g4658 = _BlueChReactiveBand; + float cos78_g4655 = cos( radians( _BlueChReactivePulseDir ) ); + float sin78_g4655 = sin( radians( _BlueChReactivePulseDir ) ); + float2 rotator78_g4655 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4655 , -sin78_g4655 , sin78_g4655 , cos78_g4655 )) + float2( 0.5,0.5 ); + float x96_g4655 = ( ( rotator78_g4655.x * _BlueChReactivePulseScale ) + _BlueChReactivePulseOffset ); + float y96_g4655 = 127.0; + float localglslmod96_g4655 = glslmod96_g4655( x96_g4655 , y96_g4655 ); + float2 CenteredUV15_g4659 = ( i.uv_texcoord - _BlueChReactiveRadialCenter ); + float2 break17_g4659 = CenteredUV15_g4659; + float2 appendResult23_g4659 = (float2(( length( CenteredUV15_g4659 ) * _BlueChReactivePulseScale * 2.0 ) , ( atan2( break17_g4659.x , break17_g4659.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4655 = ( _BlueChReactivePulseOffset + appendResult23_g4659.x ); + float y97_g4655 = 127.0; + float localglslmod97_g4655 = glslmod97_g4655( x97_g4655 , y97_g4655 ); + int EmissionReactiveMode99_g4655 = _BlueChReactiveMode; + int temp_output_90_0_g4655 = ( EmissionReactiveMode99_g4655 - 1 ); + float lerpResult77_g4655 = lerp( localglslmod96_g4655 , localglslmod97_g4655 , (float)saturate( temp_output_90_0_g4655 )); + float lerpResult174_g4655 = lerp( DirectionalMap106_g4655 , ( 1.0 - DirectionalMap106_g4655 ) , (float)saturate( ( EmissionReactiveMode99_g4655 - 3 ) )); + float x98_g4655 = ( _BlueChReactivePulseOffset + ( _BlueChReactivePulseScale * lerpResult174_g4655 ) ); + float y98_g4655 = 127.0; + float localglslmod98_g4655 = glslmod98_g4655( x98_g4655 , y98_g4655 ); + float lerpResult87_g4655 = lerp( lerpResult77_g4655 , localglslmod98_g4655 , (float)saturate( ( temp_output_90_0_g4655 - 1 ) )); + float Delay3_g4658 = lerpResult87_g4655; + float localAudioLinkLerp3_g4658 = AudioLinkLerp3_g4658( Band3_g4658 , Delay3_g4658 ); + float lerpResult102_g4655 = lerp( 1.0 , localAudioLinkLerp3_g4658 , (float)temp_output_64_0_g4655); + float lerpResult103_g4655 = lerp( lerpResult66_g4655 , lerpResult102_g4655 , (float)saturate( EmissionReactiveMode99_g4655 )); + int Band3_g4660 = _BlueChReactiveBand; + float FilteredAmount3_g4660 = ( ( 1.0 - _BlueChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4660 = AudioLinkLerp3_g4660( Band3_g4660 , FilteredAmount3_g4660 ); + float lerpResult168_g4655 = lerp( 1.0 , localAudioLinkLerp3_g4660 , (float)temp_output_64_0_g4655); + float lerpResult172_g4655 = lerp( lerpResult103_g4655 , lerpResult168_g4655 , (float)saturate( ( EmissionReactiveMode99_g4655 - 4 ) )); + float ReactivityAlpha132_g4655 = (_BlueChReactiveMinBrightness + (lerpResult172_g4655 - 0.0) * (( _BlueChReactiveMinBrightness + 1.0 ) - _BlueChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_117 = (1.0).xxxx; + float4 lerpResult268_g4655 = lerp( temp_cast_117 , _BlueChReactiveTint , (float)step( EmissionReactiveBand243_g4655 , 9 )); + float4 FinalReactivity68_g4655 = ( ReactivityAlpha132_g4655 * lerpResult268_g4655 ); + float4 lerpResult146_g4655 = lerp( ( EmissionGlowTog262_g4655 * FinalReactivity68_g4655 ) , ( EmissionGlow142_g4655 + FinalReactivity68_g4655 ) , (float)saturate( _BlueChReactiveBlendMode )); + float4 ReversedReactivity152_g4655 = ( ( 1.0 - ReactivityAlpha132_g4655 ) * lerpResult268_g4655 ); + int temp_output_157_0_g4655 = ( _BlueChReactiveBlendMode - 1 ); + float4 lerpResult114_g4655 = lerp( lerpResult146_g4655 , ( EmissionGlowTog262_g4655 * ReversedReactivity152_g4655 ) , (float)saturate( temp_output_157_0_g4655 )); + float4 lerpResult164_g4655 = lerp( lerpResult114_g4655 , ( EmissionGlow142_g4655 + ( ReversedReactivity152_g4655 * step( EmissionReactiveBand243_g4655 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4655 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4655 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4670 = IfAudioLinkv2Exists1_g4670(); + float4 lerpResult278_g4655 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4655 * (GlowMaskRGBA174_g4606).ba.x * localIfAudioLinkv2Exists1_g4670 ) , _EnableBlueChannel); + float4 temp_cast_127 = (1.0).xxxx; + float3 temp_cast_128 = (1.0).xxx; + int EmissionGlowZone47_g4671 = _AlphaChGlowZone; + int clampResult8_g4677 = clamp( EmissionGlowZone47_g4671 , 1 , 4 ); + int temp_output_3_0_g4677 = ( clampResult8_g4677 - 1 ); + int Zone16_g4677 = temp_output_3_0_g4677; + float3 localgetThemeData16_g4677 = getThemeData( Zone16_g4677 ); + int Band11_g4678 = 56; + int localIsLumaActive11_g4678 = IsLumaActive11_g4678( Band11_g4678 ); + int temp_output_14_0_g4677 = localIsLumaActive11_g4678; + int lerpResult15_g4677 = lerp( temp_output_3_0_g4677 , ( 63 - temp_output_3_0_g4677 ) , (float)temp_output_14_0_g4677); + int Band2_g4677 = lerpResult15_g4677; + int Delay2_g4677 = 0; + float3 localLumaGlowData2_g4677 = LumaGlowData2_g4677( Band2_g4677 , Delay2_g4677 ); + float3 lerpResult17_g4677 = lerp( ( localgetThemeData16_g4677 * localLumaGlowData2_g4677 ) , localLumaGlowData2_g4677 , (float)temp_output_14_0_g4677); + int temp_output_21_0_g4671 = saturate( EmissionGlowZone47_g4671 ); + float3 lerpResult20_g4671 = lerp( temp_cast_128 , lerpResult17_g4677 , (float)temp_output_21_0_g4671); + float3 temp_cast_132 = (1.0).xxx; + int clampResult8_g4679 = clamp( EmissionGlowZone47_g4671 , 1 , 4 ); + int temp_output_3_0_g4679 = ( clampResult8_g4679 - 1 ); + int Zone15_g4679 = temp_output_3_0_g4679; + float3 localgetThemeData15_g4679 = getThemeData( Zone15_g4679 ); + int Band11_g4680 = 56; + int localIsLumaActive11_g4680 = IsLumaActive11_g4680( Band11_g4680 ); + int temp_output_13_0_g4679 = localIsLumaActive11_g4680; + int lerpResult14_g4679 = lerp( temp_output_3_0_g4679 , ( 63 - temp_output_3_0_g4679 ) , (float)temp_output_13_0_g4679); + int Band11_g4679 = lerpResult14_g4679; + float cos6_g4671 = cos( radians( _AlphaChGlowPulseDir ) ); + float sin6_g4671 = sin( radians( _AlphaChGlowPulseDir ) ); + float2 rotator6_g4671 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4671 , -sin6_g4671 , sin6_g4671 , cos6_g4671 )) + float2( 0.5,0.5 ); + int Band6_g4684 = _AlphaChGlowAnimationBand; + int Mode6_g4684 = ( ( _AlphaChGlowAnimationMode * 2 ) + _AlphaChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4684 = AudioLinkDecodeDataAsUInt6_g4684( Band6_g4684 , Mode6_g4684 ); + float localGetLocalTime2_g4685 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4671 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4684 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4685 , (float)saturate( ( _AlphaChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4671 = ( _AlphaChGlowAnimationStrength * lerpResult206_g4671 * step( _AlphaChGlowAnimationBand , 9 ) ); + float x13_g4671 = ( ( rotator6_g4671.x * _AlphaChGlowPulseScale ) + _AlphaChGlowPulseOffset + EmissionGlowAnimation195_g4671 ); + float y13_g4671 = 127.0; + float localglslmod13_g4671 = glslmod13_g4671( x13_g4671 , y13_g4671 ); + float2 CenteredUV15_g4673 = ( i.uv_texcoord - _AlphaChGlowRadialCenter ); + float2 break17_g4673 = CenteredUV15_g4673; + float2 appendResult23_g4673 = (float2(( length( CenteredUV15_g4673 ) * _AlphaChGlowPulseScale * 2.0 ) , ( atan2( break17_g4673.x , break17_g4673.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4671 = ( _AlphaChGlowPulseOffset + appendResult23_g4673.x + EmissionGlowAnimation195_g4671 ); + float y12_g4671 = 127.0; + float localglslmod12_g4671 = glslmod12_g4671( x12_g4671 , y12_g4671 ); + int EmissionGlowMode35_g4671 = _AlphaChGlowMode; + int temp_output_37_0_g4671 = ( EmissionGlowMode35_g4671 - 1 ); + float lerpResult5_g4671 = lerp( localglslmod13_g4671 , localglslmod12_g4671 , (float)saturate( temp_output_37_0_g4671 )); + float DirectionalMap106_g4671 = Direction27_g4606; + float lerpResult179_g4671 = lerp( DirectionalMap106_g4671 , ( 1.0 - DirectionalMap106_g4671 ) , (float)saturate( ( EmissionGlowMode35_g4671 - 3 ) )); + float x34_g4671 = ( _AlphaChGlowPulseOffset + ( _AlphaChGlowPulseScale * lerpResult179_g4671 ) + EmissionGlowAnimation195_g4671 ); + float y34_g4671 = 127.0; + float localglslmod34_g4671 = glslmod34_g4671( x34_g4671 , y34_g4671 ); + float lerpResult30_g4671 = lerp( lerpResult5_g4671 , localglslmod34_g4671 , (float)saturate( ( temp_output_37_0_g4671 - 1 ) )); + float EmissionGlowDelay56_g4671 = lerpResult30_g4671; + float Delay11_g4679 = EmissionGlowDelay56_g4671; + float3 localLumaGlowLerp11_g4679 = LumaGlowLerp11_g4679( Band11_g4679 , Delay11_g4679 ); + float3 lerpResult17_g4679 = lerp( ( localgetThemeData15_g4679 * localLumaGlowLerp11_g4679 ) , localLumaGlowLerp11_g4679 , (float)temp_output_13_0_g4679); + float3 lerpResult22_g4671 = lerp( temp_cast_132 , lerpResult17_g4679 , (float)temp_output_21_0_g4671); + float3 lerpResult23_g4671 = lerp( lerpResult20_g4671 , lerpResult22_g4671 , (float)saturate( EmissionGlowMode35_g4671 )); + float4 temp_cast_142 = (1.0).xxxx; + float temp_output_10_0_g4681 = EmissionGlowDelay56_g4671; + float Position1_g4683 = ( temp_output_10_0_g4681 / 127.0 ); + float4 localAudioLinkLerp1_g4683 = AudioLinkLerp1_g4683( Position1_g4683 ); + int clampResult8_g4681 = clamp( ( EmissionGlowZone47_g4671 - 4 ) , 1 , 3 ); + int Band11_g4681 = ( 59 - ( clampResult8_g4681 - 1 ) ); + float Delay11_g4681 = temp_output_10_0_g4681; + float3 localLumaGlowLerp11_g4681 = LumaGlowLerp11_g4681( Band11_g4681 , Delay11_g4681 ); + int Band11_g4682 = 56; + int localIsLumaActive11_g4682 = IsLumaActive11_g4682( Band11_g4682 ); + float4 lerpResult14_g4681 = lerp( localAudioLinkLerp1_g4683 , float4( localLumaGlowLerp11_g4681 , 0.0 ) , (float)localIsLumaActive11_g4682); + float4 lerpResult52_g4671 = lerp( temp_cast_142 , lerpResult14_g4681 , (float)saturate( EmissionGlowZone47_g4671 )); + float4 lerpResult51_g4671 = lerp( float4( lerpResult23_g4671 , 0.0 ) , lerpResult52_g4671 , (float)saturate( ( EmissionGlowZone47_g4671 - 4 ) )); + float4 temp_cast_147 = (_AlphaChGlowMinBrightness).xxxx; + float4 temp_cast_148 = (( _AlphaChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4671 = saturate( EmissionGlowZone47_g4671 ); + float4 EmissionGlow142_g4671 = ( (temp_cast_147 + (lerpResult51_g4671 - float4( 0,0,0,0 )) * (temp_cast_148 - temp_cast_147) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _AlphaChGlowTint * temp_output_258_0_g4671 ); + float4 lerpResult261_g4671 = lerp( temp_cast_127 , EmissionGlow142_g4671 , (float)temp_output_258_0_g4671); + float4 EmissionGlowTog262_g4671 = lerpResult261_g4671; + int EmissionReactiveBand243_g4671 = _AlphaChReactiveBand; + int Band3_g4672 = EmissionReactiveBand243_g4671; + int Delay3_g4672 = 0; + float localAudioLinkData3_g4672 = AudioLinkData3_g4672( Band3_g4672 , Delay3_g4672 ); + int temp_output_64_0_g4671 = step( _AlphaChReactiveBand , 9 ); + float lerpResult66_g4671 = lerp( 1.0 , localAudioLinkData3_g4672 , (float)temp_output_64_0_g4671); + int Band3_g4674 = _AlphaChReactiveBand; + float cos78_g4671 = cos( radians( _AlphaChReactivePulseDir ) ); + float sin78_g4671 = sin( radians( _AlphaChReactivePulseDir ) ); + float2 rotator78_g4671 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4671 , -sin78_g4671 , sin78_g4671 , cos78_g4671 )) + float2( 0.5,0.5 ); + float x96_g4671 = ( ( rotator78_g4671.x * _AlphaChReactivePulseScale ) + _AlphaChReactivePulseOffset ); + float y96_g4671 = 127.0; + float localglslmod96_g4671 = glslmod96_g4671( x96_g4671 , y96_g4671 ); + float2 CenteredUV15_g4675 = ( i.uv_texcoord - _AlphaChReactiveRadialCenter ); + float2 break17_g4675 = CenteredUV15_g4675; + float2 appendResult23_g4675 = (float2(( length( CenteredUV15_g4675 ) * _AlphaChReactivePulseScale * 2.0 ) , ( atan2( break17_g4675.x , break17_g4675.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4671 = ( _AlphaChReactivePulseOffset + appendResult23_g4675.x ); + float y97_g4671 = 127.0; + float localglslmod97_g4671 = glslmod97_g4671( x97_g4671 , y97_g4671 ); + int EmissionReactiveMode99_g4671 = _AlphaChReactiveMode; + int temp_output_90_0_g4671 = ( EmissionReactiveMode99_g4671 - 1 ); + float lerpResult77_g4671 = lerp( localglslmod96_g4671 , localglslmod97_g4671 , (float)saturate( temp_output_90_0_g4671 )); + float lerpResult174_g4671 = lerp( DirectionalMap106_g4671 , ( 1.0 - DirectionalMap106_g4671 ) , (float)saturate( ( EmissionReactiveMode99_g4671 - 3 ) )); + float x98_g4671 = ( _AlphaChReactivePulseOffset + ( _AlphaChReactivePulseScale * lerpResult174_g4671 ) ); + float y98_g4671 = 127.0; + float localglslmod98_g4671 = glslmod98_g4671( x98_g4671 , y98_g4671 ); + float lerpResult87_g4671 = lerp( lerpResult77_g4671 , localglslmod98_g4671 , (float)saturate( ( temp_output_90_0_g4671 - 1 ) )); + float Delay3_g4674 = lerpResult87_g4671; + float localAudioLinkLerp3_g4674 = AudioLinkLerp3_g4674( Band3_g4674 , Delay3_g4674 ); + float lerpResult102_g4671 = lerp( 1.0 , localAudioLinkLerp3_g4674 , (float)temp_output_64_0_g4671); + float lerpResult103_g4671 = lerp( lerpResult66_g4671 , lerpResult102_g4671 , (float)saturate( EmissionReactiveMode99_g4671 )); + int Band3_g4676 = _AlphaChReactiveBand; + float FilteredAmount3_g4676 = ( ( 1.0 - _AlphaChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4676 = AudioLinkLerp3_g4676( Band3_g4676 , FilteredAmount3_g4676 ); + float lerpResult168_g4671 = lerp( 1.0 , localAudioLinkLerp3_g4676 , (float)temp_output_64_0_g4671); + float lerpResult172_g4671 = lerp( lerpResult103_g4671 , lerpResult168_g4671 , (float)saturate( ( EmissionReactiveMode99_g4671 - 4 ) )); + float ReactivityAlpha132_g4671 = (_AlphaChReactiveMinBrightness + (lerpResult172_g4671 - 0.0) * (( _AlphaChReactiveMinBrightness + 1.0 ) - _AlphaChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_159 = (1.0).xxxx; + float4 lerpResult268_g4671 = lerp( temp_cast_159 , _AlphaChReactiveTint , (float)step( EmissionReactiveBand243_g4671 , 9 )); + float4 FinalReactivity68_g4671 = ( ReactivityAlpha132_g4671 * lerpResult268_g4671 ); + float4 lerpResult146_g4671 = lerp( ( EmissionGlowTog262_g4671 * FinalReactivity68_g4671 ) , ( EmissionGlow142_g4671 + FinalReactivity68_g4671 ) , (float)saturate( _AlphaChReactiveBlendMode )); + float4 ReversedReactivity152_g4671 = ( ( 1.0 - ReactivityAlpha132_g4671 ) * lerpResult268_g4671 ); + int temp_output_157_0_g4671 = ( _AlphaChReactiveBlendMode - 1 ); + float4 lerpResult114_g4671 = lerp( lerpResult146_g4671 , ( EmissionGlowTog262_g4671 * ReversedReactivity152_g4671 ) , (float)saturate( temp_output_157_0_g4671 )); + float4 lerpResult164_g4671 = lerp( lerpResult114_g4671 , ( EmissionGlow142_g4671 + ( ReversedReactivity152_g4671 * step( EmissionReactiveBand243_g4671 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4671 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4671 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4686 = IfAudioLinkv2Exists1_g4686(); + float4 lerpResult278_g4671 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4671 * (GlowMaskRGBA174_g4606).a * localIfAudioLinkv2Exists1_g4686 ) , _EnableAlphaChannel); + float2 uv_EmissionMap = i.uv_texcoord * _EmissionMap_ST.xy + _EmissionMap_ST.zw; + float2 temp_cast_168 = (1.0).xx; + float2 lerpResult859 = lerp( temp_cast_168 , ( _EmissionPanSpeed * _Time.y ) , _EmissionPan); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float2 temp_cast_169 = (1.0).xx; + float2 lerpResult906 = lerp( temp_cast_169 , ( _EmissionMaskPanSpeed * _Time.y ) , _EmissionMaskPan); + float4 tex2DNode866 = tex2D( _EffectMask, ( uv_EffectMask + lerpResult906 ) ); + int temp_output_18_0_g3967 = _EmissionMaskingChannel; + float lerpResult1_g3967 = lerp( 1.0 , tex2DNode866.r , (float)saturate( temp_output_18_0_g3967 )); + int temp_output_5_0_g3967 = ( temp_output_18_0_g3967 - 1 ); + float lerpResult12_g3967 = lerp( lerpResult1_g3967 , tex2DNode866.g , (float)saturate( temp_output_5_0_g3967 )); + int temp_output_6_0_g3967 = ( temp_output_5_0_g3967 - 1 ); + float lerpResult10_g3967 = lerp( lerpResult12_g3967 , tex2DNode866.b , (float)saturate( temp_output_6_0_g3967 )); + float lerpResult11_g3967 = lerp( lerpResult10_g3967 , tex2DNode866.a , (float)saturate( ( temp_output_6_0_g3967 - 1 ) )); + #ifdef _EMISSION + float4 staticSwitch1062 = ( _EmissionColor * tex2D( _EmissionMap, ( uv_EmissionMap + lerpResult859 ) ) * lerpResult11_g3967 ); + #else + float4 staticSwitch1062 = float4( 0,0,0,0 ); + #endif + float4 EmissionRGBA786 = staticSwitch1062; + float4 temp_output_211_0_g4607 = EmissionRGBA786; + float4 temp_cast_175 = (1.0).xxxx; + float3 temp_cast_176 = (1.0).xxx; + int EmissionGlowZone47_g4607 = _EmissionGlowZone; + int clampResult8_g4618 = clamp( EmissionGlowZone47_g4607 , 1 , 4 ); + int temp_output_3_0_g4618 = ( clampResult8_g4618 - 1 ); + int Zone16_g4618 = temp_output_3_0_g4618; + float3 localgetThemeData16_g4618 = getThemeData( Zone16_g4618 ); + int Band11_g4619 = 56; + int localIsLumaActive11_g4619 = IsLumaActive11_g4619( Band11_g4619 ); + int temp_output_14_0_g4618 = localIsLumaActive11_g4619; + int lerpResult15_g4618 = lerp( temp_output_3_0_g4618 , ( 63 - temp_output_3_0_g4618 ) , (float)temp_output_14_0_g4618); + int Band2_g4618 = lerpResult15_g4618; + int Delay2_g4618 = 0; + float3 localLumaGlowData2_g4618 = LumaGlowData2_g4618( Band2_g4618 , Delay2_g4618 ); + float3 lerpResult17_g4618 = lerp( ( localgetThemeData16_g4618 * localLumaGlowData2_g4618 ) , localLumaGlowData2_g4618 , (float)temp_output_14_0_g4618); + int temp_output_21_0_g4607 = saturate( EmissionGlowZone47_g4607 ); + float3 lerpResult20_g4607 = lerp( temp_cast_176 , lerpResult17_g4618 , (float)temp_output_21_0_g4607); + float3 temp_cast_180 = (1.0).xxx; + int clampResult8_g4620 = clamp( EmissionGlowZone47_g4607 , 1 , 4 ); + int temp_output_3_0_g4620 = ( clampResult8_g4620 - 1 ); + int Zone15_g4620 = temp_output_3_0_g4620; + float3 localgetThemeData15_g4620 = getThemeData( Zone15_g4620 ); + int Band11_g4621 = 56; + int localIsLumaActive11_g4621 = IsLumaActive11_g4621( Band11_g4621 ); + int temp_output_13_0_g4620 = localIsLumaActive11_g4621; + int lerpResult14_g4620 = lerp( temp_output_3_0_g4620 , ( 63 - temp_output_3_0_g4620 ) , (float)temp_output_13_0_g4620); + int Band11_g4620 = lerpResult14_g4620; + float cos6_g4607 = cos( radians( _EmissionGlowPulseDir ) ); + float sin6_g4607 = sin( radians( _EmissionGlowPulseDir ) ); + float2 rotator6_g4607 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4607 , -sin6_g4607 , sin6_g4607 , cos6_g4607 )) + float2( 0.5,0.5 ); + int Band6_g4613 = _EmissionGlowAnimationBand; + int Mode6_g4613 = ( ( _EmissionGlowAnimationMode * 2 ) + _EmissionGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4613 = AudioLinkDecodeDataAsUInt6_g4613( Band6_g4613 , Mode6_g4613 ); + float localGetLocalTime2_g4614 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4607 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4613 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4614 , (float)saturate( ( _EmissionGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4607 = ( _EmissionGlowAnimationStrength * lerpResult206_g4607 * step( _EmissionGlowAnimationBand , 9 ) ); + float x13_g4607 = ( ( rotator6_g4607.x * _EmissionGlowPulseScale ) + _EmissionGlowPulseOffset + EmissionGlowAnimation195_g4607 ); + float y13_g4607 = 127.0; + float localglslmod13_g4607 = glslmod13_g4607( x13_g4607 , y13_g4607 ); + float2 CenteredUV15_g4609 = ( i.uv_texcoord - _EmissionGlowRadialCenter ); + float2 break17_g4609 = CenteredUV15_g4609; + float2 appendResult23_g4609 = (float2(( length( CenteredUV15_g4609 ) * _EmissionGlowPulseScale * 2.0 ) , ( atan2( break17_g4609.x , break17_g4609.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4607 = ( _EmissionGlowPulseOffset + appendResult23_g4609.x + EmissionGlowAnimation195_g4607 ); + float y12_g4607 = 127.0; + float localglslmod12_g4607 = glslmod12_g4607( x12_g4607 , y12_g4607 ); + int EmissionGlowMode35_g4607 = _EmissionGlowMode; + int temp_output_37_0_g4607 = ( EmissionGlowMode35_g4607 - 1 ); + float lerpResult5_g4607 = lerp( localglslmod13_g4607 , localglslmod12_g4607 , (float)saturate( temp_output_37_0_g4607 )); + float DirectionalMap106_g4607 = Direction27_g4606; + float lerpResult179_g4607 = lerp( DirectionalMap106_g4607 , ( 1.0 - DirectionalMap106_g4607 ) , (float)saturate( ( EmissionGlowMode35_g4607 - 3 ) )); + float x34_g4607 = ( _EmissionGlowPulseOffset + ( _EmissionGlowPulseScale * lerpResult179_g4607 ) + EmissionGlowAnimation195_g4607 ); + float y34_g4607 = 127.0; + float localglslmod34_g4607 = glslmod34_g4607( x34_g4607 , y34_g4607 ); + float lerpResult30_g4607 = lerp( lerpResult5_g4607 , localglslmod34_g4607 , (float)saturate( ( temp_output_37_0_g4607 - 1 ) )); + float EmissionGlowDelay56_g4607 = lerpResult30_g4607; + float Delay11_g4620 = EmissionGlowDelay56_g4607; + float3 localLumaGlowLerp11_g4620 = LumaGlowLerp11_g4620( Band11_g4620 , Delay11_g4620 ); + float3 lerpResult17_g4620 = lerp( ( localgetThemeData15_g4620 * localLumaGlowLerp11_g4620 ) , localLumaGlowLerp11_g4620 , (float)temp_output_13_0_g4620); + float3 lerpResult22_g4607 = lerp( temp_cast_180 , lerpResult17_g4620 , (float)temp_output_21_0_g4607); + float3 lerpResult23_g4607 = lerp( lerpResult20_g4607 , lerpResult22_g4607 , (float)saturate( EmissionGlowMode35_g4607 )); + float4 temp_cast_190 = (1.0).xxxx; + float temp_output_10_0_g4615 = EmissionGlowDelay56_g4607; + float Position1_g4617 = ( temp_output_10_0_g4615 / 127.0 ); + float4 localAudioLinkLerp1_g4617 = AudioLinkLerp1_g4617( Position1_g4617 ); + int clampResult8_g4615 = clamp( ( EmissionGlowZone47_g4607 - 4 ) , 1 , 3 ); + int Band11_g4615 = ( 59 - ( clampResult8_g4615 - 1 ) ); + float Delay11_g4615 = temp_output_10_0_g4615; + float3 localLumaGlowLerp11_g4615 = LumaGlowLerp11_g4615( Band11_g4615 , Delay11_g4615 ); + int Band11_g4616 = 56; + int localIsLumaActive11_g4616 = IsLumaActive11_g4616( Band11_g4616 ); + float4 lerpResult14_g4615 = lerp( localAudioLinkLerp1_g4617 , float4( localLumaGlowLerp11_g4615 , 0.0 ) , (float)localIsLumaActive11_g4616); + float4 lerpResult52_g4607 = lerp( temp_cast_190 , lerpResult14_g4615 , (float)saturate( EmissionGlowZone47_g4607 )); + float4 lerpResult51_g4607 = lerp( float4( lerpResult23_g4607 , 0.0 ) , lerpResult52_g4607 , (float)saturate( ( EmissionGlowZone47_g4607 - 4 ) )); + float4 temp_cast_195 = (_EmissionGlowMinBrightness).xxxx; + float4 temp_cast_196 = (( _EmissionGlowMinBrightness + 1.0 )).xxxx; + int temp_output_245_0_g4607 = saturate( EmissionGlowZone47_g4607 ); + float4 EmissionGlow142_g4607 = ( (temp_cast_195 + (lerpResult51_g4607 - float4( 0,0,0,0 )) * (temp_cast_196 - temp_cast_195) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _EmissionGlowTint * temp_output_245_0_g4607 ); + float4 lerpResult248_g4607 = lerp( temp_cast_175 , EmissionGlow142_g4607 , (float)temp_output_245_0_g4607); + float4 EmissionGlowTog249_g4607 = lerpResult248_g4607; + int EmissionReactiveBand254_g4607 = _EmissionReactiveBand; + int Band3_g4608 = EmissionReactiveBand254_g4607; + int Delay3_g4608 = 0; + float localAudioLinkData3_g4608 = AudioLinkData3_g4608( Band3_g4608 , Delay3_g4608 ); + int temp_output_64_0_g4607 = step( _EmissionReactiveBand , 9 ); + float lerpResult66_g4607 = lerp( 1.0 , localAudioLinkData3_g4608 , (float)temp_output_64_0_g4607); + int Band3_g4610 = _EmissionReactiveBand; + float cos78_g4607 = cos( radians( _EmissionReactivePulseDir ) ); + float sin78_g4607 = sin( radians( _EmissionReactivePulseDir ) ); + float2 rotator78_g4607 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4607 , -sin78_g4607 , sin78_g4607 , cos78_g4607 )) + float2( 0.5,0.5 ); + float x96_g4607 = ( ( rotator78_g4607.x * _EmissionReactivePulseScale ) + _EmissionReactivePulseOffset ); + float y96_g4607 = 127.0; + float localglslmod96_g4607 = glslmod96_g4607( x96_g4607 , y96_g4607 ); + float2 CenteredUV15_g4611 = ( i.uv_texcoord - _EmissionReactiveRadialCenter ); + float2 break17_g4611 = CenteredUV15_g4611; + float2 appendResult23_g4611 = (float2(( length( CenteredUV15_g4611 ) * _EmissionReactivePulseScale * 2.0 ) , ( atan2( break17_g4611.x , break17_g4611.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4607 = ( _EmissionReactivePulseOffset + appendResult23_g4611.x ); + float y97_g4607 = 127.0; + float localglslmod97_g4607 = glslmod97_g4607( x97_g4607 , y97_g4607 ); + int EmissionReactiveMode99_g4607 = _EmissionReactiveMode; + int temp_output_90_0_g4607 = ( EmissionReactiveMode99_g4607 - 1 ); + float lerpResult77_g4607 = lerp( localglslmod96_g4607 , localglslmod97_g4607 , (float)saturate( temp_output_90_0_g4607 )); + float lerpResult174_g4607 = lerp( DirectionalMap106_g4607 , ( 1.0 - DirectionalMap106_g4607 ) , (float)saturate( ( EmissionReactiveMode99_g4607 - 3 ) )); + float x98_g4607 = ( _EmissionReactivePulseOffset + ( _EmissionReactivePulseScale * lerpResult174_g4607 ) ); + float y98_g4607 = 127.0; + float localglslmod98_g4607 = glslmod98_g4607( x98_g4607 , y98_g4607 ); + float lerpResult87_g4607 = lerp( lerpResult77_g4607 , localglslmod98_g4607 , (float)saturate( ( temp_output_90_0_g4607 - 1 ) )); + float Delay3_g4610 = lerpResult87_g4607; + float localAudioLinkLerp3_g4610 = AudioLinkLerp3_g4610( Band3_g4610 , Delay3_g4610 ); + float lerpResult102_g4607 = lerp( 1.0 , localAudioLinkLerp3_g4610 , (float)temp_output_64_0_g4607); + float lerpResult103_g4607 = lerp( lerpResult66_g4607 , lerpResult102_g4607 , (float)saturate( EmissionReactiveMode99_g4607 )); + int Band3_g4612 = _EmissionReactiveBand; + float FilteredAmount3_g4612 = ( ( 1.0 - _EmissionReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4612 = AudioLinkLerp3_g4612( Band3_g4612 , FilteredAmount3_g4612 ); + float lerpResult168_g4607 = lerp( 1.0 , localAudioLinkLerp3_g4612 , (float)temp_output_64_0_g4607); + float lerpResult172_g4607 = lerp( lerpResult103_g4607 , lerpResult168_g4607 , (float)saturate( ( EmissionReactiveMode99_g4607 - 4 ) )); + float ReactivityAlpha132_g4607 = (_EmissionReactiveMinBrightness + (lerpResult172_g4607 - 0.0) * (( _EmissionReactiveMinBrightness + 1.0 ) - _EmissionReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_207 = (1.0).xxxx; + float4 lerpResult265_g4607 = lerp( temp_cast_207 , _EmissionReactiveTint , (float)step( EmissionReactiveBand254_g4607 , 9 )); + float4 FinalReactivity68_g4607 = ( ReactivityAlpha132_g4607 * lerpResult265_g4607 ); + float4 lerpResult146_g4607 = lerp( ( EmissionGlowTog249_g4607 * FinalReactivity68_g4607 ) , ( EmissionGlow142_g4607 + FinalReactivity68_g4607 ) , (float)saturate( _EmissionReactiveBlendMode )); + float4 ReversedReactivity152_g4607 = ( ( 1.0 - ReactivityAlpha132_g4607 ) * lerpResult265_g4607 ); + int temp_output_157_0_g4607 = ( _EmissionReactiveBlendMode - 1 ); + float4 lerpResult114_g4607 = lerp( lerpResult146_g4607 , ( EmissionGlowTog249_g4607 * ReversedReactivity152_g4607 ) , (float)saturate( temp_output_157_0_g4607 )); + float4 lerpResult164_g4607 = lerp( lerpResult114_g4607 , ( EmissionGlow142_g4607 + ( ReversedReactivity152_g4607 * step( EmissionReactiveBand254_g4607 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4607 - 1 ) )); + float grayscale214_g4607 = Luminance(temp_output_211_0_g4607.rgb); + float smoothstepResult215_g4607 = smoothstep( 0.0 , 0.5 , grayscale214_g4607); + int ReactiveBlendmode272_g4607 = _EmissionReactiveBlendMode; + float x270_g4607 = (float)ReactiveBlendmode272_g4607; + float y270_g4607 = 2.0; + float localglslmod270_g4607 = glslmod270_g4607( x270_g4607 , y270_g4607 ); + float lerpResult271_g4607 = lerp( localglslmod270_g4607 , (float)_EmissionGlowBlendMode , (float)saturate( EmissionGlowZone47_g4607 )); + float4 lerpResult212_g4607 = lerp( ( lerpResult164_g4607 * temp_output_211_0_g4607 ) , ( ( lerpResult164_g4607 * smoothstepResult215_g4607 ) + temp_output_211_0_g4607 ) , lerpResult271_g4607); + float localIfAudioLinkv2Exists1_g4622 = IfAudioLinkv2Exists1_g4622(); + float4 lerpResult281_g4607 = lerp( temp_output_211_0_g4607 , lerpResult212_g4607 , localIfAudioLinkv2Exists1_g4622); + #ifdef _EMISSION + float4 staticSwitch284_g4607 = lerpResult281_g4607; + #else + float4 staticSwitch284_g4607 = float4( 0,0,0,0 ); + #endif + float4 EmissionGlow791 = ( ( lerpResult280_g4623 + lerpResult276_g4639 + lerpResult278_g4655 + lerpResult278_g4671 ) + staticSwitch284_g4607 ); + float4 EmissionRGBA135_g4905 = EmissionGlow791; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 temp_output_21_0_g4905 = Normal243; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (1*0.5 + 0.5) , 1 , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float Intensity132_g4905 = _IridescentIntensity; + float4 temp_output_110_0_g4905 = ( lerpResult32_g4905 * Intensity132_g4905 ); + float4 lerpResult46_g4905 = lerp( temp_output_110_0_g4905 , ( temp_output_110_0_g4905 * EmissionRGBA135_g4905 ) , (float)saturate( _IridescentEmissionMode )); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb3_g4911 = HSVToRGB( float3(AnimatedDot130_g4905,1.0,1.0) ); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + float4 lerpResult54_g4905 = lerp( lerpResult46_g4905 , float4( ( hsvTorgb3_g4911 * Intensity132_g4905 ) , 0.0 ) , (float)saturate( temp_output_52_0_g4905 )); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + float4 lerpResult89_g4905 = lerp( lerpResult54_g4905 , EmissionRGBA135_g4905 , (float)temp_output_91_0_g4905); + float4 lerpResult82_g4905 = lerp( EmissionRGBA135_g4905 , ( temp_output_55_0_g4905 * lerpResult89_g4905 ) , temp_output_55_0_g4905); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch108_g4905 = lerpResult82_g4905; + #else + float4 staticSwitch108_g4905 = float4( 0,0,0,0 ); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult229_g4905 = lerp( staticSwitch108_g4905 , ( staticSwitch108_g4905 * temp_output_233_0_g4905 ) , (float)temp_output_225_0_g4905); + float4 lerpResult246_g4905 = lerp( EmissionRGBA135_g4905 , lerpResult229_g4905 , _Enableiridescence); + float4 FinalEmission1029 = lerpResult246_g4905; + o.Emission = FinalEmission1029.rgb; + } + + ENDCG + CGPROGRAM + #pragma surface surf StandardCustomLighting keepalpha fullforwardshadows nolightmap nodynlightmap nodirlightmap nometa vertex:vertexDataFunc + + ENDCG + Pass + { + Name "ShadowCaster" + Tags{ "LightMode" = "ShadowCaster" } + ZWrite On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma target 4.5 + #pragma multi_compile_shadowcaster + #pragma multi_compile UNITY_PASS_SHADOWCASTER + #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 + #include "HLSLSupport.cginc" + #if ( SHADER_API_D3D11 || SHADER_API_GLCORE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_METAL || SHADER_API_VULKAN ) + #define CAN_SKIP_VPOS + #endif + #include "UnityCG.cginc" + #include "Lighting.cginc" + #include "UnityPBSLighting.cginc" + struct v2f + { + V2F_SHADOW_CASTER; + float2 customPack1 : TEXCOORD1; + float4 tSpace0 : TEXCOORD2; + float4 tSpace1 : TEXCOORD3; + float4 tSpace2 : TEXCOORD4; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + v2f vert( appdata_full v ) + { + v2f o; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_INITIALIZE_OUTPUT( v2f, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + Input customInputData; + vertexDataFunc( v, customInputData ); + float3 worldPos = mul( unity_ObjectToWorld, v.vertex ).xyz; + half3 worldNormal = UnityObjectToWorldNormal( v.normal ); + half3 worldTangent = UnityObjectToWorldDir( v.tangent.xyz ); + half tangentSign = v.tangent.w * unity_WorldTransformParams.w; + half3 worldBinormal = cross( worldNormal, worldTangent ) * tangentSign; + o.tSpace0 = float4( worldTangent.x, worldBinormal.x, worldNormal.x, worldPos.x ); + o.tSpace1 = float4( worldTangent.y, worldBinormal.y, worldNormal.y, worldPos.y ); + o.tSpace2 = float4( worldTangent.z, worldBinormal.z, worldNormal.z, worldPos.z ); + o.customPack1.xy = customInputData.uv_texcoord; + o.customPack1.xy = v.texcoord; + TRANSFER_SHADOW_CASTER_NORMALOFFSET( o ) + return o; + } + half4 frag( v2f IN + #if !defined( CAN_SKIP_VPOS ) + , UNITY_VPOS_TYPE vpos : VPOS + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID( IN ); + Input surfIN; + UNITY_INITIALIZE_OUTPUT( Input, surfIN ); + surfIN.uv_texcoord = IN.customPack1.xy; + float3 worldPos = float3( IN.tSpace0.w, IN.tSpace1.w, IN.tSpace2.w ); + half3 worldViewDir = normalize( UnityWorldSpaceViewDir( worldPos ) ); + surfIN.worldPos = worldPos; + surfIN.worldNormal = float3( IN.tSpace0.z, IN.tSpace1.z, IN.tSpace2.z ); + surfIN.worldRefl = -worldViewDir; + surfIN.internalSurfaceTtoW0 = IN.tSpace0.xyz; + surfIN.internalSurfaceTtoW1 = IN.tSpace1.xyz; + surfIN.internalSurfaceTtoW2 = IN.tSpace2.xyz; + SurfaceOutputCustomLightingCustom o; + UNITY_INITIALIZE_OUTPUT( SurfaceOutputCustomLightingCustom, o ) + surf( surfIN, o ); + #if defined( CAN_SKIP_VPOS ) + float2 vpos = IN.pos; + #endif + SHADOW_CASTER_FRAGMENT( IN ) + } + ENDCG + } + } + Fallback "Diffuse" + CustomEditor "FuralityShaderUI" +} +/*ASEBEGIN +Version=19105 +Node;AmplifyShaderEditor.CommentaryNode;794;1332.497,1390.873;Inherit;False;961.6262;243.937;Comment;5;791;798;790;789;787;Luma Glow;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;639;-8884.074,-1676.043;Inherit;False;3010.964;860.379;Comment;26;568;569;570;571;572;574;573;577;575;583;592;582;576;584;32;588;578;581;589;580;533;627;629;630;632;628;Light Color + Attenuation;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;403;-3335.939,-3496.149;Inherit;False;2162.522;1530.744;Comment;35;90;1143;1142;386;241;223;391;246;302;1065;383;380;852;225;272;392;385;394;384;224;393;247;255;254;252;7;253;251;269;250;243;388;242;389;1144;Texture Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RangedFloatNode;389;-3188.197,-3056.841;Inherit;False;Constant;_Float3;Float 3;14;0;Create;True;0;0;0;False;0;False;1.25;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;242;-3006.6,-3221.549;Inherit;False;0;223;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.SimpleMultiplyOpNode;388;-2970.259,-3105.271;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;243;-2263.6,-3243.549;Inherit;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;5;-3238.615,-1376.222;Inherit;False;1756.584;1421.47;Comment;52;22;284;285;362;30;45;23;68;17;47;44;211;381;401;303;163;395;54;396;402;31;227;176;259;46;59;226;256;212;177;258;249;101;41;248;257;29;100;245;6;795;587;590;1145;1147;1148;1150;1180;1181;1182;1186;1187;Input Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.NormalVertexDataNode;100;-2593.113,-255.3687;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;245;-2547.908,-114.6905;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;101;-2379.915,-261.8687;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;257;-2372.083,-114.9804;Inherit;False;Tangent;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TexelSizeNode;250;-2892.26,-2840.326;Inherit;False;246;1;0;SAMPLER2D;;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.TextureCoordinatesNode;269;-3020.702,-3015.853;Inherit;False;0;223;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.SimpleAddOpNode;258;-2121.888,-254.5151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;251;-2670.343,-2766.867;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;6;-2330.628,-1069.771;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;259;-2008.888,-253.5151;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;253;-2664.241,-2840.508;Inherit;False;Property;_GlossMapScale;GlossMapScale;43;0;Create;True;0;0;0;False;0;False;1;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;7;-2304.152,-2910.047;Inherit;False;Property;_Glossiness;Smoothness;42;0;Create;False;0;0;0;False;0;False;0.5;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;252;-2559.297,-2766.867;Inherit;False;2;0;FLOAT;10;False;1;FLOAT;10;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;254;-2220.061,-2832.362;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;4;-1449.85,-1331.164;Inherit;False;957.896;1201.264;Comment;38;56;40;604;600;48;74;597;36;598;42;33;596;607;37;18;75;605;599;11;72;24;27;49;38;73;50;28;52;25;39;13;71;19;14;8;15;26;10;Dot Products;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;29;-2027.33,-1071.781;Inherit;False;viewDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;31;-1815.471,-256.4359;Inherit;False;worldNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;10;-1395.339,-1281.164;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;26;-1397.544,-1043.199;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;15;-1399.849,-1118.233;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;8;-1396.339,-1211.164;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;255;-2027.867,-2837.701;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;14;-1207.206,-1086.684;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;19;-1215.339,-1257.164;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;212;-2855.798,-845.3053;Inherit;False;Constant;_Float2;Float 2;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;256;-2846.284,-985.8676;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;71;-1072.621,-1085.356;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;177;-2854.646,-916.5242;Inherit;False;Constant;_Float0;Float 0;10;0;Create;True;0;0;0;False;0;False;0.3;0.4;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.NormalizeNode;13;-1100.339,-1258.164;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;563;-6117.17,1090.775;Inherit;False;1218.21;440.525;Comment;13;512;516;519;511;534;513;517;501;535;518;520;521;594;Toon Ambience;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;39;-939.8036,-1090.568;Inherit;False;NdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;176;-2657.246,-978.5247;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;25;-960.3385,-1262.164;Inherit;False;halfDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;220;-4332.81,70.03413;Inherit;False;2632.908;1547.742;Comment;46;460;636;635;634;139;140;219;190;310;128;312;311;522;274;313;132;306;275;623;129;314;123;566;138;379;121;231;116;230;445;232;115;301;117;114;300;565;461;233;120;125;514;124;987;1120;1160;BRDF;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;512;-6067.17,1140.775;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;52;-1397.545,-736.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;28;-1399.85,-811.295;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;303;-2463.311,-925.2256;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.999;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;456;-6422.013,407.4249;Inherit;False;1957.475;517.7657;Comment;19;450;471;452;469;444;476;415;477;473;472;413;451;470;436;478;479;475;416;1132;Stylize Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;211;-2342.89,-903.3854;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;50;-1207.207,-779.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;516;-5894.896,1145.77;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;247;-2436.355,-3015.931;Inherit;False;MetallticFromTex;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;73;-1065.78,-781.5579;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;476;-6344.136,724.7207;Inherit;False;Constant;_ToonSpecular;Toon Specular;20;0;Create;True;0;0;0;False;0;False;0.48;0.479;0;0.499;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;248;-2629.301,-709.2548;Inherit;False;247;MetallticFromTex;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;511;-5761.434,1145.739;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;519;-5944.896,1237.77;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.OneMinusNode;47;-2111.788,-903.9219;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;41;-2693.438,-787.5811;Inherit;False;Property;_Metallic;Metallic;41;0;Create;True;0;0;0;False;0;False;0;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;393;-3172.445,-2357.431;Inherit;False;0;223;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.RegisterLocalVarNode;514;-2719.453,985.0649;Inherit;False;ToonNdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;501;-5623.576,1144.053;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;534;-5780.627,1416.3;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;38;-919.9026,-783.9518;Inherit;False;NdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;473;-6345.945,648.5159;Inherit;False;Constant;_ToonOffset;Toon Offset;16;0;Create;True;0;0;0;False;0;False;-0.4;-0.39;-1;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;249;-2412.301,-763.2548;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;517;-5760.825,1242.613;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;17;-1935.923,-820.6301;Inherit;False;roughness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;513;-5776.97,1337.775;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;594;-5601.755,1091.489;Inherit;False;Constant;_Float13;Float 13;20;0;Create;True;0;0;0;False;0;False;0.65;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;477;-6067.136,806.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;384;-2437.779,-2302.501;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CustomExpressionNode;518;-5622.967,1240.927;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;49;-1399.055,-960.3293;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;472;-5895.945,655.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;535;-5599.627,1374.3;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;475;-5902.945,770.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;46;-2269.892,-769.3549;Inherit;False;metallic;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;416;-6164.954,464.0959;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;415;-6173.801,539.6567;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;27;-1396.75,-885.2946;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;593;-5431.755,1149.489;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;394;-2098.372,-2307.369;Inherit;False;SpecularTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;479;-5755.136,750.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;24;-1206.412,-928.7805;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;217;-1594.872,200.3197;Inherit;False;2616.111;764.0852;Comment;32;174;175;156;204;162;213;205;214;215;203;161;202;166;200;201;191;181;208;315;180;158;165;151;152;276;153;480;481;484;482;498;1165;Indirect Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;478;-5760.136,643.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;413;-5946.941,511.468;Inherit;False;GGXTerm(nh, roughness);1;Create;2;True;nh;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;ggx;False;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;227;-2831.27,-633.0755;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;396;-2327.961,-390.6081;Inherit;False;Property;_EnableSpecularMap;Enable Specular Map;46;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;402;-2220.789,-483.7458;Inherit;False;Constant;_Float5;Float 5;17;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;54;-2628.055,-457.5206;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;520;-5308.896,1242.77;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;470;-5210.727,730.8561;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;395;-2066.061,-680.9556;Inherit;False;394;SpecularTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;436;-5605.002,544.9354;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;72;-1073.99,-930.7202;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;451;-5604.283,672.5679;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DiffuseAndSpecularFromMetallicNode;163;-2399.557,-597.6036;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;3;FLOAT3;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.GetLocalVarNode;180;-1514.461,680.5375;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;401;-2051.101,-479.9181;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;381;-1868.959,-588.0468;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;11;-941.7469,-929.9261;Inherit;False;NdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;452;-5209.375,553.4788;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;315;-1300.661,675.7377;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;469;-4966.727,731.8561;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.8;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;125;-3174.562,1070.987;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;208;-1151.827,677.0204;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;44;-1720.645,-591.458;Inherit;False;specColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;471;-4799.567,730.9291;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;5;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;120;-3571.68,274.0615;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;233;-3569.558,177.7777;Inherit;False;Constant;_Float1;Float 1;6;0;Create;True;0;0;0;False;0;False;1.2;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;181;-982.5577,650.3491;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;461;-2980.706,1074.058;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;450;-4769.774,574.9086;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;191;-853.3322,650.4323;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;444;-4651.538,570.9512;Inherit;False;ToonSpecular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;565;-2804.095,1073.13;Inherit;False;ToonNdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;385;-3013.247,-2640.655;Inherit;False;0;223;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.SimpleMultiplyOpNode;300;-3386.994,223.6072;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;114;-3461.573,805.1125;Inherit;False;565;ToonNdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;590;-2621.987,-1305.75;Inherit;False;589;InitialLightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;117;-3462.64,952.4464;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;301;-3254.994,223.6072;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;201;-488.3773,654.145;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-3463.573,734.1125;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;166;-702.3997,453.5815;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;200;-677.7151,648.213;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;232;-3388.666,589.1027;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;560;-1245.632,1312.672;Inherit;False;1886.165;1162.995;Comment;37;591;542;622;621;595;557;545;625;567;547;558;619;555;548;613;549;620;626;554;556;614;552;550;617;553;610;551;615;618;544;616;537;612;543;609;853;1134;Rimlighting;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;230;-3390.865,428.9026;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;116;-3462.773,880.1125;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;231;-3388.366,506.7026;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;68;-2378.209,-1304.412;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;609;-498.8056,2203.786;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;161;-509.7723,469.6328;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;4;False;1;FLOAT;0 +Node;AmplifyShaderEditor.PowerNode;392;-2451.833,-2613.263;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;543;-1187.779,1789.996;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;202;-300.1848,678.6759;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;379;-3135.121,470.3841;Inherit;False;float L = (NdotL) / (NdotL * (1- k) + k)@$float V = (NdotV) / (NdotV * (1-k) +k)@$$return L*V@;1;Create;3;True;k;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;SchlickGGX;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;138;-3189.65,726.0227;Inherit;False;float FresnelLight = SchlickFresnel(NdotL)@$float FresnelView = SchlickFresnel(NdotV)@$float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness@$return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView)@;1;Create;4;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;True;LdotH;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;F0;True;False;2;139;140;;False;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;566;-3170.882,867.2664;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;612;-477.8056,2287.786;Inherit;False;Constant;_Vector0;Vector 0;20;0;Create;True;0;0;0;False;0;False;0,1,0;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;537;-1181.791,1709.072;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;616;-673.2114,1454.868;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;272;-2284.777,-2618.305;Inherit;False;Occlusion;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;23;-2079.385,-604.7594;Inherit;False;diffuse;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;544;-972.4919,1731.102;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;618;-669.238,1542.556;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;615;-313.6245,2334.562;Inherit;False;Constant;_Float15;Float 15;20;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;480;-283.3387,506.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;551;-994.2482,1828.831;Inherit;False;Constant;_Float11;Float 11;21;0;Create;True;0;0;0;False;0;False;-0.2;-0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;123;-2829.634,444.2128;Inherit;False;return (N*G*F) / (4 * (NdotL*NdotV))@;3;Create;5;True;N;FLOAT3;0,0,0;In;;Inherit;False;True;G;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;BRDF;False;True;0;;False;5;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;482;-68.33875,789.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;610;-307.3041,2238.428;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;314;-2832.01,372.4067;Inherit;False;Constant;_Float7;Float 7;10;0;Create;True;0;0;0;False;0;False;0.001;0.02;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;214;-77.45105,524.8002;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;553;-842.7739,1978.127;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;550;-845.248,1736.831;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;215;-64.47279,601.2673;Inherit;False;Constant;_Float4;Float 4;4;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;561;2095.64,27.8058;Inherit;False;2082.213;872.7515;Comment;37;831;830;829;828;827;826;823;822;824;819;818;490;524;792;497;788;486;494;489;495;492;532;488;496;493;529;491;832;1042;1045;1046;1058;1060;1059;1066;1081;1185;Outlines;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;623;-2658.41,622.8109;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;203;-58.52485,674.2479;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;275;-2675.618,355.3681;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;481;-253.3387,402.084;Inherit;False;2;2;0;FLOAT;0.01;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;306;-2699.387,905.8491;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;132;-2651.551,446.4316;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;552;-804.2864,1907.889;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;614;-184.6245,2238.562;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;313;-2657.845,542.0784;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;556;-644.5186,2003.105;Inherit;False;Constant;_Float12;Float 12;20;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;554;-648.5186,1913.105;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;626;-64.21997,2164.697;Inherit;False;Constant;_Float17;Float 17;21;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;274;-2481.617,300.3679;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;491;3076.28,552.4065;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;152;29.06121,326.3416;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;549;-727.676,1835.152;Inherit;False;Constant;_Float8;Float 8;20;0;Create;True;0;0;0;False;0;False;20;20;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;311;-2495.592,917.2233;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;312;-2476.895,448.7652;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;276;40.03976,402.8723;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;613;-59.30401,2235.428;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;213;131.8297,544.2889;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;162;-122.9196,431.788;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;153;32.36602,250.3197;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;205;129.113,663.7913;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;548;-717.1375,1742.013;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;529;3380.719,431.3767;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;555;-524.5184,1917.105;Inherit;False;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;128;-2302.115,345.1725;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.IndirectSpecularLight;151;227.3664,278.3197;Inherit;False;World;3;0;FLOAT3;0,0,1;False;1;FLOAT;0.5;False;2;FLOAT;1;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;310;-2346.613,816.7513;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;558;-504.3968,2017.898;Inherit;False;Property;_RimlightColor;Rimlight Color;49;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;11.98431,11.98431,11.98431,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;547;-563.4562,1738.109;Inherit;False;ExponentialSquared_Blend;-1;;1;7792fe74aab0b2f4d8615a784f562aa2;1,7,0;2;12;FLOAT;0;False;9;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;567;-239.0434,2075.365;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;204;310.205,469.0058;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;625;75.78027,2222.697;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;545;58.48236,1477.761;Inherit;False;7;7;0;FLOAT;0;False;1;FLOAT;0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;FLOAT;0;False;6;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;165;547.4448,426.1721;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;532;3520.733,382.9306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;562;-426.9865,-1298.826;Inherit;False;2708.104;1199.057;Comment;25;905;911;912;909;910;908;907;906;268;864;863;861;860;859;858;871;868;866;862;786;266;267;265;913;1062;Emission;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TransformDirectionNode;492;3363.496,547.6183;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;190;-2167.837,347.7095;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CommentaryNode;222;3678.678,-355.4811;Inherit;False;440.5804;266.2591;Comment;4;169;221;159;1119;Composite;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;219;-2029.515,342.5311;Inherit;False;BRDF;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;557;340.3037,1469.082;Inherit;False;Rimlighting;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;265;1209.963,-1067.859;Inherit;True;Property;_EmissionMap;EmissionMap;31;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.GetLocalVarNode;159;3706.322,-313.2809;Inherit;False;158;IndirectSpecular;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;267;1330.802,-1248.826;Inherit;False;Property;_EmissionColor;Emission Color;32;1;[HDR];Create;True;0;0;0;False;0;False;0,0,0,0;1,0.5188679,0.5188679,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;221;3730.281,-237.8131;Inherit;False;219;BRDF;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;175;-816.4901,529.5698;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;140;-2813.083,603.2727;Inherit;False;return j*x+i*(1-x)@;1;Create;3;True;i;FLOAT;0;In;;Inherit;False;True;j;FLOAT;0;In;;Inherit;False;True;x;FLOAT;0;In;;Inherit;False;MixFunc;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-1931.422,-916.1447;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;599;-822.542,-307.6921;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;285;-3030.983,-472.9721;Inherit;False;Constant;_Float6;Float 6;9;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;605;-1093.615,-232.9525;Inherit;False;Constant;_Float14;Float 14;20;0;Create;True;0;0;0;False;0;False;0.1;0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;595;-463.6266,1369.061;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;75;-1071.254,-468.1801;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;18;-1399.849,-658.295;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;156;-987.3672,523.5707;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ClampOpNode;174;-668.5641,526.8943;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.03;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;266;1570.802,-1101.826;Inherit;False;3;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;37;-1397.826,-503.7185;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;621;-370.3684,1572.545;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;607;-1086.071,-307.0391;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;596;-1401.809,-263.1957;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;622;-231.1782,1347.674;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;-0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;33;-1207.206,-626.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;362;-2129.13,-156.8327;Inherit;False;clearcoatNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;42;-950.3943,-631.1833;Inherit;False;VdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;22;-1791.587,-919.7219;Inherit;False;roughnessSquared;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;598;-1204.471,-306.6816;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;36;-1402.521,-428.6837;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;597;-1397.114,-338.2305;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;542;-641.7698,1365.349;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;74;-1073.991,-625.5533;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;139;-2812.083,713.2732;Inherit;False;float x = saturate(1-i)@$float x2 = x*x@$return x2*x2*x@;1;Create;1;True;i;FLOAT;0;In;;Inherit;False;SchlickFresnel;False;True;0;;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;591;-229.3808,2146.77;Inherit;False;600;LdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;48;-1397.544,-583.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;600;-698.5538,-311.3818;Inherit;False;LdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;284;-2635.655,-620.5502;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleSubtractOpNode;604;-958.6155,-306.9525;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;40;-1205.183,-472.1696;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;169;3994.139,-276.3966;Inherit;False;4;4;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;56;-944.2661,-473.8698;Inherit;False;LdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;587;-2603.063,-1230.459;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;45;-2031.958,-1307.261;Inherit;False;lightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;634;-3188.233,1238.03;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;635;-2982.671,1391.145;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;636;-2683.895,1302.977;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;568;-8834.074,-1222.282;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.BreakToComponentsNode;569;-8681.742,-1198.18;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.SimpleMaxOpNode;570;-8559.542,-1198.18;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;571;-8442.542,-1178.68;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;572;-8320.396,-1179.31;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.001;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;574;-8184.584,-1271.711;Inherit;False;Constant;_Float9;Float 9;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;573;-8192.156,-1184.819;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;577;-7802.581,-1318.901;Inherit;False;int lightEnv = int(any(_WorldSpaceLightPos0.xyz))@ $if(lightEnv != 1){$ return 0@$ }$return 1@;0;Create;0;LightExists;True;False;0;;False;0;1;INT;0 +Node;AmplifyShaderEditor.StaticSwitch;575;-8015.616,-1225.002;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;583;-7672.467,-1626.043;Inherit;False;Constant;_FakeLightDir;Fake Light Dir;0;0;Create;True;0;0;0;False;0;False;1,1,2;1,1,2;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;592;-7492.139,-1619.998;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;582;-7677.819,-1475.114;Inherit;False;True;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;576;-7656.862,-1317.273;Inherit;False;2;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;584;-7325.008,-1619.547;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;32;-7165.986,-1623.907;Inherit;False;lightDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;588;-6689.845,-1532.681;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;578;-6439.266,-1411.936;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;581;-6248.605,-1415.129;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;589;-6106.444,-1419.762;Inherit;False;InitialLightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;580;-6606.341,-1293.334;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;533;-6459.45,-1297.361;Inherit;False;Attenuation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightAttenuation;627;-7325.271,-1094.686;Inherit;False;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;629;-7336.423,-1022.664;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;630;-6807.647,-1120.831;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;632;-6667.123,-1432.648;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;628;-7069.139,-1200;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;793;4084.51,-419.9491;Inherit;False;1029;FinalEmission;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;378;4100.366,-511.162;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;787;1382.497,1440.873;Inherit;False;786;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;789;1392.707,1516.109;Inherit;False;788;OutlineRGB;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;795;-3209.973,-1321.565;Inherit;False;Property;_Culling;Culling;306;1;[Enum];Create;True;0;0;1;UnityEngine.Rendering.CullMode;True;0;False;0;2;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;790;2002.123,1543.81;Inherit;False;OutlineGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;798;1961.58,1450.408;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;791;2081.115,1445.012;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SurfaceDepthNode;524;3118.077,458.5213;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;819;2748.469,326.6143;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;824;2956.071,303.7247;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;822;2550.839,340.7459;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;823;2570.85,500.8378;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;827;2521.599,567.8765;Inherit;False;Constant;_Float16;Float 16;26;0;Create;True;0;0;0;False;0;False;1000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;828;2680.669,636.316;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;829;2888.271,613.4264;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;830;2483.039,650.4476;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;831;2503.05,810.5396;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;225;-3007.329,-3413.345;Inherit;False;0;223;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.GetLocalVarNode;853;-24.64026,1740.427;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;498;485.348,590.3273;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;484;306.6857,585.6535;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;852;-2074.02,-2722.352;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;862;1041.562,-1033.402;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.LerpOp;859;751.5616,-913.4023;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.RangedFloatNode;860;561.5616,-938.4023;Inherit;False;Constant;_Float18;Float 18;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;863;219.952,-742.4731;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;864;558.0835,-863.7878;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;268;716.8016,-1035.826;Inherit;False;0;265;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.LerpOp;906;208.5399,-512.4272;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;910;15.06175,-462.8127;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleTimeNode;909;-323.0697,-341.498;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;912;486.7254,-565.1698;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;911;-3.374744,-656.1698;Inherit;False;0;866;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.RegisterLocalVarNode;871;1003.037,-350.0024;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;913;676.2248,-352.4956;Inherit;True;Property;_TextureSample0;Texture Sample 0;30;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Instance;866;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.FunctionNode;984;1174.184,-646.1843;Inherit;True;EffectMaskChannel;-1;;3967;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;124;-3173.241,958.7939;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1027;4291.965,105.7077;Inherit;False;791;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1031;1959.949,1643.783;Inherit;False;DirectionMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1032;4430.452,465.3638;Inherit;False;1031;DirectionMap;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;792;3756.018,53.18221;Inherit;False;790;OutlineGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;788;2525.206,109.5492;Inherit;False;OutlineRGB;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.FunctionNode;1042;3327.138,80.1829;Inherit;False;EffectMaskChannel;-1;;4562;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1043;2795.438,112.6829;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1044;3034.638,113.9829;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.GetLocalVarNode;1011;4262.274,6.535469;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;226;-3076.27,-549.0756;Inherit;False;1049;IridescentMainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.WorldNormalVector;1058;3137.704,747.7896;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;495;3640.296,550.8184;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;489;3680.985,243.5691;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;832;3638.739,385.1481;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;493;3237.892,553.2095;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;494;3833.85,241.0057;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;1059;3854.503,558.9896;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;1060;3875.304,715.7897;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.WorldNormalVector;1061;3312.104,-28.2103;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalVertexDataNode;488;3480.785,242.0691;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;818;2589.399,258.1747;Inherit;False;Constant;_Float10;Float 10;26;0;Create;True;0;0;0;False;0;False;10000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;786;2002.439,-932.0972;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1064;1629.501,-909.2549;Inherit;False;Constant;_Float20;Float 20;43;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;380;-2930.957,-2386.695;Inherit;True;Property;_SpecGlossMap;Specular;47;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f3bc535e7a220264d8a1f770fb367426;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.ColorNode;383;-2699.411,-2185.3;Inherit;False;Property;_SpecColor;Specular Color;48;0;Fetch;False;0;0;0;False;0;False;1,1,1,0;0.3169973,0.3169973,0.3169973,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1065;-1840.527,-3445.194;Inherit;False;Property;_ShowMain;ShowMain;208;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;302;-3285.939,-3140.613;Inherit;False;Property;_BumpScale;Normal Scale;39;0;Create;False;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;246;-2794.355,-3038.931;Inherit;True;Property;_MetallicGlossMap;Metallic;40;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;391;-2771.034,-2477.877;Inherit;False;Property;_OcclusionStrength;Occlusion Strength;45;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;223;-2790.1,-3446.149;Inherit;True;Property;_MainTex;Main Tex;28;0;Create;True;0;0;0;False;0;False;-1;None;0a92f98f03d58ac449724fa4a3f0e1f8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;241;-2788.6,-3244.549;Inherit;True;Property;_BumpMap;Normal;38;2;[Normal];[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;55479011db618034693440f32dbe9240;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.SamplerNode;386;-2786.9,-2663.733;Inherit;True;Property;_OcclusionMap;OcclusionMap;44;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;866;671.9223,-679.6194;Inherit;True;Property;_EffectMask;Effect Mask;30;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;907;75.53984,-539.4272;Inherit;False;Constant;_Float19;Float 19;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;868;705.1241,-481.1015;Inherit;False;Property;_EmissionMaskingChannel;Emission Masking Channel;33;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;908;-2.460165,-365.4272;Inherit;False;Property;_EmissionMaskPan;Emission Mask Pan;34;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;905;-346.4601,-469.4272;Inherit;False;Property;_EmissionMaskPanSpeed;Emission Mask Pan Speed;35;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;861;540.5616,-766.4023;Inherit;False;Property;_EmissionPan;Emission Pan;36;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;858;200.5616,-870.4023;Inherit;False;Property;_EmissionPanSpeed;Emission Pan Speed;37;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;1067;1402.106,1599.42;Inherit;False;Property;_ShowGlow;ShowGlow;205;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1074;1625.512,1469.38;Inherit;False;Luma Glow Properties;55;;4606;7b40ef0e4b7a40f4f9276cd62640845c;1,260,0;2;1;COLOR;0,0,0,0;False;155;FLOAT3;0,0,0;False;3;FLOAT;244;FLOAT4;183;FLOAT4;0 +Node;AmplifyShaderEditor.RangedFloatNode;1075;4763.708,211.9052;Inherit;False;Property;_ShowEffects;ShowEffects;204;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StaticSwitch;1062;1764.78,-943.7126;Inherit;False;Property;_EnableEmission;_Enable Emission;209;0;Create;False;0;0;0;False;0;False;0;0;0;True;_EMISSION;Toggle;2;Key0;Key1;Create;True;False;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1066;2124.162,89.25903;Inherit;False;Property;_ShowOutline;ShowOutline;206;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1081;2121.584,167.0743;Inherit;False;Property;_ShowOutline2;ShowOutline2;207;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1095;4455.95,550.3781;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;460;-2981.99,956.8101;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.125;False;2;FLOAT;0.15;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;983;4391.114,201.3586;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1029;5287.174,278.7382;Inherit;False;FinalEmission;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;986;4408.033,344.0441;Inherit;False;557;Rimlighting;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1118;5024.975,112.8467;Inherit;False;RimlightEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1119;3712.385,-167.4584;Inherit;False;1118;RimlightEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;988;4397.987,266.4666;Inherit;False;987;ColoredSpec;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;121;-3038.383,159.6466;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;987;-2860.835,149.3844;Inherit;False;ColoredSpec;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1120;-3083.43,383.6133;Inherit;False;1117;SpecEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1117;5016.975,3.84671;Inherit;False;SpecEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;445;-3270.5,299.042;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1132;-5621.691,460.2031;Inherit;False;GGXTerm;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;617;-481.7099,1489.51;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;620;-347.238,1489.556;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;619;-182.238,1488.556;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1134;38.33276,1373.834;Inherit;False;RimAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1127;4223.965,452.6614;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1140;4586.708,44.20444;Inherit;False;Applfy Effects;228;;4871;86ee36ff59e1113469676c1c5ac8dd3c;0;7;31;COLOR;0,0,0,0;False;15;FLOAT3;0,0,1;False;16;COLOR;0,0,1,0;False;2;COLOR;0,0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;23;FLOAT;0;False;3;FLOAT4;0;FLOAT4;38;FLOAT4;39 +Node;AmplifyShaderEditor.FunctionNode;1141;4793.75,336.9004;Inherit;False;Iridescent Emission;210;;4905;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93 +Node;AmplifyShaderEditor.SimpleMinOpNode;1142;-1548.589,-2761.705;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;90;-1410.964,-2767.599;Inherit;False;Smoothness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;1143;-1795.298,-2903.922;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.4;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1144;-1546.305,-2910.684;Inherit;False;SmoothnessColorMult;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1145;-2345.992,-693.0366;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1146;-1698.886,-501.7159;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;224;-2484.676,-3439.029;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1048;4322.479,-94.13754;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1149;-2887.883,-734.886;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1148;-3251.883,-930.886;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1150;-3073.883,-974.886;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.ColorNode;59;-3111.619,-716.5183;Inherit;False;Property;_Color;Color;29;0;Create;True;0;0;0;False;0;False;1,1,1,1;0.9,0.9,0.9,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1147;-3110.883,-802.886;Inherit;False;Alpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;5503.371,-421.687;Float;False;True;-1;5;FuralityShaderUI;0;0;CustomLighting;Furality/Sylva Shader/Sylva Opaque Outline;False;False;False;False;False;False;True;True;True;False;True;False;False;False;True;False;False;False;False;False;False;Back;0;False;;0;False;;False;0;False;;0;False;;False;0;Opaque;0.5;True;True;0;False;Opaque;;Geometry;All;12;all;True;True;True;True;0;False;;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;2;15;10;25;False;0.5;True;0;5;True;_BlendOPsrc;10;True;_BlendOPdst;0;5;False;;10;False;;0;False;;0;False;;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;True;Relative;0;;-1;-1;-1;-1;0;False;0;0;True;_Culling;-1;0;True;_MaskClipValue;1;Include;;True;1ec20832dfbb48343b8e0764e0864276;Custom;False;0;0;;0;0;False;0.1;False;;0;False;;False;15;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0 +Node;AmplifyShaderEditor.GetLocalVarNode;522;-2643.834,795.6546;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;521;-5129.626,1237.589;Inherit;False;ToonAmbience;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;129;-2672.565,275.1928;Inherit;False;23;diffuse;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1160;-2670.334,200.1979;Inherit;False;1155;Opacity;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;158;785.2396,421.767;Inherit;False;IndirectSpecular;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1135;4221.086,375.6588;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1133;4486.572,701.4352;Inherit;False;1132;GGXTerm;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1154;4563.932,-907.7635;Inherit;False;Constant;_Float21;Float 21;49;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1165;101.98,461.387;Inherit;False;IndirectAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1168;1511.465,577.6862;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;850;1694.621,568.6945;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1169;1218.465,607.6862;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;847;1088.521,513.8946;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CustomExpressionNode;848;1266.621,508.6945;Inherit;False;float3 nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;851;1863.677,556.974;Inherit;False;SpecularAntiAlias;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1170;4714.897,-772.7258;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1172;4452.577,-804.3515;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1049;5381.64,400.6321;Inherit;False;IridescentMainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;1152;4949.605,-904.1158;Inherit;False;Property;_Keyword3;Keyword 3;203;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1174;4082.013,-676.3953;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1175;4418.013,-707.3953;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1162;3713.449,-850.2751;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1177;3737.299,-754.6938;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1171;3942.885,-861.8574;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1179;4102.299,-795.6938;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1182;-2967.033,-1241.008;Inherit;False;Property;_BlendOPIndex;_BlendOPIndex;201;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1180;-3056.033,-1322.008;Inherit;False;Property;_BlendOPsrc;_BlendOPsrc;200;0;Create;True;0;0;0;True;0;False;5;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1181;-2884.033,-1321.008;Inherit;False;Property;_BlendOPdst;_BlendOPdst;202;0;Create;True;0;0;0;True;0;False;10;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1151;4245.475,-858.7676;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1176;5015.775,-989.7418;Inherit;False;Constant;_Float22;Float 22;49;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1046;3934.238,344.0829;Inherit;False;Property;_MaskClipValue;Mask Clip Value;307;0;Create;True;0;0;0;True;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1045;3173.738,250.4829;Inherit;False;Property;_OutlineMaskingChannel;Outline Masking Channel;53;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;496;3392.317,690.8503;Inherit;False;Property;_ViewFudge;ViewFudge;52;0;Create;True;0;0;0;True;0;False;0;0.05;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;490;2224.805,337.181;Inherit;False;Property;_OutlineWidth;Outline Width;50;0;Create;False;0;0;0;True;0;False;1;20;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;826;2157.005,646.8827;Inherit;False;Property;_MaxOutlineWidth;Max Outline Width;51;0;Create;True;0;0;0;True;0;False;850;1000;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;497;2296.051,106.4058;Inherit;False;Property;_OutlineColor;Outline Color;54;0;Create;True;0;0;0;True;0;False;0,0,0,1;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;1183;5035.267,-264.119;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1185;3759.467,144.6142;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1155;5226.195,-903.2067;Inherit;False;Opacity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OutlineNode;486;3973.185,203.869;Inherit;False;2;False;None;1;0;Front;True;True;True;True;0;False;;3;0;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;1186;-3181.707,-1229.326;Inherit;False;Property;_BlendModeIndex;_BlendModeIndex;199;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1187;-3176.707,-1141.326;Inherit;False;Property;_EnableOutline;EnableOutline;198;1;[Toggle];Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1188;1647.364,1653.693;Inherit;False;Outline Glow;0;;4913;a95beee5cd09a3848994f1983d4ef324;0;2;229;FLOAT3;0,0,0;False;42;FLOAT;1;False;1;FLOAT4;0 +WireConnection;388;0;302;0 +WireConnection;388;1;389;0 +WireConnection;243;0;241;0 +WireConnection;101;0;100;0 +WireConnection;257;0;245;0 +WireConnection;258;0;101;0 +WireConnection;258;1;257;0 +WireConnection;251;0;250;3 +WireConnection;251;1;250;4 +WireConnection;259;0;258;0 +WireConnection;252;1;251;0 +WireConnection;254;0;246;4 +WireConnection;254;1;253;0 +WireConnection;29;0;6;0 +WireConnection;31;0;259;0 +WireConnection;255;0;7;0 +WireConnection;255;1;254;0 +WireConnection;255;2;252;0 +WireConnection;14;0;15;0 +WireConnection;14;1;26;0 +WireConnection;19;0;10;0 +WireConnection;19;1;8;0 +WireConnection;71;0;14;0 +WireConnection;13;0;19;0 +WireConnection;39;0;71;0 +WireConnection;176;0;256;0 +WireConnection;176;3;177;0 +WireConnection;176;4;212;0 +WireConnection;25;0;13;0 +WireConnection;303;0;176;0 +WireConnection;211;0;303;0 +WireConnection;50;0;28;0 +WireConnection;50;1;52;0 +WireConnection;516;0;512;0 +WireConnection;247;0;246;1 +WireConnection;73;0;50;0 +WireConnection;511;0;516;0 +WireConnection;47;0;211;0 +WireConnection;514;0;636;0 +WireConnection;501;0;511;0 +WireConnection;38;0;73;0 +WireConnection;249;0;41;0 +WireConnection;249;1;248;0 +WireConnection;517;0;519;0 +WireConnection;17;0;47;0 +WireConnection;477;0;476;0 +WireConnection;384;0;380;0 +WireConnection;384;1;383;0 +WireConnection;518;0;517;0 +WireConnection;472;0;473;0 +WireConnection;472;1;476;0 +WireConnection;535;0;513;0 +WireConnection;535;1;534;0 +WireConnection;475;0;473;0 +WireConnection;475;1;477;0 +WireConnection;46;0;249;0 +WireConnection;593;0;501;0 +WireConnection;593;1;594;0 +WireConnection;394;0;384;0 +WireConnection;479;0;475;0 +WireConnection;24;0;49;0 +WireConnection;24;1;27;0 +WireConnection;478;0;472;0 +WireConnection;413;0;416;0 +WireConnection;413;1;415;0 +WireConnection;227;0;59;0 +WireConnection;227;1;226;0 +WireConnection;520;0;593;0 +WireConnection;520;1;518;0 +WireConnection;520;2;535;0 +WireConnection;436;0;413;0 +WireConnection;436;1;478;0 +WireConnection;436;2;479;0 +WireConnection;72;0;24;0 +WireConnection;163;0;227;0 +WireConnection;163;1;54;0 +WireConnection;401;0;402;0 +WireConnection;401;1;54;0 +WireConnection;401;2;396;0 +WireConnection;381;0;395;0 +WireConnection;381;1;163;1 +WireConnection;381;2;401;0 +WireConnection;11;0;72;0 +WireConnection;452;0;436;0 +WireConnection;452;1;451;0 +WireConnection;315;0;180;0 +WireConnection;315;1;180;0 +WireConnection;469;0;470;0 +WireConnection;208;0;315;0 +WireConnection;44;0;1146;0 +WireConnection;471;0;469;0 +WireConnection;471;2;452;0 +WireConnection;181;0;208;0 +WireConnection;181;1;208;0 +WireConnection;181;2;208;0 +WireConnection;461;0;125;0 +WireConnection;450;0;452;0 +WireConnection;450;1;471;0 +WireConnection;191;0;181;0 +WireConnection;444;0;450;0 +WireConnection;565;0;461;0 +WireConnection;300;0;233;0 +WireConnection;300;1;120;0 +WireConnection;301;0;300;0 +WireConnection;200;0;191;0 +WireConnection;68;1;587;0 +WireConnection;161;0;166;0 +WireConnection;161;2;200;0 +WireConnection;392;0;386;2 +WireConnection;392;1;391;0 +WireConnection;202;0;201;0 +WireConnection;202;2;200;0 +WireConnection;379;0;230;0 +WireConnection;379;1;231;0 +WireConnection;379;2;232;0 +WireConnection;138;0;115;0 +WireConnection;138;1;114;0 +WireConnection;138;2;116;0 +WireConnection;138;3;117;0 +WireConnection;272;0;392;0 +WireConnection;23;0;163;0 +WireConnection;544;0;537;0 +WireConnection;544;1;543;0 +WireConnection;480;0;161;0 +WireConnection;123;0;1120;0 +WireConnection;123;1;379;0 +WireConnection;123;2;138;0 +WireConnection;123;3;636;0 +WireConnection;123;4;566;0 +WireConnection;482;0;202;0 +WireConnection;610;0;609;0 +WireConnection;610;1;612;0 +WireConnection;550;0;544;0 +WireConnection;550;1;551;0 +WireConnection;203;0;482;0 +WireConnection;481;1;480;0 +WireConnection;132;0;123;0 +WireConnection;132;1;314;0 +WireConnection;614;0;610;0 +WireConnection;614;1;615;0 +WireConnection;554;0;552;0 +WireConnection;554;1;553;0 +WireConnection;274;0;129;0 +WireConnection;274;1;275;0 +WireConnection;274;2;1160;0 +WireConnection;311;0;306;0 +WireConnection;311;1;514;0 +WireConnection;312;0;132;0 +WireConnection;312;1;460;0 +WireConnection;312;2;623;0 +WireConnection;613;0;614;0 +WireConnection;213;0;214;0 +WireConnection;213;1;215;0 +WireConnection;213;2;203;0 +WireConnection;162;0;481;0 +WireConnection;548;0;550;0 +WireConnection;529;0;824;0 +WireConnection;529;1;524;0 +WireConnection;555;0;554;0 +WireConnection;555;1;556;0 +WireConnection;128;0;274;0 +WireConnection;128;1;312;0 +WireConnection;151;0;153;0 +WireConnection;151;1;152;0 +WireConnection;151;2;276;0 +WireConnection;310;0;522;0 +WireConnection;310;1;311;0 +WireConnection;547;12;548;0 +WireConnection;547;9;549;0 +WireConnection;204;0;1165;0 +WireConnection;204;1;213;0 +WireConnection;204;2;205;0 +WireConnection;625;1;626;0 +WireConnection;625;0;613;0 +WireConnection;545;0;619;0 +WireConnection;545;1;547;0 +WireConnection;545;2;555;0 +WireConnection;545;3;558;0 +WireConnection;545;4;567;0 +WireConnection;545;5;625;0 +WireConnection;545;6;853;0 +WireConnection;165;0;151;0 +WireConnection;165;1;204;0 +WireConnection;165;2;498;0 +WireConnection;532;0;824;0 +WireConnection;532;1;529;0 +WireConnection;190;0;128;0 +WireConnection;190;1;310;0 +WireConnection;219;0;190;0 +WireConnection;557;0;545;0 +WireConnection;265;1;862;0 +WireConnection;175;0;156;0 +WireConnection;30;0;47;0 +WireConnection;30;1;47;0 +WireConnection;599;0;604;0 +WireConnection;595;0;542;0 +WireConnection;75;0;40;0 +WireConnection;174;0;175;0 +WireConnection;266;0;267;0 +WireConnection;266;1;265;0 +WireConnection;266;2;984;0 +WireConnection;621;0;622;0 +WireConnection;607;0;598;0 +WireConnection;622;0;617;0 +WireConnection;33;0;18;0 +WireConnection;33;1;48;0 +WireConnection;362;0;101;0 +WireConnection;42;0;74;0 +WireConnection;22;0;30;0 +WireConnection;598;0;597;0 +WireConnection;598;1;596;0 +WireConnection;74;0;33;0 +WireConnection;600;0;599;0 +WireConnection;284;0;227;0 +WireConnection;604;0;607;0 +WireConnection;604;1;605;0 +WireConnection;40;0;37;0 +WireConnection;40;1;36;0 +WireConnection;169;0;159;0 +WireConnection;169;1;221;0 +WireConnection;169;2;1140;0 +WireConnection;169;3;1119;0 +WireConnection;56;0;75;0 +WireConnection;45;0;590;0 +WireConnection;634;0;460;0 +WireConnection;636;0;634;0 +WireConnection;636;1;460;0 +WireConnection;636;2;635;4 +WireConnection;569;0;568;1 +WireConnection;570;0;569;0 +WireConnection;570;1;569;1 +WireConnection;571;0;570;0 +WireConnection;571;1;569;2 +WireConnection;572;0;571;0 +WireConnection;573;0;572;0 +WireConnection;575;1;574;0 +WireConnection;575;0;573;0 +WireConnection;592;0;583;0 +WireConnection;576;0;577;0 +WireConnection;576;1;575;0 +WireConnection;584;0;592;0 +WireConnection;584;1;582;0 +WireConnection;584;2;576;0 +WireConnection;32;0;584;0 +WireConnection;578;0;588;0 +WireConnection;578;1;632;0 +WireConnection;578;2;576;0 +WireConnection;581;0;578;0 +WireConnection;581;1;533;0 +WireConnection;589;0;581;0 +WireConnection;580;1;630;0 +WireConnection;580;2;576;0 +WireConnection;533;0;580;0 +WireConnection;630;0;628;0 +WireConnection;630;1;627;0 +WireConnection;630;2;629;4 +WireConnection;628;0;627;0 +WireConnection;790;0;1188;0 +WireConnection;798;0;1074;183 +WireConnection;798;1;1074;0 +WireConnection;791;0;798;0 +WireConnection;819;0;490;0 +WireConnection;819;1;818;0 +WireConnection;824;1;819;0 +WireConnection;824;2;823;0 +WireConnection;822;0;490;0 +WireConnection;823;0;490;0 +WireConnection;828;0;826;0 +WireConnection;828;1;818;0 +WireConnection;829;1;828;0 +WireConnection;829;2;831;0 +WireConnection;830;0;826;0 +WireConnection;831;0;826;0 +WireConnection;498;0;484;0 +WireConnection;498;1;484;0 +WireConnection;862;0;268;0 +WireConnection;862;1;859;0 +WireConnection;859;0;860;0 +WireConnection;859;1;864;0 +WireConnection;859;2;861;0 +WireConnection;864;0;858;0 +WireConnection;864;1;863;0 +WireConnection;906;0;907;0 +WireConnection;906;1;910;0 +WireConnection;906;2;908;0 +WireConnection;910;0;905;0 +WireConnection;910;1;909;0 +WireConnection;912;0;911;0 +WireConnection;912;1;906;0 +WireConnection;871;0;913;0 +WireConnection;984;14;866;1 +WireConnection;984;15;866;2 +WireConnection;984;16;866;3 +WireConnection;984;17;866;4 +WireConnection;984;18;868;0 +WireConnection;1031;0;1074;244 +WireConnection;788;0;497;0 +WireConnection;1042;14;1044;0 +WireConnection;1042;15;1044;1 +WireConnection;1042;16;1044;2 +WireConnection;1042;17;1044;3 +WireConnection;1042;18;1045;0 +WireConnection;1044;0;1043;0 +WireConnection;495;0;493;0 +WireConnection;495;1;496;0 +WireConnection;489;0;1061;0 +WireConnection;489;1;832;0 +WireConnection;489;2;1042;0 +WireConnection;832;0;532;0 +WireConnection;832;1;829;0 +WireConnection;493;0;491;0 +WireConnection;494;0;489;0 +WireConnection;494;1;495;0 +WireConnection;1059;0;488;0 +WireConnection;1060;0;494;0 +WireConnection;786;0;1062;0 +WireConnection;380;1;393;0 +WireConnection;246;1;269;0 +WireConnection;223;1;225;0 +WireConnection;241;1;242;0 +WireConnection;241;5;388;0 +WireConnection;386;1;385;0 +WireConnection;866;1;912;0 +WireConnection;1074;1;787;0 +WireConnection;1062;0;266;0 +WireConnection;460;0;124;0 +WireConnection;1029;0;1141;0 +WireConnection;1118;0;1140;39 +WireConnection;121;0;301;0 +WireConnection;121;1;445;0 +WireConnection;987;0;121;0 +WireConnection;1117;0;1140;38 +WireConnection;1132;0;413;0 +WireConnection;617;0;616;0 +WireConnection;617;1;618;0 +WireConnection;620;0;617;0 +WireConnection;619;0;620;0 +WireConnection;1134;0;547;0 +WireConnection;1140;2;983;0 +WireConnection;1140;3;988;0 +WireConnection;1140;4;986;0 +WireConnection;1140;23;1032;0 +WireConnection;1141;214;1133;0 +WireConnection;1141;215;1135;0 +WireConnection;1141;207;1127;0 +WireConnection;1141;165;1095;0 +WireConnection;1141;84;1048;0 +WireConnection;1141;21;1011;0 +WireConnection;1141;44;1027;0 +WireConnection;1141;56;983;0 +WireConnection;1142;0;255;0 +WireConnection;1142;1;852;0 +WireConnection;90;0;1142;0 +WireConnection;1143;0;255;0 +WireConnection;1144;0;1143;0 +WireConnection;1146;0;381;0 +WireConnection;1146;1;1145;0 +WireConnection;224;0;223;0 +WireConnection;1149;0;1150;3 +WireConnection;1149;1;59;4 +WireConnection;1150;0;1148;0 +WireConnection;1147;0;1149;0 +WireConnection;0;0;378;0 +WireConnection;0;2;793;0 +WireConnection;0;13;169;0 +WireConnection;0;11;486;0 +WireConnection;521;0;520;0 +WireConnection;158;0;165;0 +WireConnection;1165;0;162;0 +WireConnection;1168;0;848;0 +WireConnection;1168;1;1169;0 +WireConnection;850;0;1168;0 +WireConnection;848;0;847;0 +WireConnection;851;0;850;0 +WireConnection;1170;0;1172;0 +WireConnection;1170;1;1175;0 +WireConnection;1172;0;1151;0 +WireConnection;1049;0;1141;93 +WireConnection;1152;1;1154;0 +WireConnection;1152;0;1170;0 +WireConnection;1175;0;1179;0 +WireConnection;1175;1;1174;0 +WireConnection;1171;0;1162;0 +WireConnection;1179;0;1171;0 +WireConnection;1179;1;1177;0 +WireConnection;1155;0;1154;0 +WireConnection;486;0;792;0 +WireConnection;486;1;1060;0 +WireConnection;1188;229;789;0 +WireConnection;1188;42;1074;244 +ASEEND*/ +//CHKSM=4F18F5A1B88446F6FCF3D8D96340BDF19820A66D \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque Outline.shader.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque Outline.shader.meta new file mode 100644 index 0000000..0a293f6 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque Outline.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 7e370cc5be83ec84b85a4feb05a294f1 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque.shader b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque.shader new file mode 100644 index 0000000..fd80caa --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque.shader @@ -0,0 +1,3790 @@ +// Made with Amplify Shader Editor v1.9.1.5 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "Furality/Sylva Shader/Sylva Opaque" +{ + Properties + { + _MainTex("Main Tex", 2D) = "white" {} + [HDR]_OutlineGlowTint("OutlineGlowTint", Color) = (1,1,1,0) + _Color("Color", Color) = (1,1,1,1) + _EffectMask("Effect Mask", 2D) = "white" {} + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_OutlineGlowZone("OutlineGlowZone", Int) = 0 + _EmissionMap("EmissionMap", 2D) = "white" {} + [HDR]_EmissionColor("Emission Color", Color) = (0,0,0,0) + [Enum(None,0,R,1,G,2,B,3,A,4)]_EmissionMaskingChannel("Emission Masking Channel", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_OutlineGlowMode("OutlineGlowMode", Int) = 0 + [ToggleUI]_EmissionMaskPan("Emission Mask Pan", Float) = 0 + _EmissionMaskPanSpeed("Emission Mask Pan Speed", Vector) = (1,1,0,0) + [ToggleUI]_EmissionPan("Emission Pan", Float) = 0 + [Enum(Multiply,0,Additive,1)]_OutlineGlowBlendMode("OutlineGlowBlendMode", Int) = 0 + _EmissionPanSpeed("Emission Pan Speed", Vector) = (1,1,0,0) + [Normal][SingleLineTexture]_BumpMap("Normal", 2D) = "bump" {} + _OutlineGlowMinBrightness("OutlineGlowMinBrightness", Range( 0 , 1)) = 0 + _BumpScale("Normal Scale", Range( 0 , 1)) = 1 + _OutlineGlowPulseDir("OutlineGlowPulseDir", Float) = 0 + [SingleLineTexture]_MetallicGlossMap("Metallic", 2D) = "black" {} + _Metallic("Metallic", Range( 0 , 1)) = 0 + _OutlineGlowPulseScale("OutlineGlowPulseScale", Float) = 127 + _Glossiness("Smoothness", Range( 0 , 1)) = 0.5 + _GlossMapScale("GlossMapScale", Range( 0 , 1)) = 1 + _OutlineGlowPulseOffset("OutlineGlowPulseOffset", Float) = 0 + [SingleLineTexture]_OcclusionMap("OcclusionMap", 2D) = "white" {} + _OcclusionStrength("Occlusion Strength", Range( 0 , 1)) = 1 + _OutlineGlowRadialCenter("OutlineGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [ToggleUI]_EnableSpecularMap("Enable Specular Map", Float) = 0 + [HDR]_OutlineReactiveTint("OutlineReactiveTint", Color) = (1,1,1,0) + [SingleLineTexture]_SpecGlossMap("Specular", 2D) = "white" {} + _SpecColor("Specular Color", Color) = (1,1,1,0) + [HDR]_RimlightColor("Rimlight Color", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineReactiveBand("OutlineReactiveBand", Int) = 10 + _OutlineWidth("Outline Width", Range( 0 , 1000)) = 1 + _MaxOutlineWidth("Max Outline Width", Range( 0 , 1000)) = 850 + _ViewFudge("ViewFudge", Float) = 0 + _OutlineReactiveDelay("OutlineReactiveDelay", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_OutlineMaskingChannel("Outline Masking Channel", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_OutlineReactiveMode("OutlineReactiveMode", Int) = 0 + _OutlineColor("Outline Color", Color) = (0,0,0,1) + _DirectionalMap("Directional Map", 2D) = "white" {} + [HDR]_EmissionGlowTint("EmissionGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_EmissionGlowZone("EmissionGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_EmissionGlowMode("EmissionGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_EmissionGlowBlendMode("EmissionGlowBlendMode", Int) = 0 + _EmissionGlowMinBrightness("EmissionGlowMinBrightness", Range( 0 , 1)) = 0 + _EmissionGlowPulseDir("EmissionGlowPulseDir", Float) = 0 + _EmissionGlowPulseScale("EmissionGlowPulseScale", Float) = 127 + _EmissionGlowPulseOffset("EmissionGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionGlowAnimationBand("EmissionGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_EmissionGlowAnimationMode("EmissionGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_EmissionGlowAnimationSpeed("EmissionGlowAnimationSpeed", Int) = 0 + _EmissionGlowAnimationStrength("EmissionGlowAnimationStrength", Float) = 1 + _EmissionGlowRadialCenter("EmissionGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_EmissionReactiveTint("EmissionReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionReactiveBand("EmissionReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_EmissionReactiveMode("EmissionReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_EmissionReactiveBlendMode("EmissionReactiveBlendMode", Int) = 0 + _EmissionReactiveMinBrightness("EmissionReactiveMinBrightness", Range( 0 , 1)) = 0 + _EmissionReactiveGlobalSmoothing("EmissionReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _EmissionReactivePulseDir("EmissionReactivePulseDir", Float) = 0 + _EmissionReactivePulseScale("EmissionReactivePulseScale", Float) = 127 + _EmissionReactivePulseOffset("EmissionReactivePulseOffset", Float) = 0 + _EmissionReactiveRadialCenter("EmissionReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowEmissGlow("_ShowEmissGlow", Float) = 0 + _ShowEmissAL("_ShowEmissAL", Float) = 0 + _GlowMask("GlowMask", 2D) = "black" {} + [HDR]_RedChGlowTint("RedChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_RedChGlowZone("RedChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_RedChGlowMode("RedChGlowMode", Int) = 0 + _RedChGlowMinBrightness("RedChGlowMinBrightness", Range( 0 , 1)) = 0 + _RedChGlowPulseDir("RedChGlowPulseDir", Float) = 0 + _RedChGlowPulseScale("RedChGlowPulseScale", Float) = 127 + _RedChGlowPulseOffset("RedChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChGlowAnimationBand("RedChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RedChGlowAnimationMode("RedChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RedChGlowAnimationSpeed("RedChGlowAnimationSpeed", Int) = 0 + _RedChGlowAnimationStrength("RedChGlowAnimationStrength", Float) = 1 + _RedChGlowRadialCenter("RedChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_RedChReactiveTint("RedChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChReactiveBand("RedChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_RedChReactiveMode("RedChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_RedChReactiveBlendMode("RedChReactiveBlendMode", Int) = 0 + _RedChReactiveMinBrightness("RedChReactiveMinBrightness", Range( 0 , 1)) = 0 + _RedChReactiveGlobalSmoothing("RedChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _RedChReactivePulseDir("RedChReactivePulseDir", Float) = 0 + _RedChReactivePulseScale("RedChReactivePulseScale", Float) = 127 + _RedChReactivePulseOffset("RedChReactivePulseOffset", Float) = 0 + _RedChReactiveRadialCenter("RedChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowRedGlow("_ShowRedGlow", Float) = 0 + _ShowRedAL("_ShowRedAL", Float) = 0 + [ToggleUI]_EnableRedChannel("_EnableRedChannel", Float) = 0 + [HideInInspector] _texcoord( "", 2D ) = "white" {} + [HDR]_GreenChGlowTint("GreenChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_GreenChGlowZone("GreenChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_GreenChGlowMode("GreenChGlowMode", Int) = 0 + _GreenChReactiveMinBrightness("GreenChReactiveMinBrightness", Range( 0 , 1)) = 0 + _GreenChGlowPulseDir("GreenChGlowPulseDir", Float) = 0 + _GreenChGlowPulseScale("GreenChGlowPulseScale", Float) = 127 + _GreenChGlowPulseOffset("GreenChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChGlowAnimationBand("GreenChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_GreenChGlowAnimationMode("GreenChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_GreenChGlowAnimationSpeed("GreenChGlowAnimationSpeed", Int) = 0 + _GreenChGlowAnimationStrength("GreenChGlowAnimationStrength", Float) = 1 + _GreenChGlowRadialCenter("GreenChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_GreenChReactiveTint("GreenChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChReactiveBand("GreenChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_GreenChReactiveMode("GreenChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_GreenChReactiveBlendMode("GreenChReactiveBlendMode", Int) = 0 + _GreenChGlowMinBrightness("GreenChGlowMinBrightness", Range( 0 , 1)) = 0 + _GreenChReactiveGlobalSmoothing("GreenChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _GreenChReactivePulseDir("GreenChReactivePulseDir", Float) = 0 + _GreenChReactivePulseScale("GreenChReactivePulseScale", Float) = 127 + _GreenChReactivePulseOffset("GreenChReactivePulseOffset", Float) = 0 + _GreenChReactiveRadialCenter("GreenChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowGreenGlow("_ShowGreenGlow", Float) = 0 + _ShowGreenAL("_ShowGreenAL", Float) = 0 + [ToggleUI]_EnableGreenChannel("_EnableGreenChannel", Float) = 0 + [HDR]_BlueChGlowTint("BlueChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_BlueChGlowZone("BlueChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_BlueChGlowMode("BlueChGlowMode", Int) = 0 + _BlueChGlowMinBrightness("BlueChGlowMinBrightness", Range( 0 , 1)) = 0 + _BlueChGlowPulseDir("BlueChGlowPulseDir", Float) = 0 + _BlueChGlowPulseScale("BlueChGlowPulseScale", Float) = 127 + _BlueChGlowPulseOffset("BlueChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChGlowAnimationBand("BlueChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_BlueChGlowAnimationMode("BlueChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_BlueChGlowAnimationSpeed("BlueChGlowAnimationSpeed", Int) = 0 + _BlueChGlowAnimationStrength("BlueChGlowAnimationStrength", Float) = 1 + _BlueChGlowRadialCenter("BlueChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_BlueChReactiveTint("BlueChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChReactiveBand("BlueChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_BlueChReactiveMode("BlueChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_BlueChReactiveBlendMode("BlueChReactiveBlendMode", Int) = 0 + _BlueChReactiveMinBrightness("BlueChReactiveMinBrightness", Range( 0 , 1)) = 0 + _BlueChReactiveGlobalSmoothing("BlueChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _BlueChReactivePulseDir("BlueChReactivePulseDir", Float) = 0 + _BlueChReactivePulseScale("BlueChReactivePulseScale", Float) = 127 + _BlueChReactivePulseOffset("BlueChReactivePulseOffset", Float) = 0 + _BlueChReactiveRadialCenter("BlueChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowBlueGlow("_ShowBlueGlow", Float) = 0 + _ShowBlueAL("_ShowBlueAL", Float) = 0 + [ToggleUI]_EnableBlueChannel("_EnableBlueChannel", Float) = 0 + [HDR]_AlphaChGlowTint("AlphaChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_AlphaChGlowZone("AlphaChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_AlphaChGlowMode("AlphaChGlowMode", Int) = 0 + _AlphaChGlowMinBrightness("AlphaChGlowMinBrightness", Range( 0 , 1)) = 0 + _AlphaChGlowPulseDir("AlphaChGlowPulseDir", Float) = 0 + _AlphaChGlowPulseScale("AlphaChGlowPulseScale", Float) = 127 + _AlphaChGlowPulseOffset("AlphaChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChGlowAnimationBand("AlphaChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_AlphaChGlowAnimationMode("AlphaChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_AlphaChGlowAnimationSpeed("AlphaChGlowAnimationSpeed", Int) = 0 + _AlphaChGlowAnimationStrength("AlphaChGlowAnimationStrength", Float) = 1 + _AlphaChGlowRadialCenter("AlphaChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_AlphaChReactiveTint("AlphaChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChReactiveBand("AlphaChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_AlphaChReactiveMode("AlphaChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_AlphaChReactiveBlendMode("AlphaChReactiveBlendMode", Int) = 0 + _AlphaChReactiveMinBrightness("AlphaChReactiveMinBrightness", Range( 0 , 1)) = 0 + _AlphaChReactiveGlobalSmoothing("AlphaChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _AlphaChReactivePulseDir("AlphaChReactivePulseDir", Float) = 0 + _AlphaChReactivePulseScale("AlphaChReactivePulseScale", Float) = 127 + _AlphaChReactivePulseOffset("AlphaChReactivePulseOffset", Float) = 0 + _AlphaChReactiveRadialCenter("AlphaChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowAlphaGlow("_ShowAlphaGlow", Float) = 0 + _ShowAlphaAL("_ShowAlphaAL", Float) = 0 + [ToggleUI]_EnableAlphaChannel("_EnableAlphaChannel", Float) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_OutlineReactiveBlendMode("OutlineReactiveBlendMode", Int) = 0 + _OutlineReactiveMinBrightness("OutlineReactiveMinBrightness", Range( 0 , 1)) = 0 + _OutlineReactiveGlobalSmoothing("OutlineReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _OutlineReactivePulseDir("OutlineReactivePulseDir", Float) = 0 + _OutlineReactivePulseScale("OutlineReactivePulseScale", Float) = 127 + _OutlineReactivePulseOffset("OutlineReactivePulseOffset", Float) = 0 + _OutlineReactiveRadialCenter("OutlineReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineGlowAnimationBand("OutlineGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_OutlineGlowAnimationMode("OutlineGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_OutlineGlowAnimationSpeed("OutlineGlowAnimationSpeed", Int) = 0 + _OutlineGlowAnimationStrength("OutlineGlowAnimationStrength", Float) = 1 + _ShowOutlineGlow("_ShowOutlineGlow", Float) = 0 + _ShowOutlineAL("_ShowOutlineAL", Float) = 0 + _BlendModeIndex("_BlendModeIndex", Float) = 0 + _BlendOPsrc("_BlendOPsrc", Float) = 5 + _BlendOPIndex("_BlendOPIndex", Float) = 0 + _BlendOPdst("_BlendOPdst", Float) = 10 + [HideInInspector]_ShowEffects("ShowEffects", Float) = 0 + [HideInInspector]_ShowGlow("ShowGlow", Float) = 0 + [HideInInspector]_ShowOutline("ShowOutline", Float) = 0 + [HideInInspector]_ShowOutline2("ShowOutline2", Float) = 0 + [HideInInspector]_ShowMain("ShowMain", Float) = 0 + [Toggle(_EMISSION)] _EnableEmission("_Enable Emission", Float) = 0 + [Enum(Iridescent Colors,0,Emission Multiply,1,Rainbow,2,Texture HueSelect,3,Holographic,4,Texture HueShift,5)]_IridescentEmissionMode("Iridescent Emission Mode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_IridescentMaskingChannel("Iridescent Masking Channel", Int) = 0 + _IridescentEmissionColor1("Iridescent Emission Color 1", Color) = (1,0,0,0) + _IridescentEmissionColor2("Iridescent Emission Color 2", Color) = (0,1,0,0) + _IridescentEmissionColor3("Iridescent Emission Color 3", Color) = (0,0,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_IridescentALAnimationBand("IridescentALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_IridescentALAnimationMode("IridescentALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_IridescentALAnimationSpeed("IridescentALAnimationSpeed", Int) = 0 + _IridescentALAnimationStrength("IridescentALAnimationStrength", Float) = 1 + _ShowIridescence("_ShowIridescence", Float) = 0 + _IridescentIntensity("IridescentIntensity", Range( 0 , 10)) = 1 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword0("Keyword 0", Float) = 0 + [Enum(Facing,0,Reflection,1,Light Direction,2)]_IridescentMode2("Iridescent Mode 2", Int) = 0 + _IridescentScale("IridescentScale", Float) = 1 + _IridescentOffset("IridescentOffset", Float) = 0 + [Enum(Global,0,Specular,1,Rimlight,2,Both,3)]_IridescenceLightMode("Iridescence Light Mode", Int) = 0 + [ToggleUI]_Enableiridescence("_Enableiridescence", Float) = 0 + [Enum(Default,0,Specular,1,Rimlight,2,SpecRim,3,All,4)]_SparkleMode("Sparkle Mode", Int) = 0 + [Enum(Circle,0,Square,1,Star,2,Heart,3)]_SparkleShape("Sparkle Shape", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_SparkleMaskingChannel("Sparkle Masking Channel", Int) = 0 + [HDR]_SparkleColor("Sparkle Color", Color) = (1,1,1,0) + _SparkleSize("Sparkle Size", Range( 0 , 0.75)) = 0.5 + _SparkleScale("Sparkle Scale", Float) = 1 + _SparkleSpeed("Sparkle Speed", Float) = 1 + _SparkleSeed("Sparkle Seed", Float) = 20 + [HDR]_SparkleGlowTint("SparkleGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_SparkleGlowZone("SparkleGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_SparkleGlowMode("SparkleGlowMode", Int) = 0 + _SparkleGlowMinBrightness("SparkleGlowMinBrightness", Range( 0 , 1)) = 0 + _SparkleGlowPulseDir("SparkleGlowPulseDir", Float) = 0 + _SparkleGlowPulseScale("SparkleGlowPulseScale", Float) = 127 + _SparkleGlowPulseOffset("SparkleGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleGlowAnimationBand("SparkleGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_SparkleGlowAnimationMode("SparkleGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_SparkleGlowAnimationSpeed("SparkleGlowAnimationSpeed", Int) = 0 + _SparkleGlowAnimationStrength("SparkleGlowAnimationStrength", Float) = 1 + _SparkleGlowRadialCenter("SparkleGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_SparkleReactiveTint("SparkleReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleReactiveBand("SparkleReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_SparkleReactiveMode("SparkleReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_SparkleReactiveBlendMode("SparkleReactiveBlendMode", Int) = 0 + _SparkleReactiveMinBrightness("SparkleReactiveMinBrightness", Range( 0 , 1)) = 0 + _SparkleReactiveGlobalSmoothing("SparkleReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _SparkleReactivePulseDir("SparkleReactivePulseDir", Float) = 0 + _SparkleReactivePulseScale("SparkleReactivePulseScale", Float) = 127 + _SparkleReactivePulseOffset("SparkleReactivePulseOffset", Float) = 0 + _SparkleReactiveRadialCenter("SparkleReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowSparkleGlow("_ShowSparkleGlow", Float) = 0 + _ShowSparkleAL("_ShowSparkleAL", Float) = 0 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword1("Keyword 0", Float) = 0 + [Enum(Multiply,0,Additive,1)]_SparkleBlendMode("Sparkle Blend Mode", Int) = 0 + _ShowSparkles("_ShowSparkles", Float) = 0 + [Toggle(_SPARKLES)] _EnableSparkles("Enable Sparkles", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_RainbowMaskingChannel("Rainbow Masking Channel", Int) = 0 + [Enum(Default,0,Radial,1,Spiral,2,Direction Map,3,Reverse Direction,4)]_RainbowUVMode("Rainbow UV Mode", Int) = 0 + _RainbowHue("Rainbow Hue", Range( 0 , 1)) = 1 + _RainbowSaturation("Rainbow Saturation", Range( 0 , 1)) = 1 + _RainbowValue("Rainbow Value", Range( 0 , 1)) = 1 + _RainbowHueRange("Rainbow Hue Range", Range( 0 , 1)) = 1 + _RainbowRotation("Rainbow Rotation", Float) = 0 + _RainbowScale("Rainbow Scale", Float) = 1 + _RainbowSpiralCurve("Rainbow Spiral Curve", Float) = 1 + _RainbowRadialCenter("Rainbow Radial Center", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RainbowALAnimationBand("RainbowALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RainbowALAnimationMode("RainbowALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RainbowALAnimationSpeed("RainbowALAnimationSpeed", Int) = 0 + _RainbowALAnimationStrength("RainbowALAnimationStrength", Float) = 1 + _ShowRainbow("_ShowRainbow", Float) = 0 + [ToggleUI]_EnableScrollingRainbow("_EnableScrollingRainbow", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)]_Culling("Culling", Float) = 0 + _MaskClipValue("Mask Clip Value", Float) = 0.5 + [HideInInspector] __dirty( "", Int ) = 1 + } + + SubShader + { + Tags{ "RenderType" = "Opaque" "Queue" = "Geometry+0" "IgnoreProjector" = "True" "IsEmissive" = "true" } + Cull [_Culling] + CGINCLUDE + #include "UnityPBSLighting.cginc" + #include "UnityShaderVariables.cginc" + #include "UnityStandardUtils.cginc" + #include "UnityCG.cginc" + #include "Lighting.cginc" + #pragma target 4.5 + #pragma shader_feature_local _EMISSION + #pragma shader_feature_local _SPARKLES + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + #ifdef UNITY_PASS_SHADOWCASTER + #undef INTERNAL_DATA + #undef WorldReflectionVector + #undef WorldNormalVector + #define INTERNAL_DATA half3 internalSurfaceTtoW0; half3 internalSurfaceTtoW1; half3 internalSurfaceTtoW2; + #define WorldReflectionVector(data,normal) reflect (data.worldRefl, half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal))) + #define WorldNormalVector(data,normal) half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal)) + #endif + struct Input + { + float2 uv_texcoord; + float3 worldRefl; + INTERNAL_DATA + float3 worldPos; + float3 worldNormal; + }; + + struct SurfaceOutputCustomLightingCustom + { + half3 Albedo; + half3 Normal; + half3 Emission; + half Metallic; + half Smoothness; + half Occlusion; + half Alpha; + Input SurfInput; + UnityGIInput GIData; + }; + + uniform float _Culling; + uniform float _ShowMain; + uniform float _ShowGlow; + uniform float _ShowEffects; + uniform float _ShowOutline; + uniform float _ShowOutline2; + uniform float _ShowIridescence; + uniform float _ShowSparkleGlow; + uniform float _ShowSparkleAL; + uniform float _ShowSparkles; + uniform float _ShowRainbow; + uniform float _BlendOPIndex; + uniform float _BlendOPsrc; + uniform float _BlendOPdst; + uniform float _MaskClipValue; + uniform int _OutlineMaskingChannel; + uniform float _ViewFudge; + uniform float _OutlineWidth; + uniform float _MaxOutlineWidth; + uniform float4 _OutlineColor; + uniform float _ShowEmissGlow; + uniform float _ShowEmissAL; + uniform float _ShowRedGlow; + uniform float _ShowRedAL; + uniform float _EnableRedChannel; + uniform float _ShowGreenGlow; + uniform float _ShowGreenAL; + uniform float _ShowBlueGlow; + uniform float _ShowBlueAL; + uniform float _ShowAlphaGlow; + uniform float _ShowAlphaAL; + uniform float _BlendModeIndex; + uniform int _OutlineGlowBlendMode; + uniform float _ShowOutlineGlow; + uniform float _ShowOutlineAL; + uniform float _OutlineGlowMinBrightness; + uniform float4 _OutlineGlowTint; + uniform int _OutlineReactiveBlendMode; + uniform float _OutlineReactivePulseOffset; + uniform float _OutlineReactiveGlobalSmoothing; + uniform float _OutlineReactiveMinBrightness; + uniform float4 _OutlineReactiveTint; + uniform int _OutlineReactiveBand; + uniform int _OutlineReactiveDelay; + uniform int _OutlineReactiveMode; + uniform float _OutlineReactivePulseScale; + uniform float _OutlineReactivePulseDir; + uniform int _OutlineGlowZone; + uniform float2 _OutlineReactiveRadialCenter; + uniform float2 _OutlineGlowRadialCenter; + uniform int _OutlineGlowMode; + uniform float _OutlineGlowPulseDir; + uniform float _OutlineGlowPulseOffset; + uniform float _OutlineGlowPulseScale; + uniform int _OutlineGlowAnimationSpeed; + uniform int _OutlineGlowAnimationBand; + uniform int _OutlineGlowAnimationMode; + uniform float _OutlineGlowAnimationStrength; + uniform sampler2D _MainTex; + uniform float4 _MainTex_ST; + uniform int _RedChGlowZone; + uniform float _RedChGlowPulseDir; + uniform float _RedChGlowPulseScale; + uniform float _RedChGlowPulseOffset; + uniform float _RedChGlowAnimationStrength; + uniform int _RedChGlowAnimationBand; + uniform int _RedChGlowAnimationMode; + uniform int _RedChGlowAnimationSpeed; + uniform float2 _RedChGlowRadialCenter; + uniform int _RedChGlowMode; + uniform sampler2D _DirectionalMap; + uniform float4 _DirectionalMap_ST; + uniform float _RedChGlowMinBrightness; + uniform float4 _RedChGlowTint; + uniform int _RedChReactiveBand; + uniform float _RedChReactivePulseDir; + uniform float _RedChReactivePulseScale; + uniform float _RedChReactivePulseOffset; + uniform float2 _RedChReactiveRadialCenter; + uniform int _RedChReactiveMode; + uniform float _RedChReactiveGlobalSmoothing; + uniform float _RedChReactiveMinBrightness; + uniform float4 _RedChReactiveTint; + uniform int _RedChReactiveBlendMode; + uniform sampler2D _GlowMask; + uniform float4 _GlowMask_ST; + uniform int _GreenChGlowZone; + uniform float _GreenChGlowPulseDir; + uniform float _GreenChGlowPulseScale; + uniform float _GreenChGlowPulseOffset; + uniform float _GreenChGlowAnimationStrength; + uniform int _GreenChGlowAnimationBand; + uniform int _GreenChGlowAnimationMode; + uniform int _GreenChGlowAnimationSpeed; + uniform float2 _GreenChGlowRadialCenter; + uniform int _GreenChGlowMode; + uniform float _GreenChGlowMinBrightness; + uniform float4 _GreenChGlowTint; + uniform int _GreenChReactiveBand; + uniform float _GreenChReactivePulseDir; + uniform float _GreenChReactivePulseScale; + uniform float _GreenChReactivePulseOffset; + uniform float2 _GreenChReactiveRadialCenter; + uniform int _GreenChReactiveMode; + uniform float _GreenChReactiveGlobalSmoothing; + uniform float _GreenChReactiveMinBrightness; + uniform float4 _GreenChReactiveTint; + uniform int _GreenChReactiveBlendMode; + uniform float _EnableGreenChannel; + uniform int _BlueChGlowZone; + uniform float _BlueChGlowPulseDir; + uniform float _BlueChGlowPulseScale; + uniform float _BlueChGlowPulseOffset; + uniform float _BlueChGlowAnimationStrength; + uniform int _BlueChGlowAnimationBand; + uniform int _BlueChGlowAnimationMode; + uniform int _BlueChGlowAnimationSpeed; + uniform float2 _BlueChGlowRadialCenter; + uniform int _BlueChGlowMode; + uniform float _BlueChGlowMinBrightness; + uniform float4 _BlueChGlowTint; + uniform int _BlueChReactiveBand; + uniform float _BlueChReactivePulseDir; + uniform float _BlueChReactivePulseScale; + uniform float _BlueChReactivePulseOffset; + uniform float2 _BlueChReactiveRadialCenter; + uniform int _BlueChReactiveMode; + uniform float _BlueChReactiveGlobalSmoothing; + uniform float _BlueChReactiveMinBrightness; + uniform float4 _BlueChReactiveTint; + uniform int _BlueChReactiveBlendMode; + uniform float _EnableBlueChannel; + uniform int _AlphaChGlowZone; + uniform float _AlphaChGlowPulseDir; + uniform float _AlphaChGlowPulseScale; + uniform float _AlphaChGlowPulseOffset; + uniform float _AlphaChGlowAnimationStrength; + uniform int _AlphaChGlowAnimationBand; + uniform int _AlphaChGlowAnimationMode; + uniform int _AlphaChGlowAnimationSpeed; + uniform float2 _AlphaChGlowRadialCenter; + uniform int _AlphaChGlowMode; + uniform float _AlphaChGlowMinBrightness; + uniform float4 _AlphaChGlowTint; + uniform int _AlphaChReactiveBand; + uniform float _AlphaChReactivePulseDir; + uniform float _AlphaChReactivePulseScale; + uniform float _AlphaChReactivePulseOffset; + uniform float2 _AlphaChReactiveRadialCenter; + uniform int _AlphaChReactiveMode; + uniform float _AlphaChReactiveGlobalSmoothing; + uniform float _AlphaChReactiveMinBrightness; + uniform float4 _AlphaChReactiveTint; + uniform int _AlphaChReactiveBlendMode; + uniform float _EnableAlphaChannel; + uniform float4 _EmissionColor; + uniform sampler2D _EmissionMap; + uniform float4 _EmissionMap_ST; + uniform float2 _EmissionPanSpeed; + uniform float _EmissionPan; + uniform sampler2D _EffectMask; + uniform float4 _EffectMask_ST; + uniform float2 _EmissionMaskPanSpeed; + uniform float _EmissionMaskPan; + uniform int _EmissionMaskingChannel; + uniform int _EmissionGlowZone; + uniform float _EmissionGlowPulseDir; + uniform float _EmissionGlowPulseScale; + uniform float _EmissionGlowPulseOffset; + uniform float _EmissionGlowAnimationStrength; + uniform int _EmissionGlowAnimationBand; + uniform int _EmissionGlowAnimationMode; + uniform int _EmissionGlowAnimationSpeed; + uniform float2 _EmissionGlowRadialCenter; + uniform int _EmissionGlowMode; + uniform float _EmissionGlowMinBrightness; + uniform float4 _EmissionGlowTint; + uniform int _EmissionReactiveBand; + uniform float _EmissionReactivePulseDir; + uniform float _EmissionReactivePulseScale; + uniform float _EmissionReactivePulseOffset; + uniform float2 _EmissionReactiveRadialCenter; + uniform int _EmissionReactiveMode; + uniform float _EmissionReactiveGlobalSmoothing; + uniform float _EmissionReactiveMinBrightness; + uniform float4 _EmissionReactiveTint; + uniform int _EmissionReactiveBlendMode; + uniform int _EmissionGlowBlendMode; + uniform int _IridescentMaskingChannel; + uniform float4 _IridescentEmissionColor1; + uniform float4 _IridescentEmissionColor2; + uniform float _IridescentALAnimationStrength; + uniform int _IridescentALAnimationBand; + uniform int _IridescentALAnimationMode; + uniform int _IridescentALAnimationSpeed; + uniform sampler2D _BumpMap; + uniform float _BumpScale; + uniform int _IridescentMode2; + uniform float _IridescentScale; + uniform float _IridescentOffset; + uniform float4 _IridescentEmissionColor3; + uniform float _IridescentIntensity; + uniform int _IridescentEmissionMode; + uniform float _Glossiness; + uniform sampler2D _MetallicGlossMap; + uniform float _GlossMapScale; + float4 _MetallicGlossMap_TexelSize; + uniform int _IridescenceLightMode; + uniform float _Enableiridescence; + uniform sampler2D _OcclusionMap; + uniform float _OcclusionStrength; + uniform sampler2D _SpecGlossMap; + uniform float4 _Color; + uniform float _Metallic; + uniform float _EnableSpecularMap; + uniform float4 _SparkleColor; + uniform float _SparkleScale; + uniform float _SparkleSize; + uniform float _SparkleSeed; + uniform float _SparkleSpeed; + uniform int _SparkleShape; + uniform int _SparkleMaskingChannel; + uniform float4 _SparkleGlowTint; + uniform int _SparkleGlowZone; + uniform float _SparkleGlowPulseDir; + uniform float _SparkleGlowPulseScale; + uniform float _SparkleGlowPulseOffset; + uniform float _SparkleGlowAnimationStrength; + uniform int _SparkleGlowAnimationBand; + uniform int _SparkleGlowAnimationMode; + uniform int _SparkleGlowAnimationSpeed; + uniform float2 _SparkleGlowRadialCenter; + uniform int _SparkleGlowMode; + uniform float _SparkleGlowMinBrightness; + uniform int _SparkleReactiveBand; + uniform float _SparkleReactivePulseDir; + uniform float _SparkleReactivePulseScale; + uniform float _SparkleReactivePulseOffset; + uniform float2 _SparkleReactiveRadialCenter; + uniform int _SparkleReactiveMode; + uniform float _SparkleReactiveGlobalSmoothing; + uniform float _SparkleReactiveMinBrightness; + uniform float4 _SparkleReactiveTint; + uniform int _SparkleReactiveBlendMode; + uniform int _SparkleBlendMode; + uniform int _SparkleMode; + uniform float _RainbowALAnimationStrength; + uniform int _RainbowALAnimationBand; + uniform int _RainbowALAnimationMode; + uniform int _RainbowALAnimationSpeed; + uniform float _RainbowRotation; + uniform float2 _RainbowRadialCenter; + uniform float _RainbowSpiralCurve; + uniform int _RainbowUVMode; + uniform float _RainbowScale; + uniform float _RainbowHueRange; + uniform float _RainbowHue; + uniform float _RainbowSaturation; + uniform float _RainbowValue; + uniform int _RainbowMaskingChannel; + uniform float _EnableScrollingRainbow; + uniform float4 _RimlightColor; + + + float SchlickGGX( float k, float NdotL, float NdotV ) + { + float L = (NdotL) / (NdotL * (1- k) + k); + float V = (NdotV) / (NdotV * (1-k) +k); + return L*V; + } + + + float3 BRDF( float3 N, float G, float F, float NdotL, float NdotV ) + { + return (N*G*F) / (4 * (NdotL*NdotV)); + } + + + float MixFunc( float i, float j, float x ) + { + return j*x+i*(1-x); + } + + + float SchlickFresnel( float i ) + { + float x = saturate(1-i); + float x2 = x*x; + return x2*x2*x; + } + + + float sdStar5( float2 p, float r, float rf ) + { + const float2 k1 = float2(0.809016994375, -0.587785252292); + const float2 k2 = float2(-k1.x,k1.y); + p.x = abs(p.x); + p -= 2.0*max(dot(k1,p),0.0)*k1; + p -= 2.0*max(dot(k2,p),0.0)*k2; + p.x = abs(p.x); + p.y -= r; + float2 ba = rf*float2(-k1.y,k1.x) - float2(0,1); + float h = clamp( dot(p,ba)/dot(ba,ba), 0.0, r ); + return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y); + } + + + float dot2( float2 a ) + { + return dot(a,a); + } + + + float sdHeart( float2 p ) + { + p.x = abs(p.x); + if( p.y+p.x>1.0 ) + return sqrt(dot2(p-float2(0.25,0.75))) - sqrt(2.0)/4.0; + return sqrt(min(dot2(p-float2(0.00,1.00)), + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y); + } + + + float3 getThemeData( int Zone ) + { + float3 result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2)); + return result; + } + + + float geometricRoughness( float3 WorldNormal ) + { + float3 nDdx = ddx_fine(WorldNormal); + float3 nDdy = ddy_fine(WorldNormal); + return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 ); + } + + + inline int IsLumaActive11_g4937( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4936( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4939( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4943( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4938( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4942( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4940( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4941( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4931( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4930( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4933( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4935( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4945( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4953( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4952( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4955( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4959( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4954( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4958( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4956( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4957( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4947( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4946( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4949( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4951( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4961( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4969( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4968( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4971( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4975( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4970( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4974( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4972( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4973( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4963( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4962( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4965( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4967( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4977( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4985( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4984( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4987( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4991( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4986( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4990( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4988( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4989( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4979( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4978( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4981( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4983( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4993( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4926( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4925( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4928( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4920( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4927( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4924( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4922( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4923( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4915( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4917( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4919( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline float glslmod270_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4929( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4906( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4909( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + int LightExists577( ) + { + int lightEnv = int(any(_WorldSpaceLightPos0.xyz)); + if(lightEnv != 1){ + return 0; + } + return 1; + } + + + float3 HSVToRGB( float3 c ) + { + float4 K = float4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); + float3 p = abs( frac( c.xxx + K.xyz ) * 6.0 - K.www ); + return c.z * lerp( K.xxx, saturate( p - K.xxx ), c.y ); + } + + + inline float ggx( float nh, float roughness ) + { + return GGXTerm(nh, roughness); + } + + + float3 RGBToHSV(float3 c) + { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp( float4( c.bg, K.wz ), float4( c.gb, K.xy ), step( c.b, c.g ) ); + float4 q = lerp( float4( p.xyw, c.r ), float4( c.r, p.yzx ), step( p.x, c.r ) ); + float d = q.x - min( q.w, q.y ); + float e = 1.0e-10; + return float3( abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); + } + + float2 voronoihash2_g4880( float2 p ) + { + + p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) ); + return frac( sin( p ) *43758.5453); + } + + + float voronoi2_g4880( float2 v, float time, inout float2 id, inout float2 mr, float smoothness, inout float2 smoothId ) + { + float2 n = floor( v ); + float2 f = frac( v ); + float F1 = 8.0; + float F2 = 8.0; float2 mg = 0; + for ( int j = -1; j <= 1; j++ ) + { + for ( int i = -1; i <= 1; i++ ) + { + float2 g = float2( i, j ); + float2 o = voronoihash2_g4880( n + g ); + o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o; + float d = 0.5 * dot( r, r ); + if( d x0.y ) ? float2( 1.0, 0.0 ) : float2( 0.0, 1.0 ); + float4 x12 = x0.xyxy + C.xxzz; + x12.xy -= i1; + i = mod2D289( i ); + float3 p = permute( permute( i.y + float3( 0.0, i1.y, 1.0 ) ) + i.x + float3( 0.0, i1.x, 1.0 ) ); + float3 m = max( 0.5 - float3( dot( x0, x0 ), dot( x12.xy, x12.xy ), dot( x12.zw, x12.zw ) ), 0.0 ); + m = m * m; + m = m * m; + float3 x = 2.0 * frac( p * C.www ) - 1.0; + float3 h = abs( x ) - 0.5; + float3 ox = floor( x + 0.5 ); + float3 a0 = x - ox; + m *= 1.79284291400159 - 0.85373472095314 * ( a0 * a0 + h * h ); + float3 g; + g.x = a0.x * x0.x + h.x * x0.y; + g.yz = a0.yz * x12.xz + h.yz * x12.yw; + return 130.0 * dot( m, g ); + } + + + inline int IsLumaActive11_g4890( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4889( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4892( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4896( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4891( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4895( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4893( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4894( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4884( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4886( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4888( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4898( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float IfAudioLinkv2Exists1_g4882( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float F0138( float NdotL, float NdotV, float LdotH, float roughness ) + { + float FresnelLight = SchlickFresnel(NdotL); + float FresnelView = SchlickFresnel(NdotV); + float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness; + return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView); + } + + + inline float3 getProbes( float4 uvw ) + { + return ShadeSH9(uvw); + } + + + inline int AudioLinkDecodeDataAsUInt6_g4902( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4903( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline half4 LightingStandardCustomLighting( inout SurfaceOutputCustomLightingCustom s, half3 viewDir, UnityGI gi ) + { + UnityGIInput data = s.GIData; + Input i = s.SurfInput; + half4 c = 0; + #ifdef UNITY_PASS_FORWARDBASE + float ase_lightAtten = data.atten; + if( _LightColor0.a == 0) + ase_lightAtten = 0; + #else + float3 ase_lightAttenRGB = gi.light.color / ( ( _LightColor0.rgb ) + 0.000001 ); + float ase_lightAtten = max( max( ase_lightAttenRGB.r, ase_lightAttenRGB.g ), ase_lightAttenRGB.b ); + #endif + #if defined(HANDLE_SHADOWS_BLENDING_IN_GI) + half bakedAtten = UnitySampleBakedOcclusion(data.lightmapUV.xy, data.worldPos); + float zDist = dot(_WorldSpaceCameraPos - data.worldPos, UNITY_MATRIX_V[2].xyz); + float fadeDist = UnityComputeShadowFadeDistance(data.worldPos, zDist); + ase_lightAtten = UnityMixRealtimeAndBakedShadows(data.atten, bakedAtten, UnityComputeShadowFade(fadeDist)); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 indirectNormal151 = worldNorm31; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float Occlusion272 = pow( tex2D( _OcclusionMap, uv_MainTex ).g , _OcclusionStrength ); + Unity_GlossyEnvironmentData g151 = UnityGlossyEnvironmentSetup( Smoothness90, data.worldViewDir, indirectNormal151, float3(0,0,0)); + float3 indirectSpecular151 = UnityGI_IndirectSpecular( data, Occlusion272, indirectNormal151, g151 ); + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float temp_output_208_0 = ( 1.0 - ( Smoothness90 * Smoothness90 ) ); + float temp_output_200_0 = max( ( 1.0 - ( temp_output_208_0 * temp_output_208_0 * temp_output_208_0 ) ) , 0.1 ); + float fresnelNdotV161 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode161 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV161, 4.0 ) ); + float smoothstepResult480 = smoothstep( 0.0 , 0.35 , fresnelNode161); + float IndirectAlpha1165 = saturate( ( 0.01 + smoothstepResult480 ) ); + float4 temp_cast_240 = (IndirectAlpha1165).xxxx; + float4 SpecularTex394 = ( tex2D( _SpecGlossMap, uv_MainTex ) * _SpecColor ); + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float4 MainTex147_g4905 = MainTex224; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 temp_output_21_0_g4905 = Normal243; + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (ase_lightAtten*0.5 + 0.5) , ase_lightAtten , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float4 Colors149_g4905 = lerpResult32_g4905; + float3 hsvTorgb86_g4905 = RGBToHSV( Colors149_g4905.rgb ); + float3 hsvTorgb85_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb87_g4905 = HSVToRGB( float3(hsvTorgb86_g4905.x,hsvTorgb85_g4905.y,hsvTorgb85_g4905.z) ); + float Intensity132_g4905 = _IridescentIntensity; + float4 lerpResult205_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb87_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + int ModeTransferSat145_g4905 = temp_output_91_0_g4905; + float4 lerpResult92_g4905 = lerp( MainTex147_g4905 , ( lerpResult205_g4905 * max( Intensity132_g4905 , 1.0 ) ) , (float)ModeTransferSat145_g4905); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb99_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb100_g4905 = HSVToRGB( float3(( AnimatedDot130_g4905 + hsvTorgb99_g4905.x ),hsvTorgb99_g4905.y,hsvTorgb99_g4905.y) ); + float4 lerpResult199_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb100_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Holographic153_g4905 = ( lerpResult199_g4905 * max( Intensity132_g4905 , 1.0 ) ); + int ModeTransfer143_g4905 = temp_output_90_0_g4905; + int temp_output_97_0_g4905 = ( ModeTransfer143_g4905 - 1 ); + float4 lerpResult96_g4905 = lerp( lerpResult92_g4905 , Holographic153_g4905 , (float)saturate( temp_output_97_0_g4905 )); + float3 hsvTorgb124_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb126_g4905 = HSVToRGB( float3(( hsvTorgb124_g4905.x + AnimatedDot130_g4905 ),hsvTorgb124_g4905.y,hsvTorgb124_g4905.z) ); + float4 lerpResult203_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb126_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Hueshift152_g4905 = ( lerpResult203_g4905 * max( Intensity132_g4905 , 1.0 ) ); + float4 lerpResult127_g4905 = lerp( lerpResult96_g4905 , Hueshift152_g4905 , (float)saturate( ( temp_output_97_0_g4905 - 1 ) )); + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult227_g4905 = lerp( MainTex147_g4905 , lerpResult127_g4905 , temp_output_233_0_g4905); + float4 lerpResult236_g4905 = lerp( lerpResult127_g4905 , lerpResult227_g4905 , (float)temp_output_225_0_g4905); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + float EffectMask140_g4905 = temp_output_55_0_g4905; + float4 lerpResult95_g4905 = lerp( MainTex147_g4905 , lerpResult236_g4905 , EffectMask140_g4905); + float4 lerpResult248_g4905 = lerp( MainTex147_g4905 , lerpResult95_g4905 , _Enableiridescence); + float4 IridescentMainTex1049 = lerpResult248_g4905; + float4 temp_output_227_0 = ( _Color * IridescentMainTex1049 ); + float MetallticFromTex247 = tex2DNode246.r; + float metallic46 = ( _Metallic * MetallticFromTex247 ); + half3 specColor163 = (0).xxx; + half oneMinusReflectivity163 = 0; + half3 diffuseAndSpecularFromMetallic163 = DiffuseAndSpecularFromMetallic(temp_output_227_0.rgb,metallic46,specColor163,oneMinusReflectivity163); + float lerpResult401 = lerp( 1.0 , metallic46 , _EnableSpecularMap); + float4 lerpResult381 = lerp( SpecularTex394 , float4( specColor163 , 0.0 ) , lerpResult401); + float4 specColor44 = ( lerpResult381 * SmoothnessColorMult1144 ); + float4 temp_cast_264 = (1.0).xxxx; + float fresnelNdotV202 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode202 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV202, 5.0 ) ); + float smoothstepResult482 = smoothstep( 0.0 , 0.35 , fresnelNode202); + float4 lerpResult213 = lerp( specColor44 , temp_cast_264 , saturate( smoothstepResult482 )); + float4 lerpResult204 = lerp( temp_cast_240 , lerpResult213 , metallic46); + float4 IndirectSpecular158 = ( float4( indirectSpecular151 , 0.0 ) * lerpResult204 * ( Smoothness90 * Smoothness90 ) ); + float3 diffuse23 = diffuseAndSpecularFromMetallic163; + float Opacity1155 = 1.0; + float smoothstepResult436 = smoothstep( saturate( ( -0.4 + 0.48 ) ) , saturate( ( -0.4 + ( 1.0 - 0.48 ) ) ) , localggx413); + float temp_output_452_0 = ( smoothstepResult436 * Smoothness90 ); + float smoothstepResult469 = smoothstep( 0.8 , 1.0 , Smoothness90); + float ToonSpecular444 = ( temp_output_452_0 + ( smoothstepResult469 * 5.0 * temp_output_452_0 ) ); + float4 ColoredSpec987 = ( saturate( ( 1.2 * specColor44 ) ) * ToonSpecular444 ); + float3 temp_output_125_0_g4880 = ColoredSpec987.rgb; + float3 SpecularIN194_g4880 = temp_output_125_0_g4880; + float time2_g4880 = 0.0; + float2 voronoiSmoothId2_g4880 = 0; + float2 coords2_g4880 = i.uv_texcoord * _SparkleScale; + float2 id2_g4880 = 0; + float2 uv2_g4880 = 0; + float voroi2_g4880 = voronoi2_g4880( coords2_g4880, time2_g4880, id2_g4880, uv2_g4880, 0, voronoiSmoothId2_g4880 ); + float2 ID44_g4880 = id2_g4880; + float2 break71_g4880 = ( ID44_g4880 * float2( 360,360 ) ); + float cos68_g4880 = cos( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float sin68_g4880 = sin( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float2 rotator68_g4880 = mul( uv2_g4880 - float2( 0,0 ) , float2x2( cos68_g4880 , -sin68_g4880 , sin68_g4880 , cos68_g4880 )) + float2( 0,0 ); + float2 UV45_g4880 = rotator68_g4880; + float mulTime14_g4880 = _Time.y * _SparkleSpeed; + float simplePerlin2D37_g4880 = snoise( ( ( ID44_g4880 * _SparkleSeed ) + mulTime14_g4880 ) ); + simplePerlin2D37_g4880 = simplePerlin2D37_g4880*0.5 + 0.5; + float Noise50_g4880 = ( _SparkleSize * simplePerlin2D37_g4880 ); + float smoothstepResult31_g4880 = smoothstep( 0.2 , 0.1 , ( length( UV45_g4880 ) - (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )); + float Sphere52_g4880 = smoothstepResult31_g4880; + float2 temp_cast_268 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 temp_output_54_0_g4880 = ( abs( UV45_g4880 ) - temp_cast_268 ); + float2 temp_cast_269 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 break59_g4880 = temp_output_54_0_g4880; + float smoothstepResult62_g4880 = smoothstep( 0.01 , 0.0 , ( length( max( temp_output_54_0_g4880 , float2( 0,0 ) ) ) + min( max( break59_g4880.x , break59_g4880.y ) , 0.0 ) )); + float Square63_g4880 = smoothstepResult62_g4880; + float lerpResult111_g4880 = lerp( Sphere52_g4880 , Square63_g4880 , (float)saturate( _SparkleShape )); + float2 p73_g4880 = UV45_g4880; + float r73_g4880 = (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)); + float rf73_g4880 = 0.25; + float localsdStar573_g4880 = sdStar5( p73_g4880 , r73_g4880 , rf73_g4880 ); + float smoothstepResult79_g4880 = smoothstep( 0.01 , 0.0 , localsdStar573_g4880); + float Star80_g4880 = smoothstepResult79_g4880; + int temp_output_114_0_g4880 = ( _SparkleShape - 1 ); + float lerpResult112_g4880 = lerp( lerpResult111_g4880 , Star80_g4880 , (float)saturate( temp_output_114_0_g4880 )); + float temp_output_99_0_g4880 = (-0.25 + (Noise50_g4880 - 0.0) * (0.0 - -0.25) / (1.0 - 0.0)); + float2 p85_g4880 = ( UV45_g4880 * 2.15 ); + float localsdHeart85_g4880 = sdHeart( p85_g4880 ); + float smoothstepResult91_g4880 = smoothstep( ( temp_output_99_0_g4880 + 0.01 ) , temp_output_99_0_g4880 , ( localsdHeart85_g4880 / 2.15 )); + float Heart90_g4880 = smoothstepResult91_g4880; + float lerpResult113_g4880 = lerp( lerpResult112_g4880 , Heart90_g4880 , (float)saturate( ( temp_output_114_0_g4880 - 1 ) )); + float4 temp_output_2_0_g4871 = EffectMaskRGBA871; + float4 break120_g4880 = temp_output_2_0_g4871; + int temp_output_18_0_g4881 = _SparkleMaskingChannel; + float lerpResult1_g4881 = lerp( 1.0 , break120_g4880.r , (float)saturate( temp_output_18_0_g4881 )); + int temp_output_5_0_g4881 = ( temp_output_18_0_g4881 - 1 ); + float lerpResult12_g4881 = lerp( lerpResult1_g4881 , break120_g4880.g , (float)saturate( temp_output_5_0_g4881 )); + int temp_output_6_0_g4881 = ( temp_output_5_0_g4881 - 1 ); + float lerpResult10_g4881 = lerp( lerpResult12_g4881 , break120_g4880.b , (float)saturate( temp_output_6_0_g4881 )); + float lerpResult11_g4881 = lerp( lerpResult10_g4881 , break120_g4880.a , (float)saturate( ( temp_output_6_0_g4881 - 1 ) )); + float SparkleAlpha129_g4880 = ( lerpResult113_g4880 * lerpResult11_g4881 ); + float4 temp_cast_278 = (1.0).xxxx; + float4 temp_cast_280 = (1.0).xxxx; + float3 temp_cast_281 = (1.0).xxx; + int EmissionGlowZone47_g4883 = _SparkleGlowZone; + int clampResult8_g4889 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4889 = ( clampResult8_g4889 - 1 ); + int Zone16_g4889 = temp_output_3_0_g4889; + float3 localgetThemeData16_g4889 = getThemeData( Zone16_g4889 ); + int Band11_g4890 = 56; + int localIsLumaActive11_g4890 = IsLumaActive11_g4890( Band11_g4890 ); + int temp_output_14_0_g4889 = localIsLumaActive11_g4890; + int lerpResult15_g4889 = lerp( temp_output_3_0_g4889 , ( 63 - temp_output_3_0_g4889 ) , (float)temp_output_14_0_g4889); + int Band2_g4889 = lerpResult15_g4889; + int Delay2_g4889 = 0; + float3 localLumaGlowData2_g4889 = LumaGlowData2_g4889( Band2_g4889 , Delay2_g4889 ); + float3 lerpResult17_g4889 = lerp( ( localgetThemeData16_g4889 * localLumaGlowData2_g4889 ) , localLumaGlowData2_g4889 , (float)temp_output_14_0_g4889); + int temp_output_21_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float3 lerpResult20_g4883 = lerp( temp_cast_281 , lerpResult17_g4889 , (float)temp_output_21_0_g4883); + float3 temp_cast_285 = (1.0).xxx; + int clampResult8_g4891 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4891 = ( clampResult8_g4891 - 1 ); + int Zone15_g4891 = temp_output_3_0_g4891; + float3 localgetThemeData15_g4891 = getThemeData( Zone15_g4891 ); + int Band11_g4892 = 56; + int localIsLumaActive11_g4892 = IsLumaActive11_g4892( Band11_g4892 ); + int temp_output_13_0_g4891 = localIsLumaActive11_g4892; + int lerpResult14_g4891 = lerp( temp_output_3_0_g4891 , ( 63 - temp_output_3_0_g4891 ) , (float)temp_output_13_0_g4891); + int Band11_g4891 = lerpResult14_g4891; + float cos6_g4883 = cos( radians( _SparkleGlowPulseDir ) ); + float sin6_g4883 = sin( radians( _SparkleGlowPulseDir ) ); + float2 rotator6_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4883 , -sin6_g4883 , sin6_g4883 , cos6_g4883 )) + float2( 0.5,0.5 ); + int Band6_g4896 = _SparkleGlowAnimationBand; + int Mode6_g4896 = ( ( _SparkleGlowAnimationMode * 2 ) + _SparkleGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4896 = AudioLinkDecodeDataAsUInt6_g4896( Band6_g4896 , Mode6_g4896 ); + float localGetLocalTime2_g4897 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4883 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4896 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4897 , (float)saturate( ( _SparkleGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4883 = ( _SparkleGlowAnimationStrength * lerpResult206_g4883 * step( _SparkleGlowAnimationBand , 9 ) ); + float x13_g4883 = ( ( rotator6_g4883.x * _SparkleGlowPulseScale ) + _SparkleGlowPulseOffset + EmissionGlowAnimation195_g4883 ); + float y13_g4883 = 127.0; + float localglslmod13_g4883 = glslmod13_g4883( x13_g4883 , y13_g4883 ); + float2 CenteredUV15_g4885 = ( i.uv_texcoord - _SparkleGlowRadialCenter ); + float2 break17_g4885 = CenteredUV15_g4885; + float2 appendResult23_g4885 = (float2(( length( CenteredUV15_g4885 ) * _SparkleGlowPulseScale * 2.0 ) , ( atan2( break17_g4885.x , break17_g4885.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4883 = ( _SparkleGlowPulseOffset + appendResult23_g4885.x + EmissionGlowAnimation195_g4883 ); + float y12_g4883 = 127.0; + float localglslmod12_g4883 = glslmod12_g4883( x12_g4883 , y12_g4883 ); + int EmissionGlowMode35_g4883 = _SparkleGlowMode; + int temp_output_37_0_g4883 = ( EmissionGlowMode35_g4883 - 1 ); + float lerpResult5_g4883 = lerp( localglslmod13_g4883 , localglslmod12_g4883 , (float)saturate( temp_output_37_0_g4883 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4913 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionMap1031 = Direction27_g4913; + float temp_output_23_0_g4871 = DirectionMap1031; + float DirectionalMap106_g4883 = temp_output_23_0_g4871; + float lerpResult179_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionGlowMode35_g4883 - 3 ) )); + float x34_g4883 = ( _SparkleGlowPulseOffset + ( _SparkleGlowPulseScale * lerpResult179_g4883 ) + EmissionGlowAnimation195_g4883 ); + float y34_g4883 = 127.0; + float localglslmod34_g4883 = glslmod34_g4883( x34_g4883 , y34_g4883 ); + float lerpResult30_g4883 = lerp( lerpResult5_g4883 , localglslmod34_g4883 , (float)saturate( ( temp_output_37_0_g4883 - 1 ) )); + float EmissionGlowDelay56_g4883 = lerpResult30_g4883; + float Delay11_g4891 = EmissionGlowDelay56_g4883; + float3 localLumaGlowLerp11_g4891 = LumaGlowLerp11_g4891( Band11_g4891 , Delay11_g4891 ); + float3 lerpResult17_g4891 = lerp( ( localgetThemeData15_g4891 * localLumaGlowLerp11_g4891 ) , localLumaGlowLerp11_g4891 , (float)temp_output_13_0_g4891); + float3 lerpResult22_g4883 = lerp( temp_cast_285 , lerpResult17_g4891 , (float)temp_output_21_0_g4883); + float3 lerpResult23_g4883 = lerp( lerpResult20_g4883 , lerpResult22_g4883 , (float)saturate( EmissionGlowMode35_g4883 )); + float4 temp_cast_295 = (1.0).xxxx; + float temp_output_10_0_g4893 = EmissionGlowDelay56_g4883; + float Position1_g4895 = ( temp_output_10_0_g4893 / 127.0 ); + float4 localAudioLinkLerp1_g4895 = AudioLinkLerp1_g4895( Position1_g4895 ); + int clampResult8_g4893 = clamp( ( EmissionGlowZone47_g4883 - 4 ) , 1 , 3 ); + int Band11_g4893 = ( 59 - ( clampResult8_g4893 - 1 ) ); + float Delay11_g4893 = temp_output_10_0_g4893; + float3 localLumaGlowLerp11_g4893 = LumaGlowLerp11_g4893( Band11_g4893 , Delay11_g4893 ); + int Band11_g4894 = 56; + int localIsLumaActive11_g4894 = IsLumaActive11_g4894( Band11_g4894 ); + float4 lerpResult14_g4893 = lerp( localAudioLinkLerp1_g4895 , float4( localLumaGlowLerp11_g4893 , 0.0 ) , (float)localIsLumaActive11_g4894); + float4 lerpResult52_g4883 = lerp( temp_cast_295 , lerpResult14_g4893 , (float)saturate( EmissionGlowZone47_g4883 )); + float4 lerpResult51_g4883 = lerp( float4( lerpResult23_g4883 , 0.0 ) , lerpResult52_g4883 , (float)saturate( ( EmissionGlowZone47_g4883 - 4 ) )); + float4 temp_cast_300 = (_SparkleGlowMinBrightness).xxxx; + float4 temp_cast_301 = (( _SparkleGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float4 EmissionGlow142_g4883 = ( (temp_cast_300 + (lerpResult51_g4883 - float4( 0,0,0,0 )) * (temp_cast_301 - temp_cast_300) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _SparkleGlowTint * temp_output_258_0_g4883 ); + float4 lerpResult261_g4883 = lerp( temp_cast_280 , EmissionGlow142_g4883 , (float)temp_output_258_0_g4883); + float4 EmissionGlowTog262_g4883 = lerpResult261_g4883; + int EmissionReactiveBand243_g4883 = _SparkleReactiveBand; + int Band3_g4884 = EmissionReactiveBand243_g4883; + int Delay3_g4884 = 0; + float localAudioLinkData3_g4884 = AudioLinkData3_g4884( Band3_g4884 , Delay3_g4884 ); + int temp_output_64_0_g4883 = step( _SparkleReactiveBand , 9 ); + float lerpResult66_g4883 = lerp( 1.0 , localAudioLinkData3_g4884 , (float)temp_output_64_0_g4883); + int Band3_g4886 = _SparkleReactiveBand; + float cos78_g4883 = cos( radians( _SparkleReactivePulseDir ) ); + float sin78_g4883 = sin( radians( _SparkleReactivePulseDir ) ); + float2 rotator78_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4883 , -sin78_g4883 , sin78_g4883 , cos78_g4883 )) + float2( 0.5,0.5 ); + float x96_g4883 = ( ( rotator78_g4883.x * _SparkleReactivePulseScale ) + _SparkleReactivePulseOffset ); + float y96_g4883 = 127.0; + float localglslmod96_g4883 = glslmod96_g4883( x96_g4883 , y96_g4883 ); + float2 CenteredUV15_g4887 = ( i.uv_texcoord - _SparkleReactiveRadialCenter ); + float2 break17_g4887 = CenteredUV15_g4887; + float2 appendResult23_g4887 = (float2(( length( CenteredUV15_g4887 ) * _SparkleReactivePulseScale * 2.0 ) , ( atan2( break17_g4887.x , break17_g4887.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4883 = ( _SparkleReactivePulseOffset + appendResult23_g4887.x ); + float y97_g4883 = 127.0; + float localglslmod97_g4883 = glslmod97_g4883( x97_g4883 , y97_g4883 ); + int EmissionReactiveMode99_g4883 = _SparkleReactiveMode; + int temp_output_90_0_g4883 = ( EmissionReactiveMode99_g4883 - 1 ); + float lerpResult77_g4883 = lerp( localglslmod96_g4883 , localglslmod97_g4883 , (float)saturate( temp_output_90_0_g4883 )); + float lerpResult174_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionReactiveMode99_g4883 - 3 ) )); + float x98_g4883 = ( _SparkleReactivePulseOffset + ( _SparkleReactivePulseScale * lerpResult174_g4883 ) ); + float y98_g4883 = 127.0; + float localglslmod98_g4883 = glslmod98_g4883( x98_g4883 , y98_g4883 ); + float lerpResult87_g4883 = lerp( lerpResult77_g4883 , localglslmod98_g4883 , (float)saturate( ( temp_output_90_0_g4883 - 1 ) )); + float Delay3_g4886 = lerpResult87_g4883; + float localAudioLinkLerp3_g4886 = AudioLinkLerp3_g4886( Band3_g4886 , Delay3_g4886 ); + float lerpResult102_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4886 , (float)temp_output_64_0_g4883); + float lerpResult103_g4883 = lerp( lerpResult66_g4883 , lerpResult102_g4883 , (float)saturate( EmissionReactiveMode99_g4883 )); + int Band3_g4888 = _SparkleReactiveBand; + float FilteredAmount3_g4888 = ( ( 1.0 - _SparkleReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4888 = AudioLinkLerp3_g4888( Band3_g4888 , FilteredAmount3_g4888 ); + float lerpResult168_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4888 , (float)temp_output_64_0_g4883); + float lerpResult172_g4883 = lerp( lerpResult103_g4883 , lerpResult168_g4883 , (float)saturate( ( EmissionReactiveMode99_g4883 - 4 ) )); + float ReactivityAlpha132_g4883 = (_SparkleReactiveMinBrightness + (lerpResult172_g4883 - 0.0) * (( _SparkleReactiveMinBrightness + 1.0 ) - _SparkleReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_312 = (1.0).xxxx; + float4 lerpResult268_g4883 = lerp( temp_cast_312 , _SparkleReactiveTint , (float)step( EmissionReactiveBand243_g4883 , 9 )); + float4 FinalReactivity68_g4883 = ( ReactivityAlpha132_g4883 * lerpResult268_g4883 ); + float4 lerpResult146_g4883 = lerp( ( EmissionGlowTog262_g4883 * FinalReactivity68_g4883 ) , ( EmissionGlow142_g4883 + FinalReactivity68_g4883 ) , (float)saturate( _SparkleReactiveBlendMode )); + float4 ReversedReactivity152_g4883 = ( ( 1.0 - ReactivityAlpha132_g4883 ) * lerpResult268_g4883 ); + int temp_output_157_0_g4883 = ( _SparkleReactiveBlendMode - 1 ); + float4 lerpResult114_g4883 = lerp( lerpResult146_g4883 , ( EmissionGlowTog262_g4883 * ReversedReactivity152_g4883 ) , (float)saturate( temp_output_157_0_g4883 )); + int temp_output_255_0_g4883 = step( EmissionReactiveBand243_g4883 , 9 ); + float4 lerpResult164_g4883 = lerp( lerpResult114_g4883 , ( EmissionGlow142_g4883 + ( ReversedReactivity152_g4883 * temp_output_255_0_g4883 ) ) , (float)max( saturate( ( temp_output_157_0_g4883 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4883 , 9 ) ) )); + float4 lerpResult280_g4883 = lerp( _SparkleGlowTint , lerpResult164_g4883 , (float)max( temp_output_255_0_g4883 , saturate( EmissionGlowZone47_g4883 ) )); + float localIfAudioLinkv2Exists1_g4898 = IfAudioLinkv2Exists1_g4898(); + float4 lerpResult275_g4883 = lerp( temp_cast_278 , ( lerpResult280_g4883 * SparkleAlpha129_g4880 ) , localIfAudioLinkv2Exists1_g4898); + float localIfAudioLinkv2Exists1_g4882 = IfAudioLinkv2Exists1_g4882(); + float4 lerpResult172_g4880 = lerp( ( _SparkleColor * SparkleAlpha129_g4880 ) , lerpResult275_g4883 , localIfAudioLinkv2Exists1_g4882); + float4 Sparkles152_g4880 = lerpResult172_g4880; + float4 lerpResult190_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_125_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_125_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 SpecularSparkles142_g4880 = lerpResult190_g4880; + int temp_output_133_0_g4880 = saturate( _SparkleMode ); + float4 lerpResult127_g4880 = lerp( float4( SpecularIN194_g4880 , 0.0 ) , SpecularSparkles142_g4880 , (float)temp_output_133_0_g4880); + int temp_output_137_0_g4880 = ( _SparkleMode - 1 ); + float4 lerpResult198_g4880 = lerp( lerpResult127_g4880 , float4( SpecularIN194_g4880 , 0.0 ) , (float)saturate( temp_output_137_0_g4880 )); + int temp_output_150_0_g4880 = ( temp_output_137_0_g4880 - 1 ); + int temp_output_151_0_g4880 = saturate( temp_output_150_0_g4880 ); + float4 lerpResult149_g4880 = lerp( lerpResult198_g4880 , SpecularSparkles142_g4880 , (float)temp_output_151_0_g4880); + int temp_output_160_0_g4880 = saturate( ( temp_output_150_0_g4880 - 1 ) ); + float4 lerpResult153_g4880 = lerp( lerpResult149_g4880 , SpecularSparkles142_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch173_g4880 = lerpResult153_g4880; + #else + float4 staticSwitch173_g4880 = float4( SpecularIN194_g4880 , 0.0 ); + #endif + float4 SpecEffects1117 = staticSwitch173_g4880; + float3 N123 = SpecEffects1117.xyz; + float k379 = roughness17; + float dotResult14 = dot( worldNorm31 , lightDir32 ); + float NdotL39 = max( dotResult14 , 0.0 ); + float smoothstepResult460 = smoothstep( 0.125 , 0.15 , NdotL39); + float lerpResult636 = lerp( (smoothstepResult460*0.5 + 0.5) , smoothstepResult460 , _WorldSpaceLightPos0.w); + float ToonNdotL514 = lerpResult636; + float NdotL379 = ToonNdotL514; + float dotResult24 = dot( worldNorm31 , viewDir29 ); + float NdotV11 = max( dotResult24 , 0.0 ); + float NdotV379 = NdotV11; + float localSchlickGGX379 = SchlickGGX( k379 , NdotL379 , NdotV379 ); + float G123 = localSchlickGGX379; + float NdotL138 = ToonNdotL514; + float smoothstepResult461 = smoothstep( 0.0 , 0.25 , NdotV11); + float ToonNdotV565 = smoothstepResult461; + float NdotV138 = ToonNdotV565; + float LdotH138 = NdotH38; + float roughness138 = roughness17; + float localF0138 = F0138( NdotL138 , NdotV138 , LdotH138 , roughness138 ); + float F123 = localF0138; + float NdotL123 = lerpResult636; + float NdotV123 = NdotV11; + float3 localBRDF123 = BRDF( N123 , G123 , F123 , NdotL123 , NdotV123 ); + float3 temp_cast_331 = (0.001).xxx; + float4 appendResult511 = (float4(-lightDir32 , 1.0)); + float4 uvw501 = appendResult511; + float3 localgetProbes501 = getProbes( uvw501 ); + float4 appendResult517 = (float4(lightDir32 , 1.0)); + float4 uvw518 = appendResult517; + float3 localgetProbes518 = getProbes( uvw518 ); + float3 lerpResult520 = lerp( ( localgetProbes501 * 0.65 ) , localgetProbes518 , ( ToonNdotL514 * Attenuation533 )); + float3 ToonAmbience521 = lerpResult520; + float4 lerpResult578 = lerp( float4( ToonAmbience521 , 0.0 ) , ase_lightColor , temp_output_576_0); + float4 InitialLightColor589 = ( lerpResult578 * Attenuation533 ); + float4 lightColor45 = InitialLightColor589; + float4 BRDF219 = ( float4( ( ( diffuse23 * Occlusion272 * Opacity1155 ) + ( max( localBRDF123 , temp_cast_331 ) * smoothstepResult460 * Attenuation533 ) ) , 0.0 ) * ( float4( ToonAmbience521 , 0.0 ) + ( lightColor45 * ToonNdotL514 ) ) ); + float4 lerpResult182_g4880 = lerp( Sparkles152_g4880 , float4( 0,0,0,0 ) , (float)temp_output_133_0_g4880); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch177_g4880 = Sparkles152_g4880; + #else + float4 staticSwitch177_g4880 = float4( 0,0,0,0 ); + #endif + float4 lerpResult185_g4880 = lerp( lerpResult182_g4880 , staticSwitch177_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch178_g4880 = lerpResult185_g4880; + #else + float4 staticSwitch178_g4880 = float4( 0,0,0,0 ); + #endif + int Band6_g4902 = _RainbowALAnimationBand; + int Mode6_g4902 = ( ( _RainbowALAnimationMode * 2 ) + _RainbowALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4902 = AudioLinkDecodeDataAsUInt6_g4902( Band6_g4902 , Mode6_g4902 ); + float localGetNetworkTime4_g4904 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4903 = IfAudioLinkv2Exists1_g4903(); + float temp_output_95_0_g4899 = localIfAudioLinkv2Exists1_g4903; + float lerpResult94_g4899 = lerp( _Time.y , localGetNetworkTime4_g4904 , temp_output_95_0_g4899); + float lerpResult66_g4899 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4902 % 628319 ) / 100000.0 ) * step( _RainbowALAnimationBand , 9 ) ) , lerpResult94_g4899 , (float)saturate( ( _RainbowALAnimationMode - 3 ) )); + float lerpResult96_g4899 = lerp( _Time.y , lerpResult66_g4899 , temp_output_95_0_g4899); + float EmissionGlowAnimation67_g4899 = ( _RainbowALAnimationStrength * lerpResult96_g4899 ); + float cos45_g4899 = cos( radians( _RainbowRotation ) ); + float sin45_g4899 = sin( radians( _RainbowRotation ) ); + float2 rotator45_g4899 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos45_g4899 , -sin45_g4899 , sin45_g4899 , cos45_g4899 )) + float2( 0.5,0.5 ); + float2 CenteredUV15_g4901 = ( i.uv_texcoord - _RainbowRadialCenter ); + float2 break17_g4901 = CenteredUV15_g4901; + float2 appendResult23_g4901 = (float2(( length( CenteredUV15_g4901 ) * _RainbowSpiralCurve * 2.0 ) , ( atan2( break17_g4901.x , break17_g4901.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float2 break50_g4899 = appendResult23_g4901; + float lerpResult49_g4899 = lerp( rotator45_g4899.x , break50_g4899.x , (float)saturate( _RainbowUVMode )); + int temp_output_60_0_g4899 = ( _RainbowUVMode - 1 ); + float lerpResult63_g4899 = lerp( lerpResult49_g4899 , ( break50_g4899.x + ( break50_g4899.y * ( 2.0 * UNITY_PI ) ) ) , (float)saturate( temp_output_60_0_g4899 )); + float temp_output_85_0_g4899 = temp_output_23_0_g4871; + int temp_output_81_0_g4899 = ( temp_output_60_0_g4899 - 1 ); + float lerpResult79_g4899 = lerp( lerpResult63_g4899 , temp_output_85_0_g4899 , (float)saturate( temp_output_81_0_g4899 )); + float lerpResult80_g4899 = lerp( lerpResult79_g4899 , ( 1.0 - temp_output_85_0_g4899 ) , (float)saturate( ( temp_output_81_0_g4899 - 1 ) )); + float temp_output_24_0_g4899 = ( ( 1.0 - _RainbowHueRange ) * 0.5 ); + float3 hsvTorgb3_g4899 = HSVToRGB( float3(( (temp_output_24_0_g4899 + (sin( ( EmissionGlowAnimation67_g4899 + ( lerpResult80_g4899 * _RainbowScale ) ) ) - -1.0) * (( 1.0 - temp_output_24_0_g4899 ) - temp_output_24_0_g4899) / (1.0 - -1.0)) + _RainbowHue ),_RainbowSaturation,_RainbowValue) ); + float4 EffectMaskRGBA8_g4871 = temp_output_2_0_g4871; + float4 break38_g4899 = EffectMaskRGBA8_g4871; + int temp_output_18_0_g4900 = _RainbowMaskingChannel; + float lerpResult1_g4900 = lerp( 1.0 , break38_g4899.r , (float)saturate( temp_output_18_0_g4900 )); + int temp_output_5_0_g4900 = ( temp_output_18_0_g4900 - 1 ); + float lerpResult12_g4900 = lerp( lerpResult1_g4900 , break38_g4899.g , (float)saturate( temp_output_5_0_g4900 )); + int temp_output_6_0_g4900 = ( temp_output_5_0_g4900 - 1 ); + float lerpResult10_g4900 = lerp( lerpResult12_g4900 , break38_g4899.b , (float)saturate( temp_output_6_0_g4900 )); + float lerpResult11_g4900 = lerp( lerpResult10_g4900 , break38_g4899.a , (float)saturate( ( temp_output_6_0_g4900 - 1 ) )); + float3 lerpResult98_g4899 = lerp( float3( 0,0,0 ) , ( hsvTorgb3_g4899 * lerpResult11_g4900 ) , _EnableScrollingRainbow); + #ifdef UNITY_PASS_FORWARDBASE + float3 staticSwitch35_g4871 = lerpResult98_g4899; + #else + float3 staticSwitch35_g4871 = float3( 0,0,0 ); + #endif + float dotResult617 = dot( worldNorm31 , lightDir32 ); + float dotResult610 = dot( worldNorm31 , float3(0,1,0) ); + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch625 = max( ( dotResult610 + 0.5 ) , 0.0 ); + #else + float staticSwitch625 = 1.0; + #endif + float4 Rimlighting557 = ( max( -dotResult617 , 0.0 ) * temp_output_547_0 * ( ( lightColor45 + float4( ToonAmbience521 , 0.0 ) ) / 2.0 ) * _RimlightColor * specColor44 * staticSwitch625 * SpecularAntiAlias851 ); + float3 temp_output_126_0_g4880 = Rimlighting557.rgb; + float3 RimlightIN195_g4880 = temp_output_126_0_g4880; + float4 lerpResult191_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_126_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_126_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 RimlightSparkles143_g4880 = lerpResult191_g4880; + float4 lerpResult136_g4880 = lerp( float4( RimlightIN195_g4880 , 0.0 ) , RimlightSparkles143_g4880 , (float)saturate( temp_output_137_0_g4880 )); + float4 lerpResult181_g4880 = lerp( lerpResult136_g4880 , RimlightSparkles143_g4880 , (float)temp_output_151_0_g4880); + float4 lerpResult183_g4880 = lerp( lerpResult181_g4880 , RimlightSparkles143_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch187_g4880 = lerpResult183_g4880; + #else + float4 staticSwitch187_g4880 = float4( RimlightIN195_g4880 , 0.0 ); + #endif + float4 RimlightEffects1118 = staticSwitch187_g4880; + c.rgb = ( IndirectSpecular158 + BRDF219 + ( staticSwitch178_g4880 + float4( staticSwitch35_g4871 , 0.0 ) ) + RimlightEffects1118 ).rgb; + c.a = 1; + return c; + } + + inline void LightingStandardCustomLighting_GI( inout SurfaceOutputCustomLightingCustom s, UnityGIInput data, inout UnityGI gi ) + { + s.GIData = data; + } + + void surf( Input i , inout SurfaceOutputCustomLightingCustom o ) + { + o.SurfInput = i; + o.Normal = float3(0,0,1); + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + o.Albedo = MainTex224.rgb; + float4 temp_cast_1 = (1.0).xxxx; + float3 temp_cast_2 = (1.0).xxx; + int EmissionGlowZone47_g4930 = _RedChGlowZone; + int clampResult8_g4936 = clamp( EmissionGlowZone47_g4930 , 1 , 4 ); + int temp_output_3_0_g4936 = ( clampResult8_g4936 - 1 ); + int Zone16_g4936 = temp_output_3_0_g4936; + float3 localgetThemeData16_g4936 = getThemeData( Zone16_g4936 ); + int Band11_g4937 = 56; + int localIsLumaActive11_g4937 = IsLumaActive11_g4937( Band11_g4937 ); + int temp_output_14_0_g4936 = localIsLumaActive11_g4937; + int lerpResult15_g4936 = lerp( temp_output_3_0_g4936 , ( 63 - temp_output_3_0_g4936 ) , (float)temp_output_14_0_g4936); + int Band2_g4936 = lerpResult15_g4936; + int Delay2_g4936 = 0; + float3 localLumaGlowData2_g4936 = LumaGlowData2_g4936( Band2_g4936 , Delay2_g4936 ); + float3 lerpResult17_g4936 = lerp( ( localgetThemeData16_g4936 * localLumaGlowData2_g4936 ) , localLumaGlowData2_g4936 , (float)temp_output_14_0_g4936); + int temp_output_21_0_g4930 = saturate( EmissionGlowZone47_g4930 ); + float3 lerpResult20_g4930 = lerp( temp_cast_2 , lerpResult17_g4936 , (float)temp_output_21_0_g4930); + float3 temp_cast_6 = (1.0).xxx; + int clampResult8_g4938 = clamp( EmissionGlowZone47_g4930 , 1 , 4 ); + int temp_output_3_0_g4938 = ( clampResult8_g4938 - 1 ); + int Zone15_g4938 = temp_output_3_0_g4938; + float3 localgetThemeData15_g4938 = getThemeData( Zone15_g4938 ); + int Band11_g4939 = 56; + int localIsLumaActive11_g4939 = IsLumaActive11_g4939( Band11_g4939 ); + int temp_output_13_0_g4938 = localIsLumaActive11_g4939; + int lerpResult14_g4938 = lerp( temp_output_3_0_g4938 , ( 63 - temp_output_3_0_g4938 ) , (float)temp_output_13_0_g4938); + int Band11_g4938 = lerpResult14_g4938; + float cos6_g4930 = cos( radians( _RedChGlowPulseDir ) ); + float sin6_g4930 = sin( radians( _RedChGlowPulseDir ) ); + float2 rotator6_g4930 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4930 , -sin6_g4930 , sin6_g4930 , cos6_g4930 )) + float2( 0.5,0.5 ); + int Band6_g4943 = _RedChGlowAnimationBand; + int Mode6_g4943 = ( ( _RedChGlowAnimationMode * 2 ) + _RedChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4943 = AudioLinkDecodeDataAsUInt6_g4943( Band6_g4943 , Mode6_g4943 ); + float localGetLocalTime2_g4944 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4930 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4943 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4944 , (float)saturate( ( _RedChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4930 = ( _RedChGlowAnimationStrength * lerpResult206_g4930 * step( _RedChGlowAnimationBand , 9 ) ); + float x13_g4930 = ( ( rotator6_g4930.x * _RedChGlowPulseScale ) + _RedChGlowPulseOffset + EmissionGlowAnimation195_g4930 ); + float y13_g4930 = 127.0; + float localglslmod13_g4930 = glslmod13_g4930( x13_g4930 , y13_g4930 ); + float2 CenteredUV15_g4932 = ( i.uv_texcoord - _RedChGlowRadialCenter ); + float2 break17_g4932 = CenteredUV15_g4932; + float2 appendResult23_g4932 = (float2(( length( CenteredUV15_g4932 ) * _RedChGlowPulseScale * 2.0 ) , ( atan2( break17_g4932.x , break17_g4932.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4930 = ( _RedChGlowPulseOffset + appendResult23_g4932.x + EmissionGlowAnimation195_g4930 ); + float y12_g4930 = 127.0; + float localglslmod12_g4930 = glslmod12_g4930( x12_g4930 , y12_g4930 ); + int EmissionGlowMode35_g4930 = _RedChGlowMode; + int temp_output_37_0_g4930 = ( EmissionGlowMode35_g4930 - 1 ); + float lerpResult5_g4930 = lerp( localglslmod13_g4930 , localglslmod12_g4930 , (float)saturate( temp_output_37_0_g4930 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4913 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionalMap106_g4930 = Direction27_g4913; + float lerpResult179_g4930 = lerp( DirectionalMap106_g4930 , ( 1.0 - DirectionalMap106_g4930 ) , (float)saturate( ( EmissionGlowMode35_g4930 - 3 ) )); + float x34_g4930 = ( _RedChGlowPulseOffset + ( _RedChGlowPulseScale * lerpResult179_g4930 ) + EmissionGlowAnimation195_g4930 ); + float y34_g4930 = 127.0; + float localglslmod34_g4930 = glslmod34_g4930( x34_g4930 , y34_g4930 ); + float lerpResult30_g4930 = lerp( lerpResult5_g4930 , localglslmod34_g4930 , (float)saturate( ( temp_output_37_0_g4930 - 1 ) )); + float EmissionGlowDelay56_g4930 = lerpResult30_g4930; + float Delay11_g4938 = EmissionGlowDelay56_g4930; + float3 localLumaGlowLerp11_g4938 = LumaGlowLerp11_g4938( Band11_g4938 , Delay11_g4938 ); + float3 lerpResult17_g4938 = lerp( ( localgetThemeData15_g4938 * localLumaGlowLerp11_g4938 ) , localLumaGlowLerp11_g4938 , (float)temp_output_13_0_g4938); + float3 lerpResult22_g4930 = lerp( temp_cast_6 , lerpResult17_g4938 , (float)temp_output_21_0_g4930); + float3 lerpResult23_g4930 = lerp( lerpResult20_g4930 , lerpResult22_g4930 , (float)saturate( EmissionGlowMode35_g4930 )); + float4 temp_cast_16 = (1.0).xxxx; + float temp_output_10_0_g4940 = EmissionGlowDelay56_g4930; + float Position1_g4942 = ( temp_output_10_0_g4940 / 127.0 ); + float4 localAudioLinkLerp1_g4942 = AudioLinkLerp1_g4942( Position1_g4942 ); + int clampResult8_g4940 = clamp( ( EmissionGlowZone47_g4930 - 4 ) , 1 , 3 ); + int Band11_g4940 = ( 59 - ( clampResult8_g4940 - 1 ) ); + float Delay11_g4940 = temp_output_10_0_g4940; + float3 localLumaGlowLerp11_g4940 = LumaGlowLerp11_g4940( Band11_g4940 , Delay11_g4940 ); + int Band11_g4941 = 56; + int localIsLumaActive11_g4941 = IsLumaActive11_g4941( Band11_g4941 ); + float4 lerpResult14_g4940 = lerp( localAudioLinkLerp1_g4942 , float4( localLumaGlowLerp11_g4940 , 0.0 ) , (float)localIsLumaActive11_g4941); + float4 lerpResult52_g4930 = lerp( temp_cast_16 , lerpResult14_g4940 , (float)saturate( EmissionGlowZone47_g4930 )); + float4 lerpResult51_g4930 = lerp( float4( lerpResult23_g4930 , 0.0 ) , lerpResult52_g4930 , (float)saturate( ( EmissionGlowZone47_g4930 - 4 ) )); + float4 temp_cast_21 = (_RedChGlowMinBrightness).xxxx; + float4 temp_cast_22 = (( _RedChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_254_0_g4930 = saturate( EmissionGlowZone47_g4930 ); + float4 EmissionGlow142_g4930 = ( (temp_cast_21 + (lerpResult51_g4930 - float4( 0,0,0,0 )) * (temp_cast_22 - temp_cast_21) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _RedChGlowTint * temp_output_254_0_g4930 ); + float4 lerpResult257_g4930 = lerp( temp_cast_1 , EmissionGlow142_g4930 , (float)temp_output_254_0_g4930); + float4 EmissionGlowTog258_g4930 = lerpResult257_g4930; + int EmissionReactiveBand243_g4930 = _RedChReactiveBand; + int Band3_g4931 = EmissionReactiveBand243_g4930; + int Delay3_g4931 = 0; + float localAudioLinkData3_g4931 = AudioLinkData3_g4931( Band3_g4931 , Delay3_g4931 ); + int temp_output_64_0_g4930 = step( _RedChReactiveBand , 9 ); + float lerpResult66_g4930 = lerp( 1.0 , localAudioLinkData3_g4931 , (float)temp_output_64_0_g4930); + int Band3_g4933 = _RedChReactiveBand; + float cos78_g4930 = cos( radians( _RedChReactivePulseDir ) ); + float sin78_g4930 = sin( radians( _RedChReactivePulseDir ) ); + float2 rotator78_g4930 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4930 , -sin78_g4930 , sin78_g4930 , cos78_g4930 )) + float2( 0.5,0.5 ); + float x96_g4930 = ( ( rotator78_g4930.x * _RedChReactivePulseScale ) + _RedChReactivePulseOffset ); + float y96_g4930 = 127.0; + float localglslmod96_g4930 = glslmod96_g4930( x96_g4930 , y96_g4930 ); + float2 CenteredUV15_g4934 = ( i.uv_texcoord - _RedChReactiveRadialCenter ); + float2 break17_g4934 = CenteredUV15_g4934; + float2 appendResult23_g4934 = (float2(( length( CenteredUV15_g4934 ) * _RedChReactivePulseScale * 2.0 ) , ( atan2( break17_g4934.x , break17_g4934.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4930 = ( _RedChReactivePulseOffset + appendResult23_g4934.x ); + float y97_g4930 = 127.0; + float localglslmod97_g4930 = glslmod97_g4930( x97_g4930 , y97_g4930 ); + int EmissionReactiveMode99_g4930 = _RedChReactiveMode; + int temp_output_90_0_g4930 = ( EmissionReactiveMode99_g4930 - 1 ); + float lerpResult77_g4930 = lerp( localglslmod96_g4930 , localglslmod97_g4930 , (float)saturate( temp_output_90_0_g4930 )); + float lerpResult174_g4930 = lerp( DirectionalMap106_g4930 , ( 1.0 - DirectionalMap106_g4930 ) , (float)saturate( ( EmissionReactiveMode99_g4930 - 3 ) )); + float x98_g4930 = ( _RedChReactivePulseOffset + ( _RedChReactivePulseScale * lerpResult174_g4930 ) ); + float y98_g4930 = 127.0; + float localglslmod98_g4930 = glslmod98_g4930( x98_g4930 , y98_g4930 ); + float lerpResult87_g4930 = lerp( lerpResult77_g4930 , localglslmod98_g4930 , (float)saturate( ( temp_output_90_0_g4930 - 1 ) )); + float Delay3_g4933 = lerpResult87_g4930; + float localAudioLinkLerp3_g4933 = AudioLinkLerp3_g4933( Band3_g4933 , Delay3_g4933 ); + float lerpResult102_g4930 = lerp( 1.0 , localAudioLinkLerp3_g4933 , (float)temp_output_64_0_g4930); + float lerpResult103_g4930 = lerp( lerpResult66_g4930 , lerpResult102_g4930 , (float)saturate( EmissionReactiveMode99_g4930 )); + int Band3_g4935 = _RedChReactiveBand; + float FilteredAmount3_g4935 = ( ( 1.0 - _RedChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4935 = AudioLinkLerp3_g4935( Band3_g4935 , FilteredAmount3_g4935 ); + float lerpResult168_g4930 = lerp( 1.0 , localAudioLinkLerp3_g4935 , (float)temp_output_64_0_g4930); + float lerpResult172_g4930 = lerp( lerpResult103_g4930 , lerpResult168_g4930 , (float)saturate( ( EmissionReactiveMode99_g4930 - 4 ) )); + float ReactivityAlpha132_g4930 = (_RedChReactiveMinBrightness + (lerpResult172_g4930 - 0.0) * (( _RedChReactiveMinBrightness + 1.0 ) - _RedChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_33 = (1.0).xxxx; + float4 lerpResult253_g4930 = lerp( temp_cast_33 , _RedChReactiveTint , (float)step( EmissionReactiveBand243_g4930 , 9 )); + float4 FinalReactivity68_g4930 = ( ReactivityAlpha132_g4930 * lerpResult253_g4930 ); + float4 lerpResult146_g4930 = lerp( ( EmissionGlowTog258_g4930 * FinalReactivity68_g4930 ) , ( EmissionGlow142_g4930 + FinalReactivity68_g4930 ) , (float)saturate( _RedChReactiveBlendMode )); + float4 ReversedReactivity152_g4930 = ( ( 1.0 - ReactivityAlpha132_g4930 ) * lerpResult253_g4930 ); + int temp_output_157_0_g4930 = ( _RedChReactiveBlendMode - 1 ); + float4 lerpResult114_g4930 = lerp( lerpResult146_g4930 , ( EmissionGlowTog258_g4930 * ReversedReactivity152_g4930 ) , (float)saturate( temp_output_157_0_g4930 )); + float4 lerpResult164_g4930 = lerp( lerpResult114_g4930 , ( EmissionGlow142_g4930 + ( ReversedReactivity152_g4930 * step( EmissionReactiveBand243_g4930 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4930 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4930 , 9 ) ) )); + float2 uv_GlowMask = i.uv_texcoord * _GlowMask_ST.xy + _GlowMask_ST.zw; + float4 GlowMaskRGBA174_g4913 = tex2D( _GlowMask, uv_GlowMask ); + float localIfAudioLinkv2Exists1_g4945 = IfAudioLinkv2Exists1_g4945(); + float4 lerpResult280_g4930 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4930 * (GlowMaskRGBA174_g4913).ra.x * localIfAudioLinkv2Exists1_g4945 ) , _EnableRedChannel); + float4 temp_cast_43 = (1.0).xxxx; + float3 temp_cast_44 = (1.0).xxx; + int EmissionGlowZone47_g4946 = _GreenChGlowZone; + int clampResult8_g4952 = clamp( EmissionGlowZone47_g4946 , 1 , 4 ); + int temp_output_3_0_g4952 = ( clampResult8_g4952 - 1 ); + int Zone16_g4952 = temp_output_3_0_g4952; + float3 localgetThemeData16_g4952 = getThemeData( Zone16_g4952 ); + int Band11_g4953 = 56; + int localIsLumaActive11_g4953 = IsLumaActive11_g4953( Band11_g4953 ); + int temp_output_14_0_g4952 = localIsLumaActive11_g4953; + int lerpResult15_g4952 = lerp( temp_output_3_0_g4952 , ( 63 - temp_output_3_0_g4952 ) , (float)temp_output_14_0_g4952); + int Band2_g4952 = lerpResult15_g4952; + int Delay2_g4952 = 0; + float3 localLumaGlowData2_g4952 = LumaGlowData2_g4952( Band2_g4952 , Delay2_g4952 ); + float3 lerpResult17_g4952 = lerp( ( localgetThemeData16_g4952 * localLumaGlowData2_g4952 ) , localLumaGlowData2_g4952 , (float)temp_output_14_0_g4952); + int temp_output_21_0_g4946 = saturate( EmissionGlowZone47_g4946 ); + float3 lerpResult20_g4946 = lerp( temp_cast_44 , lerpResult17_g4952 , (float)temp_output_21_0_g4946); + float3 temp_cast_48 = (1.0).xxx; + int clampResult8_g4954 = clamp( EmissionGlowZone47_g4946 , 1 , 4 ); + int temp_output_3_0_g4954 = ( clampResult8_g4954 - 1 ); + int Zone15_g4954 = temp_output_3_0_g4954; + float3 localgetThemeData15_g4954 = getThemeData( Zone15_g4954 ); + int Band11_g4955 = 56; + int localIsLumaActive11_g4955 = IsLumaActive11_g4955( Band11_g4955 ); + int temp_output_13_0_g4954 = localIsLumaActive11_g4955; + int lerpResult14_g4954 = lerp( temp_output_3_0_g4954 , ( 63 - temp_output_3_0_g4954 ) , (float)temp_output_13_0_g4954); + int Band11_g4954 = lerpResult14_g4954; + float cos6_g4946 = cos( radians( _GreenChGlowPulseDir ) ); + float sin6_g4946 = sin( radians( _GreenChGlowPulseDir ) ); + float2 rotator6_g4946 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4946 , -sin6_g4946 , sin6_g4946 , cos6_g4946 )) + float2( 0.5,0.5 ); + int Band6_g4959 = _GreenChGlowAnimationBand; + int Mode6_g4959 = ( ( _GreenChGlowAnimationMode * 2 ) + _GreenChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4959 = AudioLinkDecodeDataAsUInt6_g4959( Band6_g4959 , Mode6_g4959 ); + float localGetLocalTime2_g4960 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4946 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4959 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4960 , (float)saturate( ( _GreenChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4946 = ( _GreenChGlowAnimationStrength * lerpResult206_g4946 * step( _GreenChGlowAnimationBand , 9 ) ); + float x13_g4946 = ( ( rotator6_g4946.x * _GreenChGlowPulseScale ) + _GreenChGlowPulseOffset + EmissionGlowAnimation195_g4946 ); + float y13_g4946 = 127.0; + float localglslmod13_g4946 = glslmod13_g4946( x13_g4946 , y13_g4946 ); + float2 CenteredUV15_g4948 = ( i.uv_texcoord - _GreenChGlowRadialCenter ); + float2 break17_g4948 = CenteredUV15_g4948; + float2 appendResult23_g4948 = (float2(( length( CenteredUV15_g4948 ) * _GreenChGlowPulseScale * 2.0 ) , ( atan2( break17_g4948.x , break17_g4948.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4946 = ( _GreenChGlowPulseOffset + appendResult23_g4948.x + EmissionGlowAnimation195_g4946 ); + float y12_g4946 = 127.0; + float localglslmod12_g4946 = glslmod12_g4946( x12_g4946 , y12_g4946 ); + int EmissionGlowMode35_g4946 = _GreenChGlowMode; + int temp_output_37_0_g4946 = ( EmissionGlowMode35_g4946 - 1 ); + float lerpResult5_g4946 = lerp( localglslmod13_g4946 , localglslmod12_g4946 , (float)saturate( temp_output_37_0_g4946 )); + float DirectionalMap106_g4946 = Direction27_g4913; + float lerpResult179_g4946 = lerp( DirectionalMap106_g4946 , ( 1.0 - DirectionalMap106_g4946 ) , (float)saturate( ( EmissionGlowMode35_g4946 - 3 ) )); + float x34_g4946 = ( _GreenChGlowPulseOffset + ( _GreenChGlowPulseScale * lerpResult179_g4946 ) + EmissionGlowAnimation195_g4946 ); + float y34_g4946 = 127.0; + float localglslmod34_g4946 = glslmod34_g4946( x34_g4946 , y34_g4946 ); + float lerpResult30_g4946 = lerp( lerpResult5_g4946 , localglslmod34_g4946 , (float)saturate( ( temp_output_37_0_g4946 - 1 ) )); + float EmissionGlowDelay56_g4946 = lerpResult30_g4946; + float Delay11_g4954 = EmissionGlowDelay56_g4946; + float3 localLumaGlowLerp11_g4954 = LumaGlowLerp11_g4954( Band11_g4954 , Delay11_g4954 ); + float3 lerpResult17_g4954 = lerp( ( localgetThemeData15_g4954 * localLumaGlowLerp11_g4954 ) , localLumaGlowLerp11_g4954 , (float)temp_output_13_0_g4954); + float3 lerpResult22_g4946 = lerp( temp_cast_48 , lerpResult17_g4954 , (float)temp_output_21_0_g4946); + float3 lerpResult23_g4946 = lerp( lerpResult20_g4946 , lerpResult22_g4946 , (float)saturate( EmissionGlowMode35_g4946 )); + float4 temp_cast_58 = (1.0).xxxx; + float temp_output_10_0_g4956 = EmissionGlowDelay56_g4946; + float Position1_g4958 = ( temp_output_10_0_g4956 / 127.0 ); + float4 localAudioLinkLerp1_g4958 = AudioLinkLerp1_g4958( Position1_g4958 ); + int clampResult8_g4956 = clamp( ( EmissionGlowZone47_g4946 - 4 ) , 1 , 3 ); + int Band11_g4956 = ( 59 - ( clampResult8_g4956 - 1 ) ); + float Delay11_g4956 = temp_output_10_0_g4956; + float3 localLumaGlowLerp11_g4956 = LumaGlowLerp11_g4956( Band11_g4956 , Delay11_g4956 ); + int Band11_g4957 = 56; + int localIsLumaActive11_g4957 = IsLumaActive11_g4957( Band11_g4957 ); + float4 lerpResult14_g4956 = lerp( localAudioLinkLerp1_g4958 , float4( localLumaGlowLerp11_g4956 , 0.0 ) , (float)localIsLumaActive11_g4957); + float4 lerpResult52_g4946 = lerp( temp_cast_58 , lerpResult14_g4956 , (float)saturate( EmissionGlowZone47_g4946 )); + float4 lerpResult51_g4946 = lerp( float4( lerpResult23_g4946 , 0.0 ) , lerpResult52_g4946 , (float)saturate( ( EmissionGlowZone47_g4946 - 4 ) )); + float4 temp_cast_63 = (_GreenChGlowMinBrightness).xxxx; + float4 temp_cast_64 = (( _GreenChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_255_0_g4946 = saturate( EmissionGlowZone47_g4946 ); + float4 EmissionGlow142_g4946 = ( (temp_cast_63 + (lerpResult51_g4946 - float4( 0,0,0,0 )) * (temp_cast_64 - temp_cast_63) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _GreenChGlowTint * temp_output_255_0_g4946 ); + float4 lerpResult258_g4946 = lerp( temp_cast_43 , EmissionGlow142_g4946 , (float)temp_output_255_0_g4946); + float4 EmissionGlowTog259_g4946 = lerpResult258_g4946; + int EmissionReactiveBand243_g4946 = _GreenChReactiveBand; + int Band3_g4947 = EmissionReactiveBand243_g4946; + int Delay3_g4947 = 0; + float localAudioLinkData3_g4947 = AudioLinkData3_g4947( Band3_g4947 , Delay3_g4947 ); + int temp_output_64_0_g4946 = step( _GreenChReactiveBand , 9 ); + float lerpResult66_g4946 = lerp( 1.0 , localAudioLinkData3_g4947 , (float)temp_output_64_0_g4946); + int Band3_g4949 = _GreenChReactiveBand; + float cos78_g4946 = cos( radians( _GreenChReactivePulseDir ) ); + float sin78_g4946 = sin( radians( _GreenChReactivePulseDir ) ); + float2 rotator78_g4946 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4946 , -sin78_g4946 , sin78_g4946 , cos78_g4946 )) + float2( 0.5,0.5 ); + float x96_g4946 = ( ( rotator78_g4946.x * _GreenChReactivePulseScale ) + _GreenChReactivePulseOffset ); + float y96_g4946 = 127.0; + float localglslmod96_g4946 = glslmod96_g4946( x96_g4946 , y96_g4946 ); + float2 CenteredUV15_g4950 = ( i.uv_texcoord - _GreenChReactiveRadialCenter ); + float2 break17_g4950 = CenteredUV15_g4950; + float2 appendResult23_g4950 = (float2(( length( CenteredUV15_g4950 ) * _GreenChReactivePulseScale * 2.0 ) , ( atan2( break17_g4950.x , break17_g4950.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4946 = ( _GreenChReactivePulseOffset + appendResult23_g4950.x ); + float y97_g4946 = 127.0; + float localglslmod97_g4946 = glslmod97_g4946( x97_g4946 , y97_g4946 ); + int EmissionReactiveMode99_g4946 = _GreenChReactiveMode; + int temp_output_90_0_g4946 = ( EmissionReactiveMode99_g4946 - 1 ); + float lerpResult77_g4946 = lerp( localglslmod96_g4946 , localglslmod97_g4946 , (float)saturate( temp_output_90_0_g4946 )); + float lerpResult174_g4946 = lerp( DirectionalMap106_g4946 , ( 1.0 - DirectionalMap106_g4946 ) , (float)saturate( ( EmissionReactiveMode99_g4946 - 3 ) )); + float x98_g4946 = ( _GreenChReactivePulseOffset + ( _GreenChReactivePulseScale * lerpResult174_g4946 ) ); + float y98_g4946 = 127.0; + float localglslmod98_g4946 = glslmod98_g4946( x98_g4946 , y98_g4946 ); + float lerpResult87_g4946 = lerp( lerpResult77_g4946 , localglslmod98_g4946 , (float)saturate( ( temp_output_90_0_g4946 - 1 ) )); + float Delay3_g4949 = lerpResult87_g4946; + float localAudioLinkLerp3_g4949 = AudioLinkLerp3_g4949( Band3_g4949 , Delay3_g4949 ); + float lerpResult102_g4946 = lerp( 1.0 , localAudioLinkLerp3_g4949 , (float)temp_output_64_0_g4946); + float lerpResult103_g4946 = lerp( lerpResult66_g4946 , lerpResult102_g4946 , (float)saturate( EmissionReactiveMode99_g4946 )); + int Band3_g4951 = _GreenChReactiveBand; + float FilteredAmount3_g4951 = ( ( 1.0 - _GreenChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4951 = AudioLinkLerp3_g4951( Band3_g4951 , FilteredAmount3_g4951 ); + float lerpResult168_g4946 = lerp( 1.0 , localAudioLinkLerp3_g4951 , (float)temp_output_64_0_g4946); + float lerpResult172_g4946 = lerp( lerpResult103_g4946 , lerpResult168_g4946 , (float)saturate( ( EmissionReactiveMode99_g4946 - 4 ) )); + float ReactivityAlpha132_g4946 = (_GreenChReactiveMinBrightness + (lerpResult172_g4946 - 0.0) * (( _GreenChReactiveMinBrightness + 1.0 ) - _GreenChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_75 = (1.0).xxxx; + float4 lerpResult264_g4946 = lerp( temp_cast_75 , _GreenChReactiveTint , (float)step( EmissionReactiveBand243_g4946 , 9 )); + float4 FinalReactivity68_g4946 = ( ReactivityAlpha132_g4946 * lerpResult264_g4946 ); + float4 lerpResult146_g4946 = lerp( ( EmissionGlowTog259_g4946 * FinalReactivity68_g4946 ) , ( EmissionGlow142_g4946 + FinalReactivity68_g4946 ) , (float)saturate( _GreenChReactiveBlendMode )); + float4 ReversedReactivity152_g4946 = ( ( 1.0 - ReactivityAlpha132_g4946 ) * lerpResult264_g4946 ); + int temp_output_157_0_g4946 = ( _GreenChReactiveBlendMode - 1 ); + float4 lerpResult114_g4946 = lerp( lerpResult146_g4946 , ( EmissionGlowTog259_g4946 * ReversedReactivity152_g4946 ) , (float)saturate( temp_output_157_0_g4946 )); + float4 lerpResult164_g4946 = lerp( lerpResult114_g4946 , ( EmissionGlow142_g4946 + ( ReversedReactivity152_g4946 * step( EmissionReactiveBand243_g4946 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4946 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4946 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4961 = IfAudioLinkv2Exists1_g4961(); + float4 lerpResult276_g4946 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4946 * (GlowMaskRGBA174_g4913).ga.x * localIfAudioLinkv2Exists1_g4961 ) , _EnableGreenChannel); + float4 temp_cast_85 = (1.0).xxxx; + float3 temp_cast_86 = (1.0).xxx; + int EmissionGlowZone47_g4962 = _BlueChGlowZone; + int clampResult8_g4968 = clamp( EmissionGlowZone47_g4962 , 1 , 4 ); + int temp_output_3_0_g4968 = ( clampResult8_g4968 - 1 ); + int Zone16_g4968 = temp_output_3_0_g4968; + float3 localgetThemeData16_g4968 = getThemeData( Zone16_g4968 ); + int Band11_g4969 = 56; + int localIsLumaActive11_g4969 = IsLumaActive11_g4969( Band11_g4969 ); + int temp_output_14_0_g4968 = localIsLumaActive11_g4969; + int lerpResult15_g4968 = lerp( temp_output_3_0_g4968 , ( 63 - temp_output_3_0_g4968 ) , (float)temp_output_14_0_g4968); + int Band2_g4968 = lerpResult15_g4968; + int Delay2_g4968 = 0; + float3 localLumaGlowData2_g4968 = LumaGlowData2_g4968( Band2_g4968 , Delay2_g4968 ); + float3 lerpResult17_g4968 = lerp( ( localgetThemeData16_g4968 * localLumaGlowData2_g4968 ) , localLumaGlowData2_g4968 , (float)temp_output_14_0_g4968); + int temp_output_21_0_g4962 = saturate( EmissionGlowZone47_g4962 ); + float3 lerpResult20_g4962 = lerp( temp_cast_86 , lerpResult17_g4968 , (float)temp_output_21_0_g4962); + float3 temp_cast_90 = (1.0).xxx; + int clampResult8_g4970 = clamp( EmissionGlowZone47_g4962 , 1 , 4 ); + int temp_output_3_0_g4970 = ( clampResult8_g4970 - 1 ); + int Zone15_g4970 = temp_output_3_0_g4970; + float3 localgetThemeData15_g4970 = getThemeData( Zone15_g4970 ); + int Band11_g4971 = 56; + int localIsLumaActive11_g4971 = IsLumaActive11_g4971( Band11_g4971 ); + int temp_output_13_0_g4970 = localIsLumaActive11_g4971; + int lerpResult14_g4970 = lerp( temp_output_3_0_g4970 , ( 63 - temp_output_3_0_g4970 ) , (float)temp_output_13_0_g4970); + int Band11_g4970 = lerpResult14_g4970; + float cos6_g4962 = cos( radians( _BlueChGlowPulseDir ) ); + float sin6_g4962 = sin( radians( _BlueChGlowPulseDir ) ); + float2 rotator6_g4962 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4962 , -sin6_g4962 , sin6_g4962 , cos6_g4962 )) + float2( 0.5,0.5 ); + int Band6_g4975 = _BlueChGlowAnimationBand; + int Mode6_g4975 = ( ( _BlueChGlowAnimationMode * 2 ) + _BlueChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4975 = AudioLinkDecodeDataAsUInt6_g4975( Band6_g4975 , Mode6_g4975 ); + float localGetLocalTime2_g4976 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4962 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4975 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4976 , (float)saturate( ( _BlueChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4962 = ( _BlueChGlowAnimationStrength * lerpResult206_g4962 * step( _BlueChGlowAnimationBand , 9 ) ); + float x13_g4962 = ( ( rotator6_g4962.x * _BlueChGlowPulseScale ) + _BlueChGlowPulseOffset + EmissionGlowAnimation195_g4962 ); + float y13_g4962 = 127.0; + float localglslmod13_g4962 = glslmod13_g4962( x13_g4962 , y13_g4962 ); + float2 CenteredUV15_g4964 = ( i.uv_texcoord - _BlueChGlowRadialCenter ); + float2 break17_g4964 = CenteredUV15_g4964; + float2 appendResult23_g4964 = (float2(( length( CenteredUV15_g4964 ) * _BlueChGlowPulseScale * 2.0 ) , ( atan2( break17_g4964.x , break17_g4964.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4962 = ( _BlueChGlowPulseOffset + appendResult23_g4964.x + EmissionGlowAnimation195_g4962 ); + float y12_g4962 = 127.0; + float localglslmod12_g4962 = glslmod12_g4962( x12_g4962 , y12_g4962 ); + int EmissionGlowMode35_g4962 = _BlueChGlowMode; + int temp_output_37_0_g4962 = ( EmissionGlowMode35_g4962 - 1 ); + float lerpResult5_g4962 = lerp( localglslmod13_g4962 , localglslmod12_g4962 , (float)saturate( temp_output_37_0_g4962 )); + float DirectionalMap106_g4962 = Direction27_g4913; + float lerpResult179_g4962 = lerp( DirectionalMap106_g4962 , ( 1.0 - DirectionalMap106_g4962 ) , (float)saturate( ( EmissionGlowMode35_g4962 - 3 ) )); + float x34_g4962 = ( _BlueChGlowPulseOffset + ( _BlueChGlowPulseScale * lerpResult179_g4962 ) + EmissionGlowAnimation195_g4962 ); + float y34_g4962 = 127.0; + float localglslmod34_g4962 = glslmod34_g4962( x34_g4962 , y34_g4962 ); + float lerpResult30_g4962 = lerp( lerpResult5_g4962 , localglslmod34_g4962 , (float)saturate( ( temp_output_37_0_g4962 - 1 ) )); + float EmissionGlowDelay56_g4962 = lerpResult30_g4962; + float Delay11_g4970 = EmissionGlowDelay56_g4962; + float3 localLumaGlowLerp11_g4970 = LumaGlowLerp11_g4970( Band11_g4970 , Delay11_g4970 ); + float3 lerpResult17_g4970 = lerp( ( localgetThemeData15_g4970 * localLumaGlowLerp11_g4970 ) , localLumaGlowLerp11_g4970 , (float)temp_output_13_0_g4970); + float3 lerpResult22_g4962 = lerp( temp_cast_90 , lerpResult17_g4970 , (float)temp_output_21_0_g4962); + float3 lerpResult23_g4962 = lerp( lerpResult20_g4962 , lerpResult22_g4962 , (float)saturate( EmissionGlowMode35_g4962 )); + float4 temp_cast_100 = (1.0).xxxx; + float temp_output_10_0_g4972 = EmissionGlowDelay56_g4962; + float Position1_g4974 = ( temp_output_10_0_g4972 / 127.0 ); + float4 localAudioLinkLerp1_g4974 = AudioLinkLerp1_g4974( Position1_g4974 ); + int clampResult8_g4972 = clamp( ( EmissionGlowZone47_g4962 - 4 ) , 1 , 3 ); + int Band11_g4972 = ( 59 - ( clampResult8_g4972 - 1 ) ); + float Delay11_g4972 = temp_output_10_0_g4972; + float3 localLumaGlowLerp11_g4972 = LumaGlowLerp11_g4972( Band11_g4972 , Delay11_g4972 ); + int Band11_g4973 = 56; + int localIsLumaActive11_g4973 = IsLumaActive11_g4973( Band11_g4973 ); + float4 lerpResult14_g4972 = lerp( localAudioLinkLerp1_g4974 , float4( localLumaGlowLerp11_g4972 , 0.0 ) , (float)localIsLumaActive11_g4973); + float4 lerpResult52_g4962 = lerp( temp_cast_100 , lerpResult14_g4972 , (float)saturate( EmissionGlowZone47_g4962 )); + float4 lerpResult51_g4962 = lerp( float4( lerpResult23_g4962 , 0.0 ) , lerpResult52_g4962 , (float)saturate( ( EmissionGlowZone47_g4962 - 4 ) )); + float4 temp_cast_105 = (_BlueChGlowMinBrightness).xxxx; + float4 temp_cast_106 = (( _BlueChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4962 = saturate( EmissionGlowZone47_g4962 ); + float4 EmissionGlow142_g4962 = ( (temp_cast_105 + (lerpResult51_g4962 - float4( 0,0,0,0 )) * (temp_cast_106 - temp_cast_105) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _BlueChGlowTint * temp_output_258_0_g4962 ); + float4 lerpResult261_g4962 = lerp( temp_cast_85 , EmissionGlow142_g4962 , (float)temp_output_258_0_g4962); + float4 EmissionGlowTog262_g4962 = lerpResult261_g4962; + int EmissionReactiveBand243_g4962 = _BlueChReactiveBand; + int Band3_g4963 = EmissionReactiveBand243_g4962; + int Delay3_g4963 = 0; + float localAudioLinkData3_g4963 = AudioLinkData3_g4963( Band3_g4963 , Delay3_g4963 ); + int temp_output_64_0_g4962 = step( _BlueChReactiveBand , 9 ); + float lerpResult66_g4962 = lerp( 1.0 , localAudioLinkData3_g4963 , (float)temp_output_64_0_g4962); + int Band3_g4965 = _BlueChReactiveBand; + float cos78_g4962 = cos( radians( _BlueChReactivePulseDir ) ); + float sin78_g4962 = sin( radians( _BlueChReactivePulseDir ) ); + float2 rotator78_g4962 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4962 , -sin78_g4962 , sin78_g4962 , cos78_g4962 )) + float2( 0.5,0.5 ); + float x96_g4962 = ( ( rotator78_g4962.x * _BlueChReactivePulseScale ) + _BlueChReactivePulseOffset ); + float y96_g4962 = 127.0; + float localglslmod96_g4962 = glslmod96_g4962( x96_g4962 , y96_g4962 ); + float2 CenteredUV15_g4966 = ( i.uv_texcoord - _BlueChReactiveRadialCenter ); + float2 break17_g4966 = CenteredUV15_g4966; + float2 appendResult23_g4966 = (float2(( length( CenteredUV15_g4966 ) * _BlueChReactivePulseScale * 2.0 ) , ( atan2( break17_g4966.x , break17_g4966.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4962 = ( _BlueChReactivePulseOffset + appendResult23_g4966.x ); + float y97_g4962 = 127.0; + float localglslmod97_g4962 = glslmod97_g4962( x97_g4962 , y97_g4962 ); + int EmissionReactiveMode99_g4962 = _BlueChReactiveMode; + int temp_output_90_0_g4962 = ( EmissionReactiveMode99_g4962 - 1 ); + float lerpResult77_g4962 = lerp( localglslmod96_g4962 , localglslmod97_g4962 , (float)saturate( temp_output_90_0_g4962 )); + float lerpResult174_g4962 = lerp( DirectionalMap106_g4962 , ( 1.0 - DirectionalMap106_g4962 ) , (float)saturate( ( EmissionReactiveMode99_g4962 - 3 ) )); + float x98_g4962 = ( _BlueChReactivePulseOffset + ( _BlueChReactivePulseScale * lerpResult174_g4962 ) ); + float y98_g4962 = 127.0; + float localglslmod98_g4962 = glslmod98_g4962( x98_g4962 , y98_g4962 ); + float lerpResult87_g4962 = lerp( lerpResult77_g4962 , localglslmod98_g4962 , (float)saturate( ( temp_output_90_0_g4962 - 1 ) )); + float Delay3_g4965 = lerpResult87_g4962; + float localAudioLinkLerp3_g4965 = AudioLinkLerp3_g4965( Band3_g4965 , Delay3_g4965 ); + float lerpResult102_g4962 = lerp( 1.0 , localAudioLinkLerp3_g4965 , (float)temp_output_64_0_g4962); + float lerpResult103_g4962 = lerp( lerpResult66_g4962 , lerpResult102_g4962 , (float)saturate( EmissionReactiveMode99_g4962 )); + int Band3_g4967 = _BlueChReactiveBand; + float FilteredAmount3_g4967 = ( ( 1.0 - _BlueChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4967 = AudioLinkLerp3_g4967( Band3_g4967 , FilteredAmount3_g4967 ); + float lerpResult168_g4962 = lerp( 1.0 , localAudioLinkLerp3_g4967 , (float)temp_output_64_0_g4962); + float lerpResult172_g4962 = lerp( lerpResult103_g4962 , lerpResult168_g4962 , (float)saturate( ( EmissionReactiveMode99_g4962 - 4 ) )); + float ReactivityAlpha132_g4962 = (_BlueChReactiveMinBrightness + (lerpResult172_g4962 - 0.0) * (( _BlueChReactiveMinBrightness + 1.0 ) - _BlueChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_117 = (1.0).xxxx; + float4 lerpResult268_g4962 = lerp( temp_cast_117 , _BlueChReactiveTint , (float)step( EmissionReactiveBand243_g4962 , 9 )); + float4 FinalReactivity68_g4962 = ( ReactivityAlpha132_g4962 * lerpResult268_g4962 ); + float4 lerpResult146_g4962 = lerp( ( EmissionGlowTog262_g4962 * FinalReactivity68_g4962 ) , ( EmissionGlow142_g4962 + FinalReactivity68_g4962 ) , (float)saturate( _BlueChReactiveBlendMode )); + float4 ReversedReactivity152_g4962 = ( ( 1.0 - ReactivityAlpha132_g4962 ) * lerpResult268_g4962 ); + int temp_output_157_0_g4962 = ( _BlueChReactiveBlendMode - 1 ); + float4 lerpResult114_g4962 = lerp( lerpResult146_g4962 , ( EmissionGlowTog262_g4962 * ReversedReactivity152_g4962 ) , (float)saturate( temp_output_157_0_g4962 )); + float4 lerpResult164_g4962 = lerp( lerpResult114_g4962 , ( EmissionGlow142_g4962 + ( ReversedReactivity152_g4962 * step( EmissionReactiveBand243_g4962 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4962 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4962 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4977 = IfAudioLinkv2Exists1_g4977(); + float4 lerpResult278_g4962 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4962 * (GlowMaskRGBA174_g4913).ba.x * localIfAudioLinkv2Exists1_g4977 ) , _EnableBlueChannel); + float4 temp_cast_127 = (1.0).xxxx; + float3 temp_cast_128 = (1.0).xxx; + int EmissionGlowZone47_g4978 = _AlphaChGlowZone; + int clampResult8_g4984 = clamp( EmissionGlowZone47_g4978 , 1 , 4 ); + int temp_output_3_0_g4984 = ( clampResult8_g4984 - 1 ); + int Zone16_g4984 = temp_output_3_0_g4984; + float3 localgetThemeData16_g4984 = getThemeData( Zone16_g4984 ); + int Band11_g4985 = 56; + int localIsLumaActive11_g4985 = IsLumaActive11_g4985( Band11_g4985 ); + int temp_output_14_0_g4984 = localIsLumaActive11_g4985; + int lerpResult15_g4984 = lerp( temp_output_3_0_g4984 , ( 63 - temp_output_3_0_g4984 ) , (float)temp_output_14_0_g4984); + int Band2_g4984 = lerpResult15_g4984; + int Delay2_g4984 = 0; + float3 localLumaGlowData2_g4984 = LumaGlowData2_g4984( Band2_g4984 , Delay2_g4984 ); + float3 lerpResult17_g4984 = lerp( ( localgetThemeData16_g4984 * localLumaGlowData2_g4984 ) , localLumaGlowData2_g4984 , (float)temp_output_14_0_g4984); + int temp_output_21_0_g4978 = saturate( EmissionGlowZone47_g4978 ); + float3 lerpResult20_g4978 = lerp( temp_cast_128 , lerpResult17_g4984 , (float)temp_output_21_0_g4978); + float3 temp_cast_132 = (1.0).xxx; + int clampResult8_g4986 = clamp( EmissionGlowZone47_g4978 , 1 , 4 ); + int temp_output_3_0_g4986 = ( clampResult8_g4986 - 1 ); + int Zone15_g4986 = temp_output_3_0_g4986; + float3 localgetThemeData15_g4986 = getThemeData( Zone15_g4986 ); + int Band11_g4987 = 56; + int localIsLumaActive11_g4987 = IsLumaActive11_g4987( Band11_g4987 ); + int temp_output_13_0_g4986 = localIsLumaActive11_g4987; + int lerpResult14_g4986 = lerp( temp_output_3_0_g4986 , ( 63 - temp_output_3_0_g4986 ) , (float)temp_output_13_0_g4986); + int Band11_g4986 = lerpResult14_g4986; + float cos6_g4978 = cos( radians( _AlphaChGlowPulseDir ) ); + float sin6_g4978 = sin( radians( _AlphaChGlowPulseDir ) ); + float2 rotator6_g4978 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4978 , -sin6_g4978 , sin6_g4978 , cos6_g4978 )) + float2( 0.5,0.5 ); + int Band6_g4991 = _AlphaChGlowAnimationBand; + int Mode6_g4991 = ( ( _AlphaChGlowAnimationMode * 2 ) + _AlphaChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4991 = AudioLinkDecodeDataAsUInt6_g4991( Band6_g4991 , Mode6_g4991 ); + float localGetLocalTime2_g4992 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4978 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4991 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4992 , (float)saturate( ( _AlphaChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4978 = ( _AlphaChGlowAnimationStrength * lerpResult206_g4978 * step( _AlphaChGlowAnimationBand , 9 ) ); + float x13_g4978 = ( ( rotator6_g4978.x * _AlphaChGlowPulseScale ) + _AlphaChGlowPulseOffset + EmissionGlowAnimation195_g4978 ); + float y13_g4978 = 127.0; + float localglslmod13_g4978 = glslmod13_g4978( x13_g4978 , y13_g4978 ); + float2 CenteredUV15_g4980 = ( i.uv_texcoord - _AlphaChGlowRadialCenter ); + float2 break17_g4980 = CenteredUV15_g4980; + float2 appendResult23_g4980 = (float2(( length( CenteredUV15_g4980 ) * _AlphaChGlowPulseScale * 2.0 ) , ( atan2( break17_g4980.x , break17_g4980.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4978 = ( _AlphaChGlowPulseOffset + appendResult23_g4980.x + EmissionGlowAnimation195_g4978 ); + float y12_g4978 = 127.0; + float localglslmod12_g4978 = glslmod12_g4978( x12_g4978 , y12_g4978 ); + int EmissionGlowMode35_g4978 = _AlphaChGlowMode; + int temp_output_37_0_g4978 = ( EmissionGlowMode35_g4978 - 1 ); + float lerpResult5_g4978 = lerp( localglslmod13_g4978 , localglslmod12_g4978 , (float)saturate( temp_output_37_0_g4978 )); + float DirectionalMap106_g4978 = Direction27_g4913; + float lerpResult179_g4978 = lerp( DirectionalMap106_g4978 , ( 1.0 - DirectionalMap106_g4978 ) , (float)saturate( ( EmissionGlowMode35_g4978 - 3 ) )); + float x34_g4978 = ( _AlphaChGlowPulseOffset + ( _AlphaChGlowPulseScale * lerpResult179_g4978 ) + EmissionGlowAnimation195_g4978 ); + float y34_g4978 = 127.0; + float localglslmod34_g4978 = glslmod34_g4978( x34_g4978 , y34_g4978 ); + float lerpResult30_g4978 = lerp( lerpResult5_g4978 , localglslmod34_g4978 , (float)saturate( ( temp_output_37_0_g4978 - 1 ) )); + float EmissionGlowDelay56_g4978 = lerpResult30_g4978; + float Delay11_g4986 = EmissionGlowDelay56_g4978; + float3 localLumaGlowLerp11_g4986 = LumaGlowLerp11_g4986( Band11_g4986 , Delay11_g4986 ); + float3 lerpResult17_g4986 = lerp( ( localgetThemeData15_g4986 * localLumaGlowLerp11_g4986 ) , localLumaGlowLerp11_g4986 , (float)temp_output_13_0_g4986); + float3 lerpResult22_g4978 = lerp( temp_cast_132 , lerpResult17_g4986 , (float)temp_output_21_0_g4978); + float3 lerpResult23_g4978 = lerp( lerpResult20_g4978 , lerpResult22_g4978 , (float)saturate( EmissionGlowMode35_g4978 )); + float4 temp_cast_142 = (1.0).xxxx; + float temp_output_10_0_g4988 = EmissionGlowDelay56_g4978; + float Position1_g4990 = ( temp_output_10_0_g4988 / 127.0 ); + float4 localAudioLinkLerp1_g4990 = AudioLinkLerp1_g4990( Position1_g4990 ); + int clampResult8_g4988 = clamp( ( EmissionGlowZone47_g4978 - 4 ) , 1 , 3 ); + int Band11_g4988 = ( 59 - ( clampResult8_g4988 - 1 ) ); + float Delay11_g4988 = temp_output_10_0_g4988; + float3 localLumaGlowLerp11_g4988 = LumaGlowLerp11_g4988( Band11_g4988 , Delay11_g4988 ); + int Band11_g4989 = 56; + int localIsLumaActive11_g4989 = IsLumaActive11_g4989( Band11_g4989 ); + float4 lerpResult14_g4988 = lerp( localAudioLinkLerp1_g4990 , float4( localLumaGlowLerp11_g4988 , 0.0 ) , (float)localIsLumaActive11_g4989); + float4 lerpResult52_g4978 = lerp( temp_cast_142 , lerpResult14_g4988 , (float)saturate( EmissionGlowZone47_g4978 )); + float4 lerpResult51_g4978 = lerp( float4( lerpResult23_g4978 , 0.0 ) , lerpResult52_g4978 , (float)saturate( ( EmissionGlowZone47_g4978 - 4 ) )); + float4 temp_cast_147 = (_AlphaChGlowMinBrightness).xxxx; + float4 temp_cast_148 = (( _AlphaChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4978 = saturate( EmissionGlowZone47_g4978 ); + float4 EmissionGlow142_g4978 = ( (temp_cast_147 + (lerpResult51_g4978 - float4( 0,0,0,0 )) * (temp_cast_148 - temp_cast_147) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _AlphaChGlowTint * temp_output_258_0_g4978 ); + float4 lerpResult261_g4978 = lerp( temp_cast_127 , EmissionGlow142_g4978 , (float)temp_output_258_0_g4978); + float4 EmissionGlowTog262_g4978 = lerpResult261_g4978; + int EmissionReactiveBand243_g4978 = _AlphaChReactiveBand; + int Band3_g4979 = EmissionReactiveBand243_g4978; + int Delay3_g4979 = 0; + float localAudioLinkData3_g4979 = AudioLinkData3_g4979( Band3_g4979 , Delay3_g4979 ); + int temp_output_64_0_g4978 = step( _AlphaChReactiveBand , 9 ); + float lerpResult66_g4978 = lerp( 1.0 , localAudioLinkData3_g4979 , (float)temp_output_64_0_g4978); + int Band3_g4981 = _AlphaChReactiveBand; + float cos78_g4978 = cos( radians( _AlphaChReactivePulseDir ) ); + float sin78_g4978 = sin( radians( _AlphaChReactivePulseDir ) ); + float2 rotator78_g4978 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4978 , -sin78_g4978 , sin78_g4978 , cos78_g4978 )) + float2( 0.5,0.5 ); + float x96_g4978 = ( ( rotator78_g4978.x * _AlphaChReactivePulseScale ) + _AlphaChReactivePulseOffset ); + float y96_g4978 = 127.0; + float localglslmod96_g4978 = glslmod96_g4978( x96_g4978 , y96_g4978 ); + float2 CenteredUV15_g4982 = ( i.uv_texcoord - _AlphaChReactiveRadialCenter ); + float2 break17_g4982 = CenteredUV15_g4982; + float2 appendResult23_g4982 = (float2(( length( CenteredUV15_g4982 ) * _AlphaChReactivePulseScale * 2.0 ) , ( atan2( break17_g4982.x , break17_g4982.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4978 = ( _AlphaChReactivePulseOffset + appendResult23_g4982.x ); + float y97_g4978 = 127.0; + float localglslmod97_g4978 = glslmod97_g4978( x97_g4978 , y97_g4978 ); + int EmissionReactiveMode99_g4978 = _AlphaChReactiveMode; + int temp_output_90_0_g4978 = ( EmissionReactiveMode99_g4978 - 1 ); + float lerpResult77_g4978 = lerp( localglslmod96_g4978 , localglslmod97_g4978 , (float)saturate( temp_output_90_0_g4978 )); + float lerpResult174_g4978 = lerp( DirectionalMap106_g4978 , ( 1.0 - DirectionalMap106_g4978 ) , (float)saturate( ( EmissionReactiveMode99_g4978 - 3 ) )); + float x98_g4978 = ( _AlphaChReactivePulseOffset + ( _AlphaChReactivePulseScale * lerpResult174_g4978 ) ); + float y98_g4978 = 127.0; + float localglslmod98_g4978 = glslmod98_g4978( x98_g4978 , y98_g4978 ); + float lerpResult87_g4978 = lerp( lerpResult77_g4978 , localglslmod98_g4978 , (float)saturate( ( temp_output_90_0_g4978 - 1 ) )); + float Delay3_g4981 = lerpResult87_g4978; + float localAudioLinkLerp3_g4981 = AudioLinkLerp3_g4981( Band3_g4981 , Delay3_g4981 ); + float lerpResult102_g4978 = lerp( 1.0 , localAudioLinkLerp3_g4981 , (float)temp_output_64_0_g4978); + float lerpResult103_g4978 = lerp( lerpResult66_g4978 , lerpResult102_g4978 , (float)saturate( EmissionReactiveMode99_g4978 )); + int Band3_g4983 = _AlphaChReactiveBand; + float FilteredAmount3_g4983 = ( ( 1.0 - _AlphaChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4983 = AudioLinkLerp3_g4983( Band3_g4983 , FilteredAmount3_g4983 ); + float lerpResult168_g4978 = lerp( 1.0 , localAudioLinkLerp3_g4983 , (float)temp_output_64_0_g4978); + float lerpResult172_g4978 = lerp( lerpResult103_g4978 , lerpResult168_g4978 , (float)saturate( ( EmissionReactiveMode99_g4978 - 4 ) )); + float ReactivityAlpha132_g4978 = (_AlphaChReactiveMinBrightness + (lerpResult172_g4978 - 0.0) * (( _AlphaChReactiveMinBrightness + 1.0 ) - _AlphaChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_159 = (1.0).xxxx; + float4 lerpResult268_g4978 = lerp( temp_cast_159 , _AlphaChReactiveTint , (float)step( EmissionReactiveBand243_g4978 , 9 )); + float4 FinalReactivity68_g4978 = ( ReactivityAlpha132_g4978 * lerpResult268_g4978 ); + float4 lerpResult146_g4978 = lerp( ( EmissionGlowTog262_g4978 * FinalReactivity68_g4978 ) , ( EmissionGlow142_g4978 + FinalReactivity68_g4978 ) , (float)saturate( _AlphaChReactiveBlendMode )); + float4 ReversedReactivity152_g4978 = ( ( 1.0 - ReactivityAlpha132_g4978 ) * lerpResult268_g4978 ); + int temp_output_157_0_g4978 = ( _AlphaChReactiveBlendMode - 1 ); + float4 lerpResult114_g4978 = lerp( lerpResult146_g4978 , ( EmissionGlowTog262_g4978 * ReversedReactivity152_g4978 ) , (float)saturate( temp_output_157_0_g4978 )); + float4 lerpResult164_g4978 = lerp( lerpResult114_g4978 , ( EmissionGlow142_g4978 + ( ReversedReactivity152_g4978 * step( EmissionReactiveBand243_g4978 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4978 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4978 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4993 = IfAudioLinkv2Exists1_g4993(); + float4 lerpResult278_g4978 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4978 * (GlowMaskRGBA174_g4913).a * localIfAudioLinkv2Exists1_g4993 ) , _EnableAlphaChannel); + float2 uv_EmissionMap = i.uv_texcoord * _EmissionMap_ST.xy + _EmissionMap_ST.zw; + float2 temp_cast_168 = (1.0).xx; + float2 lerpResult859 = lerp( temp_cast_168 , ( _EmissionPanSpeed * _Time.y ) , _EmissionPan); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float2 temp_cast_169 = (1.0).xx; + float2 lerpResult906 = lerp( temp_cast_169 , ( _EmissionMaskPanSpeed * _Time.y ) , _EmissionMaskPan); + float4 tex2DNode866 = tex2D( _EffectMask, ( uv_EffectMask + lerpResult906 ) ); + int temp_output_18_0_g3967 = _EmissionMaskingChannel; + float lerpResult1_g3967 = lerp( 1.0 , tex2DNode866.r , (float)saturate( temp_output_18_0_g3967 )); + int temp_output_5_0_g3967 = ( temp_output_18_0_g3967 - 1 ); + float lerpResult12_g3967 = lerp( lerpResult1_g3967 , tex2DNode866.g , (float)saturate( temp_output_5_0_g3967 )); + int temp_output_6_0_g3967 = ( temp_output_5_0_g3967 - 1 ); + float lerpResult10_g3967 = lerp( lerpResult12_g3967 , tex2DNode866.b , (float)saturate( temp_output_6_0_g3967 )); + float lerpResult11_g3967 = lerp( lerpResult10_g3967 , tex2DNode866.a , (float)saturate( ( temp_output_6_0_g3967 - 1 ) )); + #ifdef _EMISSION + float4 staticSwitch1062 = ( _EmissionColor * tex2D( _EmissionMap, ( uv_EmissionMap + lerpResult859 ) ) * lerpResult11_g3967 ); + #else + float4 staticSwitch1062 = float4( 0,0,0,0 ); + #endif + float4 EmissionRGBA786 = staticSwitch1062; + float4 temp_output_211_0_g4914 = EmissionRGBA786; + float4 temp_cast_175 = (1.0).xxxx; + float3 temp_cast_176 = (1.0).xxx; + int EmissionGlowZone47_g4914 = _EmissionGlowZone; + int clampResult8_g4925 = clamp( EmissionGlowZone47_g4914 , 1 , 4 ); + int temp_output_3_0_g4925 = ( clampResult8_g4925 - 1 ); + int Zone16_g4925 = temp_output_3_0_g4925; + float3 localgetThemeData16_g4925 = getThemeData( Zone16_g4925 ); + int Band11_g4926 = 56; + int localIsLumaActive11_g4926 = IsLumaActive11_g4926( Band11_g4926 ); + int temp_output_14_0_g4925 = localIsLumaActive11_g4926; + int lerpResult15_g4925 = lerp( temp_output_3_0_g4925 , ( 63 - temp_output_3_0_g4925 ) , (float)temp_output_14_0_g4925); + int Band2_g4925 = lerpResult15_g4925; + int Delay2_g4925 = 0; + float3 localLumaGlowData2_g4925 = LumaGlowData2_g4925( Band2_g4925 , Delay2_g4925 ); + float3 lerpResult17_g4925 = lerp( ( localgetThemeData16_g4925 * localLumaGlowData2_g4925 ) , localLumaGlowData2_g4925 , (float)temp_output_14_0_g4925); + int temp_output_21_0_g4914 = saturate( EmissionGlowZone47_g4914 ); + float3 lerpResult20_g4914 = lerp( temp_cast_176 , lerpResult17_g4925 , (float)temp_output_21_0_g4914); + float3 temp_cast_180 = (1.0).xxx; + int clampResult8_g4927 = clamp( EmissionGlowZone47_g4914 , 1 , 4 ); + int temp_output_3_0_g4927 = ( clampResult8_g4927 - 1 ); + int Zone15_g4927 = temp_output_3_0_g4927; + float3 localgetThemeData15_g4927 = getThemeData( Zone15_g4927 ); + int Band11_g4928 = 56; + int localIsLumaActive11_g4928 = IsLumaActive11_g4928( Band11_g4928 ); + int temp_output_13_0_g4927 = localIsLumaActive11_g4928; + int lerpResult14_g4927 = lerp( temp_output_3_0_g4927 , ( 63 - temp_output_3_0_g4927 ) , (float)temp_output_13_0_g4927); + int Band11_g4927 = lerpResult14_g4927; + float cos6_g4914 = cos( radians( _EmissionGlowPulseDir ) ); + float sin6_g4914 = sin( radians( _EmissionGlowPulseDir ) ); + float2 rotator6_g4914 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4914 , -sin6_g4914 , sin6_g4914 , cos6_g4914 )) + float2( 0.5,0.5 ); + int Band6_g4920 = _EmissionGlowAnimationBand; + int Mode6_g4920 = ( ( _EmissionGlowAnimationMode * 2 ) + _EmissionGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4920 = AudioLinkDecodeDataAsUInt6_g4920( Band6_g4920 , Mode6_g4920 ); + float localGetLocalTime2_g4921 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4914 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4920 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4921 , (float)saturate( ( _EmissionGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4914 = ( _EmissionGlowAnimationStrength * lerpResult206_g4914 * step( _EmissionGlowAnimationBand , 9 ) ); + float x13_g4914 = ( ( rotator6_g4914.x * _EmissionGlowPulseScale ) + _EmissionGlowPulseOffset + EmissionGlowAnimation195_g4914 ); + float y13_g4914 = 127.0; + float localglslmod13_g4914 = glslmod13_g4914( x13_g4914 , y13_g4914 ); + float2 CenteredUV15_g4916 = ( i.uv_texcoord - _EmissionGlowRadialCenter ); + float2 break17_g4916 = CenteredUV15_g4916; + float2 appendResult23_g4916 = (float2(( length( CenteredUV15_g4916 ) * _EmissionGlowPulseScale * 2.0 ) , ( atan2( break17_g4916.x , break17_g4916.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4914 = ( _EmissionGlowPulseOffset + appendResult23_g4916.x + EmissionGlowAnimation195_g4914 ); + float y12_g4914 = 127.0; + float localglslmod12_g4914 = glslmod12_g4914( x12_g4914 , y12_g4914 ); + int EmissionGlowMode35_g4914 = _EmissionGlowMode; + int temp_output_37_0_g4914 = ( EmissionGlowMode35_g4914 - 1 ); + float lerpResult5_g4914 = lerp( localglslmod13_g4914 , localglslmod12_g4914 , (float)saturate( temp_output_37_0_g4914 )); + float DirectionalMap106_g4914 = Direction27_g4913; + float lerpResult179_g4914 = lerp( DirectionalMap106_g4914 , ( 1.0 - DirectionalMap106_g4914 ) , (float)saturate( ( EmissionGlowMode35_g4914 - 3 ) )); + float x34_g4914 = ( _EmissionGlowPulseOffset + ( _EmissionGlowPulseScale * lerpResult179_g4914 ) + EmissionGlowAnimation195_g4914 ); + float y34_g4914 = 127.0; + float localglslmod34_g4914 = glslmod34_g4914( x34_g4914 , y34_g4914 ); + float lerpResult30_g4914 = lerp( lerpResult5_g4914 , localglslmod34_g4914 , (float)saturate( ( temp_output_37_0_g4914 - 1 ) )); + float EmissionGlowDelay56_g4914 = lerpResult30_g4914; + float Delay11_g4927 = EmissionGlowDelay56_g4914; + float3 localLumaGlowLerp11_g4927 = LumaGlowLerp11_g4927( Band11_g4927 , Delay11_g4927 ); + float3 lerpResult17_g4927 = lerp( ( localgetThemeData15_g4927 * localLumaGlowLerp11_g4927 ) , localLumaGlowLerp11_g4927 , (float)temp_output_13_0_g4927); + float3 lerpResult22_g4914 = lerp( temp_cast_180 , lerpResult17_g4927 , (float)temp_output_21_0_g4914); + float3 lerpResult23_g4914 = lerp( lerpResult20_g4914 , lerpResult22_g4914 , (float)saturate( EmissionGlowMode35_g4914 )); + float4 temp_cast_190 = (1.0).xxxx; + float temp_output_10_0_g4922 = EmissionGlowDelay56_g4914; + float Position1_g4924 = ( temp_output_10_0_g4922 / 127.0 ); + float4 localAudioLinkLerp1_g4924 = AudioLinkLerp1_g4924( Position1_g4924 ); + int clampResult8_g4922 = clamp( ( EmissionGlowZone47_g4914 - 4 ) , 1 , 3 ); + int Band11_g4922 = ( 59 - ( clampResult8_g4922 - 1 ) ); + float Delay11_g4922 = temp_output_10_0_g4922; + float3 localLumaGlowLerp11_g4922 = LumaGlowLerp11_g4922( Band11_g4922 , Delay11_g4922 ); + int Band11_g4923 = 56; + int localIsLumaActive11_g4923 = IsLumaActive11_g4923( Band11_g4923 ); + float4 lerpResult14_g4922 = lerp( localAudioLinkLerp1_g4924 , float4( localLumaGlowLerp11_g4922 , 0.0 ) , (float)localIsLumaActive11_g4923); + float4 lerpResult52_g4914 = lerp( temp_cast_190 , lerpResult14_g4922 , (float)saturate( EmissionGlowZone47_g4914 )); + float4 lerpResult51_g4914 = lerp( float4( lerpResult23_g4914 , 0.0 ) , lerpResult52_g4914 , (float)saturate( ( EmissionGlowZone47_g4914 - 4 ) )); + float4 temp_cast_195 = (_EmissionGlowMinBrightness).xxxx; + float4 temp_cast_196 = (( _EmissionGlowMinBrightness + 1.0 )).xxxx; + int temp_output_245_0_g4914 = saturate( EmissionGlowZone47_g4914 ); + float4 EmissionGlow142_g4914 = ( (temp_cast_195 + (lerpResult51_g4914 - float4( 0,0,0,0 )) * (temp_cast_196 - temp_cast_195) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _EmissionGlowTint * temp_output_245_0_g4914 ); + float4 lerpResult248_g4914 = lerp( temp_cast_175 , EmissionGlow142_g4914 , (float)temp_output_245_0_g4914); + float4 EmissionGlowTog249_g4914 = lerpResult248_g4914; + int EmissionReactiveBand254_g4914 = _EmissionReactiveBand; + int Band3_g4915 = EmissionReactiveBand254_g4914; + int Delay3_g4915 = 0; + float localAudioLinkData3_g4915 = AudioLinkData3_g4915( Band3_g4915 , Delay3_g4915 ); + int temp_output_64_0_g4914 = step( _EmissionReactiveBand , 9 ); + float lerpResult66_g4914 = lerp( 1.0 , localAudioLinkData3_g4915 , (float)temp_output_64_0_g4914); + int Band3_g4917 = _EmissionReactiveBand; + float cos78_g4914 = cos( radians( _EmissionReactivePulseDir ) ); + float sin78_g4914 = sin( radians( _EmissionReactivePulseDir ) ); + float2 rotator78_g4914 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4914 , -sin78_g4914 , sin78_g4914 , cos78_g4914 )) + float2( 0.5,0.5 ); + float x96_g4914 = ( ( rotator78_g4914.x * _EmissionReactivePulseScale ) + _EmissionReactivePulseOffset ); + float y96_g4914 = 127.0; + float localglslmod96_g4914 = glslmod96_g4914( x96_g4914 , y96_g4914 ); + float2 CenteredUV15_g4918 = ( i.uv_texcoord - _EmissionReactiveRadialCenter ); + float2 break17_g4918 = CenteredUV15_g4918; + float2 appendResult23_g4918 = (float2(( length( CenteredUV15_g4918 ) * _EmissionReactivePulseScale * 2.0 ) , ( atan2( break17_g4918.x , break17_g4918.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4914 = ( _EmissionReactivePulseOffset + appendResult23_g4918.x ); + float y97_g4914 = 127.0; + float localglslmod97_g4914 = glslmod97_g4914( x97_g4914 , y97_g4914 ); + int EmissionReactiveMode99_g4914 = _EmissionReactiveMode; + int temp_output_90_0_g4914 = ( EmissionReactiveMode99_g4914 - 1 ); + float lerpResult77_g4914 = lerp( localglslmod96_g4914 , localglslmod97_g4914 , (float)saturate( temp_output_90_0_g4914 )); + float lerpResult174_g4914 = lerp( DirectionalMap106_g4914 , ( 1.0 - DirectionalMap106_g4914 ) , (float)saturate( ( EmissionReactiveMode99_g4914 - 3 ) )); + float x98_g4914 = ( _EmissionReactivePulseOffset + ( _EmissionReactivePulseScale * lerpResult174_g4914 ) ); + float y98_g4914 = 127.0; + float localglslmod98_g4914 = glslmod98_g4914( x98_g4914 , y98_g4914 ); + float lerpResult87_g4914 = lerp( lerpResult77_g4914 , localglslmod98_g4914 , (float)saturate( ( temp_output_90_0_g4914 - 1 ) )); + float Delay3_g4917 = lerpResult87_g4914; + float localAudioLinkLerp3_g4917 = AudioLinkLerp3_g4917( Band3_g4917 , Delay3_g4917 ); + float lerpResult102_g4914 = lerp( 1.0 , localAudioLinkLerp3_g4917 , (float)temp_output_64_0_g4914); + float lerpResult103_g4914 = lerp( lerpResult66_g4914 , lerpResult102_g4914 , (float)saturate( EmissionReactiveMode99_g4914 )); + int Band3_g4919 = _EmissionReactiveBand; + float FilteredAmount3_g4919 = ( ( 1.0 - _EmissionReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4919 = AudioLinkLerp3_g4919( Band3_g4919 , FilteredAmount3_g4919 ); + float lerpResult168_g4914 = lerp( 1.0 , localAudioLinkLerp3_g4919 , (float)temp_output_64_0_g4914); + float lerpResult172_g4914 = lerp( lerpResult103_g4914 , lerpResult168_g4914 , (float)saturate( ( EmissionReactiveMode99_g4914 - 4 ) )); + float ReactivityAlpha132_g4914 = (_EmissionReactiveMinBrightness + (lerpResult172_g4914 - 0.0) * (( _EmissionReactiveMinBrightness + 1.0 ) - _EmissionReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_207 = (1.0).xxxx; + float4 lerpResult265_g4914 = lerp( temp_cast_207 , _EmissionReactiveTint , (float)step( EmissionReactiveBand254_g4914 , 9 )); + float4 FinalReactivity68_g4914 = ( ReactivityAlpha132_g4914 * lerpResult265_g4914 ); + float4 lerpResult146_g4914 = lerp( ( EmissionGlowTog249_g4914 * FinalReactivity68_g4914 ) , ( EmissionGlow142_g4914 + FinalReactivity68_g4914 ) , (float)saturate( _EmissionReactiveBlendMode )); + float4 ReversedReactivity152_g4914 = ( ( 1.0 - ReactivityAlpha132_g4914 ) * lerpResult265_g4914 ); + int temp_output_157_0_g4914 = ( _EmissionReactiveBlendMode - 1 ); + float4 lerpResult114_g4914 = lerp( lerpResult146_g4914 , ( EmissionGlowTog249_g4914 * ReversedReactivity152_g4914 ) , (float)saturate( temp_output_157_0_g4914 )); + float4 lerpResult164_g4914 = lerp( lerpResult114_g4914 , ( EmissionGlow142_g4914 + ( ReversedReactivity152_g4914 * step( EmissionReactiveBand254_g4914 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4914 - 1 ) )); + float grayscale214_g4914 = Luminance(temp_output_211_0_g4914.rgb); + float smoothstepResult215_g4914 = smoothstep( 0.0 , 0.5 , grayscale214_g4914); + int ReactiveBlendmode272_g4914 = _EmissionReactiveBlendMode; + float x270_g4914 = (float)ReactiveBlendmode272_g4914; + float y270_g4914 = 2.0; + float localglslmod270_g4914 = glslmod270_g4914( x270_g4914 , y270_g4914 ); + float lerpResult271_g4914 = lerp( localglslmod270_g4914 , (float)_EmissionGlowBlendMode , (float)saturate( EmissionGlowZone47_g4914 )); + float4 lerpResult212_g4914 = lerp( ( lerpResult164_g4914 * temp_output_211_0_g4914 ) , ( ( lerpResult164_g4914 * smoothstepResult215_g4914 ) + temp_output_211_0_g4914 ) , lerpResult271_g4914); + float localIfAudioLinkv2Exists1_g4929 = IfAudioLinkv2Exists1_g4929(); + float4 lerpResult281_g4914 = lerp( temp_output_211_0_g4914 , lerpResult212_g4914 , localIfAudioLinkv2Exists1_g4929); + #ifdef _EMISSION + float4 staticSwitch284_g4914 = lerpResult281_g4914; + #else + float4 staticSwitch284_g4914 = float4( 0,0,0,0 ); + #endif + float4 EmissionGlow791 = ( ( lerpResult280_g4930 + lerpResult276_g4946 + lerpResult278_g4962 + lerpResult278_g4978 ) + staticSwitch284_g4914 ); + float4 EmissionRGBA135_g4905 = EmissionGlow791; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 temp_output_21_0_g4905 = Normal243; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (1*0.5 + 0.5) , 1 , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float Intensity132_g4905 = _IridescentIntensity; + float4 temp_output_110_0_g4905 = ( lerpResult32_g4905 * Intensity132_g4905 ); + float4 lerpResult46_g4905 = lerp( temp_output_110_0_g4905 , ( temp_output_110_0_g4905 * EmissionRGBA135_g4905 ) , (float)saturate( _IridescentEmissionMode )); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb3_g4911 = HSVToRGB( float3(AnimatedDot130_g4905,1.0,1.0) ); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + float4 lerpResult54_g4905 = lerp( lerpResult46_g4905 , float4( ( hsvTorgb3_g4911 * Intensity132_g4905 ) , 0.0 ) , (float)saturate( temp_output_52_0_g4905 )); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + float4 lerpResult89_g4905 = lerp( lerpResult54_g4905 , EmissionRGBA135_g4905 , (float)temp_output_91_0_g4905); + float4 lerpResult82_g4905 = lerp( EmissionRGBA135_g4905 , ( temp_output_55_0_g4905 * lerpResult89_g4905 ) , temp_output_55_0_g4905); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch108_g4905 = lerpResult82_g4905; + #else + float4 staticSwitch108_g4905 = float4( 0,0,0,0 ); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult229_g4905 = lerp( staticSwitch108_g4905 , ( staticSwitch108_g4905 * temp_output_233_0_g4905 ) , (float)temp_output_225_0_g4905); + float4 lerpResult246_g4905 = lerp( EmissionRGBA135_g4905 , lerpResult229_g4905 , _Enableiridescence); + float4 FinalEmission1029 = lerpResult246_g4905; + o.Emission = FinalEmission1029.rgb; + } + + ENDCG + CGPROGRAM + #pragma surface surf StandardCustomLighting keepalpha fullforwardshadows nolightmap nodynlightmap nodirlightmap nometa + + ENDCG + Pass + { + Name "ShadowCaster" + Tags{ "LightMode" = "ShadowCaster" } + ZWrite On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma target 4.5 + #pragma multi_compile_shadowcaster + #pragma multi_compile UNITY_PASS_SHADOWCASTER + #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 + #include "HLSLSupport.cginc" + #if ( SHADER_API_D3D11 || SHADER_API_GLCORE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_METAL || SHADER_API_VULKAN ) + #define CAN_SKIP_VPOS + #endif + #include "UnityCG.cginc" + #include "Lighting.cginc" + #include "UnityPBSLighting.cginc" + struct v2f + { + V2F_SHADOW_CASTER; + float2 customPack1 : TEXCOORD1; + float4 tSpace0 : TEXCOORD2; + float4 tSpace1 : TEXCOORD3; + float4 tSpace2 : TEXCOORD4; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + v2f vert( appdata_full v ) + { + v2f o; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_INITIALIZE_OUTPUT( v2f, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + Input customInputData; + float3 worldPos = mul( unity_ObjectToWorld, v.vertex ).xyz; + half3 worldNormal = UnityObjectToWorldNormal( v.normal ); + half3 worldTangent = UnityObjectToWorldDir( v.tangent.xyz ); + half tangentSign = v.tangent.w * unity_WorldTransformParams.w; + half3 worldBinormal = cross( worldNormal, worldTangent ) * tangentSign; + o.tSpace0 = float4( worldTangent.x, worldBinormal.x, worldNormal.x, worldPos.x ); + o.tSpace1 = float4( worldTangent.y, worldBinormal.y, worldNormal.y, worldPos.y ); + o.tSpace2 = float4( worldTangent.z, worldBinormal.z, worldNormal.z, worldPos.z ); + o.customPack1.xy = customInputData.uv_texcoord; + o.customPack1.xy = v.texcoord; + TRANSFER_SHADOW_CASTER_NORMALOFFSET( o ) + return o; + } + half4 frag( v2f IN + #if !defined( CAN_SKIP_VPOS ) + , UNITY_VPOS_TYPE vpos : VPOS + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID( IN ); + Input surfIN; + UNITY_INITIALIZE_OUTPUT( Input, surfIN ); + surfIN.uv_texcoord = IN.customPack1.xy; + float3 worldPos = float3( IN.tSpace0.w, IN.tSpace1.w, IN.tSpace2.w ); + half3 worldViewDir = normalize( UnityWorldSpaceViewDir( worldPos ) ); + surfIN.worldPos = worldPos; + surfIN.worldNormal = float3( IN.tSpace0.z, IN.tSpace1.z, IN.tSpace2.z ); + surfIN.worldRefl = -worldViewDir; + surfIN.internalSurfaceTtoW0 = IN.tSpace0.xyz; + surfIN.internalSurfaceTtoW1 = IN.tSpace1.xyz; + surfIN.internalSurfaceTtoW2 = IN.tSpace2.xyz; + SurfaceOutputCustomLightingCustom o; + UNITY_INITIALIZE_OUTPUT( SurfaceOutputCustomLightingCustom, o ) + surf( surfIN, o ); + #if defined( CAN_SKIP_VPOS ) + float2 vpos = IN.pos; + #endif + SHADOW_CASTER_FRAGMENT( IN ) + } + ENDCG + } + } + Fallback "Diffuse" + CustomEditor "FuralityShaderUI" +} +/*ASEBEGIN +Version=19105 +Node;AmplifyShaderEditor.CommentaryNode;794;1332.497,1390.873;Inherit;False;961.6262;243.937;Comment;6;791;798;790;789;787;1074;Luma Glow;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;639;-8884.074,-1676.043;Inherit;False;3010.964;860.379;Comment;26;568;569;570;571;572;574;573;577;575;583;592;582;576;584;32;588;578;581;589;580;533;627;629;630;632;628;Light Color + Attenuation;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;403;-3335.939,-3496.149;Inherit;False;2162.522;1530.744;Comment;35;90;1143;1142;386;241;223;391;246;302;1065;383;380;852;225;272;392;385;394;384;224;393;247;255;254;252;7;253;251;269;250;243;388;242;389;1144;Texture Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RangedFloatNode;389;-3188.197,-3056.841;Inherit;False;Constant;_Float3;Float 3;14;0;Create;True;0;0;0;False;0;False;1.25;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;242;-3006.6,-3221.549;Inherit;False;0;223;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.SimpleMultiplyOpNode;388;-2970.259,-3105.271;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;243;-2263.6,-3243.549;Inherit;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;5;-3238.615,-1376.222;Inherit;False;1756.584;1421.47;Comment;52;22;284;285;362;30;45;23;68;17;47;44;211;381;401;303;163;395;54;396;402;31;227;176;259;46;59;226;256;212;177;258;249;101;41;248;257;29;100;245;6;795;587;590;1145;1147;1148;1150;1180;1181;1182;1186;1187;Input Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.NormalVertexDataNode;100;-2593.113,-255.3687;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;245;-2547.908,-114.6905;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;101;-2379.915,-261.8687;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;257;-2372.083,-114.9804;Inherit;False;Tangent;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TexelSizeNode;250;-2892.26,-2840.326;Inherit;False;246;1;0;SAMPLER2D;;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.TextureCoordinatesNode;269;-3020.702,-3015.853;Inherit;False;0;223;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.SimpleAddOpNode;258;-2121.888,-254.5151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;251;-2670.343,-2766.867;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;6;-2330.628,-1069.771;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;259;-2008.888,-253.5151;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;253;-2664.241,-2840.508;Inherit;False;Property;_GlossMapScale;GlossMapScale;22;0;Create;True;0;0;0;False;0;False;1;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;7;-2304.152,-2910.047;Inherit;False;Property;_Glossiness;Smoothness;21;0;Create;False;0;0;0;False;0;False;0.5;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;252;-2559.297,-2766.867;Inherit;False;2;0;FLOAT;10;False;1;FLOAT;10;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;254;-2220.061,-2832.362;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;4;-1449.85,-1331.164;Inherit;False;957.896;1201.264;Comment;38;56;40;604;600;48;74;597;36;598;42;33;596;607;37;18;75;605;599;11;72;24;27;49;38;73;50;28;52;25;39;13;71;19;14;8;15;26;10;Dot Products;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;29;-2027.33,-1071.781;Inherit;False;viewDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;31;-1815.471,-256.4359;Inherit;False;worldNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;10;-1395.339,-1281.164;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;26;-1397.544,-1043.199;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;15;-1399.849,-1118.233;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;8;-1396.339,-1211.164;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;255;-2027.867,-2837.701;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;14;-1207.206,-1086.684;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;19;-1215.339,-1257.164;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;212;-2855.798,-845.3053;Inherit;False;Constant;_Float2;Float 2;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;256;-2846.284,-985.8676;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;71;-1072.621,-1085.356;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;177;-2854.646,-916.5242;Inherit;False;Constant;_Float0;Float 0;10;0;Create;True;0;0;0;False;0;False;0.3;0.4;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.NormalizeNode;13;-1100.339,-1258.164;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;563;-6117.17,1090.775;Inherit;False;1218.21;440.525;Comment;13;512;516;519;511;534;513;517;501;535;518;520;521;594;Toon Ambience;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;39;-939.8036,-1090.568;Inherit;False;NdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;176;-2657.246,-978.5247;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;25;-960.3385,-1262.164;Inherit;False;halfDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;220;-4332.81,70.03413;Inherit;False;2632.908;1547.742;Comment;46;460;636;635;634;139;140;219;190;310;128;312;311;522;274;313;132;306;275;623;129;314;123;566;138;379;121;231;116;230;445;232;115;301;117;114;300;565;461;233;120;125;514;124;987;1120;1160;BRDF;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;512;-6067.17,1140.775;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;52;-1397.545,-736.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;28;-1399.85,-811.295;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;303;-2463.311,-925.2256;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.999;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;456;-6422.013,407.4249;Inherit;False;1957.475;517.7657;Comment;19;450;471;452;469;444;476;415;477;473;472;413;451;470;436;478;479;475;416;1132;Stylize Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;211;-2342.89,-903.3854;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;50;-1207.207,-779.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;516;-5894.896,1145.77;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;247;-2436.355,-3015.931;Inherit;False;MetallticFromTex;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;73;-1065.78,-781.5579;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;476;-6344.136,724.7207;Inherit;False;Constant;_ToonSpecular;Toon Specular;20;0;Create;True;0;0;0;False;0;False;0.48;0.479;0;0.499;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;248;-2629.301,-709.2548;Inherit;False;247;MetallticFromTex;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;511;-5761.434,1145.739;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;519;-5944.896,1237.77;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.OneMinusNode;47;-2111.788,-903.9219;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;41;-2693.438,-787.5811;Inherit;False;Property;_Metallic;Metallic;19;0;Create;True;0;0;0;False;0;False;0;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;393;-3172.445,-2357.431;Inherit;False;0;223;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.RegisterLocalVarNode;514;-2719.453,985.0649;Inherit;False;ToonNdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;501;-5623.576,1144.053;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;534;-5780.627,1416.3;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;38;-919.9026,-783.9518;Inherit;False;NdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;473;-6345.945,648.5159;Inherit;False;Constant;_ToonOffset;Toon Offset;16;0;Create;True;0;0;0;False;0;False;-0.4;-0.39;-1;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;249;-2412.301,-763.2548;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;517;-5760.825,1242.613;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;17;-1935.923,-820.6301;Inherit;False;roughness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;513;-5776.97,1337.775;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;594;-5601.755,1091.489;Inherit;False;Constant;_Float13;Float 13;20;0;Create;True;0;0;0;False;0;False;0.65;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;477;-6067.136,806.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;384;-2437.779,-2302.501;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CustomExpressionNode;518;-5622.967,1240.927;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;49;-1399.055,-960.3293;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;472;-5895.945,655.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;535;-5599.627,1374.3;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;475;-5902.945,770.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;46;-2269.892,-769.3549;Inherit;False;metallic;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;416;-6164.954,464.0959;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;415;-6173.801,539.6567;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;27;-1396.75,-885.2946;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;593;-5431.755,1149.489;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;394;-2098.372,-2307.369;Inherit;False;SpecularTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;479;-5755.136,750.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;24;-1206.412,-928.7805;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;217;-1594.872,200.3197;Inherit;False;2616.111;764.0852;Comment;32;174;175;156;204;162;213;205;214;215;203;161;202;166;200;201;191;181;208;315;180;158;165;151;152;276;153;480;481;484;482;498;1165;Indirect Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;478;-5760.136,643.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;413;-5946.941,511.468;Inherit;False;GGXTerm(nh, roughness);1;Create;2;True;nh;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;ggx;False;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;227;-2831.27,-633.0755;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;396;-2327.961,-390.6081;Inherit;False;Property;_EnableSpecularMap;Enable Specular Map;27;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;402;-2220.789,-483.7458;Inherit;False;Constant;_Float5;Float 5;17;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;54;-2628.055,-457.5206;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;520;-5308.896,1242.77;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;470;-5210.727,730.8561;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;395;-2066.061,-680.9556;Inherit;False;394;SpecularTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;436;-5605.002,544.9354;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;72;-1073.99,-930.7202;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;451;-5604.283,672.5679;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DiffuseAndSpecularFromMetallicNode;163;-2399.557,-597.6036;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;3;FLOAT3;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.GetLocalVarNode;180;-1514.461,680.5375;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;401;-2051.101,-479.9181;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;381;-1868.959,-588.0468;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;11;-941.7469,-929.9261;Inherit;False;NdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;452;-5209.375,553.4788;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;315;-1300.661,675.7377;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;469;-4966.727,731.8561;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.8;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;125;-3174.562,1070.987;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;208;-1151.827,677.0204;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;44;-1720.645,-591.458;Inherit;False;specColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;471;-4799.567,730.9291;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;5;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;120;-3571.68,274.0615;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;233;-3569.558,177.7777;Inherit;False;Constant;_Float1;Float 1;6;0;Create;True;0;0;0;False;0;False;1.2;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;181;-982.5577,650.3491;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;461;-2980.706,1074.058;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;450;-4769.774,574.9086;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;191;-853.3322,650.4323;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;444;-4651.538,570.9512;Inherit;False;ToonSpecular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;565;-2804.095,1073.13;Inherit;False;ToonNdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;385;-3013.247,-2640.655;Inherit;False;0;223;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.SimpleMultiplyOpNode;300;-3386.994,223.6072;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;114;-3461.573,805.1125;Inherit;False;565;ToonNdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;590;-2621.987,-1305.75;Inherit;False;589;InitialLightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;117;-3462.64,952.4464;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;301;-3254.994,223.6072;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;201;-488.3773,654.145;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-3463.573,734.1125;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;166;-702.3997,453.5815;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;200;-677.7151,648.213;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;232;-3388.666,589.1027;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;560;-1245.632,1312.672;Inherit;False;1886.165;1162.995;Comment;37;591;542;622;621;595;557;545;625;567;547;558;619;555;548;613;549;620;626;554;556;614;552;550;617;553;610;551;615;618;544;616;537;612;543;609;853;1134;Rimlighting;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;230;-3390.865,428.9026;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;116;-3462.773,880.1125;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;231;-3388.366,506.7026;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;68;-2378.209,-1304.412;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;609;-498.8056,2203.786;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;161;-509.7723,469.6328;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;4;False;1;FLOAT;0 +Node;AmplifyShaderEditor.PowerNode;392;-2451.833,-2613.263;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;543;-1187.779,1789.996;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;202;-300.1848,678.6759;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;379;-3135.121,470.3841;Inherit;False;float L = (NdotL) / (NdotL * (1- k) + k)@$float V = (NdotV) / (NdotV * (1-k) +k)@$$return L*V@;1;Create;3;True;k;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;SchlickGGX;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;138;-3189.65,726.0227;Inherit;False;float FresnelLight = SchlickFresnel(NdotL)@$float FresnelView = SchlickFresnel(NdotV)@$float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness@$return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView)@;1;Create;4;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;True;LdotH;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;F0;True;False;2;139;140;;False;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;566;-3170.882,867.2664;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;612;-477.8056,2287.786;Inherit;False;Constant;_Vector0;Vector 0;20;0;Create;True;0;0;0;False;0;False;0,1,0;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;537;-1181.791,1709.072;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;616;-673.2114,1454.868;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;272;-2284.777,-2618.305;Inherit;False;Occlusion;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;23;-2079.385,-604.7594;Inherit;False;diffuse;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;544;-972.4919,1731.102;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;618;-669.238,1542.556;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;615;-313.6245,2334.562;Inherit;False;Constant;_Float15;Float 15;20;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;480;-283.3387,506.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;551;-994.2482,1828.831;Inherit;False;Constant;_Float11;Float 11;21;0;Create;True;0;0;0;False;0;False;-0.2;-0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;123;-2829.634,444.2128;Inherit;False;return (N*G*F) / (4 * (NdotL*NdotV))@;3;Create;5;True;N;FLOAT3;0,0,0;In;;Inherit;False;True;G;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;BRDF;False;True;0;;False;5;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;482;-68.33875,789.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;610;-307.3041,2238.428;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;314;-2832.01,372.4067;Inherit;False;Constant;_Float7;Float 7;10;0;Create;True;0;0;0;False;0;False;0.001;0.02;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;214;-77.45105,524.8002;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;553;-842.7739,1978.127;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;550;-845.248,1736.831;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;215;-64.47279,601.2673;Inherit;False;Constant;_Float4;Float 4;4;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;561;2095.64,27.8058;Inherit;False;2082.213;872.7515;Comment;37;831;830;829;828;827;826;823;822;824;819;818;490;524;792;497;788;486;494;489;495;492;532;488;496;493;529;491;832;1042;1045;1046;1058;1060;1059;1066;1081;1185;Outlines;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;623;-2658.41,622.8109;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;203;-58.52485,674.2479;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;275;-2675.618,355.3681;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;481;-253.3387,402.084;Inherit;False;2;2;0;FLOAT;0.01;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;306;-2699.387,905.8491;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;132;-2651.551,446.4316;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;552;-804.2864,1907.889;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;614;-184.6245,2238.562;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;313;-2657.845,542.0784;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;556;-644.5186,2003.105;Inherit;False;Constant;_Float12;Float 12;20;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;554;-648.5186,1913.105;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;626;-64.21997,2164.697;Inherit;False;Constant;_Float17;Float 17;21;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;274;-2481.617,300.3679;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;491;3076.28,552.4065;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;152;29.06121,326.3416;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;549;-727.676,1835.152;Inherit;False;Constant;_Float8;Float 8;20;0;Create;True;0;0;0;False;0;False;20;20;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;311;-2495.592,917.2233;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;312;-2476.895,448.7652;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;276;40.03976,402.8723;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;613;-59.30401,2235.428;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;213;131.8297,544.2889;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;162;-122.9196,431.788;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;153;32.36602,250.3197;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;205;129.113,663.7913;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;548;-717.1375,1742.013;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;529;3380.719,431.3767;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;555;-524.5184,1917.105;Inherit;False;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;128;-2302.115,345.1725;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.IndirectSpecularLight;151;227.3664,278.3197;Inherit;False;World;3;0;FLOAT3;0,0,1;False;1;FLOAT;0.5;False;2;FLOAT;1;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;310;-2346.613,816.7513;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;558;-504.3968,2017.898;Inherit;False;Property;_RimlightColor;Rimlight Color;31;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;11.98431,11.98431,11.98431,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;547;-563.4562,1738.109;Inherit;False;ExponentialSquared_Blend;-1;;1;7792fe74aab0b2f4d8615a784f562aa2;1,7,0;2;12;FLOAT;0;False;9;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;567;-239.0434,2075.365;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;204;310.205,469.0058;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;625;75.78027,2222.697;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;545;58.48236,1477.761;Inherit;False;7;7;0;FLOAT;0;False;1;FLOAT;0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;FLOAT;0;False;6;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;165;547.4448,426.1721;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;532;3520.733,382.9306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;562;-426.9865,-1298.826;Inherit;False;2708.104;1199.057;Comment;25;905;911;912;909;910;908;907;906;268;864;863;861;860;859;858;871;868;866;862;786;266;267;265;913;1062;Emission;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TransformDirectionNode;492;3363.496,547.6183;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;190;-2167.837,347.7095;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CommentaryNode;222;3678.678,-355.4811;Inherit;False;440.5804;266.2591;Comment;4;169;221;159;1119;Composite;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;219;-2029.515,342.5311;Inherit;False;BRDF;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;557;340.3037,1469.082;Inherit;False;Rimlighting;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;265;1209.963,-1067.859;Inherit;True;Property;_EmissionMap;EmissionMap;5;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.GetLocalVarNode;159;3706.322,-313.2809;Inherit;False;158;IndirectSpecular;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;267;1330.802,-1248.826;Inherit;False;Property;_EmissionColor;Emission Color;6;1;[HDR];Create;True;0;0;0;False;0;False;0,0,0,0;1,0.5188679,0.5188679,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;221;3730.281,-237.8131;Inherit;False;219;BRDF;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;175;-816.4901,529.5698;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;140;-2813.083,603.2727;Inherit;False;return j*x+i*(1-x)@;1;Create;3;True;i;FLOAT;0;In;;Inherit;False;True;j;FLOAT;0;In;;Inherit;False;True;x;FLOAT;0;In;;Inherit;False;MixFunc;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-1931.422,-916.1447;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;599;-822.542,-307.6921;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;285;-3030.983,-472.9721;Inherit;False;Constant;_Float6;Float 6;9;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;605;-1093.615,-232.9525;Inherit;False;Constant;_Float14;Float 14;20;0;Create;True;0;0;0;False;0;False;0.1;0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;595;-463.6266,1369.061;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;75;-1071.254,-468.1801;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;18;-1399.849,-658.295;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;156;-987.3672,523.5707;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ClampOpNode;174;-668.5641,526.8943;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.03;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;266;1570.802,-1101.826;Inherit;False;3;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;37;-1397.826,-503.7185;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;621;-370.3684,1572.545;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;607;-1086.071,-307.0391;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;596;-1401.809,-263.1957;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;622;-231.1782,1347.674;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;-0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;33;-1207.206,-626.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;362;-2129.13,-156.8327;Inherit;False;clearcoatNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;42;-950.3943,-631.1833;Inherit;False;VdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;22;-1791.587,-919.7219;Inherit;False;roughnessSquared;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;598;-1204.471,-306.6816;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;36;-1402.521,-428.6837;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;597;-1397.114,-338.2305;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;542;-641.7698,1365.349;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;74;-1073.991,-625.5533;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;139;-2812.083,713.2732;Inherit;False;float x = saturate(1-i)@$float x2 = x*x@$return x2*x2*x@;1;Create;1;True;i;FLOAT;0;In;;Inherit;False;SchlickFresnel;False;True;0;;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;591;-229.3808,2146.77;Inherit;False;600;LdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;48;-1397.544,-583.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;600;-698.5538,-311.3818;Inherit;False;LdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;284;-2635.655,-620.5502;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleSubtractOpNode;604;-958.6155,-306.9525;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;40;-1205.183,-472.1696;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;169;3994.139,-276.3966;Inherit;False;4;4;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;56;-944.2661,-473.8698;Inherit;False;LdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;587;-2603.063,-1230.459;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;45;-2031.958,-1307.261;Inherit;False;lightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;634;-3188.233,1238.03;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;635;-2982.671,1391.145;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;636;-2683.895,1302.977;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;568;-8834.074,-1222.282;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.BreakToComponentsNode;569;-8681.742,-1198.18;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.SimpleMaxOpNode;570;-8559.542,-1198.18;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;571;-8442.542,-1178.68;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;572;-8320.396,-1179.31;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.001;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;574;-8184.584,-1271.711;Inherit;False;Constant;_Float9;Float 9;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;573;-8192.156,-1184.819;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;577;-7802.581,-1318.901;Inherit;False;int lightEnv = int(any(_WorldSpaceLightPos0.xyz))@ $if(lightEnv != 1){$ return 0@$ }$return 1@;0;Create;0;LightExists;True;False;0;;False;0;1;INT;0 +Node;AmplifyShaderEditor.StaticSwitch;575;-8015.616,-1225.002;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;583;-7672.467,-1626.043;Inherit;False;Constant;_FakeLightDir;Fake Light Dir;0;0;Create;True;0;0;0;False;0;False;1,1,2;1,1,2;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;592;-7492.139,-1619.998;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;582;-7677.819,-1475.114;Inherit;False;True;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;576;-7656.862,-1317.273;Inherit;False;2;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;584;-7325.008,-1619.547;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;32;-7165.986,-1623.907;Inherit;False;lightDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;588;-6689.845,-1532.681;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;578;-6439.266,-1411.936;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;581;-6248.605,-1415.129;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;589;-6106.444,-1419.762;Inherit;False;InitialLightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;580;-6606.341,-1293.334;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;533;-6459.45,-1297.361;Inherit;False;Attenuation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightAttenuation;627;-7325.271,-1094.686;Inherit;False;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;629;-7336.423,-1022.664;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;630;-6807.647,-1120.831;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;632;-6667.123,-1432.648;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;628;-7069.139,-1200;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;793;4084.51,-419.9491;Inherit;False;1029;FinalEmission;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;378;4100.366,-511.162;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;787;1382.497,1440.873;Inherit;False;786;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;789;1392.707,1516.109;Inherit;False;788;OutlineRGB;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;795;-3209.973,-1321.565;Inherit;False;Property;_Culling;Culling;304;1;[Enum];Create;True;0;0;1;UnityEngine.Rendering.CullMode;True;0;False;0;2;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;790;2002.123,1543.81;Inherit;False;OutlineGlow;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;798;1961.58,1450.408;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;791;2081.115,1445.012;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SurfaceDepthNode;524;3118.077,458.5213;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;819;2748.469,326.6143;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;824;2956.071,303.7247;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;822;2550.839,340.7459;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;823;2570.85,500.8378;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;827;2521.599,567.8765;Inherit;False;Constant;_Float16;Float 16;26;0;Create;True;0;0;0;False;0;False;1000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;828;2680.669,636.316;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;829;2888.271,613.4264;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;830;2483.039,650.4476;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;831;2503.05,810.5396;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;225;-3007.329,-3413.345;Inherit;False;0;223;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.GetLocalVarNode;853;-24.64026,1740.427;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;498;485.348,590.3273;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;484;306.6857,585.6535;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;852;-2074.02,-2722.352;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;862;1041.562,-1033.402;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.LerpOp;859;751.5616,-913.4023;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.RangedFloatNode;860;561.5616,-938.4023;Inherit;False;Constant;_Float18;Float 18;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;863;219.952,-742.4731;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;864;558.0835,-863.7878;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;268;716.8016,-1035.826;Inherit;False;0;265;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.LerpOp;906;208.5399,-512.4272;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;910;15.06175,-462.8127;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleTimeNode;909;-323.0697,-341.498;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;912;486.7254,-565.1698;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;911;-3.374744,-656.1698;Inherit;False;0;866;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.RegisterLocalVarNode;871;1003.037,-350.0024;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;913;676.2248,-352.4956;Inherit;True;Property;_TextureSample0;Texture Sample 0;3;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Instance;866;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.FunctionNode;984;1174.184,-646.1843;Inherit;True;EffectMaskChannel;-1;;3967;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;124;-3173.241,958.7939;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1027;4291.965,105.7077;Inherit;False;791;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1031;1959.949,1643.783;Inherit;False;DirectionMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1032;4430.452,465.3638;Inherit;False;1031;DirectionMap;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;792;3756.018,53.18221;Inherit;False;790;OutlineGlow;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;788;2525.206,109.5492;Inherit;False;OutlineRGB;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.FunctionNode;1042;3327.138,80.1829;Inherit;False;EffectMaskChannel;-1;;4562;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1043;2795.438,112.6829;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1044;3034.638,113.9829;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.GetLocalVarNode;1011;4262.274,6.535469;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;226;-3076.27,-549.0756;Inherit;False;1049;IridescentMainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.WorldNormalVector;1058;3137.704,747.7896;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;495;3640.296,550.8184;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;489;3680.985,243.5691;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;832;3638.739,385.1481;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;493;3237.892,553.2095;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;494;3833.85,241.0057;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;1059;3854.503,558.9896;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;1060;3875.304,715.7897;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.WorldNormalVector;1061;3312.104,-28.2103;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalVertexDataNode;488;3480.785,242.0691;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;818;2589.399,258.1747;Inherit;False;Constant;_Float10;Float 10;26;0;Create;True;0;0;0;False;0;False;10000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;786;2002.439,-932.0972;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1064;1629.501,-909.2549;Inherit;False;Constant;_Float20;Float 20;43;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;380;-2930.957,-2386.695;Inherit;True;Property;_SpecGlossMap;Specular;29;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f3bc535e7a220264d8a1f770fb367426;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.ColorNode;383;-2699.411,-2185.3;Inherit;False;Property;_SpecColor;Specular Color;30;0;Fetch;False;0;0;0;False;0;False;1,1,1,0;0.3169973,0.3169973,0.3169973,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1065;-1840.527,-3445.194;Inherit;False;Property;_ShowMain;ShowMain;206;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;302;-3285.939,-3140.613;Inherit;False;Property;_BumpScale;Normal Scale;16;0;Create;False;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;246;-2794.355,-3038.931;Inherit;True;Property;_MetallicGlossMap;Metallic;18;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;391;-2771.034,-2477.877;Inherit;False;Property;_OcclusionStrength;Occlusion Strength;25;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;223;-2790.1,-3446.149;Inherit;True;Property;_MainTex;Main Tex;0;0;Create;True;0;0;0;False;0;False;-1;None;0a92f98f03d58ac449724fa4a3f0e1f8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;241;-2788.6,-3244.549;Inherit;True;Property;_BumpMap;Normal;14;2;[Normal];[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;55479011db618034693440f32dbe9240;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.SamplerNode;386;-2786.9,-2663.733;Inherit;True;Property;_OcclusionMap;OcclusionMap;24;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;866;671.9223,-679.6194;Inherit;True;Property;_EffectMask;Effect Mask;3;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;907;75.53984,-539.4272;Inherit;False;Constant;_Float19;Float 19;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;868;705.1241,-481.1015;Inherit;False;Property;_EmissionMaskingChannel;Emission Masking Channel;7;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;908;-2.460165,-365.4272;Inherit;False;Property;_EmissionMaskPan;Emission Mask Pan;9;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;905;-346.4601,-469.4272;Inherit;False;Property;_EmissionMaskPanSpeed;Emission Mask Pan Speed;10;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;861;540.5616,-766.4023;Inherit;False;Property;_EmissionPan;Emission Pan;11;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;858;200.5616,-870.4023;Inherit;False;Property;_EmissionPanSpeed;Emission Pan Speed;13;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;1067;1402.106,1599.42;Inherit;False;Property;_ShowGlow;ShowGlow;203;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1075;4763.708,211.9052;Inherit;False;Property;_ShowEffects;ShowEffects;202;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StaticSwitch;1062;1764.78,-943.7126;Inherit;False;Property;_EnableEmission;_Enable Emission;207;0;Create;False;0;0;0;False;0;False;0;0;0;True;_EMISSION;Toggle;2;Key0;Key1;Create;True;False;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1066;2124.162,89.25903;Inherit;False;Property;_ShowOutline;ShowOutline;204;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1081;2121.584,167.0743;Inherit;False;Property;_ShowOutline2;ShowOutline2;205;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1095;4455.95,550.3781;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;460;-2981.99,956.8101;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.125;False;2;FLOAT;0.15;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;983;4391.114,201.3586;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1029;5287.174,278.7382;Inherit;False;FinalEmission;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;986;4408.033,344.0441;Inherit;False;557;Rimlighting;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1118;5024.975,112.8467;Inherit;False;RimlightEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1119;3712.385,-167.4584;Inherit;False;1118;RimlightEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;988;4397.987,266.4666;Inherit;False;987;ColoredSpec;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;121;-3038.383,159.6466;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;987;-2860.835,149.3844;Inherit;False;ColoredSpec;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1120;-3083.43,383.6133;Inherit;False;1117;SpecEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1117;5016.975,3.84671;Inherit;False;SpecEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;445;-3270.5,299.042;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1132;-5621.691,460.2031;Inherit;False;GGXTerm;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;617;-481.7099,1489.51;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;620;-347.238,1489.556;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;619;-182.238,1488.556;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1134;38.33276,1373.834;Inherit;False;RimAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1127;4223.965,452.6614;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1140;4586.708,44.20444;Inherit;False;Applfy Effects;226;;4871;86ee36ff59e1113469676c1c5ac8dd3c;0;7;31;COLOR;0,0,0,0;False;15;FLOAT3;0,0,1;False;16;COLOR;0,0,1,0;False;2;COLOR;0,0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;23;FLOAT;0;False;3;FLOAT4;0;FLOAT4;38;FLOAT4;39 +Node;AmplifyShaderEditor.FunctionNode;1141;4793.75,336.9004;Inherit;False;Iridescent Emission;208;;4905;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93 +Node;AmplifyShaderEditor.SimpleMinOpNode;1142;-1548.589,-2761.705;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;90;-1410.964,-2767.599;Inherit;False;Smoothness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;1143;-1795.298,-2903.922;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.4;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1144;-1546.305,-2910.684;Inherit;False;SmoothnessColorMult;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1145;-2345.992,-693.0366;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1146;-1698.886,-501.7159;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;224;-2484.676,-3439.029;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1048;4322.479,-94.13754;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1149;-2887.883,-734.886;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1148;-3251.883,-930.886;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1150;-3073.883,-974.886;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.ColorNode;59;-3111.619,-716.5183;Inherit;False;Property;_Color;Color;2;0;Create;True;0;0;0;False;0;False;1,1,1,1;0.9,0.9,0.9,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1147;-3110.883,-802.886;Inherit;False;Alpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;5503.371,-421.687;Float;False;True;-1;5;FuralityShaderUI;0;0;CustomLighting;Furality/Sylva Shader/Sylva Opaque;False;False;False;False;False;False;True;True;True;False;True;False;False;False;True;False;False;False;False;False;False;Back;0;False;;0;False;;False;0;False;;0;False;;False;0;Opaque;0.5;True;True;0;False;Opaque;;Geometry;All;12;all;True;True;True;True;0;False;;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;2;15;10;25;False;0.5;True;0;5;True;_BlendOPsrc;10;True;_BlendOPdst;0;5;False;;10;False;;0;False;;0;False;;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;True;Relative;0;;-1;-1;-1;-1;0;False;0;0;True;_Culling;-1;0;True;_MaskClipValue;1;Include;;True;1ec20832dfbb48343b8e0764e0864276;Custom;False;0;0;;0;0;False;0.1;False;;0;False;;False;15;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0 +Node;AmplifyShaderEditor.GetLocalVarNode;522;-2643.834,795.6546;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;521;-5129.626,1237.589;Inherit;False;ToonAmbience;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;129;-2672.565,275.1928;Inherit;False;23;diffuse;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1160;-2670.334,200.1979;Inherit;False;1155;Opacity;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;158;785.2396,421.767;Inherit;False;IndirectSpecular;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1135;4221.086,375.6588;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1133;4486.572,701.4352;Inherit;False;1132;GGXTerm;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1154;4563.932,-907.7635;Inherit;False;Constant;_Float21;Float 21;49;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1165;101.98,461.387;Inherit;False;IndirectAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1168;1511.465,577.6862;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;850;1694.621,568.6945;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1169;1218.465,607.6862;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;847;1088.521,513.8946;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CustomExpressionNode;848;1266.621,508.6945;Inherit;False;float3 nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;851;1863.677,556.974;Inherit;False;SpecularAntiAlias;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1170;4714.897,-772.7258;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1172;4452.577,-804.3515;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1049;5381.64,400.6321;Inherit;False;IridescentMainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;1152;4949.605,-904.1158;Inherit;False;Property;_Keyword3;Keyword 3;201;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1174;4082.013,-676.3953;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1175;4418.013,-707.3953;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1162;3713.449,-850.2751;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1177;3737.299,-754.6938;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1171;3942.885,-861.8574;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1179;4102.299,-795.6938;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1182;-2967.033,-1241.008;Inherit;False;Property;_BlendOPIndex;_BlendOPIndex;199;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1180;-3056.033,-1322.008;Inherit;False;Property;_BlendOPsrc;_BlendOPsrc;198;0;Create;True;0;0;0;True;0;False;5;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1181;-2884.033,-1321.008;Inherit;False;Property;_BlendOPdst;_BlendOPdst;200;0;Create;True;0;0;0;True;0;False;10;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1151;4245.475,-858.7676;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1176;5015.775,-989.7418;Inherit;False;Constant;_Float22;Float 22;49;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1046;3934.238,344.0829;Inherit;False;Property;_MaskClipValue;Mask Clip Value;305;0;Create;True;0;0;0;True;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1045;3173.738,250.4829;Inherit;False;Property;_OutlineMaskingChannel;Outline Masking Channel;37;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;496;3392.317,690.8503;Inherit;False;Property;_ViewFudge;ViewFudge;35;0;Create;True;0;0;0;True;0;False;0;0.05;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;490;2224.805,337.181;Inherit;False;Property;_OutlineWidth;Outline Width;33;0;Create;False;0;0;0;True;0;False;1;20;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;826;2157.005,646.8827;Inherit;False;Property;_MaxOutlineWidth;Max Outline Width;34;0;Create;True;0;0;0;True;0;False;850;1000;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;497;2296.051,106.4058;Inherit;False;Property;_OutlineColor;Outline Color;39;0;Create;True;0;0;0;True;0;False;0,0,0,1;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;1183;5035.267,-264.119;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1185;3759.467,144.6142;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1155;5226.195,-903.2067;Inherit;False;Opacity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OutlineNode;486;3973.185,203.869;Inherit;False;2;False;None;1;0;Front;True;True;True;True;0;False;;3;0;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FunctionNode;1074;1625.512,1469.38;Inherit;False;Luma Glow Properties;40;;4913;7b40ef0e4b7a40f4f9276cd62640845c;1,260,1;2;1;COLOR;0,0,0,0;False;155;FLOAT3;0,0,0;False;3;FLOAT;244;FLOAT4;183;FLOAT4;0 +Node;AmplifyShaderEditor.RangedFloatNode;1186;-3183.302,-1232.692;Inherit;False;Property;_BlendModeIndex;_BlendModeIndex;197;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1187;-3178.302,-1144.692;Inherit;False;Property;_EnableOutline;EnableOutline;196;1;[Toggle];Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;1188;1078.293,1854.028;Inherit;False;2277.787;663.5576;Comment;26;1214;1213;1212;1211;1210;1209;1208;1207;1206;1205;1204;1203;1202;1201;1200;1199;1198;1197;1196;1195;1194;1193;1192;1191;1190;1189;Outline Properties to make UI work;1,1,1,1;0;0 +Node;AmplifyShaderEditor.IntNode;1189;3092.746,1954.059;Inherit;False;Property;_OutlineGlowBlendMode;OutlineGlowBlendMode;12;1;[Enum];Create;True;0;2;Multiply;0;Additive;1;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1190;3083.457,2068.072;Inherit;False;Property;_ShowOutlineGlow;_ShowOutlineGlow;194;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1191;3092.888,2145.244;Inherit;False;Property;_ShowOutlineAL;_ShowOutlineAL;195;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1192;2736.858,1939.378;Inherit;False;Property;_OutlineGlowMinBrightness;OutlineGlowMinBrightness;15;0;Create;True;0;0;0;True;0;False;0;0;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;1193;2766.685,2064.765;Inherit;False;Property;_OutlineGlowTint;OutlineGlowTint;1;1;[HDR];Create;True;0;0;0;True;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.IntNode;1194;2728.512,2270.861;Inherit;False;Property;_OutlineReactiveBlendMode;OutlineReactiveBlendMode;183;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed Multiply;2;Reversed Additve;3;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1195;2449.779,1944.018;Inherit;False;Property;_OutlineReactivePulseOffset;OutlineReactivePulseOffset;188;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1196;2421.71,2102.693;Inherit;False;Property;_OutlineReactiveGlobalSmoothing;OutlineReactiveGlobalSmoothing;185;0;Create;True;0;0;0;True;0;False;1;1;0;2;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1197;2433.307,2208.245;Inherit;False;Property;_OutlineReactiveMinBrightness;OutlineReactiveMinBrightness;184;0;Create;True;0;0;0;True;0;False;0;0;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;1198;2436.032,2310.586;Inherit;False;Property;_OutlineReactiveTint;OutlineReactiveTint;28;1;[HDR];Create;True;0;0;0;True;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.IntNode;1199;2124.926,2312.724;Inherit;False;Property;_OutlineReactiveBand;OutlineReactiveBand;32;1;[Enum];Create;True;0;5;None;10;Bass;0;Low Mid;1;High Mid;2;Treble;3;0;True;0;False;10;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1200;2134.73,2222.652;Inherit;False;Property;_OutlineReactiveDelay;OutlineReactiveDelay;36;0;Create;True;0;3;None;0;Zone 1;1;Zone 2;2;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1201;2104.568,2084.924;Inherit;False;Property;_OutlineReactiveMode;OutlineReactiveMode;38;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction Map;3;Reversed Direction Map;4;Smooth Global;5;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1202;2158.466,1946.719;Inherit;False;Property;_OutlineReactivePulseScale;OutlineReactivePulseScale;187;0;Create;True;0;0;0;True;0;False;127;128;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1203;1836.796,1935.889;Inherit;False;Property;_OutlineReactivePulseDir;OutlineReactivePulseDir;186;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1204;1860.648,2055.52;Inherit;False;Property;_OutlineGlowZone;OutlineGlowZone;4;1;[Enum];Create;True;0;8;None;0;Zone 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.Vector2Node;1205;1814.161,2163.823;Inherit;False;Property;_OutlineReactiveRadialCenter;OutlineReactiveRadialCenter;189;0;Create;True;0;0;0;True;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.IntNode;1207;1530.011,2002.482;Inherit;False;Property;_OutlineGlowMode;OutlineGlowMode;8;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction Map;3;Reversed Direction Map;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1208;1510.437,1904.028;Inherit;False;Property;_OutlineGlowPulseDir;OutlineGlowPulseDir;17;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1209;1472.326,2305.486;Inherit;False;Property;_OutlineGlowPulseOffset;OutlineGlowPulseOffset;23;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1210;1172.945,2324.323;Inherit;False;Property;_OutlineGlowPulseScale;OutlineGlowPulseScale;20;0;Create;True;0;0;0;True;0;False;127;128;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1211;1128.293,2196.968;Inherit;False;Property;_OutlineGlowAnimationSpeed;OutlineGlowAnimationSpeed;192;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1212;1131.257,2115.024;Inherit;False;Property;_OutlineGlowAnimationBand;OutlineGlowAnimationBand;190;1;[Enum];Create;True;0;5;None;10;Bass;0;Low Mid;1;High Mid;2;Treble;3;0;True;0;False;10;10;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1213;1128.293,2033.887;Inherit;False;Property;_OutlineGlowAnimationMode;OutlineGlowAnimationMode;191;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard Stop;3;Constant;4;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1214;1150.052,1950.941;Inherit;False;Property;_OutlineGlowAnimationStrength;OutlineGlowAnimationStrength;193;0;Create;True;0;0;0;True;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;1206;1538.617,2089.621;Inherit;False;Property;_OutlineGlowRadialCenter;OutlineGlowRadialCenter;26;0;Create;False;0;0;0;True;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +WireConnection;388;0;302;0 +WireConnection;388;1;389;0 +WireConnection;243;0;241;0 +WireConnection;101;0;100;0 +WireConnection;257;0;245;0 +WireConnection;258;0;101;0 +WireConnection;258;1;257;0 +WireConnection;251;0;250;3 +WireConnection;251;1;250;4 +WireConnection;259;0;258;0 +WireConnection;252;1;251;0 +WireConnection;254;0;246;4 +WireConnection;254;1;253;0 +WireConnection;29;0;6;0 +WireConnection;31;0;259;0 +WireConnection;255;0;7;0 +WireConnection;255;1;254;0 +WireConnection;255;2;252;0 +WireConnection;14;0;15;0 +WireConnection;14;1;26;0 +WireConnection;19;0;10;0 +WireConnection;19;1;8;0 +WireConnection;71;0;14;0 +WireConnection;13;0;19;0 +WireConnection;39;0;71;0 +WireConnection;176;0;256;0 +WireConnection;176;3;177;0 +WireConnection;176;4;212;0 +WireConnection;25;0;13;0 +WireConnection;303;0;176;0 +WireConnection;211;0;303;0 +WireConnection;50;0;28;0 +WireConnection;50;1;52;0 +WireConnection;516;0;512;0 +WireConnection;247;0;246;1 +WireConnection;73;0;50;0 +WireConnection;511;0;516;0 +WireConnection;47;0;211;0 +WireConnection;514;0;636;0 +WireConnection;501;0;511;0 +WireConnection;38;0;73;0 +WireConnection;249;0;41;0 +WireConnection;249;1;248;0 +WireConnection;517;0;519;0 +WireConnection;17;0;47;0 +WireConnection;477;0;476;0 +WireConnection;384;0;380;0 +WireConnection;384;1;383;0 +WireConnection;518;0;517;0 +WireConnection;472;0;473;0 +WireConnection;472;1;476;0 +WireConnection;535;0;513;0 +WireConnection;535;1;534;0 +WireConnection;475;0;473;0 +WireConnection;475;1;477;0 +WireConnection;46;0;249;0 +WireConnection;593;0;501;0 +WireConnection;593;1;594;0 +WireConnection;394;0;384;0 +WireConnection;479;0;475;0 +WireConnection;24;0;49;0 +WireConnection;24;1;27;0 +WireConnection;478;0;472;0 +WireConnection;413;0;416;0 +WireConnection;413;1;415;0 +WireConnection;227;0;59;0 +WireConnection;227;1;226;0 +WireConnection;520;0;593;0 +WireConnection;520;1;518;0 +WireConnection;520;2;535;0 +WireConnection;436;0;413;0 +WireConnection;436;1;478;0 +WireConnection;436;2;479;0 +WireConnection;72;0;24;0 +WireConnection;163;0;227;0 +WireConnection;163;1;54;0 +WireConnection;401;0;402;0 +WireConnection;401;1;54;0 +WireConnection;401;2;396;0 +WireConnection;381;0;395;0 +WireConnection;381;1;163;1 +WireConnection;381;2;401;0 +WireConnection;11;0;72;0 +WireConnection;452;0;436;0 +WireConnection;452;1;451;0 +WireConnection;315;0;180;0 +WireConnection;315;1;180;0 +WireConnection;469;0;470;0 +WireConnection;208;0;315;0 +WireConnection;44;0;1146;0 +WireConnection;471;0;469;0 +WireConnection;471;2;452;0 +WireConnection;181;0;208;0 +WireConnection;181;1;208;0 +WireConnection;181;2;208;0 +WireConnection;461;0;125;0 +WireConnection;450;0;452;0 +WireConnection;450;1;471;0 +WireConnection;191;0;181;0 +WireConnection;444;0;450;0 +WireConnection;565;0;461;0 +WireConnection;300;0;233;0 +WireConnection;300;1;120;0 +WireConnection;301;0;300;0 +WireConnection;200;0;191;0 +WireConnection;68;1;587;0 +WireConnection;161;0;166;0 +WireConnection;161;2;200;0 +WireConnection;392;0;386;2 +WireConnection;392;1;391;0 +WireConnection;202;0;201;0 +WireConnection;202;2;200;0 +WireConnection;379;0;230;0 +WireConnection;379;1;231;0 +WireConnection;379;2;232;0 +WireConnection;138;0;115;0 +WireConnection;138;1;114;0 +WireConnection;138;2;116;0 +WireConnection;138;3;117;0 +WireConnection;272;0;392;0 +WireConnection;23;0;163;0 +WireConnection;544;0;537;0 +WireConnection;544;1;543;0 +WireConnection;480;0;161;0 +WireConnection;123;0;1120;0 +WireConnection;123;1;379;0 +WireConnection;123;2;138;0 +WireConnection;123;3;636;0 +WireConnection;123;4;566;0 +WireConnection;482;0;202;0 +WireConnection;610;0;609;0 +WireConnection;610;1;612;0 +WireConnection;550;0;544;0 +WireConnection;550;1;551;0 +WireConnection;203;0;482;0 +WireConnection;481;1;480;0 +WireConnection;132;0;123;0 +WireConnection;132;1;314;0 +WireConnection;614;0;610;0 +WireConnection;614;1;615;0 +WireConnection;554;0;552;0 +WireConnection;554;1;553;0 +WireConnection;274;0;129;0 +WireConnection;274;1;275;0 +WireConnection;274;2;1160;0 +WireConnection;311;0;306;0 +WireConnection;311;1;514;0 +WireConnection;312;0;132;0 +WireConnection;312;1;460;0 +WireConnection;312;2;623;0 +WireConnection;613;0;614;0 +WireConnection;213;0;214;0 +WireConnection;213;1;215;0 +WireConnection;213;2;203;0 +WireConnection;162;0;481;0 +WireConnection;548;0;550;0 +WireConnection;529;0;824;0 +WireConnection;529;1;524;0 +WireConnection;555;0;554;0 +WireConnection;555;1;556;0 +WireConnection;128;0;274;0 +WireConnection;128;1;312;0 +WireConnection;151;0;153;0 +WireConnection;151;1;152;0 +WireConnection;151;2;276;0 +WireConnection;310;0;522;0 +WireConnection;310;1;311;0 +WireConnection;547;12;548;0 +WireConnection;547;9;549;0 +WireConnection;204;0;1165;0 +WireConnection;204;1;213;0 +WireConnection;204;2;205;0 +WireConnection;625;1;626;0 +WireConnection;625;0;613;0 +WireConnection;545;0;619;0 +WireConnection;545;1;547;0 +WireConnection;545;2;555;0 +WireConnection;545;3;558;0 +WireConnection;545;4;567;0 +WireConnection;545;5;625;0 +WireConnection;545;6;853;0 +WireConnection;165;0;151;0 +WireConnection;165;1;204;0 +WireConnection;165;2;498;0 +WireConnection;532;0;824;0 +WireConnection;532;1;529;0 +WireConnection;190;0;128;0 +WireConnection;190;1;310;0 +WireConnection;219;0;190;0 +WireConnection;557;0;545;0 +WireConnection;265;1;862;0 +WireConnection;175;0;156;0 +WireConnection;30;0;47;0 +WireConnection;30;1;47;0 +WireConnection;599;0;604;0 +WireConnection;595;0;542;0 +WireConnection;75;0;40;0 +WireConnection;174;0;175;0 +WireConnection;266;0;267;0 +WireConnection;266;1;265;0 +WireConnection;266;2;984;0 +WireConnection;621;0;622;0 +WireConnection;607;0;598;0 +WireConnection;622;0;617;0 +WireConnection;33;0;18;0 +WireConnection;33;1;48;0 +WireConnection;362;0;101;0 +WireConnection;42;0;74;0 +WireConnection;22;0;30;0 +WireConnection;598;0;597;0 +WireConnection;598;1;596;0 +WireConnection;74;0;33;0 +WireConnection;600;0;599;0 +WireConnection;284;0;227;0 +WireConnection;604;0;607;0 +WireConnection;604;1;605;0 +WireConnection;40;0;37;0 +WireConnection;40;1;36;0 +WireConnection;169;0;159;0 +WireConnection;169;1;221;0 +WireConnection;169;2;1140;0 +WireConnection;169;3;1119;0 +WireConnection;56;0;75;0 +WireConnection;45;0;590;0 +WireConnection;634;0;460;0 +WireConnection;636;0;634;0 +WireConnection;636;1;460;0 +WireConnection;636;2;635;4 +WireConnection;569;0;568;1 +WireConnection;570;0;569;0 +WireConnection;570;1;569;1 +WireConnection;571;0;570;0 +WireConnection;571;1;569;2 +WireConnection;572;0;571;0 +WireConnection;573;0;572;0 +WireConnection;575;1;574;0 +WireConnection;575;0;573;0 +WireConnection;592;0;583;0 +WireConnection;576;0;577;0 +WireConnection;576;1;575;0 +WireConnection;584;0;592;0 +WireConnection;584;1;582;0 +WireConnection;584;2;576;0 +WireConnection;32;0;584;0 +WireConnection;578;0;588;0 +WireConnection;578;1;632;0 +WireConnection;578;2;576;0 +WireConnection;581;0;578;0 +WireConnection;581;1;533;0 +WireConnection;589;0;581;0 +WireConnection;580;1;630;0 +WireConnection;580;2;576;0 +WireConnection;533;0;580;0 +WireConnection;630;0;628;0 +WireConnection;630;1;627;0 +WireConnection;630;2;629;4 +WireConnection;628;0;627;0 +WireConnection;798;0;1074;183 +WireConnection;798;1;1074;0 +WireConnection;791;0;798;0 +WireConnection;819;0;490;0 +WireConnection;819;1;818;0 +WireConnection;824;1;819;0 +WireConnection;824;2;823;0 +WireConnection;822;0;490;0 +WireConnection;823;0;490;0 +WireConnection;828;0;826;0 +WireConnection;828;1;818;0 +WireConnection;829;1;828;0 +WireConnection;829;2;831;0 +WireConnection;830;0;826;0 +WireConnection;831;0;826;0 +WireConnection;498;0;484;0 +WireConnection;498;1;484;0 +WireConnection;862;0;268;0 +WireConnection;862;1;859;0 +WireConnection;859;0;860;0 +WireConnection;859;1;864;0 +WireConnection;859;2;861;0 +WireConnection;864;0;858;0 +WireConnection;864;1;863;0 +WireConnection;906;0;907;0 +WireConnection;906;1;910;0 +WireConnection;906;2;908;0 +WireConnection;910;0;905;0 +WireConnection;910;1;909;0 +WireConnection;912;0;911;0 +WireConnection;912;1;906;0 +WireConnection;871;0;913;0 +WireConnection;984;14;866;1 +WireConnection;984;15;866;2 +WireConnection;984;16;866;3 +WireConnection;984;17;866;4 +WireConnection;984;18;868;0 +WireConnection;1031;0;1074;244 +WireConnection;788;0;497;0 +WireConnection;1042;14;1044;0 +WireConnection;1042;15;1044;1 +WireConnection;1042;16;1044;2 +WireConnection;1042;17;1044;3 +WireConnection;1042;18;1045;0 +WireConnection;1044;0;1043;0 +WireConnection;495;0;493;0 +WireConnection;495;1;496;0 +WireConnection;489;0;1061;0 +WireConnection;489;1;832;0 +WireConnection;489;2;1042;0 +WireConnection;832;0;532;0 +WireConnection;832;1;829;0 +WireConnection;493;0;491;0 +WireConnection;494;0;489;0 +WireConnection;494;1;495;0 +WireConnection;1059;0;488;0 +WireConnection;1060;0;494;0 +WireConnection;786;0;1062;0 +WireConnection;380;1;393;0 +WireConnection;246;1;269;0 +WireConnection;223;1;225;0 +WireConnection;241;1;242;0 +WireConnection;241;5;388;0 +WireConnection;386;1;385;0 +WireConnection;866;1;912;0 +WireConnection;1062;0;266;0 +WireConnection;460;0;124;0 +WireConnection;1029;0;1141;0 +WireConnection;1118;0;1140;39 +WireConnection;121;0;301;0 +WireConnection;121;1;445;0 +WireConnection;987;0;121;0 +WireConnection;1117;0;1140;38 +WireConnection;1132;0;413;0 +WireConnection;617;0;616;0 +WireConnection;617;1;618;0 +WireConnection;620;0;617;0 +WireConnection;619;0;620;0 +WireConnection;1134;0;547;0 +WireConnection;1140;2;983;0 +WireConnection;1140;3;988;0 +WireConnection;1140;4;986;0 +WireConnection;1140;23;1032;0 +WireConnection;1141;214;1133;0 +WireConnection;1141;215;1135;0 +WireConnection;1141;207;1127;0 +WireConnection;1141;165;1095;0 +WireConnection;1141;84;1048;0 +WireConnection;1141;21;1011;0 +WireConnection;1141;44;1027;0 +WireConnection;1141;56;983;0 +WireConnection;1142;0;255;0 +WireConnection;1142;1;852;0 +WireConnection;90;0;1142;0 +WireConnection;1143;0;255;0 +WireConnection;1144;0;1143;0 +WireConnection;1146;0;381;0 +WireConnection;1146;1;1145;0 +WireConnection;224;0;223;0 +WireConnection;1149;0;1150;3 +WireConnection;1149;1;59;4 +WireConnection;1150;0;1148;0 +WireConnection;1147;0;1149;0 +WireConnection;0;0;378;0 +WireConnection;0;2;793;0 +WireConnection;0;13;169;0 +WireConnection;521;0;520;0 +WireConnection;158;0;165;0 +WireConnection;1165;0;162;0 +WireConnection;1168;0;848;0 +WireConnection;1168;1;1169;0 +WireConnection;850;0;1168;0 +WireConnection;848;0;847;0 +WireConnection;851;0;850;0 +WireConnection;1170;0;1172;0 +WireConnection;1170;1;1175;0 +WireConnection;1172;0;1151;0 +WireConnection;1049;0;1141;93 +WireConnection;1152;1;1154;0 +WireConnection;1152;0;1170;0 +WireConnection;1175;0;1179;0 +WireConnection;1175;1;1174;0 +WireConnection;1171;0;1162;0 +WireConnection;1179;0;1171;0 +WireConnection;1179;1;1177;0 +WireConnection;1155;0;1154;0 +WireConnection;486;0;792;0 +WireConnection;486;1;1060;0 +WireConnection;1074;1;787;0 +ASEEND*/ +//CHKSM=EC6F62047D1156DC6FF0869F9DE67242BC5AEE9E \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque.shader.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque.shader.meta new file mode 100644 index 0000000..714c872 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Opaque.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 9990dc4737d174f4f8292065d92100b6 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent Outline.shader b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent Outline.shader new file mode 100644 index 0000000..a5163fa --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent Outline.shader @@ -0,0 +1,4093 @@ +// Made with Amplify Shader Editor v1.9.1.5 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "Furality/Sylva Shader/Sylva Transparent Outline" +{ + Properties + { + [HDR]_OutlineGlowTint("OutlineGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_OutlineGlowZone("OutlineGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_OutlineGlowMode("OutlineGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_OutlineGlowBlendMode("OutlineGlowBlendMode", Int) = 0 + _OutlineGlowMinBrightness("OutlineGlowMinBrightness", Range( 0 , 1)) = 0 + _OutlineGlowPulseDir("OutlineGlowPulseDir", Float) = 0 + _OutlineGlowPulseScale("OutlineGlowPulseScale", Float) = 127 + _OutlineGlowPulseOffset("OutlineGlowPulseOffset", Float) = 0 + _OutlineGlowRadialCenter("OutlineGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_OutlineReactiveTint("OutlineReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineReactiveBand("OutlineReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_OutlineReactiveMode("OutlineReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_OutlineReactiveBlendMode("OutlineReactiveBlendMode", Int) = 0 + _OutlineReactiveMinBrightness("OutlineReactiveMinBrightness", Range( 0 , 1)) = 0 + _OutlineReactiveGlobalSmoothing("OutlineReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _OutlineReactivePulseDir("OutlineReactivePulseDir", Float) = 0 + _OutlineReactivePulseScale("OutlineReactivePulseScale", Float) = 127 + _OutlineReactivePulseOffset("OutlineReactivePulseOffset", Float) = 0 + _OutlineReactiveRadialCenter("OutlineReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowOutlineGlow("_ShowOutlineGlow", Float) = 0 + _ShowOutlineAL("_ShowOutlineAL", Float) = 0 + _MainTex("Main Tex", 2D) = "white" {} + _Color("Color", Color) = (1,1,1,1) + _EffectMask("Effect Mask", 2D) = "white" {} + _EmissionMap("EmissionMap", 2D) = "white" {} + [HDR]_EmissionColor("Emission Color", Color) = (0,0,0,0) + [Enum(None,0,R,1,G,2,B,3,A,4)]_EmissionMaskingChannel("Emission Masking Channel", Int) = 0 + [ToggleUI]_EmissionMaskPan("Emission Mask Pan", Float) = 0 + _EmissionMaskPanSpeed("Emission Mask Pan Speed", Vector) = (1,1,0,0) + [ToggleUI]_EmissionPan("Emission Pan", Float) = 0 + _EmissionPanSpeed("Emission Pan Speed", Vector) = (1,1,0,0) + [Normal][SingleLineTexture]_BumpMap("Normal", 2D) = "bump" {} + _BumpScale("Normal Scale", Range( 0 , 1)) = 1 + [SingleLineTexture]_MetallicGlossMap("Metallic", 2D) = "black" {} + _Metallic("Metallic", Range( 0 , 1)) = 0 + _Glossiness("Smoothness", Range( 0 , 1)) = 0.5 + _GlossMapScale("GlossMapScale", Range( 0 , 1)) = 1 + [SingleLineTexture]_OcclusionMap("OcclusionMap", 2D) = "white" {} + _OcclusionStrength("Occlusion Strength", Range( 0 , 1)) = 1 + [ToggleUI]_EnableSpecularMap("Enable Specular Map", Float) = 0 + [SingleLineTexture]_SpecGlossMap("Specular", 2D) = "white" {} + _SpecColor("Specular Color", Color) = (1,1,1,0) + [HDR]_RimlightColor("Rimlight Color", Color) = (1,1,1,0) + _OutlineWidth("Outline Width", Range( 0 , 1000)) = 1 + _MaxOutlineWidth("Max Outline Width", Range( 0 , 1000)) = 850 + _ViewFudge("ViewFudge", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_OutlineMaskingChannel("Outline Masking Channel", Int) = 0 + _OutlineColor("Outline Color", Color) = (0,0,0,1) + _DirectionalMap("Directional Map", 2D) = "white" {} + [HDR]_EmissionGlowTint("EmissionGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_EmissionGlowZone("EmissionGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_EmissionGlowMode("EmissionGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_EmissionGlowBlendMode("EmissionGlowBlendMode", Int) = 0 + _EmissionGlowMinBrightness("EmissionGlowMinBrightness", Range( 0 , 1)) = 0 + _EmissionGlowPulseDir("EmissionGlowPulseDir", Float) = 0 + _EmissionGlowPulseScale("EmissionGlowPulseScale", Float) = 127 + _EmissionGlowPulseOffset("EmissionGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionGlowAnimationBand("EmissionGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_EmissionGlowAnimationMode("EmissionGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_EmissionGlowAnimationSpeed("EmissionGlowAnimationSpeed", Int) = 0 + _EmissionGlowAnimationStrength("EmissionGlowAnimationStrength", Float) = 1 + _EmissionGlowRadialCenter("EmissionGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_EmissionReactiveTint("EmissionReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionReactiveBand("EmissionReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_EmissionReactiveMode("EmissionReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_EmissionReactiveBlendMode("EmissionReactiveBlendMode", Int) = 0 + _EmissionReactiveMinBrightness("EmissionReactiveMinBrightness", Range( 0 , 1)) = 0 + _EmissionReactiveGlobalSmoothing("EmissionReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _EmissionReactivePulseDir("EmissionReactivePulseDir", Float) = 0 + _EmissionReactivePulseScale("EmissionReactivePulseScale", Float) = 127 + _EmissionReactivePulseOffset("EmissionReactivePulseOffset", Float) = 0 + _EmissionReactiveRadialCenter("EmissionReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowEmissGlow("_ShowEmissGlow", Float) = 0 + _ShowEmissAL("_ShowEmissAL", Float) = 0 + _GlowMask("GlowMask", 2D) = "black" {} + [HDR]_RedChGlowTint("RedChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_RedChGlowZone("RedChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_RedChGlowMode("RedChGlowMode", Int) = 0 + _RedChGlowMinBrightness("RedChGlowMinBrightness", Range( 0 , 1)) = 0 + _RedChGlowPulseDir("RedChGlowPulseDir", Float) = 0 + _RedChGlowPulseScale("RedChGlowPulseScale", Float) = 127 + _RedChGlowPulseOffset("RedChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChGlowAnimationBand("RedChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RedChGlowAnimationMode("RedChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RedChGlowAnimationSpeed("RedChGlowAnimationSpeed", Int) = 0 + _RedChGlowAnimationStrength("RedChGlowAnimationStrength", Float) = 1 + _RedChGlowRadialCenter("RedChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HideInInspector] _texcoord( "", 2D ) = "white" {} + [HDR]_RedChReactiveTint("RedChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChReactiveBand("RedChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_RedChReactiveMode("RedChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_RedChReactiveBlendMode("RedChReactiveBlendMode", Int) = 0 + _RedChReactiveMinBrightness("RedChReactiveMinBrightness", Range( 0 , 1)) = 0 + _RedChReactiveGlobalSmoothing("RedChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _RedChReactivePulseDir("RedChReactivePulseDir", Float) = 0 + _RedChReactivePulseScale("RedChReactivePulseScale", Float) = 127 + _RedChReactivePulseOffset("RedChReactivePulseOffset", Float) = 0 + _RedChReactiveRadialCenter("RedChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowRedGlow("_ShowRedGlow", Float) = 0 + _ShowRedAL("_ShowRedAL", Float) = 0 + [ToggleUI]_EnableRedChannel("_EnableRedChannel", Float) = 0 + [HDR]_GreenChGlowTint("GreenChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_GreenChGlowZone("GreenChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_GreenChGlowMode("GreenChGlowMode", Int) = 0 + _GreenChReactiveMinBrightness("GreenChReactiveMinBrightness", Range( 0 , 1)) = 0 + _GreenChGlowPulseDir("GreenChGlowPulseDir", Float) = 0 + _GreenChGlowPulseScale("GreenChGlowPulseScale", Float) = 127 + _GreenChGlowPulseOffset("GreenChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChGlowAnimationBand("GreenChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_GreenChGlowAnimationMode("GreenChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_GreenChGlowAnimationSpeed("GreenChGlowAnimationSpeed", Int) = 0 + _GreenChGlowAnimationStrength("GreenChGlowAnimationStrength", Float) = 1 + _GreenChGlowRadialCenter("GreenChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_GreenChReactiveTint("GreenChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChReactiveBand("GreenChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_GreenChReactiveMode("GreenChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_GreenChReactiveBlendMode("GreenChReactiveBlendMode", Int) = 0 + _GreenChGlowMinBrightness("GreenChGlowMinBrightness", Range( 0 , 1)) = 0 + _GreenChReactiveGlobalSmoothing("GreenChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _GreenChReactivePulseDir("GreenChReactivePulseDir", Float) = 0 + _GreenChReactivePulseScale("GreenChReactivePulseScale", Float) = 127 + _GreenChReactivePulseOffset("GreenChReactivePulseOffset", Float) = 0 + _GreenChReactiveRadialCenter("GreenChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowGreenGlow("_ShowGreenGlow", Float) = 0 + _ShowGreenAL("_ShowGreenAL", Float) = 0 + [ToggleUI]_EnableGreenChannel("_EnableGreenChannel", Float) = 0 + [HDR]_BlueChGlowTint("BlueChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_BlueChGlowZone("BlueChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_BlueChGlowMode("BlueChGlowMode", Int) = 0 + _BlueChGlowMinBrightness("BlueChGlowMinBrightness", Range( 0 , 1)) = 0 + _BlueChGlowPulseDir("BlueChGlowPulseDir", Float) = 0 + _BlueChGlowPulseScale("BlueChGlowPulseScale", Float) = 127 + _BlueChGlowPulseOffset("BlueChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChGlowAnimationBand("BlueChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_BlueChGlowAnimationMode("BlueChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_BlueChGlowAnimationSpeed("BlueChGlowAnimationSpeed", Int) = 0 + _BlueChGlowAnimationStrength("BlueChGlowAnimationStrength", Float) = 1 + _BlueChGlowRadialCenter("BlueChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_BlueChReactiveTint("BlueChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChReactiveBand("BlueChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_BlueChReactiveMode("BlueChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_BlueChReactiveBlendMode("BlueChReactiveBlendMode", Int) = 0 + _BlueChReactiveMinBrightness("BlueChReactiveMinBrightness", Range( 0 , 1)) = 0 + _BlueChReactiveGlobalSmoothing("BlueChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _BlueChReactivePulseDir("BlueChReactivePulseDir", Float) = 0 + _BlueChReactivePulseScale("BlueChReactivePulseScale", Float) = 127 + _BlueChReactivePulseOffset("BlueChReactivePulseOffset", Float) = 0 + _BlueChReactiveRadialCenter("BlueChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowBlueGlow("_ShowBlueGlow", Float) = 0 + _ShowBlueAL("_ShowBlueAL", Float) = 0 + [ToggleUI]_EnableBlueChannel("_EnableBlueChannel", Float) = 0 + [HDR]_AlphaChGlowTint("AlphaChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_AlphaChGlowZone("AlphaChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_AlphaChGlowMode("AlphaChGlowMode", Int) = 0 + _AlphaChGlowMinBrightness("AlphaChGlowMinBrightness", Range( 0 , 1)) = 0 + _AlphaChGlowPulseDir("AlphaChGlowPulseDir", Float) = 0 + _AlphaChGlowPulseScale("AlphaChGlowPulseScale", Float) = 127 + _AlphaChGlowPulseOffset("AlphaChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChGlowAnimationBand("AlphaChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_AlphaChGlowAnimationMode("AlphaChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_AlphaChGlowAnimationSpeed("AlphaChGlowAnimationSpeed", Int) = 0 + _AlphaChGlowAnimationStrength("AlphaChGlowAnimationStrength", Float) = 1 + _AlphaChGlowRadialCenter("AlphaChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_AlphaChReactiveTint("AlphaChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChReactiveBand("AlphaChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_AlphaChReactiveMode("AlphaChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_AlphaChReactiveBlendMode("AlphaChReactiveBlendMode", Int) = 0 + _AlphaChReactiveMinBrightness("AlphaChReactiveMinBrightness", Range( 0 , 1)) = 0 + _AlphaChReactiveGlobalSmoothing("AlphaChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _AlphaChReactivePulseDir("AlphaChReactivePulseDir", Float) = 0 + _AlphaChReactivePulseScale("AlphaChReactivePulseScale", Float) = 127 + _AlphaChReactivePulseOffset("AlphaChReactivePulseOffset", Float) = 0 + _AlphaChReactiveRadialCenter("AlphaChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowAlphaGlow("_ShowAlphaGlow", Float) = 0 + _ShowAlphaAL("_ShowAlphaAL", Float) = 0 + [ToggleUI]_EnableAlphaChannel("_EnableAlphaChannel", Float) = 0 + _BlendModeIndex("_BlendModeIndex", Float) = 0 + _BlendOPsrc("_BlendOPsrc", Float) = 5 + _BlendOPIndex("_BlendOPIndex", Float) = 0 + _BlendOPdst("_BlendOPdst", Float) = 10 + [Toggle(UNITY_PASS_FORWARDADD)] _Keyword3("Keyword 3", Float) = 0 + [HideInInspector]_ShowEffects("ShowEffects", Float) = 0 + [HideInInspector]_ShowGlow("ShowGlow", Float) = 0 + [HideInInspector]_ShowOutline("ShowOutline", Float) = 0 + [HideInInspector]_ShowOutline2("ShowOutline2", Float) = 0 + [HideInInspector]_ShowMain("ShowMain", Float) = 0 + [Toggle(_EMISSION)] _EnableEmission("_Enable Emission", Float) = 0 + [Enum(Iridescent Colors,0,Emission Multiply,1,Rainbow,2,Texture HueSelect,3,Holographic,4,Texture HueShift,5)]_IridescentEmissionMode("Iridescent Emission Mode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_IridescentMaskingChannel("Iridescent Masking Channel", Int) = 0 + _IridescentEmissionColor1("Iridescent Emission Color 1", Color) = (1,0,0,0) + _IridescentEmissionColor2("Iridescent Emission Color 2", Color) = (0,1,0,0) + _IridescentEmissionColor3("Iridescent Emission Color 3", Color) = (0,0,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_IridescentALAnimationBand("IridescentALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_IridescentALAnimationMode("IridescentALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_IridescentALAnimationSpeed("IridescentALAnimationSpeed", Int) = 0 + _IridescentALAnimationStrength("IridescentALAnimationStrength", Float) = 1 + _ShowIridescence("_ShowIridescence", Float) = 0 + _IridescentIntensity("IridescentIntensity", Range( 0 , 10)) = 1 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword0("Keyword 0", Float) = 0 + [Enum(Facing,0,Reflection,1,Light Direction,2)]_IridescentMode2("Iridescent Mode 2", Int) = 0 + _IridescentScale("IridescentScale", Float) = 1 + _IridescentOffset("IridescentOffset", Float) = 0 + [Enum(Global,0,Specular,1,Rimlight,2,Both,3)]_IridescenceLightMode("Iridescence Light Mode", Int) = 0 + [ToggleUI]_Enableiridescence("_Enableiridescence", Float) = 0 + [Enum(Default,0,Specular,1,Rimlight,2,SpecRim,3,All,4)]_SparkleMode("Sparkle Mode", Int) = 0 + [Enum(Circle,0,Square,1,Star,2,Heart,3)]_SparkleShape("Sparkle Shape", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_SparkleMaskingChannel("Sparkle Masking Channel", Int) = 0 + [HDR]_SparkleColor("Sparkle Color", Color) = (1,1,1,0) + _SparkleSize("Sparkle Size", Range( 0 , 0.75)) = 0.5 + _SparkleScale("Sparkle Scale", Float) = 1 + _SparkleSpeed("Sparkle Speed", Float) = 1 + _SparkleSeed("Sparkle Seed", Float) = 20 + [HDR]_SparkleGlowTint("SparkleGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_SparkleGlowZone("SparkleGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_SparkleGlowMode("SparkleGlowMode", Int) = 0 + _SparkleGlowMinBrightness("SparkleGlowMinBrightness", Range( 0 , 1)) = 0 + _SparkleGlowPulseDir("SparkleGlowPulseDir", Float) = 0 + _SparkleGlowPulseScale("SparkleGlowPulseScale", Float) = 127 + _SparkleGlowPulseOffset("SparkleGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleGlowAnimationBand("SparkleGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_SparkleGlowAnimationMode("SparkleGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_SparkleGlowAnimationSpeed("SparkleGlowAnimationSpeed", Int) = 0 + _SparkleGlowAnimationStrength("SparkleGlowAnimationStrength", Float) = 1 + _SparkleGlowRadialCenter("SparkleGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_SparkleReactiveTint("SparkleReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleReactiveBand("SparkleReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_SparkleReactiveMode("SparkleReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_SparkleReactiveBlendMode("SparkleReactiveBlendMode", Int) = 0 + _SparkleReactiveMinBrightness("SparkleReactiveMinBrightness", Range( 0 , 1)) = 0 + _SparkleReactiveGlobalSmoothing("SparkleReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _SparkleReactivePulseDir("SparkleReactivePulseDir", Float) = 0 + _SparkleReactivePulseScale("SparkleReactivePulseScale", Float) = 127 + _SparkleReactivePulseOffset("SparkleReactivePulseOffset", Float) = 0 + _SparkleReactiveRadialCenter("SparkleReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowSparkleGlow("_ShowSparkleGlow", Float) = 0 + _ShowSparkleAL("_ShowSparkleAL", Float) = 0 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword1("Keyword 0", Float) = 0 + [Enum(Multiply,0,Additive,1)]_SparkleBlendMode("Sparkle Blend Mode", Int) = 0 + _ShowSparkles("_ShowSparkles", Float) = 0 + [Toggle(_SPARKLES)] _EnableSparkles("Enable Sparkles", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_RainbowMaskingChannel("Rainbow Masking Channel", Int) = 0 + [Enum(Default,0,Radial,1,Spiral,2,Direction Map,3,Reverse Direction,4)]_RainbowUVMode("Rainbow UV Mode", Int) = 0 + _RainbowHue("Rainbow Hue", Range( 0 , 1)) = 1 + _RainbowSaturation("Rainbow Saturation", Range( 0 , 1)) = 1 + _RainbowValue("Rainbow Value", Range( 0 , 1)) = 1 + _RainbowHueRange("Rainbow Hue Range", Range( 0 , 1)) = 1 + _RainbowRotation("Rainbow Rotation", Float) = 0 + _RainbowScale("Rainbow Scale", Float) = 1 + _RainbowSpiralCurve("Rainbow Spiral Curve", Float) = 1 + _RainbowRadialCenter("Rainbow Radial Center", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RainbowALAnimationBand("RainbowALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RainbowALAnimationMode("RainbowALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RainbowALAnimationSpeed("RainbowALAnimationSpeed", Int) = 0 + _RainbowALAnimationStrength("RainbowALAnimationStrength", Float) = 1 + _ShowRainbow("_ShowRainbow", Float) = 0 + [ToggleUI]_EnableScrollingRainbow("_EnableScrollingRainbow", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)]_Culling("Culling", Float) = 0 + _MaskClipValue("Mask Clip Value", Float) = 0.5 + [HideInInspector] __dirty( "", Int ) = 1 + } + + SubShader + { + Pass + { + ColorMask 0 + ZWrite On + } + + Tags{ "RenderType" = "Transparent" "Queue" = "Transparent+0"} + ZWrite On + Cull Front + CGPROGRAM + #pragma target 3.0 + #pragma surface outlineSurf Outline alpha:fade keepalpha noshadow noambient novertexlights nolightmap nodynlightmap nodirlightmap nometa noforwardadd vertex:outlineVertexDataFunc + + void outlineVertexDataFunc( inout appdata_full v, out Input o ) + { + UNITY_INITIALIZE_OUTPUT( Input, o ); + float eyeDepth = -UnityObjectToViewPos( v.vertex.xyz ).z; + float3 ase_worldNormal = UnityObjectToWorldNormal( v.normal ); + float lerpResult824 = lerp( 0.0 , ( _OutlineWidth / 10000.0 ) , saturate( _OutlineWidth )); + float lerpResult829 = lerp( 0.0 , ( _MaxOutlineWidth / 10000.0 ) , saturate( _MaxOutlineWidth )); + float2 uv_EffectMask = v.texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2Dlod( _EffectMask, float4( uv_EffectMask, 0, 0.0) ); + float4 break1044 = EffectMaskRGBA871; + int temp_output_18_0_g4913 = _OutlineMaskingChannel; + float lerpResult1_g4913 = lerp( 1.0 , break1044.r , (float)saturate( temp_output_18_0_g4913 )); + int temp_output_5_0_g4913 = ( temp_output_18_0_g4913 - 1 ); + float lerpResult12_g4913 = lerp( lerpResult1_g4913 , break1044.g , (float)saturate( temp_output_5_0_g4913 )); + int temp_output_6_0_g4913 = ( temp_output_5_0_g4913 - 1 ); + float lerpResult10_g4913 = lerp( lerpResult12_g4913 , break1044.b , (float)saturate( temp_output_6_0_g4913 )); + float lerpResult11_g4913 = lerp( lerpResult10_g4913 , break1044.a , (float)saturate( ( temp_output_6_0_g4913 - 1 ) )); + float temp_output_1042_0 = lerpResult11_g4913; + float3 ase_worldPos = mul( unity_ObjectToWorld, v.vertex ); + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 worldToObjDir1060 = mul( unity_WorldToObject, float4( ( ( ase_worldNormal * min( ( lerpResult824 + ( lerpResult824 * eyeDepth ) ) , lerpResult829 ) * temp_output_1042_0 ) + ( -ase_worldViewDir * _ViewFudge ) ), 0 ) ).xyz; + float3 outlineVar = worldToObjDir1060; + v.vertex.xyz += outlineVar; + } + inline half4 LightingOutline( SurfaceOutput s, half3 lightDir, half atten ) { return half4 ( 0,0,0, s.Alpha); } + void outlineSurf( Input i, inout SurfaceOutput o ) + { + float4 OutlineRGB788 = _OutlineColor; + float3 temp_output_229_0_g4914 = OutlineRGB788.rgb; + int EmissionReactiveBand236_g4914 = _OutlineReactiveBand; + int Band3_g4915 = EmissionReactiveBand236_g4914; + int Delay3_g4915 = 0; + float localAudioLinkData3_g4915 = AudioLinkData3_g4915( Band3_g4915 , Delay3_g4915 ); + int temp_output_64_0_g4914 = step( _OutlineReactiveBand , 9 ); + float lerpResult66_g4914 = lerp( 1.0 , localAudioLinkData3_g4915 , (float)temp_output_64_0_g4914); + int Band3_g4917 = _OutlineReactiveBand; + float cos78_g4914 = cos( radians( _OutlineReactivePulseDir ) ); + float sin78_g4914 = sin( radians( _OutlineReactivePulseDir ) ); + float2 rotator78_g4914 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4914 , -sin78_g4914 , sin78_g4914 , cos78_g4914 )) + float2( 0.5,0.5 ); + float x96_g4914 = ( ( rotator78_g4914.x * _OutlineReactivePulseScale ) + _OutlineReactivePulseOffset ); + float y96_g4914 = 127.0; + float localglslmod96_g4914 = glslmod96_g4914( x96_g4914 , y96_g4914 ); + float2 CenteredUV15_g4918 = ( i.uv_texcoord - _OutlineReactiveRadialCenter ); + float2 break17_g4918 = CenteredUV15_g4918; + float2 appendResult23_g4918 = (float2(( length( CenteredUV15_g4918 ) * _OutlineReactivePulseScale * 2.0 ) , ( atan2( break17_g4918.x , break17_g4918.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4914 = ( _OutlineReactivePulseOffset + appendResult23_g4918.x ); + float y97_g4914 = 127.0; + float localglslmod97_g4914 = glslmod97_g4914( x97_g4914 , y97_g4914 ); + int EmissionReactiveMode99_g4914 = _OutlineReactiveMode; + int temp_output_90_0_g4914 = ( EmissionReactiveMode99_g4914 - 1 ); + float lerpResult77_g4914 = lerp( localglslmod96_g4914 , localglslmod97_g4914 , (float)saturate( temp_output_90_0_g4914 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4606 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float temp_output_1074_244 = Direction27_g4606; + float DirectionalMap106_g4914 = temp_output_1074_244; + float lerpResult174_g4914 = lerp( DirectionalMap106_g4914 , ( 1.0 - DirectionalMap106_g4914 ) , (float)saturate( ( EmissionReactiveMode99_g4914 - 3 ) )); + float x98_g4914 = ( _OutlineReactivePulseOffset + ( _OutlineReactivePulseScale * lerpResult174_g4914 ) ); + float y98_g4914 = 127.0; + float localglslmod98_g4914 = glslmod98_g4914( x98_g4914 , y98_g4914 ); + float lerpResult87_g4914 = lerp( lerpResult77_g4914 , localglslmod98_g4914 , (float)saturate( ( temp_output_90_0_g4914 - 1 ) )); + float Delay3_g4917 = lerpResult87_g4914; + float localAudioLinkLerp3_g4917 = AudioLinkLerp3_g4917( Band3_g4917 , Delay3_g4917 ); + float lerpResult102_g4914 = lerp( 1.0 , localAudioLinkLerp3_g4917 , (float)temp_output_64_0_g4914); + float lerpResult103_g4914 = lerp( lerpResult66_g4914 , lerpResult102_g4914 , (float)saturate( EmissionReactiveMode99_g4914 )); + int Band3_g4919 = _OutlineReactiveBand; + float FilteredAmount3_g4919 = ( ( 1.0 - _OutlineReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4919 = AudioLinkLerp3_g4919( Band3_g4919 , FilteredAmount3_g4919 ); + float lerpResult168_g4914 = lerp( 1.0 , localAudioLinkLerp3_g4919 , (float)temp_output_64_0_g4914); + float lerpResult172_g4914 = lerp( lerpResult103_g4914 , lerpResult168_g4914 , (float)saturate( ( EmissionReactiveMode99_g4914 - 4 ) )); + float ReactivityAlpha132_g4914 = (_OutlineReactiveMinBrightness + (lerpResult172_g4914 - 0.0) * (( _OutlineReactiveMinBrightness + 1.0 ) - _OutlineReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_10 = (1.0).xxxx; + float4 lerpResult240_g4914 = lerp( temp_cast_10 , _OutlineReactiveTint , (float)step( EmissionReactiveBand236_g4914 , 9 )); + float4 FinalReactivity68_g4914 = ( ReactivityAlpha132_g4914 * lerpResult240_g4914 ); + float4 temp_cast_12 = (1.0).xxxx; + float3 temp_cast_13 = (1.0).xxx; + int EmissionGlowZone47_g4914 = _OutlineGlowZone; + int clampResult8_g4921 = clamp( EmissionGlowZone47_g4914 , 1 , 4 ); + int temp_output_3_0_g4921 = ( clampResult8_g4921 - 1 ); + int Zone16_g4921 = temp_output_3_0_g4921; + float3 localgetThemeData16_g4921 = getThemeData( Zone16_g4921 ); + int Band11_g4922 = 56; + int localIsLumaActive11_g4922 = IsLumaActive11_g4922( Band11_g4922 ); + int temp_output_14_0_g4921 = localIsLumaActive11_g4922; + int lerpResult15_g4921 = lerp( temp_output_3_0_g4921 , ( 63 - temp_output_3_0_g4921 ) , (float)temp_output_14_0_g4921); + int Band2_g4921 = lerpResult15_g4921; + int Delay2_g4921 = 0; + float3 localLumaGlowData2_g4921 = LumaGlowData2_g4921( Band2_g4921 , Delay2_g4921 ); + float3 lerpResult17_g4921 = lerp( ( localgetThemeData16_g4921 * localLumaGlowData2_g4921 ) , localLumaGlowData2_g4921 , (float)temp_output_14_0_g4921); + int temp_output_21_0_g4914 = saturate( EmissionGlowZone47_g4914 ); + float3 lerpResult20_g4914 = lerp( temp_cast_13 , lerpResult17_g4921 , (float)temp_output_21_0_g4914); + float3 temp_cast_17 = (1.0).xxx; + int clampResult8_g4923 = clamp( EmissionGlowZone47_g4914 , 1 , 4 ); + int temp_output_3_0_g4923 = ( clampResult8_g4923 - 1 ); + int Zone15_g4923 = temp_output_3_0_g4923; + float3 localgetThemeData15_g4923 = getThemeData( Zone15_g4923 ); + int Band11_g4924 = 56; + int localIsLumaActive11_g4924 = IsLumaActive11_g4924( Band11_g4924 ); + int temp_output_13_0_g4923 = localIsLumaActive11_g4924; + int lerpResult14_g4923 = lerp( temp_output_3_0_g4923 , ( 63 - temp_output_3_0_g4923 ) , (float)temp_output_13_0_g4923); + int Band11_g4923 = lerpResult14_g4923; + float cos6_g4914 = cos( radians( _OutlineGlowPulseDir ) ); + float sin6_g4914 = sin( radians( _OutlineGlowPulseDir ) ); + float2 rotator6_g4914 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4914 , -sin6_g4914 , sin6_g4914 , cos6_g4914 )) + float2( 0.5,0.5 ); + float x13_g4914 = ( ( rotator6_g4914.x * _OutlineGlowPulseScale ) + _OutlineGlowPulseOffset ); + float y13_g4914 = 127.0; + float localglslmod13_g4914 = glslmod13_g4914( x13_g4914 , y13_g4914 ); + float2 CenteredUV15_g4916 = ( i.uv_texcoord - _OutlineGlowRadialCenter ); + float2 break17_g4916 = CenteredUV15_g4916; + float2 appendResult23_g4916 = (float2(( length( CenteredUV15_g4916 ) * _OutlineGlowPulseScale * 2.0 ) , ( atan2( break17_g4916.x , break17_g4916.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4914 = ( _OutlineGlowPulseOffset + appendResult23_g4916.x ); + float y12_g4914 = 127.0; + float localglslmod12_g4914 = glslmod12_g4914( x12_g4914 , y12_g4914 ); + int EmissionGlowMode35_g4914 = _OutlineGlowMode; + int temp_output_37_0_g4914 = ( EmissionGlowMode35_g4914 - 1 ); + float lerpResult5_g4914 = lerp( localglslmod13_g4914 , localglslmod12_g4914 , (float)saturate( temp_output_37_0_g4914 )); + float lerpResult179_g4914 = lerp( DirectionalMap106_g4914 , ( 1.0 - DirectionalMap106_g4914 ) , (float)saturate( ( EmissionGlowMode35_g4914 - 3 ) )); + float x34_g4914 = ( _OutlineGlowPulseOffset + ( _OutlineGlowPulseScale * lerpResult179_g4914 ) ); + float y34_g4914 = 127.0; + float localglslmod34_g4914 = glslmod34_g4914( x34_g4914 , y34_g4914 ); + float lerpResult30_g4914 = lerp( lerpResult5_g4914 , localglslmod34_g4914 , (float)saturate( ( temp_output_37_0_g4914 - 1 ) )); + float EmissionGlowDelay56_g4914 = lerpResult30_g4914; + float Delay11_g4923 = EmissionGlowDelay56_g4914; + float3 localLumaGlowLerp11_g4923 = LumaGlowLerp11_g4923( Band11_g4923 , Delay11_g4923 ); + float3 lerpResult17_g4923 = lerp( ( localgetThemeData15_g4923 * localLumaGlowLerp11_g4923 ) , localLumaGlowLerp11_g4923 , (float)temp_output_13_0_g4923); + float3 lerpResult22_g4914 = lerp( temp_cast_17 , lerpResult17_g4923 , (float)temp_output_21_0_g4914); + float3 lerpResult23_g4914 = lerp( lerpResult20_g4914 , lerpResult22_g4914 , (float)saturate( EmissionGlowMode35_g4914 )); + float4 temp_cast_26 = (1.0).xxxx; + float temp_output_10_0_g4925 = EmissionGlowDelay56_g4914; + float Position1_g4927 = ( temp_output_10_0_g4925 / 127.0 ); + float4 localAudioLinkLerp1_g4927 = AudioLinkLerp1_g4927( Position1_g4927 ); + int clampResult8_g4925 = clamp( ( EmissionGlowZone47_g4914 - 4 ) , 1 , 3 ); + int Band11_g4925 = ( 59 - ( clampResult8_g4925 - 1 ) ); + float Delay11_g4925 = temp_output_10_0_g4925; + float3 localLumaGlowLerp11_g4925 = LumaGlowLerp11_g4925( Band11_g4925 , Delay11_g4925 ); + int Band11_g4926 = 56; + int localIsLumaActive11_g4926 = IsLumaActive11_g4926( Band11_g4926 ); + float4 lerpResult14_g4925 = lerp( localAudioLinkLerp1_g4927 , float4( localLumaGlowLerp11_g4925 , 0.0 ) , (float)localIsLumaActive11_g4926); + float4 lerpResult52_g4914 = lerp( temp_cast_26 , lerpResult14_g4925 , (float)saturate( EmissionGlowZone47_g4914 )); + float4 lerpResult51_g4914 = lerp( float4( lerpResult23_g4914 , 0.0 ) , lerpResult52_g4914 , (float)saturate( ( EmissionGlowZone47_g4914 - 4 ) )); + float4 temp_cast_31 = (_OutlineGlowMinBrightness).xxxx; + float4 temp_cast_32 = (( _OutlineGlowMinBrightness + 1.0 )).xxxx; + int temp_output_234_0_g4914 = saturate( EmissionGlowZone47_g4914 ); + float4 EmissionGlow142_g4914 = ( (temp_cast_31 + (lerpResult51_g4914 - float4( 0,0,0,0 )) * (temp_cast_32 - temp_cast_31) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _OutlineGlowTint * temp_output_234_0_g4914 ); + float4 lerpResult248_g4914 = lerp( temp_cast_12 , EmissionGlow142_g4914 , (float)temp_output_234_0_g4914); + float4 EmissionGlowTog250_g4914 = lerpResult248_g4914; + float4 lerpResult146_g4914 = lerp( ( FinalReactivity68_g4914 * EmissionGlowTog250_g4914 ) , ( EmissionGlow142_g4914 + ( FinalReactivity68_g4914 * step( EmissionReactiveBand236_g4914 , 9 ) ) ) , (float)saturate( _OutlineReactiveBlendMode )); + float4 ReversedReactivity152_g4914 = ( ( 1.0 - ReactivityAlpha132_g4914 ) * lerpResult240_g4914 ); + int temp_output_157_0_g4914 = ( _OutlineReactiveBlendMode - 1 ); + float4 lerpResult114_g4914 = lerp( lerpResult146_g4914 , ( EmissionGlowTog250_g4914 * ReversedReactivity152_g4914 ) , (float)saturate( temp_output_157_0_g4914 )); + float4 lerpResult164_g4914 = lerp( lerpResult114_g4914 , ( EmissionGlow142_g4914 + ( ReversedReactivity152_g4914 * step( EmissionReactiveBand236_g4914 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4914 - 1 ) )); + int ReactiveBlendmode257_g4914 = _OutlineReactiveBlendMode; + float x266_g4914 = (float)ReactiveBlendmode257_g4914; + float y266_g4914 = 2.0; + float localglslmod266_g4914 = glslmod266_g4914( x266_g4914 , y266_g4914 ); + float lerpResult253_g4914 = lerp( localglslmod266_g4914 , (float)_OutlineGlowBlendMode , (float)saturate( EmissionGlowZone47_g4914 )); + float4 lerpResult222_g4914 = lerp( ( lerpResult164_g4914 * float4( temp_output_229_0_g4914 , 0.0 ) ) , ( lerpResult164_g4914 + float4( temp_output_229_0_g4914 , 0.0 ) ) , lerpResult253_g4914); + float localIfAudioLinkv2Exists1_g4929 = IfAudioLinkv2Exists1_g4929(); + float4 lerpResult273_g4914 = lerp( float4( temp_output_229_0_g4914 , 0.0 ) , lerpResult222_g4914 , localIfAudioLinkv2Exists1_g4929); + float4 OutlineGlow790 = lerpResult273_g4914; + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break1044 = EffectMaskRGBA871; + int temp_output_18_0_g4913 = _OutlineMaskingChannel; + float lerpResult1_g4913 = lerp( 1.0 , break1044.r , (float)saturate( temp_output_18_0_g4913 )); + int temp_output_5_0_g4913 = ( temp_output_18_0_g4913 - 1 ); + float lerpResult12_g4913 = lerp( lerpResult1_g4913 , break1044.g , (float)saturate( temp_output_5_0_g4913 )); + int temp_output_6_0_g4913 = ( temp_output_5_0_g4913 - 1 ); + float lerpResult10_g4913 = lerp( lerpResult12_g4913 , break1044.b , (float)saturate( temp_output_6_0_g4913 )); + float lerpResult11_g4913 = lerp( lerpResult10_g4913 , break1044.a , (float)saturate( ( temp_output_6_0_g4913 - 1 ) )); + float temp_output_1042_0 = lerpResult11_g4913; + o.Emission = OutlineGlow790.xyz; + o.Alpha = min( temp_output_1042_0 , _OutlineColor.a ); + } + ENDCG + + + Tags{ "RenderType" = "Transparent" "Queue" = "Transparent+0" "IgnoreProjector" = "True" "IsEmissive" = "true" } + Cull [_Culling] + ZWrite On + Blend [_BlendOPsrc] [_BlendOPdst] + + CGINCLUDE + #include "UnityPBSLighting.cginc" + #include "UnityShaderVariables.cginc" + #include "UnityStandardUtils.cginc" + #include "UnityCG.cginc" + #include "Lighting.cginc" + #pragma target 4.5 + #pragma shader_feature_local _EMISSION + #pragma shader_feature_local _SPARKLES + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + #ifdef UNITY_PASS_SHADOWCASTER + #undef INTERNAL_DATA + #undef WorldReflectionVector + #undef WorldNormalVector + #define INTERNAL_DATA half3 internalSurfaceTtoW0; half3 internalSurfaceTtoW1; half3 internalSurfaceTtoW2; + #define WorldReflectionVector(data,normal) reflect (data.worldRefl, half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal))) + #define WorldNormalVector(data,normal) half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal)) + #endif + struct Input + { + float2 uv_texcoord; + float3 worldRefl; + INTERNAL_DATA + float3 worldPos; + float3 worldNormal; + }; + + struct SurfaceOutputCustomLightingCustom + { + half3 Albedo; + half3 Normal; + half3 Emission; + half Metallic; + half Smoothness; + half Occlusion; + half Alpha; + Input SurfInput; + UnityGIInput GIData; + }; + + uniform float _Culling; + uniform float _ShowMain; + uniform float _ShowGlow; + uniform float _ShowEmissGlow; + uniform float _ShowEmissAL; + uniform float _ShowRedGlow; + uniform float _ShowRedAL; + uniform float _EnableRedChannel; + uniform float _ShowGreenGlow; + uniform float _ShowGreenAL; + uniform float _ShowBlueGlow; + uniform float _ShowBlueAL; + uniform float _ShowAlphaGlow; + uniform float _ShowAlphaAL; + uniform float _ShowEffects; + uniform float _ShowOutline; + uniform float _ShowOutline2; + uniform float _ShowIridescence; + uniform float _ShowSparkleGlow; + uniform float _ShowSparkleAL; + uniform float _ShowSparkles; + uniform float _ShowRainbow; + uniform float _BlendOPsrc; + uniform float _BlendOPdst; + uniform float _MaskClipValue; + uniform float _BlendOPIndex; + uniform float _BlendModeIndex; + uniform float _ShowOutlineGlow; + uniform float _ShowOutlineAL; + uniform sampler2D _MainTex; + uniform float4 _MainTex_ST; + uniform int _RedChGlowZone; + uniform float _RedChGlowPulseDir; + uniform float _RedChGlowPulseScale; + uniform float _RedChGlowPulseOffset; + uniform float _RedChGlowAnimationStrength; + uniform int _RedChGlowAnimationBand; + uniform int _RedChGlowAnimationMode; + uniform int _RedChGlowAnimationSpeed; + uniform float2 _RedChGlowRadialCenter; + uniform int _RedChGlowMode; + uniform sampler2D _DirectionalMap; + uniform float4 _DirectionalMap_ST; + uniform float _RedChGlowMinBrightness; + uniform float4 _RedChGlowTint; + uniform int _RedChReactiveBand; + uniform float _RedChReactivePulseDir; + uniform float _RedChReactivePulseScale; + uniform float _RedChReactivePulseOffset; + uniform float2 _RedChReactiveRadialCenter; + uniform int _RedChReactiveMode; + uniform float _RedChReactiveGlobalSmoothing; + uniform float _RedChReactiveMinBrightness; + uniform float4 _RedChReactiveTint; + uniform int _RedChReactiveBlendMode; + uniform sampler2D _GlowMask; + uniform float4 _GlowMask_ST; + uniform int _GreenChGlowZone; + uniform float _GreenChGlowPulseDir; + uniform float _GreenChGlowPulseScale; + uniform float _GreenChGlowPulseOffset; + uniform float _GreenChGlowAnimationStrength; + uniform int _GreenChGlowAnimationBand; + uniform int _GreenChGlowAnimationMode; + uniform int _GreenChGlowAnimationSpeed; + uniform float2 _GreenChGlowRadialCenter; + uniform int _GreenChGlowMode; + uniform float _GreenChGlowMinBrightness; + uniform float4 _GreenChGlowTint; + uniform int _GreenChReactiveBand; + uniform float _GreenChReactivePulseDir; + uniform float _GreenChReactivePulseScale; + uniform float _GreenChReactivePulseOffset; + uniform float2 _GreenChReactiveRadialCenter; + uniform int _GreenChReactiveMode; + uniform float _GreenChReactiveGlobalSmoothing; + uniform float _GreenChReactiveMinBrightness; + uniform float4 _GreenChReactiveTint; + uniform int _GreenChReactiveBlendMode; + uniform float _EnableGreenChannel; + uniform int _BlueChGlowZone; + uniform float _BlueChGlowPulseDir; + uniform float _BlueChGlowPulseScale; + uniform float _BlueChGlowPulseOffset; + uniform float _BlueChGlowAnimationStrength; + uniform int _BlueChGlowAnimationBand; + uniform int _BlueChGlowAnimationMode; + uniform int _BlueChGlowAnimationSpeed; + uniform float2 _BlueChGlowRadialCenter; + uniform int _BlueChGlowMode; + uniform float _BlueChGlowMinBrightness; + uniform float4 _BlueChGlowTint; + uniform int _BlueChReactiveBand; + uniform float _BlueChReactivePulseDir; + uniform float _BlueChReactivePulseScale; + uniform float _BlueChReactivePulseOffset; + uniform float2 _BlueChReactiveRadialCenter; + uniform int _BlueChReactiveMode; + uniform float _BlueChReactiveGlobalSmoothing; + uniform float _BlueChReactiveMinBrightness; + uniform float4 _BlueChReactiveTint; + uniform int _BlueChReactiveBlendMode; + uniform float _EnableBlueChannel; + uniform int _AlphaChGlowZone; + uniform float _AlphaChGlowPulseDir; + uniform float _AlphaChGlowPulseScale; + uniform float _AlphaChGlowPulseOffset; + uniform float _AlphaChGlowAnimationStrength; + uniform int _AlphaChGlowAnimationBand; + uniform int _AlphaChGlowAnimationMode; + uniform int _AlphaChGlowAnimationSpeed; + uniform float2 _AlphaChGlowRadialCenter; + uniform int _AlphaChGlowMode; + uniform float _AlphaChGlowMinBrightness; + uniform float4 _AlphaChGlowTint; + uniform int _AlphaChReactiveBand; + uniform float _AlphaChReactivePulseDir; + uniform float _AlphaChReactivePulseScale; + uniform float _AlphaChReactivePulseOffset; + uniform float2 _AlphaChReactiveRadialCenter; + uniform int _AlphaChReactiveMode; + uniform float _AlphaChReactiveGlobalSmoothing; + uniform float _AlphaChReactiveMinBrightness; + uniform float4 _AlphaChReactiveTint; + uniform int _AlphaChReactiveBlendMode; + uniform float _EnableAlphaChannel; + uniform float4 _EmissionColor; + uniform sampler2D _EmissionMap; + uniform float4 _EmissionMap_ST; + uniform float2 _EmissionPanSpeed; + uniform float _EmissionPan; + uniform sampler2D _EffectMask; + uniform float4 _EffectMask_ST; + uniform float2 _EmissionMaskPanSpeed; + uniform float _EmissionMaskPan; + uniform int _EmissionMaskingChannel; + uniform int _EmissionGlowZone; + uniform float _EmissionGlowPulseDir; + uniform float _EmissionGlowPulseScale; + uniform float _EmissionGlowPulseOffset; + uniform float _EmissionGlowAnimationStrength; + uniform int _EmissionGlowAnimationBand; + uniform int _EmissionGlowAnimationMode; + uniform int _EmissionGlowAnimationSpeed; + uniform float2 _EmissionGlowRadialCenter; + uniform int _EmissionGlowMode; + uniform float _EmissionGlowMinBrightness; + uniform float4 _EmissionGlowTint; + uniform int _EmissionReactiveBand; + uniform float _EmissionReactivePulseDir; + uniform float _EmissionReactivePulseScale; + uniform float _EmissionReactivePulseOffset; + uniform float2 _EmissionReactiveRadialCenter; + uniform int _EmissionReactiveMode; + uniform float _EmissionReactiveGlobalSmoothing; + uniform float _EmissionReactiveMinBrightness; + uniform float4 _EmissionReactiveTint; + uniform int _EmissionReactiveBlendMode; + uniform int _EmissionGlowBlendMode; + uniform int _IridescentMaskingChannel; + uniform float4 _IridescentEmissionColor1; + uniform float4 _IridescentEmissionColor2; + uniform float _IridescentALAnimationStrength; + uniform int _IridescentALAnimationBand; + uniform int _IridescentALAnimationMode; + uniform int _IridescentALAnimationSpeed; + uniform sampler2D _BumpMap; + uniform float _BumpScale; + uniform int _IridescentMode2; + uniform float _IridescentScale; + uniform float _IridescentOffset; + uniform float4 _IridescentEmissionColor3; + uniform float _IridescentIntensity; + uniform int _IridescentEmissionMode; + uniform float _Glossiness; + uniform sampler2D _MetallicGlossMap; + uniform float _GlossMapScale; + float4 _MetallicGlossMap_TexelSize; + uniform int _IridescenceLightMode; + uniform float _Enableiridescence; + uniform float4 _Color; + uniform sampler2D _OcclusionMap; + uniform float _OcclusionStrength; + uniform sampler2D _SpecGlossMap; + uniform float _Metallic; + uniform float _EnableSpecularMap; + uniform float4 _SparkleColor; + uniform float _SparkleScale; + uniform float _SparkleSize; + uniform float _SparkleSeed; + uniform float _SparkleSpeed; + uniform int _SparkleShape; + uniform int _SparkleMaskingChannel; + uniform float4 _SparkleGlowTint; + uniform int _SparkleGlowZone; + uniform float _SparkleGlowPulseDir; + uniform float _SparkleGlowPulseScale; + uniform float _SparkleGlowPulseOffset; + uniform float _SparkleGlowAnimationStrength; + uniform int _SparkleGlowAnimationBand; + uniform int _SparkleGlowAnimationMode; + uniform int _SparkleGlowAnimationSpeed; + uniform float2 _SparkleGlowRadialCenter; + uniform int _SparkleGlowMode; + uniform float _SparkleGlowMinBrightness; + uniform int _SparkleReactiveBand; + uniform float _SparkleReactivePulseDir; + uniform float _SparkleReactivePulseScale; + uniform float _SparkleReactivePulseOffset; + uniform float2 _SparkleReactiveRadialCenter; + uniform int _SparkleReactiveMode; + uniform float _SparkleReactiveGlobalSmoothing; + uniform float _SparkleReactiveMinBrightness; + uniform float4 _SparkleReactiveTint; + uniform int _SparkleReactiveBlendMode; + uniform int _SparkleBlendMode; + uniform int _SparkleMode; + uniform float _RainbowALAnimationStrength; + uniform int _RainbowALAnimationBand; + uniform int _RainbowALAnimationMode; + uniform int _RainbowALAnimationSpeed; + uniform float _RainbowRotation; + uniform float2 _RainbowRadialCenter; + uniform float _RainbowSpiralCurve; + uniform int _RainbowUVMode; + uniform float _RainbowScale; + uniform float _RainbowHueRange; + uniform float _RainbowHue; + uniform float _RainbowSaturation; + uniform float _RainbowValue; + uniform int _RainbowMaskingChannel; + uniform float _EnableScrollingRainbow; + uniform float4 _RimlightColor; + uniform float4 _OutlineColor; + uniform int _OutlineReactiveBand; + uniform float _OutlineReactivePulseDir; + uniform float _OutlineReactivePulseScale; + uniform float _OutlineReactivePulseOffset; + uniform float2 _OutlineReactiveRadialCenter; + uniform int _OutlineReactiveMode; + uniform float _OutlineReactiveGlobalSmoothing; + uniform float _OutlineReactiveMinBrightness; + uniform float4 _OutlineReactiveTint; + uniform int _OutlineGlowZone; + uniform float _OutlineGlowPulseDir; + uniform float _OutlineGlowPulseScale; + uniform float _OutlineGlowPulseOffset; + uniform float2 _OutlineGlowRadialCenter; + uniform int _OutlineGlowMode; + uniform float _OutlineGlowMinBrightness; + uniform float4 _OutlineGlowTint; + uniform int _OutlineReactiveBlendMode; + uniform int _OutlineGlowBlendMode; + uniform int _OutlineMaskingChannel; + uniform float _OutlineWidth; + uniform float _MaxOutlineWidth; + uniform float _ViewFudge; + + + float SchlickGGX( float k, float NdotL, float NdotV ) + { + float L = (NdotL) / (NdotL * (1- k) + k); + float V = (NdotV) / (NdotV * (1-k) +k); + return L*V; + } + + + float3 BRDF( float3 N, float G, float F, float NdotL, float NdotV ) + { + return (N*G*F) / (4 * (NdotL*NdotV)); + } + + + float MixFunc( float i, float j, float x ) + { + return j*x+i*(1-x); + } + + + float SchlickFresnel( float i ) + { + float x = saturate(1-i); + float x2 = x*x; + return x2*x2*x; + } + + + float3 getThemeData( int Zone ) + { + float3 result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2)); + return result; + } + + + float sdStar5( float2 p, float r, float rf ) + { + const float2 k1 = float2(0.809016994375, -0.587785252292); + const float2 k2 = float2(-k1.x,k1.y); + p.x = abs(p.x); + p -= 2.0*max(dot(k1,p),0.0)*k1; + p -= 2.0*max(dot(k2,p),0.0)*k2; + p.x = abs(p.x); + p.y -= r; + float2 ba = rf*float2(-k1.y,k1.x) - float2(0,1); + float h = clamp( dot(p,ba)/dot(ba,ba), 0.0, r ); + return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y); + } + + + float dot2( float2 a ) + { + return dot(a,a); + } + + + float sdHeart( float2 p ) + { + p.x = abs(p.x); + if( p.y+p.x>1.0 ) + return sqrt(dot2(p-float2(0.25,0.75))) - sqrt(2.0)/4.0; + return sqrt(min(dot2(p-float2(0.00,1.00)), + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y); + } + + + float geometricRoughness( float3 WorldNormal ) + { + float3 nDdx = ddx_fine(WorldNormal); + float3 nDdy = ddy_fine(WorldNormal); + return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 ); + } + + + inline int IsLumaActive11_g4630( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4629( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4632( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4636( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4631( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4635( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4633( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4634( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4624( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4623( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4626( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4628( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4638( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4646( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4645( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4648( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4652( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4647( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4651( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4649( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4650( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4640( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4639( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4642( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4644( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4654( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4662( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4661( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4664( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4668( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4663( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4667( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4665( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4666( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4656( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4655( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4658( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4660( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4670( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4678( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4677( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4680( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4684( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4679( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4683( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4681( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4682( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4672( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4671( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4674( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4676( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4686( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4619( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4618( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4621( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4613( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4620( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4617( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4615( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4616( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4608( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4610( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4612( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline float glslmod270_g4607( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4622( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4906( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4909( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + int LightExists577( ) + { + int lightEnv = int(any(_WorldSpaceLightPos0.xyz)); + if(lightEnv != 1){ + return 0; + } + return 1; + } + + + float3 HSVToRGB( float3 c ) + { + float4 K = float4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); + float3 p = abs( frac( c.xxx + K.xyz ) * 6.0 - K.www ); + return c.z * lerp( K.xxx, saturate( p - K.xxx ), c.y ); + } + + + inline float ggx( float nh, float roughness ) + { + return GGXTerm(nh, roughness); + } + + + float3 RGBToHSV(float3 c) + { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp( float4( c.bg, K.wz ), float4( c.gb, K.xy ), step( c.b, c.g ) ); + float4 q = lerp( float4( p.xyw, c.r ), float4( c.r, p.yzx ), step( p.x, c.r ) ); + float d = q.x - min( q.w, q.y ); + float e = 1.0e-10; + return float3( abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); + } + + float2 voronoihash2_g4880( float2 p ) + { + + p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) ); + return frac( sin( p ) *43758.5453); + } + + + float voronoi2_g4880( float2 v, float time, inout float2 id, inout float2 mr, float smoothness, inout float2 smoothId ) + { + float2 n = floor( v ); + float2 f = frac( v ); + float F1 = 8.0; + float F2 = 8.0; float2 mg = 0; + for ( int j = -1; j <= 1; j++ ) + { + for ( int i = -1; i <= 1; i++ ) + { + float2 g = float2( i, j ); + float2 o = voronoihash2_g4880( n + g ); + o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o; + float d = 0.5 * dot( r, r ); + if( d x0.y ) ? float2( 1.0, 0.0 ) : float2( 0.0, 1.0 ); + float4 x12 = x0.xyxy + C.xxzz; + x12.xy -= i1; + i = mod2D289( i ); + float3 p = permute( permute( i.y + float3( 0.0, i1.y, 1.0 ) ) + i.x + float3( 0.0, i1.x, 1.0 ) ); + float3 m = max( 0.5 - float3( dot( x0, x0 ), dot( x12.xy, x12.xy ), dot( x12.zw, x12.zw ) ), 0.0 ); + m = m * m; + m = m * m; + float3 x = 2.0 * frac( p * C.www ) - 1.0; + float3 h = abs( x ) - 0.5; + float3 ox = floor( x + 0.5 ); + float3 a0 = x - ox; + m *= 1.79284291400159 - 0.85373472095314 * ( a0 * a0 + h * h ); + float3 g; + g.x = a0.x * x0.x + h.x * x0.y; + g.yz = a0.yz * x12.xz + h.yz * x12.yw; + return 130.0 * dot( m, g ); + } + + + inline int IsLumaActive11_g4890( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4889( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4892( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4896( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4891( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4895( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4893( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4894( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4884( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4886( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4888( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4898( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float IfAudioLinkv2Exists1_g4882( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float F0138( float NdotL, float NdotV, float LdotH, float roughness ) + { + float FresnelLight = SchlickFresnel(NdotL); + float FresnelView = SchlickFresnel(NdotV); + float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness; + return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView); + } + + + inline float3 getProbes( float4 uvw ) + { + return ShadeSH9(uvw); + } + + + inline int AudioLinkDecodeDataAsUInt6_g4902( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4903( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline float AudioLinkData3_g4915( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4917( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4919( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline int IsLumaActive11_g4922( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4921( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4924( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float glslmod13_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4923( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4927( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4925( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4926( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float glslmod266_g4914( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4929( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + void vertexDataFunc( inout appdata_full v, out Input o ) + { + UNITY_INITIALIZE_OUTPUT( Input, o ); + v.vertex.xyz += 0; + v.vertex.w = 1; + } + + inline half4 LightingStandardCustomLighting( inout SurfaceOutputCustomLightingCustom s, half3 viewDir, UnityGI gi ) + { + UnityGIInput data = s.GIData; + Input i = s.SurfInput; + half4 c = 0; + #ifdef UNITY_PASS_FORWARDBASE + float ase_lightAtten = data.atten; + if( _LightColor0.a == 0) + ase_lightAtten = 0; + #else + float3 ase_lightAttenRGB = gi.light.color / ( ( _LightColor0.rgb ) + 0.000001 ); + float ase_lightAtten = max( max( ase_lightAttenRGB.r, ase_lightAttenRGB.g ), ase_lightAttenRGB.b ); + #endif + #if defined(HANDLE_SHADOWS_BLENDING_IN_GI) + half bakedAtten = UnitySampleBakedOcclusion(data.lightmapUV.xy, data.worldPos); + float zDist = dot(_WorldSpaceCameraPos - data.worldPos, UNITY_MATRIX_V[2].xyz); + float fadeDist = UnityComputeShadowFadeDistance(data.worldPos, zDist); + ase_lightAtten = UnityMixRealtimeAndBakedShadows(data.atten, bakedAtten, UnityComputeShadowFade(fadeDist)); + #endif + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float Alpha1147 = ( MainTex224.a * _Color.a ); + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float smoothstepResult436 = smoothstep( saturate( ( -0.4 + 0.48 ) ) , saturate( ( -0.4 + ( 1.0 - 0.48 ) ) ) , localggx413); + float temp_output_452_0 = ( smoothstepResult436 * Smoothness90 ); + float smoothstepResult469 = smoothstep( 0.8 , 1.0 , Smoothness90); + float ToonSpecular444 = ( temp_output_452_0 + ( smoothstepResult469 * 5.0 * temp_output_452_0 ) ); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_1170_0 = max( saturate( Alpha1147 ) , ( max( saturate( ToonSpecular444 ) , RimAlpha1134 ) * SmoothnessColorMult1144 ) ); + float3 indirectNormal151 = worldNorm31; + float Occlusion272 = pow( tex2D( _OcclusionMap, uv_MainTex ).g , _OcclusionStrength ); + Unity_GlossyEnvironmentData g151 = UnityGlossyEnvironmentSetup( Smoothness90, data.worldViewDir, indirectNormal151, float3(0,0,0)); + float3 indirectSpecular151 = UnityGI_IndirectSpecular( data, Occlusion272, indirectNormal151, g151 ); + float temp_output_208_0 = ( 1.0 - ( Smoothness90 * Smoothness90 ) ); + float temp_output_200_0 = max( ( 1.0 - ( temp_output_208_0 * temp_output_208_0 * temp_output_208_0 ) ) , 0.1 ); + float fresnelNdotV161 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode161 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV161, 4.0 ) ); + float smoothstepResult480 = smoothstep( 0.0 , 0.35 , fresnelNode161); + float IndirectAlpha1165 = saturate( ( 0.01 + smoothstepResult480 ) ); + float4 temp_cast_240 = (IndirectAlpha1165).xxxx; + float4 SpecularTex394 = ( tex2D( _SpecGlossMap, uv_MainTex ) * _SpecColor ); + float4 MainTex147_g4905 = MainTex224; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 temp_output_21_0_g4905 = Normal243; + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (ase_lightAtten*0.5 + 0.5) , ase_lightAtten , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float4 Colors149_g4905 = lerpResult32_g4905; + float3 hsvTorgb86_g4905 = RGBToHSV( Colors149_g4905.rgb ); + float3 hsvTorgb85_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb87_g4905 = HSVToRGB( float3(hsvTorgb86_g4905.x,hsvTorgb85_g4905.y,hsvTorgb85_g4905.z) ); + float Intensity132_g4905 = _IridescentIntensity; + float4 lerpResult205_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb87_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + int ModeTransferSat145_g4905 = temp_output_91_0_g4905; + float4 lerpResult92_g4905 = lerp( MainTex147_g4905 , ( lerpResult205_g4905 * max( Intensity132_g4905 , 1.0 ) ) , (float)ModeTransferSat145_g4905); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb99_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb100_g4905 = HSVToRGB( float3(( AnimatedDot130_g4905 + hsvTorgb99_g4905.x ),hsvTorgb99_g4905.y,hsvTorgb99_g4905.y) ); + float4 lerpResult199_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb100_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Holographic153_g4905 = ( lerpResult199_g4905 * max( Intensity132_g4905 , 1.0 ) ); + int ModeTransfer143_g4905 = temp_output_90_0_g4905; + int temp_output_97_0_g4905 = ( ModeTransfer143_g4905 - 1 ); + float4 lerpResult96_g4905 = lerp( lerpResult92_g4905 , Holographic153_g4905 , (float)saturate( temp_output_97_0_g4905 )); + float3 hsvTorgb124_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb126_g4905 = HSVToRGB( float3(( hsvTorgb124_g4905.x + AnimatedDot130_g4905 ),hsvTorgb124_g4905.y,hsvTorgb124_g4905.z) ); + float4 lerpResult203_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb126_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Hueshift152_g4905 = ( lerpResult203_g4905 * max( Intensity132_g4905 , 1.0 ) ); + float4 lerpResult127_g4905 = lerp( lerpResult96_g4905 , Hueshift152_g4905 , (float)saturate( ( temp_output_97_0_g4905 - 1 ) )); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult227_g4905 = lerp( MainTex147_g4905 , lerpResult127_g4905 , temp_output_233_0_g4905); + float4 lerpResult236_g4905 = lerp( lerpResult127_g4905 , lerpResult227_g4905 , (float)temp_output_225_0_g4905); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + float EffectMask140_g4905 = temp_output_55_0_g4905; + float4 lerpResult95_g4905 = lerp( MainTex147_g4905 , lerpResult236_g4905 , EffectMask140_g4905); + float4 lerpResult248_g4905 = lerp( MainTex147_g4905 , lerpResult95_g4905 , _Enableiridescence); + float4 IridescentMainTex1049 = lerpResult248_g4905; + float4 temp_output_227_0 = ( _Color * IridescentMainTex1049 ); + float MetallticFromTex247 = tex2DNode246.r; + float metallic46 = ( _Metallic * MetallticFromTex247 ); + half3 specColor163 = (0).xxx; + half oneMinusReflectivity163 = 0; + half3 diffuseAndSpecularFromMetallic163 = DiffuseAndSpecularFromMetallic(temp_output_227_0.rgb,metallic46,specColor163,oneMinusReflectivity163); + float lerpResult401 = lerp( 1.0 , metallic46 , _EnableSpecularMap); + float4 lerpResult381 = lerp( SpecularTex394 , float4( specColor163 , 0.0 ) , lerpResult401); + float4 specColor44 = ( lerpResult381 * SmoothnessColorMult1144 ); + float4 temp_cast_264 = (1.0).xxxx; + float fresnelNdotV202 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode202 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV202, 5.0 ) ); + float smoothstepResult482 = smoothstep( 0.0 , 0.35 , fresnelNode202); + float4 lerpResult213 = lerp( specColor44 , temp_cast_264 , saturate( smoothstepResult482 )); + float4 lerpResult204 = lerp( temp_cast_240 , lerpResult213 , metallic46); + float4 IndirectSpecular158 = ( float4( indirectSpecular151 , 0.0 ) * lerpResult204 * ( Smoothness90 * Smoothness90 ) ); + float3 diffuse23 = diffuseAndSpecularFromMetallic163; + #ifdef UNITY_PASS_FORWARDADD + float staticSwitch1152 = temp_output_1170_0; + #else + float staticSwitch1152 = 1.0; + #endif + float Opacity1155 = staticSwitch1152; + float4 ColoredSpec987 = ( saturate( ( 1.2 * specColor44 ) ) * ToonSpecular444 ); + float3 temp_output_125_0_g4880 = ColoredSpec987.rgb; + float3 SpecularIN194_g4880 = temp_output_125_0_g4880; + float time2_g4880 = 0.0; + float2 voronoiSmoothId2_g4880 = 0; + float2 coords2_g4880 = i.uv_texcoord * _SparkleScale; + float2 id2_g4880 = 0; + float2 uv2_g4880 = 0; + float voroi2_g4880 = voronoi2_g4880( coords2_g4880, time2_g4880, id2_g4880, uv2_g4880, 0, voronoiSmoothId2_g4880 ); + float2 ID44_g4880 = id2_g4880; + float2 break71_g4880 = ( ID44_g4880 * float2( 360,360 ) ); + float cos68_g4880 = cos( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float sin68_g4880 = sin( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float2 rotator68_g4880 = mul( uv2_g4880 - float2( 0,0 ) , float2x2( cos68_g4880 , -sin68_g4880 , sin68_g4880 , cos68_g4880 )) + float2( 0,0 ); + float2 UV45_g4880 = rotator68_g4880; + float mulTime14_g4880 = _Time.y * _SparkleSpeed; + float simplePerlin2D37_g4880 = snoise( ( ( ID44_g4880 * _SparkleSeed ) + mulTime14_g4880 ) ); + simplePerlin2D37_g4880 = simplePerlin2D37_g4880*0.5 + 0.5; + float Noise50_g4880 = ( _SparkleSize * simplePerlin2D37_g4880 ); + float smoothstepResult31_g4880 = smoothstep( 0.2 , 0.1 , ( length( UV45_g4880 ) - (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )); + float Sphere52_g4880 = smoothstepResult31_g4880; + float2 temp_cast_268 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 temp_output_54_0_g4880 = ( abs( UV45_g4880 ) - temp_cast_268 ); + float2 temp_cast_269 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 break59_g4880 = temp_output_54_0_g4880; + float smoothstepResult62_g4880 = smoothstep( 0.01 , 0.0 , ( length( max( temp_output_54_0_g4880 , float2( 0,0 ) ) ) + min( max( break59_g4880.x , break59_g4880.y ) , 0.0 ) )); + float Square63_g4880 = smoothstepResult62_g4880; + float lerpResult111_g4880 = lerp( Sphere52_g4880 , Square63_g4880 , (float)saturate( _SparkleShape )); + float2 p73_g4880 = UV45_g4880; + float r73_g4880 = (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)); + float rf73_g4880 = 0.25; + float localsdStar573_g4880 = sdStar5( p73_g4880 , r73_g4880 , rf73_g4880 ); + float smoothstepResult79_g4880 = smoothstep( 0.01 , 0.0 , localsdStar573_g4880); + float Star80_g4880 = smoothstepResult79_g4880; + int temp_output_114_0_g4880 = ( _SparkleShape - 1 ); + float lerpResult112_g4880 = lerp( lerpResult111_g4880 , Star80_g4880 , (float)saturate( temp_output_114_0_g4880 )); + float temp_output_99_0_g4880 = (-0.25 + (Noise50_g4880 - 0.0) * (0.0 - -0.25) / (1.0 - 0.0)); + float2 p85_g4880 = ( UV45_g4880 * 2.15 ); + float localsdHeart85_g4880 = sdHeart( p85_g4880 ); + float smoothstepResult91_g4880 = smoothstep( ( temp_output_99_0_g4880 + 0.01 ) , temp_output_99_0_g4880 , ( localsdHeart85_g4880 / 2.15 )); + float Heart90_g4880 = smoothstepResult91_g4880; + float lerpResult113_g4880 = lerp( lerpResult112_g4880 , Heart90_g4880 , (float)saturate( ( temp_output_114_0_g4880 - 1 ) )); + float4 temp_output_2_0_g4871 = EffectMaskRGBA871; + float4 break120_g4880 = temp_output_2_0_g4871; + int temp_output_18_0_g4881 = _SparkleMaskingChannel; + float lerpResult1_g4881 = lerp( 1.0 , break120_g4880.r , (float)saturate( temp_output_18_0_g4881 )); + int temp_output_5_0_g4881 = ( temp_output_18_0_g4881 - 1 ); + float lerpResult12_g4881 = lerp( lerpResult1_g4881 , break120_g4880.g , (float)saturate( temp_output_5_0_g4881 )); + int temp_output_6_0_g4881 = ( temp_output_5_0_g4881 - 1 ); + float lerpResult10_g4881 = lerp( lerpResult12_g4881 , break120_g4880.b , (float)saturate( temp_output_6_0_g4881 )); + float lerpResult11_g4881 = lerp( lerpResult10_g4881 , break120_g4880.a , (float)saturate( ( temp_output_6_0_g4881 - 1 ) )); + float SparkleAlpha129_g4880 = ( lerpResult113_g4880 * lerpResult11_g4881 ); + float4 temp_cast_278 = (1.0).xxxx; + float4 temp_cast_280 = (1.0).xxxx; + float3 temp_cast_281 = (1.0).xxx; + int EmissionGlowZone47_g4883 = _SparkleGlowZone; + int clampResult8_g4889 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4889 = ( clampResult8_g4889 - 1 ); + int Zone16_g4889 = temp_output_3_0_g4889; + float3 localgetThemeData16_g4889 = getThemeData( Zone16_g4889 ); + int Band11_g4890 = 56; + int localIsLumaActive11_g4890 = IsLumaActive11_g4890( Band11_g4890 ); + int temp_output_14_0_g4889 = localIsLumaActive11_g4890; + int lerpResult15_g4889 = lerp( temp_output_3_0_g4889 , ( 63 - temp_output_3_0_g4889 ) , (float)temp_output_14_0_g4889); + int Band2_g4889 = lerpResult15_g4889; + int Delay2_g4889 = 0; + float3 localLumaGlowData2_g4889 = LumaGlowData2_g4889( Band2_g4889 , Delay2_g4889 ); + float3 lerpResult17_g4889 = lerp( ( localgetThemeData16_g4889 * localLumaGlowData2_g4889 ) , localLumaGlowData2_g4889 , (float)temp_output_14_0_g4889); + int temp_output_21_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float3 lerpResult20_g4883 = lerp( temp_cast_281 , lerpResult17_g4889 , (float)temp_output_21_0_g4883); + float3 temp_cast_285 = (1.0).xxx; + int clampResult8_g4891 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4891 = ( clampResult8_g4891 - 1 ); + int Zone15_g4891 = temp_output_3_0_g4891; + float3 localgetThemeData15_g4891 = getThemeData( Zone15_g4891 ); + int Band11_g4892 = 56; + int localIsLumaActive11_g4892 = IsLumaActive11_g4892( Band11_g4892 ); + int temp_output_13_0_g4891 = localIsLumaActive11_g4892; + int lerpResult14_g4891 = lerp( temp_output_3_0_g4891 , ( 63 - temp_output_3_0_g4891 ) , (float)temp_output_13_0_g4891); + int Band11_g4891 = lerpResult14_g4891; + float cos6_g4883 = cos( radians( _SparkleGlowPulseDir ) ); + float sin6_g4883 = sin( radians( _SparkleGlowPulseDir ) ); + float2 rotator6_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4883 , -sin6_g4883 , sin6_g4883 , cos6_g4883 )) + float2( 0.5,0.5 ); + int Band6_g4896 = _SparkleGlowAnimationBand; + int Mode6_g4896 = ( ( _SparkleGlowAnimationMode * 2 ) + _SparkleGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4896 = AudioLinkDecodeDataAsUInt6_g4896( Band6_g4896 , Mode6_g4896 ); + float localGetLocalTime2_g4897 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4883 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4896 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4897 , (float)saturate( ( _SparkleGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4883 = ( _SparkleGlowAnimationStrength * lerpResult206_g4883 * step( _SparkleGlowAnimationBand , 9 ) ); + float x13_g4883 = ( ( rotator6_g4883.x * _SparkleGlowPulseScale ) + _SparkleGlowPulseOffset + EmissionGlowAnimation195_g4883 ); + float y13_g4883 = 127.0; + float localglslmod13_g4883 = glslmod13_g4883( x13_g4883 , y13_g4883 ); + float2 CenteredUV15_g4885 = ( i.uv_texcoord - _SparkleGlowRadialCenter ); + float2 break17_g4885 = CenteredUV15_g4885; + float2 appendResult23_g4885 = (float2(( length( CenteredUV15_g4885 ) * _SparkleGlowPulseScale * 2.0 ) , ( atan2( break17_g4885.x , break17_g4885.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4883 = ( _SparkleGlowPulseOffset + appendResult23_g4885.x + EmissionGlowAnimation195_g4883 ); + float y12_g4883 = 127.0; + float localglslmod12_g4883 = glslmod12_g4883( x12_g4883 , y12_g4883 ); + int EmissionGlowMode35_g4883 = _SparkleGlowMode; + int temp_output_37_0_g4883 = ( EmissionGlowMode35_g4883 - 1 ); + float lerpResult5_g4883 = lerp( localglslmod13_g4883 , localglslmod12_g4883 , (float)saturate( temp_output_37_0_g4883 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4606 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float temp_output_1074_244 = Direction27_g4606; + float DirectionMap1031 = temp_output_1074_244; + float temp_output_23_0_g4871 = DirectionMap1031; + float DirectionalMap106_g4883 = temp_output_23_0_g4871; + float lerpResult179_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionGlowMode35_g4883 - 3 ) )); + float x34_g4883 = ( _SparkleGlowPulseOffset + ( _SparkleGlowPulseScale * lerpResult179_g4883 ) + EmissionGlowAnimation195_g4883 ); + float y34_g4883 = 127.0; + float localglslmod34_g4883 = glslmod34_g4883( x34_g4883 , y34_g4883 ); + float lerpResult30_g4883 = lerp( lerpResult5_g4883 , localglslmod34_g4883 , (float)saturate( ( temp_output_37_0_g4883 - 1 ) )); + float EmissionGlowDelay56_g4883 = lerpResult30_g4883; + float Delay11_g4891 = EmissionGlowDelay56_g4883; + float3 localLumaGlowLerp11_g4891 = LumaGlowLerp11_g4891( Band11_g4891 , Delay11_g4891 ); + float3 lerpResult17_g4891 = lerp( ( localgetThemeData15_g4891 * localLumaGlowLerp11_g4891 ) , localLumaGlowLerp11_g4891 , (float)temp_output_13_0_g4891); + float3 lerpResult22_g4883 = lerp( temp_cast_285 , lerpResult17_g4891 , (float)temp_output_21_0_g4883); + float3 lerpResult23_g4883 = lerp( lerpResult20_g4883 , lerpResult22_g4883 , (float)saturate( EmissionGlowMode35_g4883 )); + float4 temp_cast_295 = (1.0).xxxx; + float temp_output_10_0_g4893 = EmissionGlowDelay56_g4883; + float Position1_g4895 = ( temp_output_10_0_g4893 / 127.0 ); + float4 localAudioLinkLerp1_g4895 = AudioLinkLerp1_g4895( Position1_g4895 ); + int clampResult8_g4893 = clamp( ( EmissionGlowZone47_g4883 - 4 ) , 1 , 3 ); + int Band11_g4893 = ( 59 - ( clampResult8_g4893 - 1 ) ); + float Delay11_g4893 = temp_output_10_0_g4893; + float3 localLumaGlowLerp11_g4893 = LumaGlowLerp11_g4893( Band11_g4893 , Delay11_g4893 ); + int Band11_g4894 = 56; + int localIsLumaActive11_g4894 = IsLumaActive11_g4894( Band11_g4894 ); + float4 lerpResult14_g4893 = lerp( localAudioLinkLerp1_g4895 , float4( localLumaGlowLerp11_g4893 , 0.0 ) , (float)localIsLumaActive11_g4894); + float4 lerpResult52_g4883 = lerp( temp_cast_295 , lerpResult14_g4893 , (float)saturate( EmissionGlowZone47_g4883 )); + float4 lerpResult51_g4883 = lerp( float4( lerpResult23_g4883 , 0.0 ) , lerpResult52_g4883 , (float)saturate( ( EmissionGlowZone47_g4883 - 4 ) )); + float4 temp_cast_300 = (_SparkleGlowMinBrightness).xxxx; + float4 temp_cast_301 = (( _SparkleGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float4 EmissionGlow142_g4883 = ( (temp_cast_300 + (lerpResult51_g4883 - float4( 0,0,0,0 )) * (temp_cast_301 - temp_cast_300) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _SparkleGlowTint * temp_output_258_0_g4883 ); + float4 lerpResult261_g4883 = lerp( temp_cast_280 , EmissionGlow142_g4883 , (float)temp_output_258_0_g4883); + float4 EmissionGlowTog262_g4883 = lerpResult261_g4883; + int EmissionReactiveBand243_g4883 = _SparkleReactiveBand; + int Band3_g4884 = EmissionReactiveBand243_g4883; + int Delay3_g4884 = 0; + float localAudioLinkData3_g4884 = AudioLinkData3_g4884( Band3_g4884 , Delay3_g4884 ); + int temp_output_64_0_g4883 = step( _SparkleReactiveBand , 9 ); + float lerpResult66_g4883 = lerp( 1.0 , localAudioLinkData3_g4884 , (float)temp_output_64_0_g4883); + int Band3_g4886 = _SparkleReactiveBand; + float cos78_g4883 = cos( radians( _SparkleReactivePulseDir ) ); + float sin78_g4883 = sin( radians( _SparkleReactivePulseDir ) ); + float2 rotator78_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4883 , -sin78_g4883 , sin78_g4883 , cos78_g4883 )) + float2( 0.5,0.5 ); + float x96_g4883 = ( ( rotator78_g4883.x * _SparkleReactivePulseScale ) + _SparkleReactivePulseOffset ); + float y96_g4883 = 127.0; + float localglslmod96_g4883 = glslmod96_g4883( x96_g4883 , y96_g4883 ); + float2 CenteredUV15_g4887 = ( i.uv_texcoord - _SparkleReactiveRadialCenter ); + float2 break17_g4887 = CenteredUV15_g4887; + float2 appendResult23_g4887 = (float2(( length( CenteredUV15_g4887 ) * _SparkleReactivePulseScale * 2.0 ) , ( atan2( break17_g4887.x , break17_g4887.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4883 = ( _SparkleReactivePulseOffset + appendResult23_g4887.x ); + float y97_g4883 = 127.0; + float localglslmod97_g4883 = glslmod97_g4883( x97_g4883 , y97_g4883 ); + int EmissionReactiveMode99_g4883 = _SparkleReactiveMode; + int temp_output_90_0_g4883 = ( EmissionReactiveMode99_g4883 - 1 ); + float lerpResult77_g4883 = lerp( localglslmod96_g4883 , localglslmod97_g4883 , (float)saturate( temp_output_90_0_g4883 )); + float lerpResult174_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionReactiveMode99_g4883 - 3 ) )); + float x98_g4883 = ( _SparkleReactivePulseOffset + ( _SparkleReactivePulseScale * lerpResult174_g4883 ) ); + float y98_g4883 = 127.0; + float localglslmod98_g4883 = glslmod98_g4883( x98_g4883 , y98_g4883 ); + float lerpResult87_g4883 = lerp( lerpResult77_g4883 , localglslmod98_g4883 , (float)saturate( ( temp_output_90_0_g4883 - 1 ) )); + float Delay3_g4886 = lerpResult87_g4883; + float localAudioLinkLerp3_g4886 = AudioLinkLerp3_g4886( Band3_g4886 , Delay3_g4886 ); + float lerpResult102_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4886 , (float)temp_output_64_0_g4883); + float lerpResult103_g4883 = lerp( lerpResult66_g4883 , lerpResult102_g4883 , (float)saturate( EmissionReactiveMode99_g4883 )); + int Band3_g4888 = _SparkleReactiveBand; + float FilteredAmount3_g4888 = ( ( 1.0 - _SparkleReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4888 = AudioLinkLerp3_g4888( Band3_g4888 , FilteredAmount3_g4888 ); + float lerpResult168_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4888 , (float)temp_output_64_0_g4883); + float lerpResult172_g4883 = lerp( lerpResult103_g4883 , lerpResult168_g4883 , (float)saturate( ( EmissionReactiveMode99_g4883 - 4 ) )); + float ReactivityAlpha132_g4883 = (_SparkleReactiveMinBrightness + (lerpResult172_g4883 - 0.0) * (( _SparkleReactiveMinBrightness + 1.0 ) - _SparkleReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_312 = (1.0).xxxx; + float4 lerpResult268_g4883 = lerp( temp_cast_312 , _SparkleReactiveTint , (float)step( EmissionReactiveBand243_g4883 , 9 )); + float4 FinalReactivity68_g4883 = ( ReactivityAlpha132_g4883 * lerpResult268_g4883 ); + float4 lerpResult146_g4883 = lerp( ( EmissionGlowTog262_g4883 * FinalReactivity68_g4883 ) , ( EmissionGlow142_g4883 + FinalReactivity68_g4883 ) , (float)saturate( _SparkleReactiveBlendMode )); + float4 ReversedReactivity152_g4883 = ( ( 1.0 - ReactivityAlpha132_g4883 ) * lerpResult268_g4883 ); + int temp_output_157_0_g4883 = ( _SparkleReactiveBlendMode - 1 ); + float4 lerpResult114_g4883 = lerp( lerpResult146_g4883 , ( EmissionGlowTog262_g4883 * ReversedReactivity152_g4883 ) , (float)saturate( temp_output_157_0_g4883 )); + int temp_output_255_0_g4883 = step( EmissionReactiveBand243_g4883 , 9 ); + float4 lerpResult164_g4883 = lerp( lerpResult114_g4883 , ( EmissionGlow142_g4883 + ( ReversedReactivity152_g4883 * temp_output_255_0_g4883 ) ) , (float)max( saturate( ( temp_output_157_0_g4883 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4883 , 9 ) ) )); + float4 lerpResult280_g4883 = lerp( _SparkleGlowTint , lerpResult164_g4883 , (float)max( temp_output_255_0_g4883 , saturate( EmissionGlowZone47_g4883 ) )); + float localIfAudioLinkv2Exists1_g4898 = IfAudioLinkv2Exists1_g4898(); + float4 lerpResult275_g4883 = lerp( temp_cast_278 , ( lerpResult280_g4883 * SparkleAlpha129_g4880 ) , localIfAudioLinkv2Exists1_g4898); + float localIfAudioLinkv2Exists1_g4882 = IfAudioLinkv2Exists1_g4882(); + float4 lerpResult172_g4880 = lerp( ( _SparkleColor * SparkleAlpha129_g4880 ) , lerpResult275_g4883 , localIfAudioLinkv2Exists1_g4882); + float4 Sparkles152_g4880 = lerpResult172_g4880; + float4 lerpResult190_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_125_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_125_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 SpecularSparkles142_g4880 = lerpResult190_g4880; + int temp_output_133_0_g4880 = saturate( _SparkleMode ); + float4 lerpResult127_g4880 = lerp( float4( SpecularIN194_g4880 , 0.0 ) , SpecularSparkles142_g4880 , (float)temp_output_133_0_g4880); + int temp_output_137_0_g4880 = ( _SparkleMode - 1 ); + float4 lerpResult198_g4880 = lerp( lerpResult127_g4880 , float4( SpecularIN194_g4880 , 0.0 ) , (float)saturate( temp_output_137_0_g4880 )); + int temp_output_150_0_g4880 = ( temp_output_137_0_g4880 - 1 ); + int temp_output_151_0_g4880 = saturate( temp_output_150_0_g4880 ); + float4 lerpResult149_g4880 = lerp( lerpResult198_g4880 , SpecularSparkles142_g4880 , (float)temp_output_151_0_g4880); + int temp_output_160_0_g4880 = saturate( ( temp_output_150_0_g4880 - 1 ) ); + float4 lerpResult153_g4880 = lerp( lerpResult149_g4880 , SpecularSparkles142_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch173_g4880 = lerpResult153_g4880; + #else + float4 staticSwitch173_g4880 = float4( SpecularIN194_g4880 , 0.0 ); + #endif + float4 SpecEffects1117 = staticSwitch173_g4880; + float3 N123 = SpecEffects1117.xyz; + float k379 = roughness17; + float dotResult14 = dot( worldNorm31 , lightDir32 ); + float NdotL39 = max( dotResult14 , 0.0 ); + float smoothstepResult460 = smoothstep( 0.125 , 0.15 , NdotL39); + float lerpResult636 = lerp( (smoothstepResult460*0.5 + 0.5) , smoothstepResult460 , _WorldSpaceLightPos0.w); + float ToonNdotL514 = lerpResult636; + float NdotL379 = ToonNdotL514; + float dotResult24 = dot( worldNorm31 , viewDir29 ); + float NdotV11 = max( dotResult24 , 0.0 ); + float NdotV379 = NdotV11; + float localSchlickGGX379 = SchlickGGX( k379 , NdotL379 , NdotV379 ); + float G123 = localSchlickGGX379; + float NdotL138 = ToonNdotL514; + float smoothstepResult461 = smoothstep( 0.0 , 0.25 , NdotV11); + float ToonNdotV565 = smoothstepResult461; + float NdotV138 = ToonNdotV565; + float LdotH138 = NdotH38; + float roughness138 = roughness17; + float localF0138 = F0138( NdotL138 , NdotV138 , LdotH138 , roughness138 ); + float F123 = localF0138; + float NdotL123 = lerpResult636; + float NdotV123 = NdotV11; + float3 localBRDF123 = BRDF( N123 , G123 , F123 , NdotL123 , NdotV123 ); + float3 temp_cast_331 = (0.001).xxx; + float4 appendResult511 = (float4(-lightDir32 , 1.0)); + float4 uvw501 = appendResult511; + float3 localgetProbes501 = getProbes( uvw501 ); + float4 appendResult517 = (float4(lightDir32 , 1.0)); + float4 uvw518 = appendResult517; + float3 localgetProbes518 = getProbes( uvw518 ); + float3 lerpResult520 = lerp( ( localgetProbes501 * 0.65 ) , localgetProbes518 , ( ToonNdotL514 * Attenuation533 )); + float3 ToonAmbience521 = lerpResult520; + float4 lerpResult578 = lerp( float4( ToonAmbience521 , 0.0 ) , ase_lightColor , temp_output_576_0); + float4 InitialLightColor589 = ( lerpResult578 * Attenuation533 ); + float4 lightColor45 = InitialLightColor589; + float4 BRDF219 = ( float4( ( ( diffuse23 * Occlusion272 * Opacity1155 ) + ( max( localBRDF123 , temp_cast_331 ) * smoothstepResult460 * Attenuation533 ) ) , 0.0 ) * ( float4( ToonAmbience521 , 0.0 ) + ( lightColor45 * ToonNdotL514 ) ) ); + float4 lerpResult182_g4880 = lerp( Sparkles152_g4880 , float4( 0,0,0,0 ) , (float)temp_output_133_0_g4880); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch177_g4880 = Sparkles152_g4880; + #else + float4 staticSwitch177_g4880 = float4( 0,0,0,0 ); + #endif + float4 lerpResult185_g4880 = lerp( lerpResult182_g4880 , staticSwitch177_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch178_g4880 = lerpResult185_g4880; + #else + float4 staticSwitch178_g4880 = float4( 0,0,0,0 ); + #endif + int Band6_g4902 = _RainbowALAnimationBand; + int Mode6_g4902 = ( ( _RainbowALAnimationMode * 2 ) + _RainbowALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4902 = AudioLinkDecodeDataAsUInt6_g4902( Band6_g4902 , Mode6_g4902 ); + float localGetNetworkTime4_g4904 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4903 = IfAudioLinkv2Exists1_g4903(); + float temp_output_95_0_g4899 = localIfAudioLinkv2Exists1_g4903; + float lerpResult94_g4899 = lerp( _Time.y , localGetNetworkTime4_g4904 , temp_output_95_0_g4899); + float lerpResult66_g4899 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4902 % 628319 ) / 100000.0 ) * step( _RainbowALAnimationBand , 9 ) ) , lerpResult94_g4899 , (float)saturate( ( _RainbowALAnimationMode - 3 ) )); + float lerpResult96_g4899 = lerp( _Time.y , lerpResult66_g4899 , temp_output_95_0_g4899); + float EmissionGlowAnimation67_g4899 = ( _RainbowALAnimationStrength * lerpResult96_g4899 ); + float cos45_g4899 = cos( radians( _RainbowRotation ) ); + float sin45_g4899 = sin( radians( _RainbowRotation ) ); + float2 rotator45_g4899 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos45_g4899 , -sin45_g4899 , sin45_g4899 , cos45_g4899 )) + float2( 0.5,0.5 ); + float2 CenteredUV15_g4901 = ( i.uv_texcoord - _RainbowRadialCenter ); + float2 break17_g4901 = CenteredUV15_g4901; + float2 appendResult23_g4901 = (float2(( length( CenteredUV15_g4901 ) * _RainbowSpiralCurve * 2.0 ) , ( atan2( break17_g4901.x , break17_g4901.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float2 break50_g4899 = appendResult23_g4901; + float lerpResult49_g4899 = lerp( rotator45_g4899.x , break50_g4899.x , (float)saturate( _RainbowUVMode )); + int temp_output_60_0_g4899 = ( _RainbowUVMode - 1 ); + float lerpResult63_g4899 = lerp( lerpResult49_g4899 , ( break50_g4899.x + ( break50_g4899.y * ( 2.0 * UNITY_PI ) ) ) , (float)saturate( temp_output_60_0_g4899 )); + float temp_output_85_0_g4899 = temp_output_23_0_g4871; + int temp_output_81_0_g4899 = ( temp_output_60_0_g4899 - 1 ); + float lerpResult79_g4899 = lerp( lerpResult63_g4899 , temp_output_85_0_g4899 , (float)saturate( temp_output_81_0_g4899 )); + float lerpResult80_g4899 = lerp( lerpResult79_g4899 , ( 1.0 - temp_output_85_0_g4899 ) , (float)saturate( ( temp_output_81_0_g4899 - 1 ) )); + float temp_output_24_0_g4899 = ( ( 1.0 - _RainbowHueRange ) * 0.5 ); + float3 hsvTorgb3_g4899 = HSVToRGB( float3(( (temp_output_24_0_g4899 + (sin( ( EmissionGlowAnimation67_g4899 + ( lerpResult80_g4899 * _RainbowScale ) ) ) - -1.0) * (( 1.0 - temp_output_24_0_g4899 ) - temp_output_24_0_g4899) / (1.0 - -1.0)) + _RainbowHue ),_RainbowSaturation,_RainbowValue) ); + float4 EffectMaskRGBA8_g4871 = temp_output_2_0_g4871; + float4 break38_g4899 = EffectMaskRGBA8_g4871; + int temp_output_18_0_g4900 = _RainbowMaskingChannel; + float lerpResult1_g4900 = lerp( 1.0 , break38_g4899.r , (float)saturate( temp_output_18_0_g4900 )); + int temp_output_5_0_g4900 = ( temp_output_18_0_g4900 - 1 ); + float lerpResult12_g4900 = lerp( lerpResult1_g4900 , break38_g4899.g , (float)saturate( temp_output_5_0_g4900 )); + int temp_output_6_0_g4900 = ( temp_output_5_0_g4900 - 1 ); + float lerpResult10_g4900 = lerp( lerpResult12_g4900 , break38_g4899.b , (float)saturate( temp_output_6_0_g4900 )); + float lerpResult11_g4900 = lerp( lerpResult10_g4900 , break38_g4899.a , (float)saturate( ( temp_output_6_0_g4900 - 1 ) )); + float3 lerpResult98_g4899 = lerp( float3( 0,0,0 ) , ( hsvTorgb3_g4899 * lerpResult11_g4900 ) , _EnableScrollingRainbow); + #ifdef UNITY_PASS_FORWARDBASE + float3 staticSwitch35_g4871 = lerpResult98_g4899; + #else + float3 staticSwitch35_g4871 = float3( 0,0,0 ); + #endif + float dotResult617 = dot( worldNorm31 , lightDir32 ); + float dotResult610 = dot( worldNorm31 , float3(0,1,0) ); + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch625 = max( ( dotResult610 + 0.5 ) , 0.0 ); + #else + float staticSwitch625 = 1.0; + #endif + float4 Rimlighting557 = ( max( -dotResult617 , 0.0 ) * temp_output_547_0 * ( ( lightColor45 + float4( ToonAmbience521 , 0.0 ) ) / 2.0 ) * _RimlightColor * specColor44 * staticSwitch625 * SpecularAntiAlias851 ); + float3 temp_output_126_0_g4880 = Rimlighting557.rgb; + float3 RimlightIN195_g4880 = temp_output_126_0_g4880; + float4 lerpResult191_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_126_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_126_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 RimlightSparkles143_g4880 = lerpResult191_g4880; + float4 lerpResult136_g4880 = lerp( float4( RimlightIN195_g4880 , 0.0 ) , RimlightSparkles143_g4880 , (float)saturate( temp_output_137_0_g4880 )); + float4 lerpResult181_g4880 = lerp( lerpResult136_g4880 , RimlightSparkles143_g4880 , (float)temp_output_151_0_g4880); + float4 lerpResult183_g4880 = lerp( lerpResult181_g4880 , RimlightSparkles143_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch187_g4880 = lerpResult183_g4880; + #else + float4 staticSwitch187_g4880 = float4( RimlightIN195_g4880 , 0.0 ); + #endif + float4 RimlightEffects1118 = staticSwitch187_g4880; + c.rgb = ( IndirectSpecular158 + BRDF219 + ( staticSwitch178_g4880 + float4( staticSwitch35_g4871 , 0.0 ) ) + RimlightEffects1118 ).rgb; + c.a = temp_output_1170_0; + return c; + } + + inline void LightingStandardCustomLighting_GI( inout SurfaceOutputCustomLightingCustom s, UnityGIInput data, inout UnityGI gi ) + { + s.GIData = data; + } + + void surf( Input i , inout SurfaceOutputCustomLightingCustom o ) + { + o.SurfInput = i; + o.Normal = float3(0,0,1); + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + o.Albedo = MainTex224.rgb; + float4 temp_cast_1 = (1.0).xxxx; + float3 temp_cast_2 = (1.0).xxx; + int EmissionGlowZone47_g4623 = _RedChGlowZone; + int clampResult8_g4629 = clamp( EmissionGlowZone47_g4623 , 1 , 4 ); + int temp_output_3_0_g4629 = ( clampResult8_g4629 - 1 ); + int Zone16_g4629 = temp_output_3_0_g4629; + float3 localgetThemeData16_g4629 = getThemeData( Zone16_g4629 ); + int Band11_g4630 = 56; + int localIsLumaActive11_g4630 = IsLumaActive11_g4630( Band11_g4630 ); + int temp_output_14_0_g4629 = localIsLumaActive11_g4630; + int lerpResult15_g4629 = lerp( temp_output_3_0_g4629 , ( 63 - temp_output_3_0_g4629 ) , (float)temp_output_14_0_g4629); + int Band2_g4629 = lerpResult15_g4629; + int Delay2_g4629 = 0; + float3 localLumaGlowData2_g4629 = LumaGlowData2_g4629( Band2_g4629 , Delay2_g4629 ); + float3 lerpResult17_g4629 = lerp( ( localgetThemeData16_g4629 * localLumaGlowData2_g4629 ) , localLumaGlowData2_g4629 , (float)temp_output_14_0_g4629); + int temp_output_21_0_g4623 = saturate( EmissionGlowZone47_g4623 ); + float3 lerpResult20_g4623 = lerp( temp_cast_2 , lerpResult17_g4629 , (float)temp_output_21_0_g4623); + float3 temp_cast_6 = (1.0).xxx; + int clampResult8_g4631 = clamp( EmissionGlowZone47_g4623 , 1 , 4 ); + int temp_output_3_0_g4631 = ( clampResult8_g4631 - 1 ); + int Zone15_g4631 = temp_output_3_0_g4631; + float3 localgetThemeData15_g4631 = getThemeData( Zone15_g4631 ); + int Band11_g4632 = 56; + int localIsLumaActive11_g4632 = IsLumaActive11_g4632( Band11_g4632 ); + int temp_output_13_0_g4631 = localIsLumaActive11_g4632; + int lerpResult14_g4631 = lerp( temp_output_3_0_g4631 , ( 63 - temp_output_3_0_g4631 ) , (float)temp_output_13_0_g4631); + int Band11_g4631 = lerpResult14_g4631; + float cos6_g4623 = cos( radians( _RedChGlowPulseDir ) ); + float sin6_g4623 = sin( radians( _RedChGlowPulseDir ) ); + float2 rotator6_g4623 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4623 , -sin6_g4623 , sin6_g4623 , cos6_g4623 )) + float2( 0.5,0.5 ); + int Band6_g4636 = _RedChGlowAnimationBand; + int Mode6_g4636 = ( ( _RedChGlowAnimationMode * 2 ) + _RedChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4636 = AudioLinkDecodeDataAsUInt6_g4636( Band6_g4636 , Mode6_g4636 ); + float localGetLocalTime2_g4637 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4623 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4636 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4637 , (float)saturate( ( _RedChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4623 = ( _RedChGlowAnimationStrength * lerpResult206_g4623 * step( _RedChGlowAnimationBand , 9 ) ); + float x13_g4623 = ( ( rotator6_g4623.x * _RedChGlowPulseScale ) + _RedChGlowPulseOffset + EmissionGlowAnimation195_g4623 ); + float y13_g4623 = 127.0; + float localglslmod13_g4623 = glslmod13_g4623( x13_g4623 , y13_g4623 ); + float2 CenteredUV15_g4625 = ( i.uv_texcoord - _RedChGlowRadialCenter ); + float2 break17_g4625 = CenteredUV15_g4625; + float2 appendResult23_g4625 = (float2(( length( CenteredUV15_g4625 ) * _RedChGlowPulseScale * 2.0 ) , ( atan2( break17_g4625.x , break17_g4625.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4623 = ( _RedChGlowPulseOffset + appendResult23_g4625.x + EmissionGlowAnimation195_g4623 ); + float y12_g4623 = 127.0; + float localglslmod12_g4623 = glslmod12_g4623( x12_g4623 , y12_g4623 ); + int EmissionGlowMode35_g4623 = _RedChGlowMode; + int temp_output_37_0_g4623 = ( EmissionGlowMode35_g4623 - 1 ); + float lerpResult5_g4623 = lerp( localglslmod13_g4623 , localglslmod12_g4623 , (float)saturate( temp_output_37_0_g4623 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4606 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionalMap106_g4623 = Direction27_g4606; + float lerpResult179_g4623 = lerp( DirectionalMap106_g4623 , ( 1.0 - DirectionalMap106_g4623 ) , (float)saturate( ( EmissionGlowMode35_g4623 - 3 ) )); + float x34_g4623 = ( _RedChGlowPulseOffset + ( _RedChGlowPulseScale * lerpResult179_g4623 ) + EmissionGlowAnimation195_g4623 ); + float y34_g4623 = 127.0; + float localglslmod34_g4623 = glslmod34_g4623( x34_g4623 , y34_g4623 ); + float lerpResult30_g4623 = lerp( lerpResult5_g4623 , localglslmod34_g4623 , (float)saturate( ( temp_output_37_0_g4623 - 1 ) )); + float EmissionGlowDelay56_g4623 = lerpResult30_g4623; + float Delay11_g4631 = EmissionGlowDelay56_g4623; + float3 localLumaGlowLerp11_g4631 = LumaGlowLerp11_g4631( Band11_g4631 , Delay11_g4631 ); + float3 lerpResult17_g4631 = lerp( ( localgetThemeData15_g4631 * localLumaGlowLerp11_g4631 ) , localLumaGlowLerp11_g4631 , (float)temp_output_13_0_g4631); + float3 lerpResult22_g4623 = lerp( temp_cast_6 , lerpResult17_g4631 , (float)temp_output_21_0_g4623); + float3 lerpResult23_g4623 = lerp( lerpResult20_g4623 , lerpResult22_g4623 , (float)saturate( EmissionGlowMode35_g4623 )); + float4 temp_cast_16 = (1.0).xxxx; + float temp_output_10_0_g4633 = EmissionGlowDelay56_g4623; + float Position1_g4635 = ( temp_output_10_0_g4633 / 127.0 ); + float4 localAudioLinkLerp1_g4635 = AudioLinkLerp1_g4635( Position1_g4635 ); + int clampResult8_g4633 = clamp( ( EmissionGlowZone47_g4623 - 4 ) , 1 , 3 ); + int Band11_g4633 = ( 59 - ( clampResult8_g4633 - 1 ) ); + float Delay11_g4633 = temp_output_10_0_g4633; + float3 localLumaGlowLerp11_g4633 = LumaGlowLerp11_g4633( Band11_g4633 , Delay11_g4633 ); + int Band11_g4634 = 56; + int localIsLumaActive11_g4634 = IsLumaActive11_g4634( Band11_g4634 ); + float4 lerpResult14_g4633 = lerp( localAudioLinkLerp1_g4635 , float4( localLumaGlowLerp11_g4633 , 0.0 ) , (float)localIsLumaActive11_g4634); + float4 lerpResult52_g4623 = lerp( temp_cast_16 , lerpResult14_g4633 , (float)saturate( EmissionGlowZone47_g4623 )); + float4 lerpResult51_g4623 = lerp( float4( lerpResult23_g4623 , 0.0 ) , lerpResult52_g4623 , (float)saturate( ( EmissionGlowZone47_g4623 - 4 ) )); + float4 temp_cast_21 = (_RedChGlowMinBrightness).xxxx; + float4 temp_cast_22 = (( _RedChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_254_0_g4623 = saturate( EmissionGlowZone47_g4623 ); + float4 EmissionGlow142_g4623 = ( (temp_cast_21 + (lerpResult51_g4623 - float4( 0,0,0,0 )) * (temp_cast_22 - temp_cast_21) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _RedChGlowTint * temp_output_254_0_g4623 ); + float4 lerpResult257_g4623 = lerp( temp_cast_1 , EmissionGlow142_g4623 , (float)temp_output_254_0_g4623); + float4 EmissionGlowTog258_g4623 = lerpResult257_g4623; + int EmissionReactiveBand243_g4623 = _RedChReactiveBand; + int Band3_g4624 = EmissionReactiveBand243_g4623; + int Delay3_g4624 = 0; + float localAudioLinkData3_g4624 = AudioLinkData3_g4624( Band3_g4624 , Delay3_g4624 ); + int temp_output_64_0_g4623 = step( _RedChReactiveBand , 9 ); + float lerpResult66_g4623 = lerp( 1.0 , localAudioLinkData3_g4624 , (float)temp_output_64_0_g4623); + int Band3_g4626 = _RedChReactiveBand; + float cos78_g4623 = cos( radians( _RedChReactivePulseDir ) ); + float sin78_g4623 = sin( radians( _RedChReactivePulseDir ) ); + float2 rotator78_g4623 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4623 , -sin78_g4623 , sin78_g4623 , cos78_g4623 )) + float2( 0.5,0.5 ); + float x96_g4623 = ( ( rotator78_g4623.x * _RedChReactivePulseScale ) + _RedChReactivePulseOffset ); + float y96_g4623 = 127.0; + float localglslmod96_g4623 = glslmod96_g4623( x96_g4623 , y96_g4623 ); + float2 CenteredUV15_g4627 = ( i.uv_texcoord - _RedChReactiveRadialCenter ); + float2 break17_g4627 = CenteredUV15_g4627; + float2 appendResult23_g4627 = (float2(( length( CenteredUV15_g4627 ) * _RedChReactivePulseScale * 2.0 ) , ( atan2( break17_g4627.x , break17_g4627.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4623 = ( _RedChReactivePulseOffset + appendResult23_g4627.x ); + float y97_g4623 = 127.0; + float localglslmod97_g4623 = glslmod97_g4623( x97_g4623 , y97_g4623 ); + int EmissionReactiveMode99_g4623 = _RedChReactiveMode; + int temp_output_90_0_g4623 = ( EmissionReactiveMode99_g4623 - 1 ); + float lerpResult77_g4623 = lerp( localglslmod96_g4623 , localglslmod97_g4623 , (float)saturate( temp_output_90_0_g4623 )); + float lerpResult174_g4623 = lerp( DirectionalMap106_g4623 , ( 1.0 - DirectionalMap106_g4623 ) , (float)saturate( ( EmissionReactiveMode99_g4623 - 3 ) )); + float x98_g4623 = ( _RedChReactivePulseOffset + ( _RedChReactivePulseScale * lerpResult174_g4623 ) ); + float y98_g4623 = 127.0; + float localglslmod98_g4623 = glslmod98_g4623( x98_g4623 , y98_g4623 ); + float lerpResult87_g4623 = lerp( lerpResult77_g4623 , localglslmod98_g4623 , (float)saturate( ( temp_output_90_0_g4623 - 1 ) )); + float Delay3_g4626 = lerpResult87_g4623; + float localAudioLinkLerp3_g4626 = AudioLinkLerp3_g4626( Band3_g4626 , Delay3_g4626 ); + float lerpResult102_g4623 = lerp( 1.0 , localAudioLinkLerp3_g4626 , (float)temp_output_64_0_g4623); + float lerpResult103_g4623 = lerp( lerpResult66_g4623 , lerpResult102_g4623 , (float)saturate( EmissionReactiveMode99_g4623 )); + int Band3_g4628 = _RedChReactiveBand; + float FilteredAmount3_g4628 = ( ( 1.0 - _RedChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4628 = AudioLinkLerp3_g4628( Band3_g4628 , FilteredAmount3_g4628 ); + float lerpResult168_g4623 = lerp( 1.0 , localAudioLinkLerp3_g4628 , (float)temp_output_64_0_g4623); + float lerpResult172_g4623 = lerp( lerpResult103_g4623 , lerpResult168_g4623 , (float)saturate( ( EmissionReactiveMode99_g4623 - 4 ) )); + float ReactivityAlpha132_g4623 = (_RedChReactiveMinBrightness + (lerpResult172_g4623 - 0.0) * (( _RedChReactiveMinBrightness + 1.0 ) - _RedChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_33 = (1.0).xxxx; + float4 lerpResult253_g4623 = lerp( temp_cast_33 , _RedChReactiveTint , (float)step( EmissionReactiveBand243_g4623 , 9 )); + float4 FinalReactivity68_g4623 = ( ReactivityAlpha132_g4623 * lerpResult253_g4623 ); + float4 lerpResult146_g4623 = lerp( ( EmissionGlowTog258_g4623 * FinalReactivity68_g4623 ) , ( EmissionGlow142_g4623 + FinalReactivity68_g4623 ) , (float)saturate( _RedChReactiveBlendMode )); + float4 ReversedReactivity152_g4623 = ( ( 1.0 - ReactivityAlpha132_g4623 ) * lerpResult253_g4623 ); + int temp_output_157_0_g4623 = ( _RedChReactiveBlendMode - 1 ); + float4 lerpResult114_g4623 = lerp( lerpResult146_g4623 , ( EmissionGlowTog258_g4623 * ReversedReactivity152_g4623 ) , (float)saturate( temp_output_157_0_g4623 )); + float4 lerpResult164_g4623 = lerp( lerpResult114_g4623 , ( EmissionGlow142_g4623 + ( ReversedReactivity152_g4623 * step( EmissionReactiveBand243_g4623 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4623 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4623 , 9 ) ) )); + float2 uv_GlowMask = i.uv_texcoord * _GlowMask_ST.xy + _GlowMask_ST.zw; + float4 GlowMaskRGBA174_g4606 = tex2D( _GlowMask, uv_GlowMask ); + float localIfAudioLinkv2Exists1_g4638 = IfAudioLinkv2Exists1_g4638(); + float4 lerpResult280_g4623 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4623 * (GlowMaskRGBA174_g4606).ra.x * localIfAudioLinkv2Exists1_g4638 ) , _EnableRedChannel); + float4 temp_cast_43 = (1.0).xxxx; + float3 temp_cast_44 = (1.0).xxx; + int EmissionGlowZone47_g4639 = _GreenChGlowZone; + int clampResult8_g4645 = clamp( EmissionGlowZone47_g4639 , 1 , 4 ); + int temp_output_3_0_g4645 = ( clampResult8_g4645 - 1 ); + int Zone16_g4645 = temp_output_3_0_g4645; + float3 localgetThemeData16_g4645 = getThemeData( Zone16_g4645 ); + int Band11_g4646 = 56; + int localIsLumaActive11_g4646 = IsLumaActive11_g4646( Band11_g4646 ); + int temp_output_14_0_g4645 = localIsLumaActive11_g4646; + int lerpResult15_g4645 = lerp( temp_output_3_0_g4645 , ( 63 - temp_output_3_0_g4645 ) , (float)temp_output_14_0_g4645); + int Band2_g4645 = lerpResult15_g4645; + int Delay2_g4645 = 0; + float3 localLumaGlowData2_g4645 = LumaGlowData2_g4645( Band2_g4645 , Delay2_g4645 ); + float3 lerpResult17_g4645 = lerp( ( localgetThemeData16_g4645 * localLumaGlowData2_g4645 ) , localLumaGlowData2_g4645 , (float)temp_output_14_0_g4645); + int temp_output_21_0_g4639 = saturate( EmissionGlowZone47_g4639 ); + float3 lerpResult20_g4639 = lerp( temp_cast_44 , lerpResult17_g4645 , (float)temp_output_21_0_g4639); + float3 temp_cast_48 = (1.0).xxx; + int clampResult8_g4647 = clamp( EmissionGlowZone47_g4639 , 1 , 4 ); + int temp_output_3_0_g4647 = ( clampResult8_g4647 - 1 ); + int Zone15_g4647 = temp_output_3_0_g4647; + float3 localgetThemeData15_g4647 = getThemeData( Zone15_g4647 ); + int Band11_g4648 = 56; + int localIsLumaActive11_g4648 = IsLumaActive11_g4648( Band11_g4648 ); + int temp_output_13_0_g4647 = localIsLumaActive11_g4648; + int lerpResult14_g4647 = lerp( temp_output_3_0_g4647 , ( 63 - temp_output_3_0_g4647 ) , (float)temp_output_13_0_g4647); + int Band11_g4647 = lerpResult14_g4647; + float cos6_g4639 = cos( radians( _GreenChGlowPulseDir ) ); + float sin6_g4639 = sin( radians( _GreenChGlowPulseDir ) ); + float2 rotator6_g4639 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4639 , -sin6_g4639 , sin6_g4639 , cos6_g4639 )) + float2( 0.5,0.5 ); + int Band6_g4652 = _GreenChGlowAnimationBand; + int Mode6_g4652 = ( ( _GreenChGlowAnimationMode * 2 ) + _GreenChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4652 = AudioLinkDecodeDataAsUInt6_g4652( Band6_g4652 , Mode6_g4652 ); + float localGetLocalTime2_g4653 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4639 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4652 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4653 , (float)saturate( ( _GreenChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4639 = ( _GreenChGlowAnimationStrength * lerpResult206_g4639 * step( _GreenChGlowAnimationBand , 9 ) ); + float x13_g4639 = ( ( rotator6_g4639.x * _GreenChGlowPulseScale ) + _GreenChGlowPulseOffset + EmissionGlowAnimation195_g4639 ); + float y13_g4639 = 127.0; + float localglslmod13_g4639 = glslmod13_g4639( x13_g4639 , y13_g4639 ); + float2 CenteredUV15_g4641 = ( i.uv_texcoord - _GreenChGlowRadialCenter ); + float2 break17_g4641 = CenteredUV15_g4641; + float2 appendResult23_g4641 = (float2(( length( CenteredUV15_g4641 ) * _GreenChGlowPulseScale * 2.0 ) , ( atan2( break17_g4641.x , break17_g4641.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4639 = ( _GreenChGlowPulseOffset + appendResult23_g4641.x + EmissionGlowAnimation195_g4639 ); + float y12_g4639 = 127.0; + float localglslmod12_g4639 = glslmod12_g4639( x12_g4639 , y12_g4639 ); + int EmissionGlowMode35_g4639 = _GreenChGlowMode; + int temp_output_37_0_g4639 = ( EmissionGlowMode35_g4639 - 1 ); + float lerpResult5_g4639 = lerp( localglslmod13_g4639 , localglslmod12_g4639 , (float)saturate( temp_output_37_0_g4639 )); + float DirectionalMap106_g4639 = Direction27_g4606; + float lerpResult179_g4639 = lerp( DirectionalMap106_g4639 , ( 1.0 - DirectionalMap106_g4639 ) , (float)saturate( ( EmissionGlowMode35_g4639 - 3 ) )); + float x34_g4639 = ( _GreenChGlowPulseOffset + ( _GreenChGlowPulseScale * lerpResult179_g4639 ) + EmissionGlowAnimation195_g4639 ); + float y34_g4639 = 127.0; + float localglslmod34_g4639 = glslmod34_g4639( x34_g4639 , y34_g4639 ); + float lerpResult30_g4639 = lerp( lerpResult5_g4639 , localglslmod34_g4639 , (float)saturate( ( temp_output_37_0_g4639 - 1 ) )); + float EmissionGlowDelay56_g4639 = lerpResult30_g4639; + float Delay11_g4647 = EmissionGlowDelay56_g4639; + float3 localLumaGlowLerp11_g4647 = LumaGlowLerp11_g4647( Band11_g4647 , Delay11_g4647 ); + float3 lerpResult17_g4647 = lerp( ( localgetThemeData15_g4647 * localLumaGlowLerp11_g4647 ) , localLumaGlowLerp11_g4647 , (float)temp_output_13_0_g4647); + float3 lerpResult22_g4639 = lerp( temp_cast_48 , lerpResult17_g4647 , (float)temp_output_21_0_g4639); + float3 lerpResult23_g4639 = lerp( lerpResult20_g4639 , lerpResult22_g4639 , (float)saturate( EmissionGlowMode35_g4639 )); + float4 temp_cast_58 = (1.0).xxxx; + float temp_output_10_0_g4649 = EmissionGlowDelay56_g4639; + float Position1_g4651 = ( temp_output_10_0_g4649 / 127.0 ); + float4 localAudioLinkLerp1_g4651 = AudioLinkLerp1_g4651( Position1_g4651 ); + int clampResult8_g4649 = clamp( ( EmissionGlowZone47_g4639 - 4 ) , 1 , 3 ); + int Band11_g4649 = ( 59 - ( clampResult8_g4649 - 1 ) ); + float Delay11_g4649 = temp_output_10_0_g4649; + float3 localLumaGlowLerp11_g4649 = LumaGlowLerp11_g4649( Band11_g4649 , Delay11_g4649 ); + int Band11_g4650 = 56; + int localIsLumaActive11_g4650 = IsLumaActive11_g4650( Band11_g4650 ); + float4 lerpResult14_g4649 = lerp( localAudioLinkLerp1_g4651 , float4( localLumaGlowLerp11_g4649 , 0.0 ) , (float)localIsLumaActive11_g4650); + float4 lerpResult52_g4639 = lerp( temp_cast_58 , lerpResult14_g4649 , (float)saturate( EmissionGlowZone47_g4639 )); + float4 lerpResult51_g4639 = lerp( float4( lerpResult23_g4639 , 0.0 ) , lerpResult52_g4639 , (float)saturate( ( EmissionGlowZone47_g4639 - 4 ) )); + float4 temp_cast_63 = (_GreenChGlowMinBrightness).xxxx; + float4 temp_cast_64 = (( _GreenChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_255_0_g4639 = saturate( EmissionGlowZone47_g4639 ); + float4 EmissionGlow142_g4639 = ( (temp_cast_63 + (lerpResult51_g4639 - float4( 0,0,0,0 )) * (temp_cast_64 - temp_cast_63) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _GreenChGlowTint * temp_output_255_0_g4639 ); + float4 lerpResult258_g4639 = lerp( temp_cast_43 , EmissionGlow142_g4639 , (float)temp_output_255_0_g4639); + float4 EmissionGlowTog259_g4639 = lerpResult258_g4639; + int EmissionReactiveBand243_g4639 = _GreenChReactiveBand; + int Band3_g4640 = EmissionReactiveBand243_g4639; + int Delay3_g4640 = 0; + float localAudioLinkData3_g4640 = AudioLinkData3_g4640( Band3_g4640 , Delay3_g4640 ); + int temp_output_64_0_g4639 = step( _GreenChReactiveBand , 9 ); + float lerpResult66_g4639 = lerp( 1.0 , localAudioLinkData3_g4640 , (float)temp_output_64_0_g4639); + int Band3_g4642 = _GreenChReactiveBand; + float cos78_g4639 = cos( radians( _GreenChReactivePulseDir ) ); + float sin78_g4639 = sin( radians( _GreenChReactivePulseDir ) ); + float2 rotator78_g4639 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4639 , -sin78_g4639 , sin78_g4639 , cos78_g4639 )) + float2( 0.5,0.5 ); + float x96_g4639 = ( ( rotator78_g4639.x * _GreenChReactivePulseScale ) + _GreenChReactivePulseOffset ); + float y96_g4639 = 127.0; + float localglslmod96_g4639 = glslmod96_g4639( x96_g4639 , y96_g4639 ); + float2 CenteredUV15_g4643 = ( i.uv_texcoord - _GreenChReactiveRadialCenter ); + float2 break17_g4643 = CenteredUV15_g4643; + float2 appendResult23_g4643 = (float2(( length( CenteredUV15_g4643 ) * _GreenChReactivePulseScale * 2.0 ) , ( atan2( break17_g4643.x , break17_g4643.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4639 = ( _GreenChReactivePulseOffset + appendResult23_g4643.x ); + float y97_g4639 = 127.0; + float localglslmod97_g4639 = glslmod97_g4639( x97_g4639 , y97_g4639 ); + int EmissionReactiveMode99_g4639 = _GreenChReactiveMode; + int temp_output_90_0_g4639 = ( EmissionReactiveMode99_g4639 - 1 ); + float lerpResult77_g4639 = lerp( localglslmod96_g4639 , localglslmod97_g4639 , (float)saturate( temp_output_90_0_g4639 )); + float lerpResult174_g4639 = lerp( DirectionalMap106_g4639 , ( 1.0 - DirectionalMap106_g4639 ) , (float)saturate( ( EmissionReactiveMode99_g4639 - 3 ) )); + float x98_g4639 = ( _GreenChReactivePulseOffset + ( _GreenChReactivePulseScale * lerpResult174_g4639 ) ); + float y98_g4639 = 127.0; + float localglslmod98_g4639 = glslmod98_g4639( x98_g4639 , y98_g4639 ); + float lerpResult87_g4639 = lerp( lerpResult77_g4639 , localglslmod98_g4639 , (float)saturate( ( temp_output_90_0_g4639 - 1 ) )); + float Delay3_g4642 = lerpResult87_g4639; + float localAudioLinkLerp3_g4642 = AudioLinkLerp3_g4642( Band3_g4642 , Delay3_g4642 ); + float lerpResult102_g4639 = lerp( 1.0 , localAudioLinkLerp3_g4642 , (float)temp_output_64_0_g4639); + float lerpResult103_g4639 = lerp( lerpResult66_g4639 , lerpResult102_g4639 , (float)saturate( EmissionReactiveMode99_g4639 )); + int Band3_g4644 = _GreenChReactiveBand; + float FilteredAmount3_g4644 = ( ( 1.0 - _GreenChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4644 = AudioLinkLerp3_g4644( Band3_g4644 , FilteredAmount3_g4644 ); + float lerpResult168_g4639 = lerp( 1.0 , localAudioLinkLerp3_g4644 , (float)temp_output_64_0_g4639); + float lerpResult172_g4639 = lerp( lerpResult103_g4639 , lerpResult168_g4639 , (float)saturate( ( EmissionReactiveMode99_g4639 - 4 ) )); + float ReactivityAlpha132_g4639 = (_GreenChReactiveMinBrightness + (lerpResult172_g4639 - 0.0) * (( _GreenChReactiveMinBrightness + 1.0 ) - _GreenChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_75 = (1.0).xxxx; + float4 lerpResult264_g4639 = lerp( temp_cast_75 , _GreenChReactiveTint , (float)step( EmissionReactiveBand243_g4639 , 9 )); + float4 FinalReactivity68_g4639 = ( ReactivityAlpha132_g4639 * lerpResult264_g4639 ); + float4 lerpResult146_g4639 = lerp( ( EmissionGlowTog259_g4639 * FinalReactivity68_g4639 ) , ( EmissionGlow142_g4639 + FinalReactivity68_g4639 ) , (float)saturate( _GreenChReactiveBlendMode )); + float4 ReversedReactivity152_g4639 = ( ( 1.0 - ReactivityAlpha132_g4639 ) * lerpResult264_g4639 ); + int temp_output_157_0_g4639 = ( _GreenChReactiveBlendMode - 1 ); + float4 lerpResult114_g4639 = lerp( lerpResult146_g4639 , ( EmissionGlowTog259_g4639 * ReversedReactivity152_g4639 ) , (float)saturate( temp_output_157_0_g4639 )); + float4 lerpResult164_g4639 = lerp( lerpResult114_g4639 , ( EmissionGlow142_g4639 + ( ReversedReactivity152_g4639 * step( EmissionReactiveBand243_g4639 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4639 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4639 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4654 = IfAudioLinkv2Exists1_g4654(); + float4 lerpResult276_g4639 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4639 * (GlowMaskRGBA174_g4606).ga.x * localIfAudioLinkv2Exists1_g4654 ) , _EnableGreenChannel); + float4 temp_cast_85 = (1.0).xxxx; + float3 temp_cast_86 = (1.0).xxx; + int EmissionGlowZone47_g4655 = _BlueChGlowZone; + int clampResult8_g4661 = clamp( EmissionGlowZone47_g4655 , 1 , 4 ); + int temp_output_3_0_g4661 = ( clampResult8_g4661 - 1 ); + int Zone16_g4661 = temp_output_3_0_g4661; + float3 localgetThemeData16_g4661 = getThemeData( Zone16_g4661 ); + int Band11_g4662 = 56; + int localIsLumaActive11_g4662 = IsLumaActive11_g4662( Band11_g4662 ); + int temp_output_14_0_g4661 = localIsLumaActive11_g4662; + int lerpResult15_g4661 = lerp( temp_output_3_0_g4661 , ( 63 - temp_output_3_0_g4661 ) , (float)temp_output_14_0_g4661); + int Band2_g4661 = lerpResult15_g4661; + int Delay2_g4661 = 0; + float3 localLumaGlowData2_g4661 = LumaGlowData2_g4661( Band2_g4661 , Delay2_g4661 ); + float3 lerpResult17_g4661 = lerp( ( localgetThemeData16_g4661 * localLumaGlowData2_g4661 ) , localLumaGlowData2_g4661 , (float)temp_output_14_0_g4661); + int temp_output_21_0_g4655 = saturate( EmissionGlowZone47_g4655 ); + float3 lerpResult20_g4655 = lerp( temp_cast_86 , lerpResult17_g4661 , (float)temp_output_21_0_g4655); + float3 temp_cast_90 = (1.0).xxx; + int clampResult8_g4663 = clamp( EmissionGlowZone47_g4655 , 1 , 4 ); + int temp_output_3_0_g4663 = ( clampResult8_g4663 - 1 ); + int Zone15_g4663 = temp_output_3_0_g4663; + float3 localgetThemeData15_g4663 = getThemeData( Zone15_g4663 ); + int Band11_g4664 = 56; + int localIsLumaActive11_g4664 = IsLumaActive11_g4664( Band11_g4664 ); + int temp_output_13_0_g4663 = localIsLumaActive11_g4664; + int lerpResult14_g4663 = lerp( temp_output_3_0_g4663 , ( 63 - temp_output_3_0_g4663 ) , (float)temp_output_13_0_g4663); + int Band11_g4663 = lerpResult14_g4663; + float cos6_g4655 = cos( radians( _BlueChGlowPulseDir ) ); + float sin6_g4655 = sin( radians( _BlueChGlowPulseDir ) ); + float2 rotator6_g4655 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4655 , -sin6_g4655 , sin6_g4655 , cos6_g4655 )) + float2( 0.5,0.5 ); + int Band6_g4668 = _BlueChGlowAnimationBand; + int Mode6_g4668 = ( ( _BlueChGlowAnimationMode * 2 ) + _BlueChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4668 = AudioLinkDecodeDataAsUInt6_g4668( Band6_g4668 , Mode6_g4668 ); + float localGetLocalTime2_g4669 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4655 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4668 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4669 , (float)saturate( ( _BlueChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4655 = ( _BlueChGlowAnimationStrength * lerpResult206_g4655 * step( _BlueChGlowAnimationBand , 9 ) ); + float x13_g4655 = ( ( rotator6_g4655.x * _BlueChGlowPulseScale ) + _BlueChGlowPulseOffset + EmissionGlowAnimation195_g4655 ); + float y13_g4655 = 127.0; + float localglslmod13_g4655 = glslmod13_g4655( x13_g4655 , y13_g4655 ); + float2 CenteredUV15_g4657 = ( i.uv_texcoord - _BlueChGlowRadialCenter ); + float2 break17_g4657 = CenteredUV15_g4657; + float2 appendResult23_g4657 = (float2(( length( CenteredUV15_g4657 ) * _BlueChGlowPulseScale * 2.0 ) , ( atan2( break17_g4657.x , break17_g4657.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4655 = ( _BlueChGlowPulseOffset + appendResult23_g4657.x + EmissionGlowAnimation195_g4655 ); + float y12_g4655 = 127.0; + float localglslmod12_g4655 = glslmod12_g4655( x12_g4655 , y12_g4655 ); + int EmissionGlowMode35_g4655 = _BlueChGlowMode; + int temp_output_37_0_g4655 = ( EmissionGlowMode35_g4655 - 1 ); + float lerpResult5_g4655 = lerp( localglslmod13_g4655 , localglslmod12_g4655 , (float)saturate( temp_output_37_0_g4655 )); + float DirectionalMap106_g4655 = Direction27_g4606; + float lerpResult179_g4655 = lerp( DirectionalMap106_g4655 , ( 1.0 - DirectionalMap106_g4655 ) , (float)saturate( ( EmissionGlowMode35_g4655 - 3 ) )); + float x34_g4655 = ( _BlueChGlowPulseOffset + ( _BlueChGlowPulseScale * lerpResult179_g4655 ) + EmissionGlowAnimation195_g4655 ); + float y34_g4655 = 127.0; + float localglslmod34_g4655 = glslmod34_g4655( x34_g4655 , y34_g4655 ); + float lerpResult30_g4655 = lerp( lerpResult5_g4655 , localglslmod34_g4655 , (float)saturate( ( temp_output_37_0_g4655 - 1 ) )); + float EmissionGlowDelay56_g4655 = lerpResult30_g4655; + float Delay11_g4663 = EmissionGlowDelay56_g4655; + float3 localLumaGlowLerp11_g4663 = LumaGlowLerp11_g4663( Band11_g4663 , Delay11_g4663 ); + float3 lerpResult17_g4663 = lerp( ( localgetThemeData15_g4663 * localLumaGlowLerp11_g4663 ) , localLumaGlowLerp11_g4663 , (float)temp_output_13_0_g4663); + float3 lerpResult22_g4655 = lerp( temp_cast_90 , lerpResult17_g4663 , (float)temp_output_21_0_g4655); + float3 lerpResult23_g4655 = lerp( lerpResult20_g4655 , lerpResult22_g4655 , (float)saturate( EmissionGlowMode35_g4655 )); + float4 temp_cast_100 = (1.0).xxxx; + float temp_output_10_0_g4665 = EmissionGlowDelay56_g4655; + float Position1_g4667 = ( temp_output_10_0_g4665 / 127.0 ); + float4 localAudioLinkLerp1_g4667 = AudioLinkLerp1_g4667( Position1_g4667 ); + int clampResult8_g4665 = clamp( ( EmissionGlowZone47_g4655 - 4 ) , 1 , 3 ); + int Band11_g4665 = ( 59 - ( clampResult8_g4665 - 1 ) ); + float Delay11_g4665 = temp_output_10_0_g4665; + float3 localLumaGlowLerp11_g4665 = LumaGlowLerp11_g4665( Band11_g4665 , Delay11_g4665 ); + int Band11_g4666 = 56; + int localIsLumaActive11_g4666 = IsLumaActive11_g4666( Band11_g4666 ); + float4 lerpResult14_g4665 = lerp( localAudioLinkLerp1_g4667 , float4( localLumaGlowLerp11_g4665 , 0.0 ) , (float)localIsLumaActive11_g4666); + float4 lerpResult52_g4655 = lerp( temp_cast_100 , lerpResult14_g4665 , (float)saturate( EmissionGlowZone47_g4655 )); + float4 lerpResult51_g4655 = lerp( float4( lerpResult23_g4655 , 0.0 ) , lerpResult52_g4655 , (float)saturate( ( EmissionGlowZone47_g4655 - 4 ) )); + float4 temp_cast_105 = (_BlueChGlowMinBrightness).xxxx; + float4 temp_cast_106 = (( _BlueChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4655 = saturate( EmissionGlowZone47_g4655 ); + float4 EmissionGlow142_g4655 = ( (temp_cast_105 + (lerpResult51_g4655 - float4( 0,0,0,0 )) * (temp_cast_106 - temp_cast_105) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _BlueChGlowTint * temp_output_258_0_g4655 ); + float4 lerpResult261_g4655 = lerp( temp_cast_85 , EmissionGlow142_g4655 , (float)temp_output_258_0_g4655); + float4 EmissionGlowTog262_g4655 = lerpResult261_g4655; + int EmissionReactiveBand243_g4655 = _BlueChReactiveBand; + int Band3_g4656 = EmissionReactiveBand243_g4655; + int Delay3_g4656 = 0; + float localAudioLinkData3_g4656 = AudioLinkData3_g4656( Band3_g4656 , Delay3_g4656 ); + int temp_output_64_0_g4655 = step( _BlueChReactiveBand , 9 ); + float lerpResult66_g4655 = lerp( 1.0 , localAudioLinkData3_g4656 , (float)temp_output_64_0_g4655); + int Band3_g4658 = _BlueChReactiveBand; + float cos78_g4655 = cos( radians( _BlueChReactivePulseDir ) ); + float sin78_g4655 = sin( radians( _BlueChReactivePulseDir ) ); + float2 rotator78_g4655 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4655 , -sin78_g4655 , sin78_g4655 , cos78_g4655 )) + float2( 0.5,0.5 ); + float x96_g4655 = ( ( rotator78_g4655.x * _BlueChReactivePulseScale ) + _BlueChReactivePulseOffset ); + float y96_g4655 = 127.0; + float localglslmod96_g4655 = glslmod96_g4655( x96_g4655 , y96_g4655 ); + float2 CenteredUV15_g4659 = ( i.uv_texcoord - _BlueChReactiveRadialCenter ); + float2 break17_g4659 = CenteredUV15_g4659; + float2 appendResult23_g4659 = (float2(( length( CenteredUV15_g4659 ) * _BlueChReactivePulseScale * 2.0 ) , ( atan2( break17_g4659.x , break17_g4659.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4655 = ( _BlueChReactivePulseOffset + appendResult23_g4659.x ); + float y97_g4655 = 127.0; + float localglslmod97_g4655 = glslmod97_g4655( x97_g4655 , y97_g4655 ); + int EmissionReactiveMode99_g4655 = _BlueChReactiveMode; + int temp_output_90_0_g4655 = ( EmissionReactiveMode99_g4655 - 1 ); + float lerpResult77_g4655 = lerp( localglslmod96_g4655 , localglslmod97_g4655 , (float)saturate( temp_output_90_0_g4655 )); + float lerpResult174_g4655 = lerp( DirectionalMap106_g4655 , ( 1.0 - DirectionalMap106_g4655 ) , (float)saturate( ( EmissionReactiveMode99_g4655 - 3 ) )); + float x98_g4655 = ( _BlueChReactivePulseOffset + ( _BlueChReactivePulseScale * lerpResult174_g4655 ) ); + float y98_g4655 = 127.0; + float localglslmod98_g4655 = glslmod98_g4655( x98_g4655 , y98_g4655 ); + float lerpResult87_g4655 = lerp( lerpResult77_g4655 , localglslmod98_g4655 , (float)saturate( ( temp_output_90_0_g4655 - 1 ) )); + float Delay3_g4658 = lerpResult87_g4655; + float localAudioLinkLerp3_g4658 = AudioLinkLerp3_g4658( Band3_g4658 , Delay3_g4658 ); + float lerpResult102_g4655 = lerp( 1.0 , localAudioLinkLerp3_g4658 , (float)temp_output_64_0_g4655); + float lerpResult103_g4655 = lerp( lerpResult66_g4655 , lerpResult102_g4655 , (float)saturate( EmissionReactiveMode99_g4655 )); + int Band3_g4660 = _BlueChReactiveBand; + float FilteredAmount3_g4660 = ( ( 1.0 - _BlueChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4660 = AudioLinkLerp3_g4660( Band3_g4660 , FilteredAmount3_g4660 ); + float lerpResult168_g4655 = lerp( 1.0 , localAudioLinkLerp3_g4660 , (float)temp_output_64_0_g4655); + float lerpResult172_g4655 = lerp( lerpResult103_g4655 , lerpResult168_g4655 , (float)saturate( ( EmissionReactiveMode99_g4655 - 4 ) )); + float ReactivityAlpha132_g4655 = (_BlueChReactiveMinBrightness + (lerpResult172_g4655 - 0.0) * (( _BlueChReactiveMinBrightness + 1.0 ) - _BlueChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_117 = (1.0).xxxx; + float4 lerpResult268_g4655 = lerp( temp_cast_117 , _BlueChReactiveTint , (float)step( EmissionReactiveBand243_g4655 , 9 )); + float4 FinalReactivity68_g4655 = ( ReactivityAlpha132_g4655 * lerpResult268_g4655 ); + float4 lerpResult146_g4655 = lerp( ( EmissionGlowTog262_g4655 * FinalReactivity68_g4655 ) , ( EmissionGlow142_g4655 + FinalReactivity68_g4655 ) , (float)saturate( _BlueChReactiveBlendMode )); + float4 ReversedReactivity152_g4655 = ( ( 1.0 - ReactivityAlpha132_g4655 ) * lerpResult268_g4655 ); + int temp_output_157_0_g4655 = ( _BlueChReactiveBlendMode - 1 ); + float4 lerpResult114_g4655 = lerp( lerpResult146_g4655 , ( EmissionGlowTog262_g4655 * ReversedReactivity152_g4655 ) , (float)saturate( temp_output_157_0_g4655 )); + float4 lerpResult164_g4655 = lerp( lerpResult114_g4655 , ( EmissionGlow142_g4655 + ( ReversedReactivity152_g4655 * step( EmissionReactiveBand243_g4655 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4655 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4655 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4670 = IfAudioLinkv2Exists1_g4670(); + float4 lerpResult278_g4655 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4655 * (GlowMaskRGBA174_g4606).ba.x * localIfAudioLinkv2Exists1_g4670 ) , _EnableBlueChannel); + float4 temp_cast_127 = (1.0).xxxx; + float3 temp_cast_128 = (1.0).xxx; + int EmissionGlowZone47_g4671 = _AlphaChGlowZone; + int clampResult8_g4677 = clamp( EmissionGlowZone47_g4671 , 1 , 4 ); + int temp_output_3_0_g4677 = ( clampResult8_g4677 - 1 ); + int Zone16_g4677 = temp_output_3_0_g4677; + float3 localgetThemeData16_g4677 = getThemeData( Zone16_g4677 ); + int Band11_g4678 = 56; + int localIsLumaActive11_g4678 = IsLumaActive11_g4678( Band11_g4678 ); + int temp_output_14_0_g4677 = localIsLumaActive11_g4678; + int lerpResult15_g4677 = lerp( temp_output_3_0_g4677 , ( 63 - temp_output_3_0_g4677 ) , (float)temp_output_14_0_g4677); + int Band2_g4677 = lerpResult15_g4677; + int Delay2_g4677 = 0; + float3 localLumaGlowData2_g4677 = LumaGlowData2_g4677( Band2_g4677 , Delay2_g4677 ); + float3 lerpResult17_g4677 = lerp( ( localgetThemeData16_g4677 * localLumaGlowData2_g4677 ) , localLumaGlowData2_g4677 , (float)temp_output_14_0_g4677); + int temp_output_21_0_g4671 = saturate( EmissionGlowZone47_g4671 ); + float3 lerpResult20_g4671 = lerp( temp_cast_128 , lerpResult17_g4677 , (float)temp_output_21_0_g4671); + float3 temp_cast_132 = (1.0).xxx; + int clampResult8_g4679 = clamp( EmissionGlowZone47_g4671 , 1 , 4 ); + int temp_output_3_0_g4679 = ( clampResult8_g4679 - 1 ); + int Zone15_g4679 = temp_output_3_0_g4679; + float3 localgetThemeData15_g4679 = getThemeData( Zone15_g4679 ); + int Band11_g4680 = 56; + int localIsLumaActive11_g4680 = IsLumaActive11_g4680( Band11_g4680 ); + int temp_output_13_0_g4679 = localIsLumaActive11_g4680; + int lerpResult14_g4679 = lerp( temp_output_3_0_g4679 , ( 63 - temp_output_3_0_g4679 ) , (float)temp_output_13_0_g4679); + int Band11_g4679 = lerpResult14_g4679; + float cos6_g4671 = cos( radians( _AlphaChGlowPulseDir ) ); + float sin6_g4671 = sin( radians( _AlphaChGlowPulseDir ) ); + float2 rotator6_g4671 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4671 , -sin6_g4671 , sin6_g4671 , cos6_g4671 )) + float2( 0.5,0.5 ); + int Band6_g4684 = _AlphaChGlowAnimationBand; + int Mode6_g4684 = ( ( _AlphaChGlowAnimationMode * 2 ) + _AlphaChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4684 = AudioLinkDecodeDataAsUInt6_g4684( Band6_g4684 , Mode6_g4684 ); + float localGetLocalTime2_g4685 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4671 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4684 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4685 , (float)saturate( ( _AlphaChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4671 = ( _AlphaChGlowAnimationStrength * lerpResult206_g4671 * step( _AlphaChGlowAnimationBand , 9 ) ); + float x13_g4671 = ( ( rotator6_g4671.x * _AlphaChGlowPulseScale ) + _AlphaChGlowPulseOffset + EmissionGlowAnimation195_g4671 ); + float y13_g4671 = 127.0; + float localglslmod13_g4671 = glslmod13_g4671( x13_g4671 , y13_g4671 ); + float2 CenteredUV15_g4673 = ( i.uv_texcoord - _AlphaChGlowRadialCenter ); + float2 break17_g4673 = CenteredUV15_g4673; + float2 appendResult23_g4673 = (float2(( length( CenteredUV15_g4673 ) * _AlphaChGlowPulseScale * 2.0 ) , ( atan2( break17_g4673.x , break17_g4673.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4671 = ( _AlphaChGlowPulseOffset + appendResult23_g4673.x + EmissionGlowAnimation195_g4671 ); + float y12_g4671 = 127.0; + float localglslmod12_g4671 = glslmod12_g4671( x12_g4671 , y12_g4671 ); + int EmissionGlowMode35_g4671 = _AlphaChGlowMode; + int temp_output_37_0_g4671 = ( EmissionGlowMode35_g4671 - 1 ); + float lerpResult5_g4671 = lerp( localglslmod13_g4671 , localglslmod12_g4671 , (float)saturate( temp_output_37_0_g4671 )); + float DirectionalMap106_g4671 = Direction27_g4606; + float lerpResult179_g4671 = lerp( DirectionalMap106_g4671 , ( 1.0 - DirectionalMap106_g4671 ) , (float)saturate( ( EmissionGlowMode35_g4671 - 3 ) )); + float x34_g4671 = ( _AlphaChGlowPulseOffset + ( _AlphaChGlowPulseScale * lerpResult179_g4671 ) + EmissionGlowAnimation195_g4671 ); + float y34_g4671 = 127.0; + float localglslmod34_g4671 = glslmod34_g4671( x34_g4671 , y34_g4671 ); + float lerpResult30_g4671 = lerp( lerpResult5_g4671 , localglslmod34_g4671 , (float)saturate( ( temp_output_37_0_g4671 - 1 ) )); + float EmissionGlowDelay56_g4671 = lerpResult30_g4671; + float Delay11_g4679 = EmissionGlowDelay56_g4671; + float3 localLumaGlowLerp11_g4679 = LumaGlowLerp11_g4679( Band11_g4679 , Delay11_g4679 ); + float3 lerpResult17_g4679 = lerp( ( localgetThemeData15_g4679 * localLumaGlowLerp11_g4679 ) , localLumaGlowLerp11_g4679 , (float)temp_output_13_0_g4679); + float3 lerpResult22_g4671 = lerp( temp_cast_132 , lerpResult17_g4679 , (float)temp_output_21_0_g4671); + float3 lerpResult23_g4671 = lerp( lerpResult20_g4671 , lerpResult22_g4671 , (float)saturate( EmissionGlowMode35_g4671 )); + float4 temp_cast_142 = (1.0).xxxx; + float temp_output_10_0_g4681 = EmissionGlowDelay56_g4671; + float Position1_g4683 = ( temp_output_10_0_g4681 / 127.0 ); + float4 localAudioLinkLerp1_g4683 = AudioLinkLerp1_g4683( Position1_g4683 ); + int clampResult8_g4681 = clamp( ( EmissionGlowZone47_g4671 - 4 ) , 1 , 3 ); + int Band11_g4681 = ( 59 - ( clampResult8_g4681 - 1 ) ); + float Delay11_g4681 = temp_output_10_0_g4681; + float3 localLumaGlowLerp11_g4681 = LumaGlowLerp11_g4681( Band11_g4681 , Delay11_g4681 ); + int Band11_g4682 = 56; + int localIsLumaActive11_g4682 = IsLumaActive11_g4682( Band11_g4682 ); + float4 lerpResult14_g4681 = lerp( localAudioLinkLerp1_g4683 , float4( localLumaGlowLerp11_g4681 , 0.0 ) , (float)localIsLumaActive11_g4682); + float4 lerpResult52_g4671 = lerp( temp_cast_142 , lerpResult14_g4681 , (float)saturate( EmissionGlowZone47_g4671 )); + float4 lerpResult51_g4671 = lerp( float4( lerpResult23_g4671 , 0.0 ) , lerpResult52_g4671 , (float)saturate( ( EmissionGlowZone47_g4671 - 4 ) )); + float4 temp_cast_147 = (_AlphaChGlowMinBrightness).xxxx; + float4 temp_cast_148 = (( _AlphaChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4671 = saturate( EmissionGlowZone47_g4671 ); + float4 EmissionGlow142_g4671 = ( (temp_cast_147 + (lerpResult51_g4671 - float4( 0,0,0,0 )) * (temp_cast_148 - temp_cast_147) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _AlphaChGlowTint * temp_output_258_0_g4671 ); + float4 lerpResult261_g4671 = lerp( temp_cast_127 , EmissionGlow142_g4671 , (float)temp_output_258_0_g4671); + float4 EmissionGlowTog262_g4671 = lerpResult261_g4671; + int EmissionReactiveBand243_g4671 = _AlphaChReactiveBand; + int Band3_g4672 = EmissionReactiveBand243_g4671; + int Delay3_g4672 = 0; + float localAudioLinkData3_g4672 = AudioLinkData3_g4672( Band3_g4672 , Delay3_g4672 ); + int temp_output_64_0_g4671 = step( _AlphaChReactiveBand , 9 ); + float lerpResult66_g4671 = lerp( 1.0 , localAudioLinkData3_g4672 , (float)temp_output_64_0_g4671); + int Band3_g4674 = _AlphaChReactiveBand; + float cos78_g4671 = cos( radians( _AlphaChReactivePulseDir ) ); + float sin78_g4671 = sin( radians( _AlphaChReactivePulseDir ) ); + float2 rotator78_g4671 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4671 , -sin78_g4671 , sin78_g4671 , cos78_g4671 )) + float2( 0.5,0.5 ); + float x96_g4671 = ( ( rotator78_g4671.x * _AlphaChReactivePulseScale ) + _AlphaChReactivePulseOffset ); + float y96_g4671 = 127.0; + float localglslmod96_g4671 = glslmod96_g4671( x96_g4671 , y96_g4671 ); + float2 CenteredUV15_g4675 = ( i.uv_texcoord - _AlphaChReactiveRadialCenter ); + float2 break17_g4675 = CenteredUV15_g4675; + float2 appendResult23_g4675 = (float2(( length( CenteredUV15_g4675 ) * _AlphaChReactivePulseScale * 2.0 ) , ( atan2( break17_g4675.x , break17_g4675.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4671 = ( _AlphaChReactivePulseOffset + appendResult23_g4675.x ); + float y97_g4671 = 127.0; + float localglslmod97_g4671 = glslmod97_g4671( x97_g4671 , y97_g4671 ); + int EmissionReactiveMode99_g4671 = _AlphaChReactiveMode; + int temp_output_90_0_g4671 = ( EmissionReactiveMode99_g4671 - 1 ); + float lerpResult77_g4671 = lerp( localglslmod96_g4671 , localglslmod97_g4671 , (float)saturate( temp_output_90_0_g4671 )); + float lerpResult174_g4671 = lerp( DirectionalMap106_g4671 , ( 1.0 - DirectionalMap106_g4671 ) , (float)saturate( ( EmissionReactiveMode99_g4671 - 3 ) )); + float x98_g4671 = ( _AlphaChReactivePulseOffset + ( _AlphaChReactivePulseScale * lerpResult174_g4671 ) ); + float y98_g4671 = 127.0; + float localglslmod98_g4671 = glslmod98_g4671( x98_g4671 , y98_g4671 ); + float lerpResult87_g4671 = lerp( lerpResult77_g4671 , localglslmod98_g4671 , (float)saturate( ( temp_output_90_0_g4671 - 1 ) )); + float Delay3_g4674 = lerpResult87_g4671; + float localAudioLinkLerp3_g4674 = AudioLinkLerp3_g4674( Band3_g4674 , Delay3_g4674 ); + float lerpResult102_g4671 = lerp( 1.0 , localAudioLinkLerp3_g4674 , (float)temp_output_64_0_g4671); + float lerpResult103_g4671 = lerp( lerpResult66_g4671 , lerpResult102_g4671 , (float)saturate( EmissionReactiveMode99_g4671 )); + int Band3_g4676 = _AlphaChReactiveBand; + float FilteredAmount3_g4676 = ( ( 1.0 - _AlphaChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4676 = AudioLinkLerp3_g4676( Band3_g4676 , FilteredAmount3_g4676 ); + float lerpResult168_g4671 = lerp( 1.0 , localAudioLinkLerp3_g4676 , (float)temp_output_64_0_g4671); + float lerpResult172_g4671 = lerp( lerpResult103_g4671 , lerpResult168_g4671 , (float)saturate( ( EmissionReactiveMode99_g4671 - 4 ) )); + float ReactivityAlpha132_g4671 = (_AlphaChReactiveMinBrightness + (lerpResult172_g4671 - 0.0) * (( _AlphaChReactiveMinBrightness + 1.0 ) - _AlphaChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_159 = (1.0).xxxx; + float4 lerpResult268_g4671 = lerp( temp_cast_159 , _AlphaChReactiveTint , (float)step( EmissionReactiveBand243_g4671 , 9 )); + float4 FinalReactivity68_g4671 = ( ReactivityAlpha132_g4671 * lerpResult268_g4671 ); + float4 lerpResult146_g4671 = lerp( ( EmissionGlowTog262_g4671 * FinalReactivity68_g4671 ) , ( EmissionGlow142_g4671 + FinalReactivity68_g4671 ) , (float)saturate( _AlphaChReactiveBlendMode )); + float4 ReversedReactivity152_g4671 = ( ( 1.0 - ReactivityAlpha132_g4671 ) * lerpResult268_g4671 ); + int temp_output_157_0_g4671 = ( _AlphaChReactiveBlendMode - 1 ); + float4 lerpResult114_g4671 = lerp( lerpResult146_g4671 , ( EmissionGlowTog262_g4671 * ReversedReactivity152_g4671 ) , (float)saturate( temp_output_157_0_g4671 )); + float4 lerpResult164_g4671 = lerp( lerpResult114_g4671 , ( EmissionGlow142_g4671 + ( ReversedReactivity152_g4671 * step( EmissionReactiveBand243_g4671 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4671 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4671 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4686 = IfAudioLinkv2Exists1_g4686(); + float4 lerpResult278_g4671 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4671 * (GlowMaskRGBA174_g4606).a * localIfAudioLinkv2Exists1_g4686 ) , _EnableAlphaChannel); + float2 uv_EmissionMap = i.uv_texcoord * _EmissionMap_ST.xy + _EmissionMap_ST.zw; + float2 temp_cast_168 = (1.0).xx; + float2 lerpResult859 = lerp( temp_cast_168 , ( _EmissionPanSpeed * _Time.y ) , _EmissionPan); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float2 temp_cast_169 = (1.0).xx; + float2 lerpResult906 = lerp( temp_cast_169 , ( _EmissionMaskPanSpeed * _Time.y ) , _EmissionMaskPan); + float4 tex2DNode866 = tex2D( _EffectMask, ( uv_EffectMask + lerpResult906 ) ); + int temp_output_18_0_g3967 = _EmissionMaskingChannel; + float lerpResult1_g3967 = lerp( 1.0 , tex2DNode866.r , (float)saturate( temp_output_18_0_g3967 )); + int temp_output_5_0_g3967 = ( temp_output_18_0_g3967 - 1 ); + float lerpResult12_g3967 = lerp( lerpResult1_g3967 , tex2DNode866.g , (float)saturate( temp_output_5_0_g3967 )); + int temp_output_6_0_g3967 = ( temp_output_5_0_g3967 - 1 ); + float lerpResult10_g3967 = lerp( lerpResult12_g3967 , tex2DNode866.b , (float)saturate( temp_output_6_0_g3967 )); + float lerpResult11_g3967 = lerp( lerpResult10_g3967 , tex2DNode866.a , (float)saturate( ( temp_output_6_0_g3967 - 1 ) )); + #ifdef _EMISSION + float4 staticSwitch1062 = ( _EmissionColor * tex2D( _EmissionMap, ( uv_EmissionMap + lerpResult859 ) ) * lerpResult11_g3967 ); + #else + float4 staticSwitch1062 = float4( 0,0,0,0 ); + #endif + float4 EmissionRGBA786 = staticSwitch1062; + float4 temp_output_211_0_g4607 = EmissionRGBA786; + float4 temp_cast_175 = (1.0).xxxx; + float3 temp_cast_176 = (1.0).xxx; + int EmissionGlowZone47_g4607 = _EmissionGlowZone; + int clampResult8_g4618 = clamp( EmissionGlowZone47_g4607 , 1 , 4 ); + int temp_output_3_0_g4618 = ( clampResult8_g4618 - 1 ); + int Zone16_g4618 = temp_output_3_0_g4618; + float3 localgetThemeData16_g4618 = getThemeData( Zone16_g4618 ); + int Band11_g4619 = 56; + int localIsLumaActive11_g4619 = IsLumaActive11_g4619( Band11_g4619 ); + int temp_output_14_0_g4618 = localIsLumaActive11_g4619; + int lerpResult15_g4618 = lerp( temp_output_3_0_g4618 , ( 63 - temp_output_3_0_g4618 ) , (float)temp_output_14_0_g4618); + int Band2_g4618 = lerpResult15_g4618; + int Delay2_g4618 = 0; + float3 localLumaGlowData2_g4618 = LumaGlowData2_g4618( Band2_g4618 , Delay2_g4618 ); + float3 lerpResult17_g4618 = lerp( ( localgetThemeData16_g4618 * localLumaGlowData2_g4618 ) , localLumaGlowData2_g4618 , (float)temp_output_14_0_g4618); + int temp_output_21_0_g4607 = saturate( EmissionGlowZone47_g4607 ); + float3 lerpResult20_g4607 = lerp( temp_cast_176 , lerpResult17_g4618 , (float)temp_output_21_0_g4607); + float3 temp_cast_180 = (1.0).xxx; + int clampResult8_g4620 = clamp( EmissionGlowZone47_g4607 , 1 , 4 ); + int temp_output_3_0_g4620 = ( clampResult8_g4620 - 1 ); + int Zone15_g4620 = temp_output_3_0_g4620; + float3 localgetThemeData15_g4620 = getThemeData( Zone15_g4620 ); + int Band11_g4621 = 56; + int localIsLumaActive11_g4621 = IsLumaActive11_g4621( Band11_g4621 ); + int temp_output_13_0_g4620 = localIsLumaActive11_g4621; + int lerpResult14_g4620 = lerp( temp_output_3_0_g4620 , ( 63 - temp_output_3_0_g4620 ) , (float)temp_output_13_0_g4620); + int Band11_g4620 = lerpResult14_g4620; + float cos6_g4607 = cos( radians( _EmissionGlowPulseDir ) ); + float sin6_g4607 = sin( radians( _EmissionGlowPulseDir ) ); + float2 rotator6_g4607 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4607 , -sin6_g4607 , sin6_g4607 , cos6_g4607 )) + float2( 0.5,0.5 ); + int Band6_g4613 = _EmissionGlowAnimationBand; + int Mode6_g4613 = ( ( _EmissionGlowAnimationMode * 2 ) + _EmissionGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4613 = AudioLinkDecodeDataAsUInt6_g4613( Band6_g4613 , Mode6_g4613 ); + float localGetLocalTime2_g4614 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4607 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4613 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4614 , (float)saturate( ( _EmissionGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4607 = ( _EmissionGlowAnimationStrength * lerpResult206_g4607 * step( _EmissionGlowAnimationBand , 9 ) ); + float x13_g4607 = ( ( rotator6_g4607.x * _EmissionGlowPulseScale ) + _EmissionGlowPulseOffset + EmissionGlowAnimation195_g4607 ); + float y13_g4607 = 127.0; + float localglslmod13_g4607 = glslmod13_g4607( x13_g4607 , y13_g4607 ); + float2 CenteredUV15_g4609 = ( i.uv_texcoord - _EmissionGlowRadialCenter ); + float2 break17_g4609 = CenteredUV15_g4609; + float2 appendResult23_g4609 = (float2(( length( CenteredUV15_g4609 ) * _EmissionGlowPulseScale * 2.0 ) , ( atan2( break17_g4609.x , break17_g4609.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4607 = ( _EmissionGlowPulseOffset + appendResult23_g4609.x + EmissionGlowAnimation195_g4607 ); + float y12_g4607 = 127.0; + float localglslmod12_g4607 = glslmod12_g4607( x12_g4607 , y12_g4607 ); + int EmissionGlowMode35_g4607 = _EmissionGlowMode; + int temp_output_37_0_g4607 = ( EmissionGlowMode35_g4607 - 1 ); + float lerpResult5_g4607 = lerp( localglslmod13_g4607 , localglslmod12_g4607 , (float)saturate( temp_output_37_0_g4607 )); + float DirectionalMap106_g4607 = Direction27_g4606; + float lerpResult179_g4607 = lerp( DirectionalMap106_g4607 , ( 1.0 - DirectionalMap106_g4607 ) , (float)saturate( ( EmissionGlowMode35_g4607 - 3 ) )); + float x34_g4607 = ( _EmissionGlowPulseOffset + ( _EmissionGlowPulseScale * lerpResult179_g4607 ) + EmissionGlowAnimation195_g4607 ); + float y34_g4607 = 127.0; + float localglslmod34_g4607 = glslmod34_g4607( x34_g4607 , y34_g4607 ); + float lerpResult30_g4607 = lerp( lerpResult5_g4607 , localglslmod34_g4607 , (float)saturate( ( temp_output_37_0_g4607 - 1 ) )); + float EmissionGlowDelay56_g4607 = lerpResult30_g4607; + float Delay11_g4620 = EmissionGlowDelay56_g4607; + float3 localLumaGlowLerp11_g4620 = LumaGlowLerp11_g4620( Band11_g4620 , Delay11_g4620 ); + float3 lerpResult17_g4620 = lerp( ( localgetThemeData15_g4620 * localLumaGlowLerp11_g4620 ) , localLumaGlowLerp11_g4620 , (float)temp_output_13_0_g4620); + float3 lerpResult22_g4607 = lerp( temp_cast_180 , lerpResult17_g4620 , (float)temp_output_21_0_g4607); + float3 lerpResult23_g4607 = lerp( lerpResult20_g4607 , lerpResult22_g4607 , (float)saturate( EmissionGlowMode35_g4607 )); + float4 temp_cast_190 = (1.0).xxxx; + float temp_output_10_0_g4615 = EmissionGlowDelay56_g4607; + float Position1_g4617 = ( temp_output_10_0_g4615 / 127.0 ); + float4 localAudioLinkLerp1_g4617 = AudioLinkLerp1_g4617( Position1_g4617 ); + int clampResult8_g4615 = clamp( ( EmissionGlowZone47_g4607 - 4 ) , 1 , 3 ); + int Band11_g4615 = ( 59 - ( clampResult8_g4615 - 1 ) ); + float Delay11_g4615 = temp_output_10_0_g4615; + float3 localLumaGlowLerp11_g4615 = LumaGlowLerp11_g4615( Band11_g4615 , Delay11_g4615 ); + int Band11_g4616 = 56; + int localIsLumaActive11_g4616 = IsLumaActive11_g4616( Band11_g4616 ); + float4 lerpResult14_g4615 = lerp( localAudioLinkLerp1_g4617 , float4( localLumaGlowLerp11_g4615 , 0.0 ) , (float)localIsLumaActive11_g4616); + float4 lerpResult52_g4607 = lerp( temp_cast_190 , lerpResult14_g4615 , (float)saturate( EmissionGlowZone47_g4607 )); + float4 lerpResult51_g4607 = lerp( float4( lerpResult23_g4607 , 0.0 ) , lerpResult52_g4607 , (float)saturate( ( EmissionGlowZone47_g4607 - 4 ) )); + float4 temp_cast_195 = (_EmissionGlowMinBrightness).xxxx; + float4 temp_cast_196 = (( _EmissionGlowMinBrightness + 1.0 )).xxxx; + int temp_output_245_0_g4607 = saturate( EmissionGlowZone47_g4607 ); + float4 EmissionGlow142_g4607 = ( (temp_cast_195 + (lerpResult51_g4607 - float4( 0,0,0,0 )) * (temp_cast_196 - temp_cast_195) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _EmissionGlowTint * temp_output_245_0_g4607 ); + float4 lerpResult248_g4607 = lerp( temp_cast_175 , EmissionGlow142_g4607 , (float)temp_output_245_0_g4607); + float4 EmissionGlowTog249_g4607 = lerpResult248_g4607; + int EmissionReactiveBand254_g4607 = _EmissionReactiveBand; + int Band3_g4608 = EmissionReactiveBand254_g4607; + int Delay3_g4608 = 0; + float localAudioLinkData3_g4608 = AudioLinkData3_g4608( Band3_g4608 , Delay3_g4608 ); + int temp_output_64_0_g4607 = step( _EmissionReactiveBand , 9 ); + float lerpResult66_g4607 = lerp( 1.0 , localAudioLinkData3_g4608 , (float)temp_output_64_0_g4607); + int Band3_g4610 = _EmissionReactiveBand; + float cos78_g4607 = cos( radians( _EmissionReactivePulseDir ) ); + float sin78_g4607 = sin( radians( _EmissionReactivePulseDir ) ); + float2 rotator78_g4607 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4607 , -sin78_g4607 , sin78_g4607 , cos78_g4607 )) + float2( 0.5,0.5 ); + float x96_g4607 = ( ( rotator78_g4607.x * _EmissionReactivePulseScale ) + _EmissionReactivePulseOffset ); + float y96_g4607 = 127.0; + float localglslmod96_g4607 = glslmod96_g4607( x96_g4607 , y96_g4607 ); + float2 CenteredUV15_g4611 = ( i.uv_texcoord - _EmissionReactiveRadialCenter ); + float2 break17_g4611 = CenteredUV15_g4611; + float2 appendResult23_g4611 = (float2(( length( CenteredUV15_g4611 ) * _EmissionReactivePulseScale * 2.0 ) , ( atan2( break17_g4611.x , break17_g4611.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4607 = ( _EmissionReactivePulseOffset + appendResult23_g4611.x ); + float y97_g4607 = 127.0; + float localglslmod97_g4607 = glslmod97_g4607( x97_g4607 , y97_g4607 ); + int EmissionReactiveMode99_g4607 = _EmissionReactiveMode; + int temp_output_90_0_g4607 = ( EmissionReactiveMode99_g4607 - 1 ); + float lerpResult77_g4607 = lerp( localglslmod96_g4607 , localglslmod97_g4607 , (float)saturate( temp_output_90_0_g4607 )); + float lerpResult174_g4607 = lerp( DirectionalMap106_g4607 , ( 1.0 - DirectionalMap106_g4607 ) , (float)saturate( ( EmissionReactiveMode99_g4607 - 3 ) )); + float x98_g4607 = ( _EmissionReactivePulseOffset + ( _EmissionReactivePulseScale * lerpResult174_g4607 ) ); + float y98_g4607 = 127.0; + float localglslmod98_g4607 = glslmod98_g4607( x98_g4607 , y98_g4607 ); + float lerpResult87_g4607 = lerp( lerpResult77_g4607 , localglslmod98_g4607 , (float)saturate( ( temp_output_90_0_g4607 - 1 ) )); + float Delay3_g4610 = lerpResult87_g4607; + float localAudioLinkLerp3_g4610 = AudioLinkLerp3_g4610( Band3_g4610 , Delay3_g4610 ); + float lerpResult102_g4607 = lerp( 1.0 , localAudioLinkLerp3_g4610 , (float)temp_output_64_0_g4607); + float lerpResult103_g4607 = lerp( lerpResult66_g4607 , lerpResult102_g4607 , (float)saturate( EmissionReactiveMode99_g4607 )); + int Band3_g4612 = _EmissionReactiveBand; + float FilteredAmount3_g4612 = ( ( 1.0 - _EmissionReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4612 = AudioLinkLerp3_g4612( Band3_g4612 , FilteredAmount3_g4612 ); + float lerpResult168_g4607 = lerp( 1.0 , localAudioLinkLerp3_g4612 , (float)temp_output_64_0_g4607); + float lerpResult172_g4607 = lerp( lerpResult103_g4607 , lerpResult168_g4607 , (float)saturate( ( EmissionReactiveMode99_g4607 - 4 ) )); + float ReactivityAlpha132_g4607 = (_EmissionReactiveMinBrightness + (lerpResult172_g4607 - 0.0) * (( _EmissionReactiveMinBrightness + 1.0 ) - _EmissionReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_207 = (1.0).xxxx; + float4 lerpResult265_g4607 = lerp( temp_cast_207 , _EmissionReactiveTint , (float)step( EmissionReactiveBand254_g4607 , 9 )); + float4 FinalReactivity68_g4607 = ( ReactivityAlpha132_g4607 * lerpResult265_g4607 ); + float4 lerpResult146_g4607 = lerp( ( EmissionGlowTog249_g4607 * FinalReactivity68_g4607 ) , ( EmissionGlow142_g4607 + FinalReactivity68_g4607 ) , (float)saturate( _EmissionReactiveBlendMode )); + float4 ReversedReactivity152_g4607 = ( ( 1.0 - ReactivityAlpha132_g4607 ) * lerpResult265_g4607 ); + int temp_output_157_0_g4607 = ( _EmissionReactiveBlendMode - 1 ); + float4 lerpResult114_g4607 = lerp( lerpResult146_g4607 , ( EmissionGlowTog249_g4607 * ReversedReactivity152_g4607 ) , (float)saturate( temp_output_157_0_g4607 )); + float4 lerpResult164_g4607 = lerp( lerpResult114_g4607 , ( EmissionGlow142_g4607 + ( ReversedReactivity152_g4607 * step( EmissionReactiveBand254_g4607 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4607 - 1 ) )); + float grayscale214_g4607 = Luminance(temp_output_211_0_g4607.rgb); + float smoothstepResult215_g4607 = smoothstep( 0.0 , 0.5 , grayscale214_g4607); + int ReactiveBlendmode272_g4607 = _EmissionReactiveBlendMode; + float x270_g4607 = (float)ReactiveBlendmode272_g4607; + float y270_g4607 = 2.0; + float localglslmod270_g4607 = glslmod270_g4607( x270_g4607 , y270_g4607 ); + float lerpResult271_g4607 = lerp( localglslmod270_g4607 , (float)_EmissionGlowBlendMode , (float)saturate( EmissionGlowZone47_g4607 )); + float4 lerpResult212_g4607 = lerp( ( lerpResult164_g4607 * temp_output_211_0_g4607 ) , ( ( lerpResult164_g4607 * smoothstepResult215_g4607 ) + temp_output_211_0_g4607 ) , lerpResult271_g4607); + float localIfAudioLinkv2Exists1_g4622 = IfAudioLinkv2Exists1_g4622(); + float4 lerpResult281_g4607 = lerp( temp_output_211_0_g4607 , lerpResult212_g4607 , localIfAudioLinkv2Exists1_g4622); + #ifdef _EMISSION + float4 staticSwitch284_g4607 = lerpResult281_g4607; + #else + float4 staticSwitch284_g4607 = float4( 0,0,0,0 ); + #endif + float4 EmissionGlow791 = ( ( lerpResult280_g4623 + lerpResult276_g4639 + lerpResult278_g4655 + lerpResult278_g4671 ) + staticSwitch284_g4607 ); + float4 EmissionRGBA135_g4905 = EmissionGlow791; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 temp_output_21_0_g4905 = Normal243; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (1*0.5 + 0.5) , 1 , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float Intensity132_g4905 = _IridescentIntensity; + float4 temp_output_110_0_g4905 = ( lerpResult32_g4905 * Intensity132_g4905 ); + float4 lerpResult46_g4905 = lerp( temp_output_110_0_g4905 , ( temp_output_110_0_g4905 * EmissionRGBA135_g4905 ) , (float)saturate( _IridescentEmissionMode )); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb3_g4911 = HSVToRGB( float3(AnimatedDot130_g4905,1.0,1.0) ); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + float4 lerpResult54_g4905 = lerp( lerpResult46_g4905 , float4( ( hsvTorgb3_g4911 * Intensity132_g4905 ) , 0.0 ) , (float)saturate( temp_output_52_0_g4905 )); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + float4 lerpResult89_g4905 = lerp( lerpResult54_g4905 , EmissionRGBA135_g4905 , (float)temp_output_91_0_g4905); + float4 lerpResult82_g4905 = lerp( EmissionRGBA135_g4905 , ( temp_output_55_0_g4905 * lerpResult89_g4905 ) , temp_output_55_0_g4905); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch108_g4905 = lerpResult82_g4905; + #else + float4 staticSwitch108_g4905 = float4( 0,0,0,0 ); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult229_g4905 = lerp( staticSwitch108_g4905 , ( staticSwitch108_g4905 * temp_output_233_0_g4905 ) , (float)temp_output_225_0_g4905); + float4 lerpResult246_g4905 = lerp( EmissionRGBA135_g4905 , lerpResult229_g4905 , _Enableiridescence); + float4 FinalEmission1029 = lerpResult246_g4905; + o.Emission = FinalEmission1029.rgb; + } + + ENDCG + CGPROGRAM + #pragma surface surf StandardCustomLighting keepalpha fullforwardshadows nolightmap nodynlightmap nodirlightmap nometa vertex:vertexDataFunc + + ENDCG + Pass + { + Name "ShadowCaster" + Tags{ "LightMode" = "ShadowCaster" } + ZWrite On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma target 4.5 + #pragma multi_compile_shadowcaster + #pragma multi_compile UNITY_PASS_SHADOWCASTER + #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 + #include "HLSLSupport.cginc" + #if ( SHADER_API_D3D11 || SHADER_API_GLCORE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_METAL || SHADER_API_VULKAN ) + #define CAN_SKIP_VPOS + #endif + #include "UnityCG.cginc" + #include "Lighting.cginc" + #include "UnityPBSLighting.cginc" + sampler3D _DitherMaskLOD; + struct v2f + { + V2F_SHADOW_CASTER; + float2 customPack1 : TEXCOORD1; + float4 tSpace0 : TEXCOORD2; + float4 tSpace1 : TEXCOORD3; + float4 tSpace2 : TEXCOORD4; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + v2f vert( appdata_full v ) + { + v2f o; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_INITIALIZE_OUTPUT( v2f, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + Input customInputData; + vertexDataFunc( v, customInputData ); + float3 worldPos = mul( unity_ObjectToWorld, v.vertex ).xyz; + half3 worldNormal = UnityObjectToWorldNormal( v.normal ); + half3 worldTangent = UnityObjectToWorldDir( v.tangent.xyz ); + half tangentSign = v.tangent.w * unity_WorldTransformParams.w; + half3 worldBinormal = cross( worldNormal, worldTangent ) * tangentSign; + o.tSpace0 = float4( worldTangent.x, worldBinormal.x, worldNormal.x, worldPos.x ); + o.tSpace1 = float4( worldTangent.y, worldBinormal.y, worldNormal.y, worldPos.y ); + o.tSpace2 = float4( worldTangent.z, worldBinormal.z, worldNormal.z, worldPos.z ); + o.customPack1.xy = customInputData.uv_texcoord; + o.customPack1.xy = v.texcoord; + TRANSFER_SHADOW_CASTER_NORMALOFFSET( o ) + return o; + } + half4 frag( v2f IN + #if !defined( CAN_SKIP_VPOS ) + , UNITY_VPOS_TYPE vpos : VPOS + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID( IN ); + Input surfIN; + UNITY_INITIALIZE_OUTPUT( Input, surfIN ); + surfIN.uv_texcoord = IN.customPack1.xy; + float3 worldPos = float3( IN.tSpace0.w, IN.tSpace1.w, IN.tSpace2.w ); + half3 worldViewDir = normalize( UnityWorldSpaceViewDir( worldPos ) ); + surfIN.worldPos = worldPos; + surfIN.worldNormal = float3( IN.tSpace0.z, IN.tSpace1.z, IN.tSpace2.z ); + surfIN.worldRefl = -worldViewDir; + surfIN.internalSurfaceTtoW0 = IN.tSpace0.xyz; + surfIN.internalSurfaceTtoW1 = IN.tSpace1.xyz; + surfIN.internalSurfaceTtoW2 = IN.tSpace2.xyz; + SurfaceOutputCustomLightingCustom o; + UNITY_INITIALIZE_OUTPUT( SurfaceOutputCustomLightingCustom, o ) + surf( surfIN, o ); + UnityGI gi; + UNITY_INITIALIZE_OUTPUT( UnityGI, gi ); + o.Alpha = LightingStandardCustomLighting( o, worldViewDir, gi ).a; + #if defined( CAN_SKIP_VPOS ) + float2 vpos = IN.pos; + #endif + half alphaRef = tex3D( _DitherMaskLOD, float3( vpos.xy * 0.25, o.Alpha * 0.9375 ) ).a; + clip( alphaRef - 0.01 ); + SHADOW_CASTER_FRAGMENT( IN ) + } + ENDCG + } + } + Fallback "Diffuse" + CustomEditor "FuralityShaderUI" +} +/*ASEBEGIN +Version=19105 +Node;AmplifyShaderEditor.CommentaryNode;794;1332.497,1390.873;Inherit;False;961.6262;243.937;Comment;5;791;798;790;789;787;Luma Glow;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;639;-8884.074,-1676.043;Inherit;False;3010.964;860.379;Comment;26;568;569;570;571;572;574;573;577;575;583;592;582;576;584;32;588;578;581;589;580;533;627;629;630;632;628;Light Color + Attenuation;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;403;-3335.939,-3496.149;Inherit;False;2162.522;1530.744;Comment;35;90;1143;1142;386;241;223;391;246;302;1065;383;380;852;225;272;392;385;394;384;224;393;247;255;254;252;7;253;251;269;250;243;388;242;389;1144;Texture Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RangedFloatNode;389;-3188.197,-3056.841;Inherit;False;Constant;_Float3;Float 3;14;0;Create;True;0;0;0;False;0;False;1.25;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;242;-3006.6,-3221.549;Inherit;False;0;223;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.SimpleMultiplyOpNode;388;-2970.259,-3105.271;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;243;-2263.6,-3243.549;Inherit;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;5;-3238.615,-1376.222;Inherit;False;1756.584;1421.47;Comment;52;22;284;285;362;30;45;23;68;17;47;44;211;381;401;303;163;395;54;396;402;31;227;176;259;46;59;226;256;212;177;258;249;101;41;248;257;29;100;245;6;795;587;590;1145;1147;1148;1150;1180;1181;1182;1188;1189;Input Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.NormalVertexDataNode;100;-2593.113,-255.3687;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;245;-2547.908,-114.6905;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;101;-2379.915,-261.8687;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;257;-2372.083,-114.9804;Inherit;False;Tangent;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TexelSizeNode;250;-2892.26,-2840.326;Inherit;False;246;1;0;SAMPLER2D;;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.TextureCoordinatesNode;269;-3020.702,-3015.853;Inherit;False;0;223;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.SimpleAddOpNode;258;-2121.888,-254.5151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;251;-2670.343,-2766.867;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;6;-2330.628,-1069.771;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;259;-2008.888,-253.5151;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;253;-2664.241,-2840.508;Inherit;False;Property;_GlossMapScale;GlossMapScale;43;0;Create;True;0;0;0;False;0;False;1;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;7;-2304.152,-2910.047;Inherit;False;Property;_Glossiness;Smoothness;42;0;Create;False;0;0;0;False;0;False;0.5;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;252;-2559.297,-2766.867;Inherit;False;2;0;FLOAT;10;False;1;FLOAT;10;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;254;-2220.061,-2832.362;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;4;-1449.85,-1331.164;Inherit;False;957.896;1201.264;Comment;38;56;40;604;600;48;74;597;36;598;42;33;596;607;37;18;75;605;599;11;72;24;27;49;38;73;50;28;52;25;39;13;71;19;14;8;15;26;10;Dot Products;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;29;-2027.33,-1071.781;Inherit;False;viewDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;31;-1815.471,-256.4359;Inherit;False;worldNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;10;-1395.339,-1281.164;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;26;-1397.544,-1043.199;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;15;-1399.849,-1118.233;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;8;-1396.339,-1211.164;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;255;-2027.867,-2837.701;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;14;-1207.206,-1086.684;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;19;-1215.339,-1257.164;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;212;-2855.798,-845.3053;Inherit;False;Constant;_Float2;Float 2;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;256;-2846.284,-985.8676;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;71;-1072.621,-1085.356;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;177;-2854.646,-916.5242;Inherit;False;Constant;_Float0;Float 0;10;0;Create;True;0;0;0;False;0;False;0.3;0.4;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.NormalizeNode;13;-1100.339,-1258.164;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;563;-6117.17,1090.775;Inherit;False;1218.21;440.525;Comment;13;512;516;519;511;534;513;517;501;535;518;520;521;594;Toon Ambience;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;39;-939.8036,-1090.568;Inherit;False;NdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;176;-2657.246,-978.5247;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;25;-960.3385,-1262.164;Inherit;False;halfDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;220;-4332.81,70.03413;Inherit;False;2632.908;1547.742;Comment;46;460;636;635;634;139;140;219;190;310;128;312;311;522;274;313;132;306;275;623;129;314;123;566;138;379;121;231;116;230;445;232;115;301;117;114;300;565;461;233;120;125;514;124;987;1120;1160;BRDF;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;512;-6067.17,1140.775;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;52;-1397.545,-736.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;28;-1399.85,-811.295;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;303;-2463.311,-925.2256;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.999;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;456;-6422.013,407.4249;Inherit;False;1957.475;517.7657;Comment;19;450;471;452;469;444;476;415;477;473;472;413;451;470;436;478;479;475;416;1132;Stylize Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;211;-2342.89,-903.3854;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;50;-1207.207,-779.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;516;-5894.896,1145.77;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;247;-2436.355,-3015.931;Inherit;False;MetallticFromTex;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;73;-1065.78,-781.5579;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;476;-6344.136,724.7207;Inherit;False;Constant;_ToonSpecular;Toon Specular;20;0;Create;True;0;0;0;False;0;False;0.48;0.479;0;0.499;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;248;-2629.301,-709.2548;Inherit;False;247;MetallticFromTex;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;511;-5761.434,1145.739;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;519;-5944.896,1237.77;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.OneMinusNode;47;-2111.788,-903.9219;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;41;-2693.438,-787.5811;Inherit;False;Property;_Metallic;Metallic;41;0;Create;True;0;0;0;False;0;False;0;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;393;-3172.445,-2357.431;Inherit;False;0;223;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.RegisterLocalVarNode;514;-2719.453,985.0649;Inherit;False;ToonNdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;501;-5623.576,1144.053;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;534;-5780.627,1416.3;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;38;-919.9026,-783.9518;Inherit;False;NdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;473;-6345.945,648.5159;Inherit;False;Constant;_ToonOffset;Toon Offset;16;0;Create;True;0;0;0;False;0;False;-0.4;-0.39;-1;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;249;-2412.301,-763.2548;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;517;-5760.825,1242.613;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;17;-1935.923,-820.6301;Inherit;False;roughness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;513;-5776.97,1337.775;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;594;-5601.755,1091.489;Inherit;False;Constant;_Float13;Float 13;20;0;Create;True;0;0;0;False;0;False;0.65;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;477;-6067.136,806.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;384;-2437.779,-2302.501;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CustomExpressionNode;518;-5622.967,1240.927;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;49;-1399.055,-960.3293;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;472;-5895.945,655.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;535;-5599.627,1374.3;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;475;-5902.945,770.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;46;-2269.892,-769.3549;Inherit;False;metallic;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;416;-6164.954,464.0959;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;415;-6173.801,539.6567;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;27;-1396.75,-885.2946;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;593;-5431.755,1149.489;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;394;-2098.372,-2307.369;Inherit;False;SpecularTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;479;-5755.136,750.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;24;-1206.412,-928.7805;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;217;-1594.872,200.3197;Inherit;False;2616.111;764.0852;Comment;32;174;175;156;204;162;213;205;214;215;203;161;202;166;200;201;191;181;208;315;180;158;165;151;152;276;153;480;481;484;482;498;1165;Indirect Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;478;-5760.136,643.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;413;-5946.941,511.468;Inherit;False;GGXTerm(nh, roughness);1;Create;2;True;nh;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;ggx;False;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;227;-2831.27,-633.0755;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;396;-2327.961,-390.6081;Inherit;False;Property;_EnableSpecularMap;Enable Specular Map;46;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;402;-2220.789,-483.7458;Inherit;False;Constant;_Float5;Float 5;17;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;54;-2628.055,-457.5206;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;520;-5308.896,1242.77;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;470;-5210.727,730.8561;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;395;-2066.061,-680.9556;Inherit;False;394;SpecularTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;436;-5605.002,544.9354;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;72;-1073.99,-930.7202;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;451;-5604.283,672.5679;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DiffuseAndSpecularFromMetallicNode;163;-2399.557,-597.6036;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;3;FLOAT3;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.GetLocalVarNode;180;-1514.461,680.5375;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;401;-2051.101,-479.9181;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;381;-1868.959,-588.0468;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;11;-941.7469,-929.9261;Inherit;False;NdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;452;-5209.375,553.4788;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;315;-1300.661,675.7377;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;469;-4966.727,731.8561;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.8;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;125;-3174.562,1070.987;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;208;-1151.827,677.0204;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;44;-1720.645,-591.458;Inherit;False;specColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;471;-4799.567,730.9291;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;5;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;120;-3571.68,274.0615;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;233;-3569.558,177.7777;Inherit;False;Constant;_Float1;Float 1;6;0;Create;True;0;0;0;False;0;False;1.2;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;181;-982.5577,650.3491;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;461;-2980.706,1074.058;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;450;-4769.774,574.9086;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;191;-853.3322,650.4323;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;444;-4651.538,570.9512;Inherit;False;ToonSpecular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;565;-2804.095,1073.13;Inherit;False;ToonNdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;385;-3013.247,-2640.655;Inherit;False;0;223;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.SimpleMultiplyOpNode;300;-3386.994,223.6072;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;114;-3461.573,805.1125;Inherit;False;565;ToonNdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;590;-2621.987,-1305.75;Inherit;False;589;InitialLightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;117;-3462.64,952.4464;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;301;-3254.994,223.6072;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;201;-488.3773,654.145;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-3463.573,734.1125;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;166;-702.3997,453.5815;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;200;-677.7151,648.213;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;232;-3388.666,589.1027;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;560;-1245.632,1312.672;Inherit;False;1886.165;1162.995;Comment;37;591;542;622;621;595;557;545;625;567;547;558;619;555;548;613;549;620;626;554;556;614;552;550;617;553;610;551;615;618;544;616;537;612;543;609;853;1134;Rimlighting;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;230;-3390.865,428.9026;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;116;-3462.773,880.1125;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;231;-3388.366,506.7026;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;68;-2378.209,-1304.412;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;609;-498.8056,2203.786;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;161;-509.7723,469.6328;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;4;False;1;FLOAT;0 +Node;AmplifyShaderEditor.PowerNode;392;-2451.833,-2613.263;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;543;-1187.779,1789.996;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;202;-300.1848,678.6759;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;379;-3135.121,470.3841;Inherit;False;float L = (NdotL) / (NdotL * (1- k) + k)@$float V = (NdotV) / (NdotV * (1-k) +k)@$$return L*V@;1;Create;3;True;k;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;SchlickGGX;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;138;-3189.65,726.0227;Inherit;False;float FresnelLight = SchlickFresnel(NdotL)@$float FresnelView = SchlickFresnel(NdotV)@$float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness@$return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView)@;1;Create;4;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;True;LdotH;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;F0;True;False;2;139;140;;False;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;566;-3170.882,867.2664;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;612;-477.8056,2287.786;Inherit;False;Constant;_Vector0;Vector 0;20;0;Create;True;0;0;0;False;0;False;0,1,0;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;537;-1181.791,1709.072;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;616;-673.2114,1454.868;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;272;-2284.777,-2618.305;Inherit;False;Occlusion;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;23;-2079.385,-604.7594;Inherit;False;diffuse;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;544;-972.4919,1731.102;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;618;-669.238,1542.556;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;615;-313.6245,2334.562;Inherit;False;Constant;_Float15;Float 15;20;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;480;-283.3387,506.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;551;-994.2482,1828.831;Inherit;False;Constant;_Float11;Float 11;21;0;Create;True;0;0;0;False;0;False;-0.2;-0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;123;-2829.634,444.2128;Inherit;False;return (N*G*F) / (4 * (NdotL*NdotV))@;3;Create;5;True;N;FLOAT3;0,0,0;In;;Inherit;False;True;G;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;BRDF;False;True;0;;False;5;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;482;-68.33875,789.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;610;-307.3041,2238.428;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;314;-2832.01,372.4067;Inherit;False;Constant;_Float7;Float 7;10;0;Create;True;0;0;0;False;0;False;0.001;0.02;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;214;-77.45105,524.8002;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;553;-842.7739,1978.127;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;550;-845.248,1736.831;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;215;-64.47279,601.2673;Inherit;False;Constant;_Float4;Float 4;4;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;561;2095.64,27.8058;Inherit;False;2082.213;872.7515;Comment;38;831;830;829;828;827;826;823;822;824;819;818;490;524;792;497;788;486;494;489;495;492;532;488;496;493;529;491;832;1042;1045;1046;1058;1060;1059;1066;1081;1185;1186;Outlines;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;623;-2658.41,622.8109;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;203;-58.52485,674.2479;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;275;-2675.618,355.3681;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;481;-253.3387,402.084;Inherit;False;2;2;0;FLOAT;0.01;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;306;-2699.387,905.8491;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;132;-2651.551,446.4316;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;552;-804.2864,1907.889;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;614;-184.6245,2238.562;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;313;-2657.845,542.0784;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;556;-644.5186,2003.105;Inherit;False;Constant;_Float12;Float 12;20;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;554;-648.5186,1913.105;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;626;-64.21997,2164.697;Inherit;False;Constant;_Float17;Float 17;21;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;274;-2481.617,300.3679;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;491;3076.28,552.4065;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;152;29.06121,326.3416;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;549;-727.676,1835.152;Inherit;False;Constant;_Float8;Float 8;20;0;Create;True;0;0;0;False;0;False;20;20;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;311;-2495.592,917.2233;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;312;-2476.895,448.7652;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;276;40.03976,402.8723;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;613;-59.30401,2235.428;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;213;131.8297,544.2889;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;162;-122.9196,431.788;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;153;32.36602,250.3197;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;205;129.113,663.7913;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;548;-717.1375,1742.013;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;529;3380.719,431.3767;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;555;-524.5184,1917.105;Inherit;False;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;128;-2302.115,345.1725;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.IndirectSpecularLight;151;227.3664,278.3197;Inherit;False;World;3;0;FLOAT3;0,0,1;False;1;FLOAT;0.5;False;2;FLOAT;1;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;310;-2346.613,816.7513;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;558;-504.3968,2017.898;Inherit;False;Property;_RimlightColor;Rimlight Color;49;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;11.98431,11.98431,11.98431,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;547;-563.4562,1738.109;Inherit;False;ExponentialSquared_Blend;-1;;1;7792fe74aab0b2f4d8615a784f562aa2;1,7,0;2;12;FLOAT;0;False;9;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;567;-239.0434,2075.365;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;204;310.205,469.0058;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;625;75.78027,2222.697;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;545;58.48236,1477.761;Inherit;False;7;7;0;FLOAT;0;False;1;FLOAT;0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;FLOAT;0;False;6;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;165;547.4448,426.1721;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;532;3520.733,382.9306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;562;-426.9865,-1298.826;Inherit;False;2708.104;1199.057;Comment;25;905;911;912;909;910;908;907;906;268;864;863;861;860;859;858;871;868;866;862;786;266;267;265;913;1062;Emission;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TransformDirectionNode;492;3363.496,547.6183;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;190;-2167.837,347.7095;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CommentaryNode;222;3678.678,-355.4811;Inherit;False;440.5804;266.2591;Comment;4;169;221;159;1119;Composite;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;219;-2029.515,342.5311;Inherit;False;BRDF;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;557;340.3037,1469.082;Inherit;False;Rimlighting;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;265;1209.963,-1067.859;Inherit;True;Property;_EmissionMap;EmissionMap;31;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.GetLocalVarNode;159;3706.322,-313.2809;Inherit;False;158;IndirectSpecular;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;267;1330.802,-1248.826;Inherit;False;Property;_EmissionColor;Emission Color;32;1;[HDR];Create;True;0;0;0;False;0;False;0,0,0,0;1,0.5188679,0.5188679,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;221;3730.281,-237.8131;Inherit;False;219;BRDF;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;175;-816.4901,529.5698;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;140;-2813.083,603.2727;Inherit;False;return j*x+i*(1-x)@;1;Create;3;True;i;FLOAT;0;In;;Inherit;False;True;j;FLOAT;0;In;;Inherit;False;True;x;FLOAT;0;In;;Inherit;False;MixFunc;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-1931.422,-916.1447;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;599;-822.542,-307.6921;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;285;-3030.983,-472.9721;Inherit;False;Constant;_Float6;Float 6;9;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;605;-1093.615,-232.9525;Inherit;False;Constant;_Float14;Float 14;20;0;Create;True;0;0;0;False;0;False;0.1;0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;595;-463.6266,1369.061;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;75;-1071.254,-468.1801;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;18;-1399.849,-658.295;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;156;-987.3672,523.5707;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ClampOpNode;174;-668.5641,526.8943;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.03;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;266;1570.802,-1101.826;Inherit;False;3;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;37;-1397.826,-503.7185;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;621;-370.3684,1572.545;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;607;-1086.071,-307.0391;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;596;-1401.809,-263.1957;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;622;-231.1782,1347.674;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;-0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;33;-1207.206,-626.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;362;-2129.13,-156.8327;Inherit;False;clearcoatNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;42;-950.3943,-631.1833;Inherit;False;VdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;22;-1791.587,-919.7219;Inherit;False;roughnessSquared;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;598;-1204.471,-306.6816;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;36;-1402.521,-428.6837;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;597;-1397.114,-338.2305;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;542;-641.7698,1365.349;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;74;-1073.991,-625.5533;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;139;-2812.083,713.2732;Inherit;False;float x = saturate(1-i)@$float x2 = x*x@$return x2*x2*x@;1;Create;1;True;i;FLOAT;0;In;;Inherit;False;SchlickFresnel;False;True;0;;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;591;-229.3808,2146.77;Inherit;False;600;LdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;48;-1397.544,-583.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;600;-698.5538,-311.3818;Inherit;False;LdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;284;-2635.655,-620.5502;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleSubtractOpNode;604;-958.6155,-306.9525;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;40;-1205.183,-472.1696;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;169;3994.139,-276.3966;Inherit;False;4;4;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;56;-944.2661,-473.8698;Inherit;False;LdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;587;-2603.063,-1230.459;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;45;-2031.958,-1307.261;Inherit;False;lightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;634;-3188.233,1238.03;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;635;-2982.671,1391.145;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;636;-2683.895,1302.977;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;568;-8834.074,-1222.282;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.BreakToComponentsNode;569;-8681.742,-1198.18;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.SimpleMaxOpNode;570;-8559.542,-1198.18;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;571;-8442.542,-1178.68;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;572;-8320.396,-1179.31;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.001;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;574;-8184.584,-1271.711;Inherit;False;Constant;_Float9;Float 9;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;573;-8192.156,-1184.819;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;577;-7802.581,-1318.901;Inherit;False;int lightEnv = int(any(_WorldSpaceLightPos0.xyz))@ $if(lightEnv != 1){$ return 0@$ }$return 1@;0;Create;0;LightExists;True;False;0;;False;0;1;INT;0 +Node;AmplifyShaderEditor.StaticSwitch;575;-8015.616,-1225.002;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;583;-7672.467,-1626.043;Inherit;False;Constant;_FakeLightDir;Fake Light Dir;0;0;Create;True;0;0;0;False;0;False;1,1,2;1,1,2;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;592;-7492.139,-1619.998;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;582;-7677.819,-1475.114;Inherit;False;True;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;576;-7656.862,-1317.273;Inherit;False;2;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;584;-7325.008,-1619.547;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;32;-7165.986,-1623.907;Inherit;False;lightDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;588;-6689.845,-1532.681;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;578;-6439.266,-1411.936;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;581;-6248.605,-1415.129;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;589;-6106.444,-1419.762;Inherit;False;InitialLightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;580;-6606.341,-1293.334;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;533;-6459.45,-1297.361;Inherit;False;Attenuation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightAttenuation;627;-7325.271,-1094.686;Inherit;False;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;629;-7336.423,-1022.664;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;630;-6807.647,-1120.831;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;632;-6667.123,-1432.648;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;628;-7069.139,-1200;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;793;4084.51,-419.9491;Inherit;False;1029;FinalEmission;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;378;4100.366,-511.162;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;787;1382.497,1440.873;Inherit;False;786;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;789;1392.707,1516.109;Inherit;False;788;OutlineRGB;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;795;-3209.973,-1321.565;Inherit;False;Property;_Culling;Culling;306;1;[Enum];Create;True;0;0;1;UnityEngine.Rendering.CullMode;True;0;False;0;2;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;790;2002.123,1543.81;Inherit;False;OutlineGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;798;1961.58,1450.408;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;791;2081.115,1445.012;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SurfaceDepthNode;524;3118.077,458.5213;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;819;2748.469,326.6143;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;824;2956.071,303.7247;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;822;2550.839,340.7459;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;823;2570.85,500.8378;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;827;2521.599,567.8765;Inherit;False;Constant;_Float16;Float 16;26;0;Create;True;0;0;0;False;0;False;1000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;828;2680.669,636.316;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;829;2888.271,613.4264;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;830;2483.039,650.4476;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;831;2503.05,810.5396;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;225;-3007.329,-3413.345;Inherit;False;0;223;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.GetLocalVarNode;853;-24.64026,1740.427;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;498;485.348,590.3273;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;484;306.6857,585.6535;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;852;-2074.02,-2722.352;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;862;1041.562,-1033.402;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.LerpOp;859;751.5616,-913.4023;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.RangedFloatNode;860;561.5616,-938.4023;Inherit;False;Constant;_Float18;Float 18;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;863;219.952,-742.4731;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;864;558.0835,-863.7878;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;268;716.8016,-1035.826;Inherit;False;0;265;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.LerpOp;906;208.5399,-512.4272;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;910;15.06175,-462.8127;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleTimeNode;909;-323.0697,-341.498;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;912;486.7254,-565.1698;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;911;-3.374744,-656.1698;Inherit;False;0;866;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.RegisterLocalVarNode;871;1003.037,-350.0024;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;913;676.2248,-352.4956;Inherit;True;Property;_TextureSample0;Texture Sample 0;30;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Instance;866;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.FunctionNode;984;1174.184,-646.1843;Inherit;True;EffectMaskChannel;-1;;3967;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;124;-3173.241,958.7939;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1027;4291.965,105.7077;Inherit;False;791;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1031;1959.949,1643.783;Inherit;False;DirectionMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1032;4430.452,465.3638;Inherit;False;1031;DirectionMap;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;792;3756.018,53.18221;Inherit;False;790;OutlineGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;788;2525.206,109.5492;Inherit;False;OutlineRGB;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1043;2795.438,112.6829;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1044;3034.638,113.9829;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.GetLocalVarNode;1011;4262.274,6.535469;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;226;-3076.27,-549.0756;Inherit;False;1049;IridescentMainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.WorldNormalVector;1058;3137.704,747.7896;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;495;3640.296,550.8184;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;489;3680.985,243.5691;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;832;3638.739,385.1481;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;493;3237.892,553.2095;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;494;3833.85,241.0057;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;1059;3854.503,558.9896;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;1060;3875.304,715.7897;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.WorldNormalVector;1061;3312.104,-28.2103;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalVertexDataNode;488;3480.785,242.0691;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;818;2589.399,258.1747;Inherit;False;Constant;_Float10;Float 10;26;0;Create;True;0;0;0;False;0;False;10000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;786;2002.439,-932.0972;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1064;1629.501,-909.2549;Inherit;False;Constant;_Float20;Float 20;43;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;380;-2930.957,-2386.695;Inherit;True;Property;_SpecGlossMap;Specular;47;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f3bc535e7a220264d8a1f770fb367426;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.ColorNode;383;-2699.411,-2185.3;Inherit;False;Property;_SpecColor;Specular Color;48;0;Fetch;False;0;0;0;False;0;False;1,1,1,0;0.3169973,0.3169973,0.3169973,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1065;-1840.527,-3445.194;Inherit;False;Property;_ShowMain;ShowMain;208;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;302;-3285.939,-3140.613;Inherit;False;Property;_BumpScale;Normal Scale;39;0;Create;False;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;246;-2794.355,-3038.931;Inherit;True;Property;_MetallicGlossMap;Metallic;40;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;391;-2771.034,-2477.877;Inherit;False;Property;_OcclusionStrength;Occlusion Strength;45;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;223;-2790.1,-3446.149;Inherit;True;Property;_MainTex;Main Tex;28;0;Create;True;0;0;0;False;0;False;-1;None;0a92f98f03d58ac449724fa4a3f0e1f8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;241;-2788.6,-3244.549;Inherit;True;Property;_BumpMap;Normal;38;2;[Normal];[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;55479011db618034693440f32dbe9240;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.SamplerNode;386;-2786.9,-2663.733;Inherit;True;Property;_OcclusionMap;OcclusionMap;44;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;866;671.9223,-679.6194;Inherit;True;Property;_EffectMask;Effect Mask;30;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;907;75.53984,-539.4272;Inherit;False;Constant;_Float19;Float 19;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;868;705.1241,-481.1015;Inherit;False;Property;_EmissionMaskingChannel;Emission Masking Channel;33;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;908;-2.460165,-365.4272;Inherit;False;Property;_EmissionMaskPan;Emission Mask Pan;34;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;905;-346.4601,-469.4272;Inherit;False;Property;_EmissionMaskPanSpeed;Emission Mask Pan Speed;35;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;861;540.5616,-766.4023;Inherit;False;Property;_EmissionPan;Emission Pan;36;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;858;200.5616,-870.4023;Inherit;False;Property;_EmissionPanSpeed;Emission Pan Speed;37;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;1067;1402.106,1599.42;Inherit;False;Property;_ShowGlow;ShowGlow;205;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1074;1625.512,1469.38;Inherit;False;Luma Glow Properties;55;;4606;7b40ef0e4b7a40f4f9276cd62640845c;1,260,0;2;1;COLOR;0,0,0,0;False;155;FLOAT3;0,0,0;False;3;FLOAT;244;FLOAT4;183;FLOAT4;0 +Node;AmplifyShaderEditor.RangedFloatNode;1075;4763.708,211.9052;Inherit;False;Property;_ShowEffects;ShowEffects;204;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StaticSwitch;1062;1764.78,-943.7126;Inherit;False;Property;_EnableEmission;_Enable Emission;209;0;Create;False;0;0;0;False;0;False;0;0;0;True;_EMISSION;Toggle;2;Key0;Key1;Create;True;False;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1066;2124.162,89.25903;Inherit;False;Property;_ShowOutline;ShowOutline;206;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1081;2121.584,167.0743;Inherit;False;Property;_ShowOutline2;ShowOutline2;207;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1095;4455.95,550.3781;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;460;-2981.99,956.8101;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.125;False;2;FLOAT;0.15;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;983;4391.114,201.3586;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1029;5287.174,278.7382;Inherit;False;FinalEmission;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;986;4408.033,344.0441;Inherit;False;557;Rimlighting;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1118;5024.975,112.8467;Inherit;False;RimlightEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1119;3712.385,-167.4584;Inherit;False;1118;RimlightEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;988;4397.987,266.4666;Inherit;False;987;ColoredSpec;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;121;-3038.383,159.6466;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;987;-2860.835,149.3844;Inherit;False;ColoredSpec;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1120;-3083.43,383.6133;Inherit;False;1117;SpecEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1117;5016.975,3.84671;Inherit;False;SpecEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;445;-3270.5,299.042;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1132;-5621.691,460.2031;Inherit;False;GGXTerm;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;617;-481.7099,1489.51;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;620;-347.238,1489.556;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;619;-182.238,1488.556;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1134;38.33276,1373.834;Inherit;False;RimAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1127;4223.965,452.6614;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1140;4586.708,44.20444;Inherit;False;Applfy Effects;228;;4871;86ee36ff59e1113469676c1c5ac8dd3c;0;7;31;COLOR;0,0,0,0;False;15;FLOAT3;0,0,1;False;16;COLOR;0,0,1,0;False;2;COLOR;0,0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;23;FLOAT;0;False;3;FLOAT4;0;FLOAT4;38;FLOAT4;39 +Node;AmplifyShaderEditor.FunctionNode;1141;4793.75,336.9004;Inherit;False;Iridescent Emission;210;;4905;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93 +Node;AmplifyShaderEditor.SimpleMinOpNode;1142;-1548.589,-2761.705;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;90;-1410.964,-2767.599;Inherit;False;Smoothness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;1143;-1795.298,-2903.922;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.4;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1144;-1546.305,-2910.684;Inherit;False;SmoothnessColorMult;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1145;-2345.992,-693.0366;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1146;-1698.886,-501.7159;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;224;-2484.676,-3439.029;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1048;4322.479,-94.13754;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1149;-2887.883,-734.886;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1148;-3251.883,-930.886;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1150;-3073.883,-974.886;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.ColorNode;59;-3111.619,-716.5183;Inherit;False;Property;_Color;Color;29;0;Create;True;0;0;0;False;0;False;1,1,1,1;0.9,0.9,0.9,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1147;-3110.883,-802.886;Inherit;False;Alpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;5503.371,-421.687;Float;False;True;-1;5;FuralityShaderUI;0;0;CustomLighting;Furality/Sylva Shader/Sylva Transparent Outline;False;False;False;False;False;False;True;True;True;False;True;False;False;False;True;False;False;False;False;False;False;Back;0;False;;0;False;;False;0;False;;0;False;;True;0;Custom;0.5;True;True;0;True;Transparent;;Transparent;All;12;all;True;True;True;True;0;False;;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;2;15;10;25;False;0.5;True;2;5;True;_BlendOPsrc;10;True;_BlendOPdst;0;5;False;;10;False;;0;False;;0;False;;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;True;Relative;0;;-1;-1;-1;-1;0;False;0;0;True;_Culling;-1;0;True;_MaskClipValue;1;Include;;True;1ec20832dfbb48343b8e0764e0864276;Custom;False;0;0;;0;0;False;0.1;False;;0;False;;False;15;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0 +Node;AmplifyShaderEditor.GetLocalVarNode;522;-2643.834,795.6546;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;521;-5129.626,1237.589;Inherit;False;ToonAmbience;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;129;-2672.565,275.1928;Inherit;False;23;diffuse;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1160;-2670.334,200.1979;Inherit;False;1155;Opacity;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;158;785.2396,421.767;Inherit;False;IndirectSpecular;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1135;4221.086,375.6588;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1133;4486.572,701.4352;Inherit;False;1132;GGXTerm;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1154;4563.932,-907.7635;Inherit;False;Constant;_Float21;Float 21;49;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1165;101.98,461.387;Inherit;False;IndirectAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1168;1511.465,577.6862;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;850;1694.621,568.6945;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1169;1218.465,607.6862;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;847;1088.521,513.8946;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CustomExpressionNode;848;1266.621,508.6945;Inherit;False;float3 nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;851;1863.677,556.974;Inherit;False;SpecularAntiAlias;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1170;4714.897,-772.7258;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1172;4452.577,-804.3515;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1049;5381.64,400.6321;Inherit;False;IridescentMainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1174;4082.013,-676.3953;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1175;4418.013,-707.3953;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1162;3713.449,-850.2751;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1177;3737.299,-754.6938;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1171;3942.885,-861.8574;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1179;4102.299,-795.6938;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1180;-3056.033,-1322.008;Inherit;False;Property;_BlendOPsrc;_BlendOPsrc;200;0;Create;True;0;0;0;True;0;False;5;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1181;-2884.033,-1321.008;Inherit;False;Property;_BlendOPdst;_BlendOPdst;202;0;Create;True;0;0;0;True;0;False;10;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1151;4245.475,-858.7676;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1176;5015.775,-989.7418;Inherit;False;Constant;_Float22;Float 22;49;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1046;3934.238,344.0829;Inherit;False;Property;_MaskClipValue;Mask Clip Value;307;0;Create;True;0;0;0;True;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1045;3173.738,250.4829;Inherit;False;Property;_OutlineMaskingChannel;Outline Masking Channel;53;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;496;3392.317,690.8503;Inherit;False;Property;_ViewFudge;ViewFudge;52;0;Create;True;0;0;0;True;0;False;0;0.05;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;490;2224.805,337.181;Inherit;False;Property;_OutlineWidth;Outline Width;50;0;Create;False;0;0;0;True;0;False;1;20;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;826;2157.005,646.8827;Inherit;False;Property;_MaxOutlineWidth;Max Outline Width;51;0;Create;True;0;0;0;True;0;False;850;1000;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1183;5035.267,-264.119;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1185;3759.467,144.6142;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OutlineNode;486;3973.185,203.869;Inherit;False;2;False;Transparent;1;0;Front;True;True;True;True;0;False;;3;0;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.StaticSwitch;1152;4949.605,-904.1158;Inherit;False;Property;_Keyword3;Keyword 3;203;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1155;5226.195,-903.2067;Inherit;False;Opacity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1042;3327.138,80.1829;Inherit;False;EffectMaskChannel;-1;;4913;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;1186;3810.882,364.3489;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;497;2296.051,106.4058;Inherit;False;Property;_OutlineColor;Outline Color;54;0;Create;True;0;0;0;True;0;False;0,0,0,1;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1182;-2967.033,-1241.008;Inherit;False;Property;_BlendOPIndex;_BlendOPIndex;201;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1188;-3189.549,-1230.567;Inherit;False;Property;_BlendModeIndex;_BlendModeIndex;199;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1189;-3184.549,-1142.567;Inherit;False;Property;_EnableOutline;EnableOutline;198;1;[Toggle];Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1190;1636.223,1683.217;Inherit;False;Outline Glow;0;;4914;a95beee5cd09a3848994f1983d4ef324;0;2;229;FLOAT3;0,0,0;False;42;FLOAT;1;False;1;FLOAT4;0 +WireConnection;388;0;302;0 +WireConnection;388;1;389;0 +WireConnection;243;0;241;0 +WireConnection;101;0;100;0 +WireConnection;257;0;245;0 +WireConnection;258;0;101;0 +WireConnection;258;1;257;0 +WireConnection;251;0;250;3 +WireConnection;251;1;250;4 +WireConnection;259;0;258;0 +WireConnection;252;1;251;0 +WireConnection;254;0;246;4 +WireConnection;254;1;253;0 +WireConnection;29;0;6;0 +WireConnection;31;0;259;0 +WireConnection;255;0;7;0 +WireConnection;255;1;254;0 +WireConnection;255;2;252;0 +WireConnection;14;0;15;0 +WireConnection;14;1;26;0 +WireConnection;19;0;10;0 +WireConnection;19;1;8;0 +WireConnection;71;0;14;0 +WireConnection;13;0;19;0 +WireConnection;39;0;71;0 +WireConnection;176;0;256;0 +WireConnection;176;3;177;0 +WireConnection;176;4;212;0 +WireConnection;25;0;13;0 +WireConnection;303;0;176;0 +WireConnection;211;0;303;0 +WireConnection;50;0;28;0 +WireConnection;50;1;52;0 +WireConnection;516;0;512;0 +WireConnection;247;0;246;1 +WireConnection;73;0;50;0 +WireConnection;511;0;516;0 +WireConnection;47;0;211;0 +WireConnection;514;0;636;0 +WireConnection;501;0;511;0 +WireConnection;38;0;73;0 +WireConnection;249;0;41;0 +WireConnection;249;1;248;0 +WireConnection;517;0;519;0 +WireConnection;17;0;47;0 +WireConnection;477;0;476;0 +WireConnection;384;0;380;0 +WireConnection;384;1;383;0 +WireConnection;518;0;517;0 +WireConnection;472;0;473;0 +WireConnection;472;1;476;0 +WireConnection;535;0;513;0 +WireConnection;535;1;534;0 +WireConnection;475;0;473;0 +WireConnection;475;1;477;0 +WireConnection;46;0;249;0 +WireConnection;593;0;501;0 +WireConnection;593;1;594;0 +WireConnection;394;0;384;0 +WireConnection;479;0;475;0 +WireConnection;24;0;49;0 +WireConnection;24;1;27;0 +WireConnection;478;0;472;0 +WireConnection;413;0;416;0 +WireConnection;413;1;415;0 +WireConnection;227;0;59;0 +WireConnection;227;1;226;0 +WireConnection;520;0;593;0 +WireConnection;520;1;518;0 +WireConnection;520;2;535;0 +WireConnection;436;0;413;0 +WireConnection;436;1;478;0 +WireConnection;436;2;479;0 +WireConnection;72;0;24;0 +WireConnection;163;0;227;0 +WireConnection;163;1;54;0 +WireConnection;401;0;402;0 +WireConnection;401;1;54;0 +WireConnection;401;2;396;0 +WireConnection;381;0;395;0 +WireConnection;381;1;163;1 +WireConnection;381;2;401;0 +WireConnection;11;0;72;0 +WireConnection;452;0;436;0 +WireConnection;452;1;451;0 +WireConnection;315;0;180;0 +WireConnection;315;1;180;0 +WireConnection;469;0;470;0 +WireConnection;208;0;315;0 +WireConnection;44;0;1146;0 +WireConnection;471;0;469;0 +WireConnection;471;2;452;0 +WireConnection;181;0;208;0 +WireConnection;181;1;208;0 +WireConnection;181;2;208;0 +WireConnection;461;0;125;0 +WireConnection;450;0;452;0 +WireConnection;450;1;471;0 +WireConnection;191;0;181;0 +WireConnection;444;0;450;0 +WireConnection;565;0;461;0 +WireConnection;300;0;233;0 +WireConnection;300;1;120;0 +WireConnection;301;0;300;0 +WireConnection;200;0;191;0 +WireConnection;68;1;587;0 +WireConnection;161;0;166;0 +WireConnection;161;2;200;0 +WireConnection;392;0;386;2 +WireConnection;392;1;391;0 +WireConnection;202;0;201;0 +WireConnection;202;2;200;0 +WireConnection;379;0;230;0 +WireConnection;379;1;231;0 +WireConnection;379;2;232;0 +WireConnection;138;0;115;0 +WireConnection;138;1;114;0 +WireConnection;138;2;116;0 +WireConnection;138;3;117;0 +WireConnection;272;0;392;0 +WireConnection;23;0;163;0 +WireConnection;544;0;537;0 +WireConnection;544;1;543;0 +WireConnection;480;0;161;0 +WireConnection;123;0;1120;0 +WireConnection;123;1;379;0 +WireConnection;123;2;138;0 +WireConnection;123;3;636;0 +WireConnection;123;4;566;0 +WireConnection;482;0;202;0 +WireConnection;610;0;609;0 +WireConnection;610;1;612;0 +WireConnection;550;0;544;0 +WireConnection;550;1;551;0 +WireConnection;203;0;482;0 +WireConnection;481;1;480;0 +WireConnection;132;0;123;0 +WireConnection;132;1;314;0 +WireConnection;614;0;610;0 +WireConnection;614;1;615;0 +WireConnection;554;0;552;0 +WireConnection;554;1;553;0 +WireConnection;274;0;129;0 +WireConnection;274;1;275;0 +WireConnection;274;2;1160;0 +WireConnection;311;0;306;0 +WireConnection;311;1;514;0 +WireConnection;312;0;132;0 +WireConnection;312;1;460;0 +WireConnection;312;2;623;0 +WireConnection;613;0;614;0 +WireConnection;213;0;214;0 +WireConnection;213;1;215;0 +WireConnection;213;2;203;0 +WireConnection;162;0;481;0 +WireConnection;548;0;550;0 +WireConnection;529;0;824;0 +WireConnection;529;1;524;0 +WireConnection;555;0;554;0 +WireConnection;555;1;556;0 +WireConnection;128;0;274;0 +WireConnection;128;1;312;0 +WireConnection;151;0;153;0 +WireConnection;151;1;152;0 +WireConnection;151;2;276;0 +WireConnection;310;0;522;0 +WireConnection;310;1;311;0 +WireConnection;547;12;548;0 +WireConnection;547;9;549;0 +WireConnection;204;0;1165;0 +WireConnection;204;1;213;0 +WireConnection;204;2;205;0 +WireConnection;625;1;626;0 +WireConnection;625;0;613;0 +WireConnection;545;0;619;0 +WireConnection;545;1;547;0 +WireConnection;545;2;555;0 +WireConnection;545;3;558;0 +WireConnection;545;4;567;0 +WireConnection;545;5;625;0 +WireConnection;545;6;853;0 +WireConnection;165;0;151;0 +WireConnection;165;1;204;0 +WireConnection;165;2;498;0 +WireConnection;532;0;824;0 +WireConnection;532;1;529;0 +WireConnection;190;0;128;0 +WireConnection;190;1;310;0 +WireConnection;219;0;190;0 +WireConnection;557;0;545;0 +WireConnection;265;1;862;0 +WireConnection;175;0;156;0 +WireConnection;30;0;47;0 +WireConnection;30;1;47;0 +WireConnection;599;0;604;0 +WireConnection;595;0;542;0 +WireConnection;75;0;40;0 +WireConnection;174;0;175;0 +WireConnection;266;0;267;0 +WireConnection;266;1;265;0 +WireConnection;266;2;984;0 +WireConnection;621;0;622;0 +WireConnection;607;0;598;0 +WireConnection;622;0;617;0 +WireConnection;33;0;18;0 +WireConnection;33;1;48;0 +WireConnection;362;0;101;0 +WireConnection;42;0;74;0 +WireConnection;22;0;30;0 +WireConnection;598;0;597;0 +WireConnection;598;1;596;0 +WireConnection;74;0;33;0 +WireConnection;600;0;599;0 +WireConnection;284;0;227;0 +WireConnection;604;0;607;0 +WireConnection;604;1;605;0 +WireConnection;40;0;37;0 +WireConnection;40;1;36;0 +WireConnection;169;0;159;0 +WireConnection;169;1;221;0 +WireConnection;169;2;1140;0 +WireConnection;169;3;1119;0 +WireConnection;56;0;75;0 +WireConnection;45;0;590;0 +WireConnection;634;0;460;0 +WireConnection;636;0;634;0 +WireConnection;636;1;460;0 +WireConnection;636;2;635;4 +WireConnection;569;0;568;1 +WireConnection;570;0;569;0 +WireConnection;570;1;569;1 +WireConnection;571;0;570;0 +WireConnection;571;1;569;2 +WireConnection;572;0;571;0 +WireConnection;573;0;572;0 +WireConnection;575;1;574;0 +WireConnection;575;0;573;0 +WireConnection;592;0;583;0 +WireConnection;576;0;577;0 +WireConnection;576;1;575;0 +WireConnection;584;0;592;0 +WireConnection;584;1;582;0 +WireConnection;584;2;576;0 +WireConnection;32;0;584;0 +WireConnection;578;0;588;0 +WireConnection;578;1;632;0 +WireConnection;578;2;576;0 +WireConnection;581;0;578;0 +WireConnection;581;1;533;0 +WireConnection;589;0;581;0 +WireConnection;580;1;630;0 +WireConnection;580;2;576;0 +WireConnection;533;0;580;0 +WireConnection;630;0;628;0 +WireConnection;630;1;627;0 +WireConnection;630;2;629;4 +WireConnection;628;0;627;0 +WireConnection;790;0;1190;0 +WireConnection;798;0;1074;183 +WireConnection;798;1;1074;0 +WireConnection;791;0;798;0 +WireConnection;819;0;490;0 +WireConnection;819;1;818;0 +WireConnection;824;1;819;0 +WireConnection;824;2;823;0 +WireConnection;822;0;490;0 +WireConnection;823;0;490;0 +WireConnection;828;0;826;0 +WireConnection;828;1;818;0 +WireConnection;829;1;828;0 +WireConnection;829;2;831;0 +WireConnection;830;0;826;0 +WireConnection;831;0;826;0 +WireConnection;498;0;484;0 +WireConnection;498;1;484;0 +WireConnection;862;0;268;0 +WireConnection;862;1;859;0 +WireConnection;859;0;860;0 +WireConnection;859;1;864;0 +WireConnection;859;2;861;0 +WireConnection;864;0;858;0 +WireConnection;864;1;863;0 +WireConnection;906;0;907;0 +WireConnection;906;1;910;0 +WireConnection;906;2;908;0 +WireConnection;910;0;905;0 +WireConnection;910;1;909;0 +WireConnection;912;0;911;0 +WireConnection;912;1;906;0 +WireConnection;871;0;913;0 +WireConnection;984;14;866;1 +WireConnection;984;15;866;2 +WireConnection;984;16;866;3 +WireConnection;984;17;866;4 +WireConnection;984;18;868;0 +WireConnection;1031;0;1074;244 +WireConnection;788;0;497;0 +WireConnection;1044;0;1043;0 +WireConnection;495;0;493;0 +WireConnection;495;1;496;0 +WireConnection;489;0;1061;0 +WireConnection;489;1;832;0 +WireConnection;489;2;1042;0 +WireConnection;832;0;532;0 +WireConnection;832;1;829;0 +WireConnection;493;0;491;0 +WireConnection;494;0;489;0 +WireConnection;494;1;495;0 +WireConnection;1059;0;488;0 +WireConnection;1060;0;494;0 +WireConnection;786;0;1062;0 +WireConnection;380;1;393;0 +WireConnection;246;1;269;0 +WireConnection;223;1;225;0 +WireConnection;241;1;242;0 +WireConnection;241;5;388;0 +WireConnection;386;1;385;0 +WireConnection;866;1;912;0 +WireConnection;1074;1;787;0 +WireConnection;1062;0;266;0 +WireConnection;460;0;124;0 +WireConnection;1029;0;1141;0 +WireConnection;1118;0;1140;39 +WireConnection;121;0;301;0 +WireConnection;121;1;445;0 +WireConnection;987;0;121;0 +WireConnection;1117;0;1140;38 +WireConnection;1132;0;413;0 +WireConnection;617;0;616;0 +WireConnection;617;1;618;0 +WireConnection;620;0;617;0 +WireConnection;619;0;620;0 +WireConnection;1134;0;547;0 +WireConnection;1140;2;983;0 +WireConnection;1140;3;988;0 +WireConnection;1140;4;986;0 +WireConnection;1140;23;1032;0 +WireConnection;1141;214;1133;0 +WireConnection;1141;215;1135;0 +WireConnection;1141;207;1127;0 +WireConnection;1141;165;1095;0 +WireConnection;1141;84;1048;0 +WireConnection;1141;21;1011;0 +WireConnection;1141;44;1027;0 +WireConnection;1141;56;983;0 +WireConnection;1142;0;255;0 +WireConnection;1142;1;852;0 +WireConnection;90;0;1142;0 +WireConnection;1143;0;255;0 +WireConnection;1144;0;1143;0 +WireConnection;1146;0;381;0 +WireConnection;1146;1;1145;0 +WireConnection;224;0;223;0 +WireConnection;1149;0;1150;3 +WireConnection;1149;1;59;4 +WireConnection;1150;0;1148;0 +WireConnection;1147;0;1149;0 +WireConnection;0;0;378;0 +WireConnection;0;2;793;0 +WireConnection;0;9;1170;0 +WireConnection;0;13;169;0 +WireConnection;0;11;486;0 +WireConnection;521;0;520;0 +WireConnection;158;0;165;0 +WireConnection;1165;0;162;0 +WireConnection;1168;0;848;0 +WireConnection;1168;1;1169;0 +WireConnection;850;0;1168;0 +WireConnection;848;0;847;0 +WireConnection;851;0;850;0 +WireConnection;1170;0;1172;0 +WireConnection;1170;1;1175;0 +WireConnection;1172;0;1151;0 +WireConnection;1049;0;1141;93 +WireConnection;1175;0;1179;0 +WireConnection;1175;1;1174;0 +WireConnection;1171;0;1162;0 +WireConnection;1179;0;1171;0 +WireConnection;1179;1;1177;0 +WireConnection;486;0;792;0 +WireConnection;486;2;1186;0 +WireConnection;486;1;1060;0 +WireConnection;1152;1;1154;0 +WireConnection;1152;0;1170;0 +WireConnection;1155;0;1152;0 +WireConnection;1042;14;1044;0 +WireConnection;1042;15;1044;1 +WireConnection;1042;16;1044;2 +WireConnection;1042;17;1044;3 +WireConnection;1042;18;1045;0 +WireConnection;1186;0;1042;0 +WireConnection;1186;1;497;4 +WireConnection;1190;229;789;0 +WireConnection;1190;42;1074;244 +ASEEND*/ +//CHKSM=EAF690529A6282952A65F20140AEF8112D5DEC03 \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent Outline.shader.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent Outline.shader.meta new file mode 100644 index 0000000..159359c --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent Outline.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 3ea737714f1b3634aa472d71efa5ac16 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent.shader b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent.shader new file mode 100644 index 0000000..1c9ab99 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent.shader @@ -0,0 +1,3817 @@ +// Made with Amplify Shader Editor v1.9.1.5 +// Available at the Unity Asset Store - http://u3d.as/y3X +Shader "Furality/Sylva Shader/Sylva Transparent" +{ + Properties + { + _MainTex("Main Tex", 2D) = "white" {} + _Color("Color", Color) = (1,1,1,1) + [HDR]_OutlineGlowTint("OutlineGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_OutlineGlowZone("OutlineGlowZone", Int) = 0 + _EffectMask("Effect Mask", 2D) = "white" {} + _EmissionMap("EmissionMap", 2D) = "white" {} + [HDR]_EmissionColor("Emission Color", Color) = (0,0,0,0) + [Enum(None,0,R,1,G,2,B,3,A,4)]_EmissionMaskingChannel("Emission Masking Channel", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_OutlineGlowMode("OutlineGlowMode", Int) = 0 + [ToggleUI]_EmissionMaskPan("Emission Mask Pan", Float) = 0 + _EmissionMaskPanSpeed("Emission Mask Pan Speed", Vector) = (1,1,0,0) + [Enum(Multiply,0,Additive,1)]_OutlineGlowBlendMode("OutlineGlowBlendMode", Int) = 0 + [ToggleUI]_EmissionPan("Emission Pan", Float) = 0 + _EmissionPanSpeed("Emission Pan Speed", Vector) = (1,1,0,0) + _OutlineGlowMinBrightness("OutlineGlowMinBrightness", Range( 0 , 1)) = 0 + [Normal][SingleLineTexture]_BumpMap("Normal", 2D) = "bump" {} + _BumpScale("Normal Scale", Range( 0 , 1)) = 1 + _OutlineGlowPulseDir("OutlineGlowPulseDir", Float) = 0 + [SingleLineTexture]_MetallicGlossMap("Metallic", 2D) = "black" {} + _Metallic("Metallic", Range( 0 , 1)) = 0 + _Glossiness("Smoothness", Range( 0 , 1)) = 0.5 + _OutlineGlowPulseScale("OutlineGlowPulseScale", Float) = 127 + _GlossMapScale("GlossMapScale", Range( 0 , 1)) = 1 + [SingleLineTexture]_OcclusionMap("OcclusionMap", 2D) = "white" {} + _OutlineGlowPulseOffset("OutlineGlowPulseOffset", Float) = 0 + _OcclusionStrength("Occlusion Strength", Range( 0 , 1)) = 1 + _OutlineGlowRadialCenter("OutlineGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [ToggleUI]_EnableSpecularMap("Enable Specular Map", Float) = 0 + [HDR]_OutlineReactiveTint("OutlineReactiveTint", Color) = (1,1,1,0) + [SingleLineTexture]_SpecGlossMap("Specular", 2D) = "white" {} + _SpecColor("Specular Color", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineReactiveBand("OutlineReactiveBand", Int) = 10 + [HDR]_RimlightColor("Rimlight Color", Color) = (1,1,1,0) + _OutlineWidth("Outline Width", Range( 0 , 1000)) = 1 + _MaxOutlineWidth("Max Outline Width", Range( 0 , 1000)) = 850 + _OutlineReactiveDelay("OutlineReactiveDelay", Int) = 0 + _ViewFudge("ViewFudge", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_OutlineMaskingChannel("Outline Masking Channel", Int) = 0 + _OutlineColor("Outline Color", Color) = (0,0,0,1) + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_OutlineReactiveMode("OutlineReactiveMode", Int) = 0 + _DirectionalMap("Directional Map", 2D) = "white" {} + [HDR]_EmissionGlowTint("EmissionGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_EmissionGlowZone("EmissionGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_EmissionGlowMode("EmissionGlowMode", Int) = 0 + [Enum(Multiply,0,Additive,1)]_EmissionGlowBlendMode("EmissionGlowBlendMode", Int) = 0 + _EmissionGlowMinBrightness("EmissionGlowMinBrightness", Range( 0 , 1)) = 0 + _EmissionGlowPulseDir("EmissionGlowPulseDir", Float) = 0 + _EmissionGlowPulseScale("EmissionGlowPulseScale", Float) = 127 + _EmissionGlowPulseOffset("EmissionGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionGlowAnimationBand("EmissionGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_EmissionGlowAnimationMode("EmissionGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_EmissionGlowAnimationSpeed("EmissionGlowAnimationSpeed", Int) = 0 + _EmissionGlowAnimationStrength("EmissionGlowAnimationStrength", Float) = 1 + _EmissionGlowRadialCenter("EmissionGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_EmissionReactiveTint("EmissionReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_EmissionReactiveBand("EmissionReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_EmissionReactiveMode("EmissionReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_EmissionReactiveBlendMode("EmissionReactiveBlendMode", Int) = 0 + _EmissionReactiveMinBrightness("EmissionReactiveMinBrightness", Range( 0 , 1)) = 0 + _EmissionReactiveGlobalSmoothing("EmissionReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _EmissionReactivePulseDir("EmissionReactivePulseDir", Float) = 0 + _EmissionReactivePulseScale("EmissionReactivePulseScale", Float) = 127 + _EmissionReactivePulseOffset("EmissionReactivePulseOffset", Float) = 0 + _EmissionReactiveRadialCenter("EmissionReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowEmissGlow("_ShowEmissGlow", Float) = 0 + _ShowEmissAL("_ShowEmissAL", Float) = 0 + _GlowMask("GlowMask", 2D) = "black" {} + [HDR]_RedChGlowTint("RedChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_RedChGlowZone("RedChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_RedChGlowMode("RedChGlowMode", Int) = 0 + _RedChGlowMinBrightness("RedChGlowMinBrightness", Range( 0 , 1)) = 0 + _RedChGlowPulseDir("RedChGlowPulseDir", Float) = 0 + _RedChGlowPulseScale("RedChGlowPulseScale", Float) = 127 + _RedChGlowPulseOffset("RedChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChGlowAnimationBand("RedChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RedChGlowAnimationMode("RedChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RedChGlowAnimationSpeed("RedChGlowAnimationSpeed", Int) = 0 + _RedChGlowAnimationStrength("RedChGlowAnimationStrength", Float) = 1 + _RedChGlowRadialCenter("RedChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_RedChReactiveTint("RedChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RedChReactiveBand("RedChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_RedChReactiveMode("RedChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_RedChReactiveBlendMode("RedChReactiveBlendMode", Int) = 0 + _RedChReactiveMinBrightness("RedChReactiveMinBrightness", Range( 0 , 1)) = 0 + _RedChReactiveGlobalSmoothing("RedChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _RedChReactivePulseDir("RedChReactivePulseDir", Float) = 0 + _RedChReactivePulseScale("RedChReactivePulseScale", Float) = 127 + _RedChReactivePulseOffset("RedChReactivePulseOffset", Float) = 0 + _RedChReactiveRadialCenter("RedChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowRedGlow("_ShowRedGlow", Float) = 0 + _ShowRedAL("_ShowRedAL", Float) = 0 + [ToggleUI]_EnableRedChannel("_EnableRedChannel", Float) = 0 + [HideInInspector] _texcoord( "", 2D ) = "white" {} + [HDR]_GreenChGlowTint("GreenChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_GreenChGlowZone("GreenChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_GreenChGlowMode("GreenChGlowMode", Int) = 0 + _GreenChReactiveMinBrightness("GreenChReactiveMinBrightness", Range( 0 , 1)) = 0 + _GreenChGlowPulseDir("GreenChGlowPulseDir", Float) = 0 + _GreenChGlowPulseScale("GreenChGlowPulseScale", Float) = 127 + _GreenChGlowPulseOffset("GreenChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChGlowAnimationBand("GreenChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_GreenChGlowAnimationMode("GreenChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_GreenChGlowAnimationSpeed("GreenChGlowAnimationSpeed", Int) = 0 + _GreenChGlowAnimationStrength("GreenChGlowAnimationStrength", Float) = 1 + _GreenChGlowRadialCenter("GreenChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_GreenChReactiveTint("GreenChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_GreenChReactiveBand("GreenChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_GreenChReactiveMode("GreenChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_GreenChReactiveBlendMode("GreenChReactiveBlendMode", Int) = 0 + _GreenChGlowMinBrightness("GreenChGlowMinBrightness", Range( 0 , 1)) = 0 + _GreenChReactiveGlobalSmoothing("GreenChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _GreenChReactivePulseDir("GreenChReactivePulseDir", Float) = 0 + _GreenChReactivePulseScale("GreenChReactivePulseScale", Float) = 127 + _GreenChReactivePulseOffset("GreenChReactivePulseOffset", Float) = 0 + _GreenChReactiveRadialCenter("GreenChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowGreenGlow("_ShowGreenGlow", Float) = 0 + _ShowGreenAL("_ShowGreenAL", Float) = 0 + [ToggleUI]_EnableGreenChannel("_EnableGreenChannel", Float) = 0 + [HDR]_BlueChGlowTint("BlueChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_BlueChGlowZone("BlueChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_BlueChGlowMode("BlueChGlowMode", Int) = 0 + _BlueChGlowMinBrightness("BlueChGlowMinBrightness", Range( 0 , 1)) = 0 + _BlueChGlowPulseDir("BlueChGlowPulseDir", Float) = 0 + _BlueChGlowPulseScale("BlueChGlowPulseScale", Float) = 127 + _BlueChGlowPulseOffset("BlueChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChGlowAnimationBand("BlueChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_BlueChGlowAnimationMode("BlueChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_BlueChGlowAnimationSpeed("BlueChGlowAnimationSpeed", Int) = 0 + _BlueChGlowAnimationStrength("BlueChGlowAnimationStrength", Float) = 1 + _BlueChGlowRadialCenter("BlueChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_BlueChReactiveTint("BlueChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_BlueChReactiveBand("BlueChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_BlueChReactiveMode("BlueChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_BlueChReactiveBlendMode("BlueChReactiveBlendMode", Int) = 0 + _BlueChReactiveMinBrightness("BlueChReactiveMinBrightness", Range( 0 , 1)) = 0 + _BlueChReactiveGlobalSmoothing("BlueChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _BlueChReactivePulseDir("BlueChReactivePulseDir", Float) = 0 + _BlueChReactivePulseScale("BlueChReactivePulseScale", Float) = 127 + _BlueChReactivePulseOffset("BlueChReactivePulseOffset", Float) = 0 + _BlueChReactiveRadialCenter("BlueChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowBlueGlow("_ShowBlueGlow", Float) = 0 + _ShowBlueAL("_ShowBlueAL", Float) = 0 + [ToggleUI]_EnableBlueChannel("_EnableBlueChannel", Float) = 0 + [HDR]_AlphaChGlowTint("AlphaChGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_AlphaChGlowZone("AlphaChGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_AlphaChGlowMode("AlphaChGlowMode", Int) = 0 + _AlphaChGlowMinBrightness("AlphaChGlowMinBrightness", Range( 0 , 1)) = 0 + _AlphaChGlowPulseDir("AlphaChGlowPulseDir", Float) = 0 + _AlphaChGlowPulseScale("AlphaChGlowPulseScale", Float) = 127 + _AlphaChGlowPulseOffset("AlphaChGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChGlowAnimationBand("AlphaChGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_AlphaChGlowAnimationMode("AlphaChGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_AlphaChGlowAnimationSpeed("AlphaChGlowAnimationSpeed", Int) = 0 + _AlphaChGlowAnimationStrength("AlphaChGlowAnimationStrength", Float) = 1 + _AlphaChGlowRadialCenter("AlphaChGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_AlphaChReactiveTint("AlphaChReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_AlphaChReactiveBand("AlphaChReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_AlphaChReactiveMode("AlphaChReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_AlphaChReactiveBlendMode("AlphaChReactiveBlendMode", Int) = 0 + _AlphaChReactiveMinBrightness("AlphaChReactiveMinBrightness", Range( 0 , 1)) = 0 + _AlphaChReactiveGlobalSmoothing("AlphaChReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _AlphaChReactivePulseDir("AlphaChReactivePulseDir", Float) = 0 + _AlphaChReactivePulseScale("AlphaChReactivePulseScale", Float) = 127 + _AlphaChReactivePulseOffset("AlphaChReactivePulseOffset", Float) = 0 + _AlphaChReactiveRadialCenter("AlphaChReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowAlphaGlow("_ShowAlphaGlow", Float) = 0 + _ShowAlphaAL("_ShowAlphaAL", Float) = 0 + [ToggleUI]_EnableAlphaChannel("_EnableAlphaChannel", Float) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_OutlineReactiveBlendMode("OutlineReactiveBlendMode", Int) = 0 + _OutlineReactiveMinBrightness("OutlineReactiveMinBrightness", Range( 0 , 1)) = 0 + _OutlineReactiveGlobalSmoothing("OutlineReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _OutlineReactivePulseDir("OutlineReactivePulseDir", Float) = 0 + _OutlineReactivePulseScale("OutlineReactivePulseScale", Float) = 127 + _OutlineReactivePulseOffset("OutlineReactivePulseOffset", Float) = 0 + _OutlineReactiveRadialCenter("OutlineReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_OutlineGlowAnimationBand("OutlineGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_OutlineGlowAnimationMode("OutlineGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_OutlineGlowAnimationSpeed("OutlineGlowAnimationSpeed", Int) = 0 + _OutlineGlowAnimationStrength("OutlineGlowAnimationStrength", Float) = 1 + _ShowOutlineGlow("_ShowOutlineGlow", Float) = 0 + _ShowOutlineAL("_ShowOutlineAL", Float) = 0 + _BlendModeIndex("_BlendModeIndex", Float) = 0 + _BlendOPsrc("_BlendOPsrc", Float) = 5 + _BlendOPIndex("_BlendOPIndex", Float) = 0 + _BlendOPdst("_BlendOPdst", Float) = 10 + [Toggle(UNITY_PASS_FORWARDADD)] _Keyword3("Keyword 3", Float) = 0 + [HideInInspector]_ShowEffects("ShowEffects", Float) = 0 + [HideInInspector]_ShowGlow("ShowGlow", Float) = 0 + [HideInInspector]_ShowOutline("ShowOutline", Float) = 0 + [HideInInspector]_ShowOutline2("ShowOutline2", Float) = 0 + [HideInInspector]_ShowMain("ShowMain", Float) = 0 + [Toggle(_EMISSION)] _EnableEmission("_Enable Emission", Float) = 0 + [Enum(Iridescent Colors,0,Emission Multiply,1,Rainbow,2,Texture HueSelect,3,Holographic,4,Texture HueShift,5)]_IridescentEmissionMode("Iridescent Emission Mode", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_IridescentMaskingChannel("Iridescent Masking Channel", Int) = 0 + _IridescentEmissionColor1("Iridescent Emission Color 1", Color) = (1,0,0,0) + _IridescentEmissionColor2("Iridescent Emission Color 2", Color) = (0,1,0,0) + _IridescentEmissionColor3("Iridescent Emission Color 3", Color) = (0,0,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_IridescentALAnimationBand("IridescentALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_IridescentALAnimationMode("IridescentALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_IridescentALAnimationSpeed("IridescentALAnimationSpeed", Int) = 0 + _IridescentALAnimationStrength("IridescentALAnimationStrength", Float) = 1 + _ShowIridescence("_ShowIridescence", Float) = 0 + _IridescentIntensity("IridescentIntensity", Range( 0 , 10)) = 1 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword0("Keyword 0", Float) = 0 + [Enum(Facing,0,Reflection,1,Light Direction,2)]_IridescentMode2("Iridescent Mode 2", Int) = 0 + _IridescentScale("IridescentScale", Float) = 1 + _IridescentOffset("IridescentOffset", Float) = 0 + [Enum(Global,0,Specular,1,Rimlight,2,Both,3)]_IridescenceLightMode("Iridescence Light Mode", Int) = 0 + [ToggleUI]_Enableiridescence("_Enableiridescence", Float) = 0 + [Enum(Default,0,Specular,1,Rimlight,2,SpecRim,3,All,4)]_SparkleMode("Sparkle Mode", Int) = 0 + [Enum(Circle,0,Square,1,Star,2,Heart,3)]_SparkleShape("Sparkle Shape", Int) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_SparkleMaskingChannel("Sparkle Masking Channel", Int) = 0 + [HDR]_SparkleColor("Sparkle Color", Color) = (1,1,1,0) + _SparkleSize("Sparkle Size", Range( 0 , 0.75)) = 0.5 + _SparkleScale("Sparkle Scale", Float) = 1 + _SparkleSpeed("Sparkle Speed", Float) = 1 + _SparkleSeed("Sparkle Seed", Float) = 20 + [HDR]_SparkleGlowTint("SparkleGlowTint", Color) = (1,1,1,0) + [Enum(None,0,Zone 1,1,Zone 2,2,Zone 3,3,Zone 4,4,Gradient 1,5,Gradient 2,6,Gradient 3,7)]_SparkleGlowZone("SparkleGlowZone", Int) = 0 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4)]_SparkleGlowMode("SparkleGlowMode", Int) = 0 + _SparkleGlowMinBrightness("SparkleGlowMinBrightness", Range( 0 , 1)) = 0 + _SparkleGlowPulseDir("SparkleGlowPulseDir", Float) = 0 + _SparkleGlowPulseScale("SparkleGlowPulseScale", Float) = 127 + _SparkleGlowPulseOffset("SparkleGlowPulseOffset", Float) = 0 + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleGlowAnimationBand("SparkleGlowAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_SparkleGlowAnimationMode("SparkleGlowAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_SparkleGlowAnimationSpeed("SparkleGlowAnimationSpeed", Int) = 0 + _SparkleGlowAnimationStrength("SparkleGlowAnimationStrength", Float) = 1 + _SparkleGlowRadialCenter("SparkleGlowRadialCenter", Vector) = (0.5,0.5,0,0) + [HDR]_SparkleReactiveTint("SparkleReactiveTint", Color) = (1,1,1,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_SparkleReactiveBand("SparkleReactiveBand", Int) = 10 + [Enum(Global,0,Pulse,1,Radial,2,Direction Map,3,Reversed Direction Map,4,Smooth Global,5)]_SparkleReactiveMode("SparkleReactiveMode", Int) = 0 + [Enum(Multiply,0,Additive,1,Reversed Multiply,2,Reversed Additve,3)]_SparkleReactiveBlendMode("SparkleReactiveBlendMode", Int) = 0 + _SparkleReactiveMinBrightness("SparkleReactiveMinBrightness", Range( 0 , 1)) = 0 + _SparkleReactiveGlobalSmoothing("SparkleReactiveGlobalSmoothing", Range( 0 , 2)) = 1 + _SparkleReactivePulseDir("SparkleReactivePulseDir", Float) = 0 + _SparkleReactivePulseScale("SparkleReactivePulseScale", Float) = 127 + _SparkleReactivePulseOffset("SparkleReactivePulseOffset", Float) = 0 + _SparkleReactiveRadialCenter("SparkleReactiveRadialCenter", Vector) = (0.5,0.5,0,0) + _ShowSparkleGlow("_ShowSparkleGlow", Float) = 0 + _ShowSparkleAL("_ShowSparkleAL", Float) = 0 + [Toggle(UNITY_PASS_FORWARDBASE)] _Keyword1("Keyword 0", Float) = 0 + [Enum(Multiply,0,Additive,1)]_SparkleBlendMode("Sparkle Blend Mode", Int) = 0 + _ShowSparkles("_ShowSparkles", Float) = 0 + [Toggle(_SPARKLES)] _EnableSparkles("Enable Sparkles", Float) = 0 + [Enum(None,0,R,1,G,2,B,3,A,4)]_RainbowMaskingChannel("Rainbow Masking Channel", Int) = 0 + [Enum(Default,0,Radial,1,Spiral,2,Direction Map,3,Reverse Direction,4)]_RainbowUVMode("Rainbow UV Mode", Int) = 0 + _RainbowHue("Rainbow Hue", Range( 0 , 1)) = 1 + _RainbowSaturation("Rainbow Saturation", Range( 0 , 1)) = 1 + _RainbowValue("Rainbow Value", Range( 0 , 1)) = 1 + _RainbowHueRange("Rainbow Hue Range", Range( 0 , 1)) = 1 + _RainbowRotation("Rainbow Rotation", Float) = 0 + _RainbowScale("Rainbow Scale", Float) = 1 + _RainbowSpiralCurve("Rainbow Spiral Curve", Float) = 1 + _RainbowRadialCenter("Rainbow Radial Center", Vector) = (0.5,0.5,0,0) + [Enum(None,10,Bass,0,Low Mid,1,High Mid,2,Treble,3)]_RainbowALAnimationBand("RainbowALAnimationBand", Int) = 10 + [Enum(Default,0,Wobble,1,Smooth,2,Hard Stop,3,Constant,4)]_RainbowALAnimationMode("RainbowALAnimationMode", Int) = 0 + [Enum(Slow,0,Fast,1)]_RainbowALAnimationSpeed("RainbowALAnimationSpeed", Int) = 0 + _RainbowALAnimationStrength("RainbowALAnimationStrength", Float) = 1 + _ShowRainbow("_ShowRainbow", Float) = 0 + [ToggleUI]_EnableScrollingRainbow("_EnableScrollingRainbow", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)]_Culling("Culling", Float) = 0 + _MaskClipValue("Mask Clip Value", Float) = 0.5 + [HideInInspector] __dirty( "", Int ) = 1 + } + + SubShader + { + Pass + { + ColorMask 0 + ZWrite On + } + + Tags{ "RenderType" = "Transparent" "Queue" = "Transparent+0" "IgnoreProjector" = "True" "IsEmissive" = "true" } + Cull [_Culling] + Blend [_BlendOPsrc] [_BlendOPdst] + + CGINCLUDE + #include "UnityPBSLighting.cginc" + #include "UnityShaderVariables.cginc" + #include "UnityStandardUtils.cginc" + #include "UnityCG.cginc" + #include "Lighting.cginc" + #pragma target 4.5 + #pragma shader_feature_local _EMISSION + #pragma shader_feature_local _SPARKLES + #include "Packages/com.llealloo.audiolink/Runtime/Shaders/AudioLink.cginc" + #ifdef UNITY_PASS_SHADOWCASTER + #undef INTERNAL_DATA + #undef WorldReflectionVector + #undef WorldNormalVector + #define INTERNAL_DATA half3 internalSurfaceTtoW0; half3 internalSurfaceTtoW1; half3 internalSurfaceTtoW2; + #define WorldReflectionVector(data,normal) reflect (data.worldRefl, half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal))) + #define WorldNormalVector(data,normal) half3(dot(data.internalSurfaceTtoW0,normal), dot(data.internalSurfaceTtoW1,normal), dot(data.internalSurfaceTtoW2,normal)) + #endif + struct Input + { + float2 uv_texcoord; + float3 worldRefl; + INTERNAL_DATA + float3 worldPos; + float3 worldNormal; + }; + + struct SurfaceOutputCustomLightingCustom + { + half3 Albedo; + half3 Normal; + half3 Emission; + half Metallic; + half Smoothness; + half Occlusion; + half Alpha; + Input SurfInput; + UnityGIInput GIData; + }; + + uniform float _Culling; + uniform float _ShowMain; + uniform float _ShowGlow; + uniform float _ShowEffects; + uniform float _ShowOutline; + uniform float _ShowOutline2; + uniform float _ShowIridescence; + uniform float _ShowSparkleGlow; + uniform float _ShowSparkleAL; + uniform float _ShowSparkles; + uniform float _ShowRainbow; + uniform float _BlendOPsrc; + uniform float _BlendOPdst; + uniform float _MaskClipValue; + uniform int _OutlineMaskingChannel; + uniform float _ViewFudge; + uniform float _OutlineWidth; + uniform float _MaxOutlineWidth; + uniform float4 _OutlineColor; + uniform float _ShowEmissGlow; + uniform float _ShowEmissAL; + uniform float _ShowRedGlow; + uniform float _ShowRedAL; + uniform float _EnableRedChannel; + uniform float _ShowGreenGlow; + uniform float _ShowGreenAL; + uniform float _ShowBlueGlow; + uniform float _ShowBlueAL; + uniform float _ShowAlphaGlow; + uniform float _ShowAlphaAL; + uniform float _BlendOPIndex; + uniform float _BlendModeIndex; + uniform int _OutlineGlowBlendMode; + uniform float _ShowOutlineGlow; + uniform float _ShowOutlineAL; + uniform float _OutlineGlowMinBrightness; + uniform float4 _OutlineGlowTint; + uniform int _OutlineReactiveBlendMode; + uniform float _OutlineReactivePulseOffset; + uniform float _OutlineReactiveGlobalSmoothing; + uniform float _OutlineReactiveMinBrightness; + uniform float4 _OutlineReactiveTint; + uniform int _OutlineReactiveBand; + uniform int _OutlineReactiveDelay; + uniform int _OutlineReactiveMode; + uniform float _OutlineReactivePulseScale; + uniform float _OutlineReactivePulseDir; + uniform int _OutlineGlowZone; + uniform float2 _OutlineReactiveRadialCenter; + uniform float2 _OutlineGlowRadialCenter; + uniform int _OutlineGlowMode; + uniform float _OutlineGlowPulseDir; + uniform float _OutlineGlowPulseOffset; + uniform float _OutlineGlowPulseScale; + uniform int _OutlineGlowAnimationSpeed; + uniform int _OutlineGlowAnimationBand; + uniform int _OutlineGlowAnimationMode; + uniform float _OutlineGlowAnimationStrength; + uniform sampler2D _MainTex; + uniform float4 _MainTex_ST; + uniform int _RedChGlowZone; + uniform float _RedChGlowPulseDir; + uniform float _RedChGlowPulseScale; + uniform float _RedChGlowPulseOffset; + uniform float _RedChGlowAnimationStrength; + uniform int _RedChGlowAnimationBand; + uniform int _RedChGlowAnimationMode; + uniform int _RedChGlowAnimationSpeed; + uniform float2 _RedChGlowRadialCenter; + uniform int _RedChGlowMode; + uniform sampler2D _DirectionalMap; + uniform float4 _DirectionalMap_ST; + uniform float _RedChGlowMinBrightness; + uniform float4 _RedChGlowTint; + uniform int _RedChReactiveBand; + uniform float _RedChReactivePulseDir; + uniform float _RedChReactivePulseScale; + uniform float _RedChReactivePulseOffset; + uniform float2 _RedChReactiveRadialCenter; + uniform int _RedChReactiveMode; + uniform float _RedChReactiveGlobalSmoothing; + uniform float _RedChReactiveMinBrightness; + uniform float4 _RedChReactiveTint; + uniform int _RedChReactiveBlendMode; + uniform sampler2D _GlowMask; + uniform float4 _GlowMask_ST; + uniform int _GreenChGlowZone; + uniform float _GreenChGlowPulseDir; + uniform float _GreenChGlowPulseScale; + uniform float _GreenChGlowPulseOffset; + uniform float _GreenChGlowAnimationStrength; + uniform int _GreenChGlowAnimationBand; + uniform int _GreenChGlowAnimationMode; + uniform int _GreenChGlowAnimationSpeed; + uniform float2 _GreenChGlowRadialCenter; + uniform int _GreenChGlowMode; + uniform float _GreenChGlowMinBrightness; + uniform float4 _GreenChGlowTint; + uniform int _GreenChReactiveBand; + uniform float _GreenChReactivePulseDir; + uniform float _GreenChReactivePulseScale; + uniform float _GreenChReactivePulseOffset; + uniform float2 _GreenChReactiveRadialCenter; + uniform int _GreenChReactiveMode; + uniform float _GreenChReactiveGlobalSmoothing; + uniform float _GreenChReactiveMinBrightness; + uniform float4 _GreenChReactiveTint; + uniform int _GreenChReactiveBlendMode; + uniform float _EnableGreenChannel; + uniform int _BlueChGlowZone; + uniform float _BlueChGlowPulseDir; + uniform float _BlueChGlowPulseScale; + uniform float _BlueChGlowPulseOffset; + uniform float _BlueChGlowAnimationStrength; + uniform int _BlueChGlowAnimationBand; + uniform int _BlueChGlowAnimationMode; + uniform int _BlueChGlowAnimationSpeed; + uniform float2 _BlueChGlowRadialCenter; + uniform int _BlueChGlowMode; + uniform float _BlueChGlowMinBrightness; + uniform float4 _BlueChGlowTint; + uniform int _BlueChReactiveBand; + uniform float _BlueChReactivePulseDir; + uniform float _BlueChReactivePulseScale; + uniform float _BlueChReactivePulseOffset; + uniform float2 _BlueChReactiveRadialCenter; + uniform int _BlueChReactiveMode; + uniform float _BlueChReactiveGlobalSmoothing; + uniform float _BlueChReactiveMinBrightness; + uniform float4 _BlueChReactiveTint; + uniform int _BlueChReactiveBlendMode; + uniform float _EnableBlueChannel; + uniform int _AlphaChGlowZone; + uniform float _AlphaChGlowPulseDir; + uniform float _AlphaChGlowPulseScale; + uniform float _AlphaChGlowPulseOffset; + uniform float _AlphaChGlowAnimationStrength; + uniform int _AlphaChGlowAnimationBand; + uniform int _AlphaChGlowAnimationMode; + uniform int _AlphaChGlowAnimationSpeed; + uniform float2 _AlphaChGlowRadialCenter; + uniform int _AlphaChGlowMode; + uniform float _AlphaChGlowMinBrightness; + uniform float4 _AlphaChGlowTint; + uniform int _AlphaChReactiveBand; + uniform float _AlphaChReactivePulseDir; + uniform float _AlphaChReactivePulseScale; + uniform float _AlphaChReactivePulseOffset; + uniform float2 _AlphaChReactiveRadialCenter; + uniform int _AlphaChReactiveMode; + uniform float _AlphaChReactiveGlobalSmoothing; + uniform float _AlphaChReactiveMinBrightness; + uniform float4 _AlphaChReactiveTint; + uniform int _AlphaChReactiveBlendMode; + uniform float _EnableAlphaChannel; + uniform float4 _EmissionColor; + uniform sampler2D _EmissionMap; + uniform float4 _EmissionMap_ST; + uniform float2 _EmissionPanSpeed; + uniform float _EmissionPan; + uniform sampler2D _EffectMask; + uniform float4 _EffectMask_ST; + uniform float2 _EmissionMaskPanSpeed; + uniform float _EmissionMaskPan; + uniform int _EmissionMaskingChannel; + uniform int _EmissionGlowZone; + uniform float _EmissionGlowPulseDir; + uniform float _EmissionGlowPulseScale; + uniform float _EmissionGlowPulseOffset; + uniform float _EmissionGlowAnimationStrength; + uniform int _EmissionGlowAnimationBand; + uniform int _EmissionGlowAnimationMode; + uniform int _EmissionGlowAnimationSpeed; + uniform float2 _EmissionGlowRadialCenter; + uniform int _EmissionGlowMode; + uniform float _EmissionGlowMinBrightness; + uniform float4 _EmissionGlowTint; + uniform int _EmissionReactiveBand; + uniform float _EmissionReactivePulseDir; + uniform float _EmissionReactivePulseScale; + uniform float _EmissionReactivePulseOffset; + uniform float2 _EmissionReactiveRadialCenter; + uniform int _EmissionReactiveMode; + uniform float _EmissionReactiveGlobalSmoothing; + uniform float _EmissionReactiveMinBrightness; + uniform float4 _EmissionReactiveTint; + uniform int _EmissionReactiveBlendMode; + uniform int _EmissionGlowBlendMode; + uniform int _IridescentMaskingChannel; + uniform float4 _IridescentEmissionColor1; + uniform float4 _IridescentEmissionColor2; + uniform float _IridescentALAnimationStrength; + uniform int _IridescentALAnimationBand; + uniform int _IridescentALAnimationMode; + uniform int _IridescentALAnimationSpeed; + uniform sampler2D _BumpMap; + uniform float _BumpScale; + uniform int _IridescentMode2; + uniform float _IridescentScale; + uniform float _IridescentOffset; + uniform float4 _IridescentEmissionColor3; + uniform float _IridescentIntensity; + uniform int _IridescentEmissionMode; + uniform float _Glossiness; + uniform sampler2D _MetallicGlossMap; + uniform float _GlossMapScale; + float4 _MetallicGlossMap_TexelSize; + uniform int _IridescenceLightMode; + uniform float _Enableiridescence; + uniform float4 _Color; + uniform sampler2D _OcclusionMap; + uniform float _OcclusionStrength; + uniform sampler2D _SpecGlossMap; + uniform float _Metallic; + uniform float _EnableSpecularMap; + uniform float4 _SparkleColor; + uniform float _SparkleScale; + uniform float _SparkleSize; + uniform float _SparkleSeed; + uniform float _SparkleSpeed; + uniform int _SparkleShape; + uniform int _SparkleMaskingChannel; + uniform float4 _SparkleGlowTint; + uniform int _SparkleGlowZone; + uniform float _SparkleGlowPulseDir; + uniform float _SparkleGlowPulseScale; + uniform float _SparkleGlowPulseOffset; + uniform float _SparkleGlowAnimationStrength; + uniform int _SparkleGlowAnimationBand; + uniform int _SparkleGlowAnimationMode; + uniform int _SparkleGlowAnimationSpeed; + uniform float2 _SparkleGlowRadialCenter; + uniform int _SparkleGlowMode; + uniform float _SparkleGlowMinBrightness; + uniform int _SparkleReactiveBand; + uniform float _SparkleReactivePulseDir; + uniform float _SparkleReactivePulseScale; + uniform float _SparkleReactivePulseOffset; + uniform float2 _SparkleReactiveRadialCenter; + uniform int _SparkleReactiveMode; + uniform float _SparkleReactiveGlobalSmoothing; + uniform float _SparkleReactiveMinBrightness; + uniform float4 _SparkleReactiveTint; + uniform int _SparkleReactiveBlendMode; + uniform int _SparkleBlendMode; + uniform int _SparkleMode; + uniform float _RainbowALAnimationStrength; + uniform int _RainbowALAnimationBand; + uniform int _RainbowALAnimationMode; + uniform int _RainbowALAnimationSpeed; + uniform float _RainbowRotation; + uniform float2 _RainbowRadialCenter; + uniform float _RainbowSpiralCurve; + uniform int _RainbowUVMode; + uniform float _RainbowScale; + uniform float _RainbowHueRange; + uniform float _RainbowHue; + uniform float _RainbowSaturation; + uniform float _RainbowValue; + uniform int _RainbowMaskingChannel; + uniform float _EnableScrollingRainbow; + uniform float4 _RimlightColor; + + + float SchlickGGX( float k, float NdotL, float NdotV ) + { + float L = (NdotL) / (NdotL * (1- k) + k); + float V = (NdotV) / (NdotV * (1-k) +k); + return L*V; + } + + + float3 BRDF( float3 N, float G, float F, float NdotL, float NdotV ) + { + return (N*G*F) / (4 * (NdotL*NdotV)); + } + + + float MixFunc( float i, float j, float x ) + { + return j*x+i*(1-x); + } + + + float SchlickFresnel( float i ) + { + float x = saturate(1-i); + float x2 = x*x; + return x2*x2*x; + } + + + float sdStar5( float2 p, float r, float rf ) + { + const float2 k1 = float2(0.809016994375, -0.587785252292); + const float2 k2 = float2(-k1.x,k1.y); + p.x = abs(p.x); + p -= 2.0*max(dot(k1,p),0.0)*k1; + p -= 2.0*max(dot(k2,p),0.0)*k2; + p.x = abs(p.x); + p.y -= r; + float2 ba = rf*float2(-k1.y,k1.x) - float2(0,1); + float h = clamp( dot(p,ba)/dot(ba,ba), 0.0, r ); + return length(p-ba*h) * sin(p.y*ba.x-p.x*ba.y); + } + + + float dot2( float2 a ) + { + return dot(a,a); + } + + + float sdHeart( float2 p ) + { + p.x = abs(p.x); + if( p.y+p.x>1.0 ) + return sqrt(dot2(p-float2(0.25,0.75))) - sqrt(2.0)/4.0; + return sqrt(min(dot2(p-float2(0.00,1.00)), + dot2(p-0.5*max(p.x+p.y,0.0)))) * sign(p.x-p.y); + } + + + float3 getThemeData( int Zone ) + { + float3 result = lerp(AudioLinkData(ALPASS_THEME_COLOR0),AudioLinkData(ALPASS_THEME_COLOR1),saturate(Zone)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR2),saturate(Zone-1)); + result = lerp(result,AudioLinkData(ALPASS_THEME_COLOR3),saturate(Zone-2)); + return result; + } + + + float geometricRoughness( float3 WorldNormal ) + { + float3 nDdx = ddx_fine(WorldNormal); + float3 nDdy = ddy_fine(WorldNormal); + return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 ); + } + + + inline int IsLumaActive11_g4938( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4937( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4940( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4944( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4931( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4931( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4931( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4939( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4943( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4941( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4942( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4932( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4931( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4931( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4931( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4934( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4936( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4946( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4954( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4953( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4956( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4960( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4947( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4947( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4947( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4955( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4959( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4957( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4958( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4948( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4947( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4947( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4947( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4950( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4952( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4962( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4970( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4969( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4972( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4976( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4963( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4963( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4963( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4971( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4975( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4973( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4974( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4964( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4963( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4963( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4963( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4966( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4968( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4978( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4986( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4985( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4988( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4992( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4979( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4979( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4979( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4987( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4991( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4989( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4990( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4980( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4979( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4979( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4979( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4982( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4984( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4994( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int IsLumaActive11_g4927( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4926( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4929( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4921( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4928( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4925( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4923( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4924( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4916( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4918( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4920( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + inline float glslmod270_g4915( float x, float y ) + { + return glsl_mod(x,y); + } + + + float IfAudioLinkv2Exists1_g4930( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4906( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4909( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + int LightExists577( ) + { + int lightEnv = int(any(_WorldSpaceLightPos0.xyz)); + if(lightEnv != 1){ + return 0; + } + return 1; + } + + + float3 HSVToRGB( float3 c ) + { + float4 K = float4( 1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0 ); + float3 p = abs( frac( c.xxx + K.xyz ) * 6.0 - K.www ); + return c.z * lerp( K.xxx, saturate( p - K.xxx ), c.y ); + } + + + inline float ggx( float nh, float roughness ) + { + return GGXTerm(nh, roughness); + } + + + float3 RGBToHSV(float3 c) + { + float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); + float4 p = lerp( float4( c.bg, K.wz ), float4( c.gb, K.xy ), step( c.b, c.g ) ); + float4 q = lerp( float4( p.xyw, c.r ), float4( c.r, p.yzx ), step( p.x, c.r ) ); + float d = q.x - min( q.w, q.y ); + float e = 1.0e-10; + return float3( abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); + } + + float2 voronoihash2_g4880( float2 p ) + { + + p = float2( dot( p, float2( 127.1, 311.7 ) ), dot( p, float2( 269.5, 183.3 ) ) ); + return frac( sin( p ) *43758.5453); + } + + + float voronoi2_g4880( float2 v, float time, inout float2 id, inout float2 mr, float smoothness, inout float2 smoothId ) + { + float2 n = floor( v ); + float2 f = frac( v ); + float F1 = 8.0; + float F2 = 8.0; float2 mg = 0; + for ( int j = -1; j <= 1; j++ ) + { + for ( int i = -1; i <= 1; i++ ) + { + float2 g = float2( i, j ); + float2 o = voronoihash2_g4880( n + g ); + o = ( sin( time + o * 6.2831 ) * 0.5 + 0.5 ); float2 r = f - g - o; + float d = 0.5 * dot( r, r ); + if( d x0.y ) ? float2( 1.0, 0.0 ) : float2( 0.0, 1.0 ); + float4 x12 = x0.xyxy + C.xxzz; + x12.xy -= i1; + i = mod2D289( i ); + float3 p = permute( permute( i.y + float3( 0.0, i1.y, 1.0 ) ) + i.x + float3( 0.0, i1.x, 1.0 ) ); + float3 m = max( 0.5 - float3( dot( x0, x0 ), dot( x12.xy, x12.xy ), dot( x12.zw, x12.zw ) ), 0.0 ); + m = m * m; + m = m * m; + float3 x = 2.0 * frac( p * C.www ) - 1.0; + float3 h = abs( x ) - 0.5; + float3 ox = floor( x + 0.5 ); + float3 a0 = x - ox; + m *= 1.79284291400159 - 0.85373472095314 * ( a0 * a0 + h * h ); + float3 g; + g.x = a0.x * x0.x + h.x * x0.y; + g.yz = a0.yz * x12.xz + h.yz * x12.yw; + return 130.0 * dot( m, g ); + } + + + inline int IsLumaActive11_g4890( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float3 LumaGlowData2_g4889( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4892( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline int AudioLinkDecodeDataAsUInt6_g4896( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + inline float glslmod13_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod12_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod34_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float3 LumaGlowLerp11_g4891( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline float4 AudioLinkLerp1_g4895( float Position ) + { + return AudioLinkLerp( ALPASS_CCSTRIP + float2( Position * 128., 0 ) ).rgba;; + } + + + inline float3 LumaGlowLerp11_g4893( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ); + } + + + inline int IsLumaActive11_g4894( int Band ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( 0, Band ) ).r; + } + + + inline float AudioLinkData3_g4884( int Band, int Delay ) + { + return AudioLinkData( ALPASS_AUDIOLINK + uint2( Delay, Band ) ).rrrr; + } + + + inline float glslmod96_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod97_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float glslmod98_g4883( float x, float y ) + { + return glsl_mod(x,y); + } + + + inline float AudioLinkLerp3_g4886( int Band, float Delay ) + { + return AudioLinkLerp( ALPASS_AUDIOLINK + float2( Delay, Band ) ).r; + } + + + inline float AudioLinkLerp3_g4888( int Band, float FilteredAmount ) + { + return AudioLinkLerp( ALPASS_FILTEREDAUDIOLINK + float2( FilteredAmount, Band ) ).r; + } + + + float IfAudioLinkv2Exists1_g4898( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float IfAudioLinkv2Exists1_g4882( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + float F0138( float NdotL, float NdotV, float LdotH, float roughness ) + { + float FresnelLight = SchlickFresnel(NdotL); + float FresnelView = SchlickFresnel(NdotV); + float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness; + return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView); + } + + + inline float3 getProbes( float4 uvw ) + { + return ShadeSH9(uvw); + } + + + inline int AudioLinkDecodeDataAsUInt6_g4902( int Band, int Mode ) + { + return AudioLinkDecodeDataAsUInt( ALPASS_CHRONOTENSITY + int2(Mode, Band)); + } + + + float IfAudioLinkv2Exists1_g4903( ) + { + int w = 0; + int h; + int res = 0; + #ifndef SHADER_TARGET_SURFACE_ANALYSIS + _AudioTexture.GetDimensions(w, h); + #endif + if (w == 128) res = 1; + return res; + } + + + inline half4 LightingStandardCustomLighting( inout SurfaceOutputCustomLightingCustom s, half3 viewDir, UnityGI gi ) + { + UnityGIInput data = s.GIData; + Input i = s.SurfInput; + half4 c = 0; + #ifdef UNITY_PASS_FORWARDBASE + float ase_lightAtten = data.atten; + if( _LightColor0.a == 0) + ase_lightAtten = 0; + #else + float3 ase_lightAttenRGB = gi.light.color / ( ( _LightColor0.rgb ) + 0.000001 ); + float ase_lightAtten = max( max( ase_lightAttenRGB.r, ase_lightAttenRGB.g ), ase_lightAttenRGB.b ); + #endif + #if defined(HANDLE_SHADOWS_BLENDING_IN_GI) + half bakedAtten = UnitySampleBakedOcclusion(data.lightmapUV.xy, data.worldPos); + float zDist = dot(_WorldSpaceCameraPos - data.worldPos, UNITY_MATRIX_V[2].xyz); + float fadeDist = UnityComputeShadowFadeDistance(data.worldPos, zDist); + ase_lightAtten = UnityMixRealtimeAndBakedShadows(data.atten, bakedAtten, UnityComputeShadowFade(fadeDist)); + #endif + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + float Alpha1147 = ( MainTex224.a * _Color.a ); + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float smoothstepResult436 = smoothstep( saturate( ( -0.4 + 0.48 ) ) , saturate( ( -0.4 + ( 1.0 - 0.48 ) ) ) , localggx413); + float temp_output_452_0 = ( smoothstepResult436 * Smoothness90 ); + float smoothstepResult469 = smoothstep( 0.8 , 1.0 , Smoothness90); + float ToonSpecular444 = ( temp_output_452_0 + ( smoothstepResult469 * 5.0 * temp_output_452_0 ) ); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_1170_0 = max( saturate( Alpha1147 ) , ( max( saturate( ToonSpecular444 ) , RimAlpha1134 ) * SmoothnessColorMult1144 ) ); + float3 indirectNormal151 = worldNorm31; + float Occlusion272 = pow( tex2D( _OcclusionMap, uv_MainTex ).g , _OcclusionStrength ); + Unity_GlossyEnvironmentData g151 = UnityGlossyEnvironmentSetup( Smoothness90, data.worldViewDir, indirectNormal151, float3(0,0,0)); + float3 indirectSpecular151 = UnityGI_IndirectSpecular( data, Occlusion272, indirectNormal151, g151 ); + float temp_output_208_0 = ( 1.0 - ( Smoothness90 * Smoothness90 ) ); + float temp_output_200_0 = max( ( 1.0 - ( temp_output_208_0 * temp_output_208_0 * temp_output_208_0 ) ) , 0.1 ); + float fresnelNdotV161 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode161 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV161, 4.0 ) ); + float smoothstepResult480 = smoothstep( 0.0 , 0.35 , fresnelNode161); + float IndirectAlpha1165 = saturate( ( 0.01 + smoothstepResult480 ) ); + float4 temp_cast_240 = (IndirectAlpha1165).xxxx; + float4 SpecularTex394 = ( tex2D( _SpecGlossMap, uv_MainTex ) * _SpecColor ); + float4 MainTex147_g4905 = MainTex224; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 temp_output_21_0_g4905 = Normal243; + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (ase_lightAtten*0.5 + 0.5) , ase_lightAtten , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float4 Colors149_g4905 = lerpResult32_g4905; + float3 hsvTorgb86_g4905 = RGBToHSV( Colors149_g4905.rgb ); + float3 hsvTorgb85_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb87_g4905 = HSVToRGB( float3(hsvTorgb86_g4905.x,hsvTorgb85_g4905.y,hsvTorgb85_g4905.z) ); + float Intensity132_g4905 = _IridescentIntensity; + float4 lerpResult205_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb87_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + int ModeTransferSat145_g4905 = temp_output_91_0_g4905; + float4 lerpResult92_g4905 = lerp( MainTex147_g4905 , ( lerpResult205_g4905 * max( Intensity132_g4905 , 1.0 ) ) , (float)ModeTransferSat145_g4905); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb99_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb100_g4905 = HSVToRGB( float3(( AnimatedDot130_g4905 + hsvTorgb99_g4905.x ),hsvTorgb99_g4905.y,hsvTorgb99_g4905.y) ); + float4 lerpResult199_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb100_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Holographic153_g4905 = ( lerpResult199_g4905 * max( Intensity132_g4905 , 1.0 ) ); + int ModeTransfer143_g4905 = temp_output_90_0_g4905; + int temp_output_97_0_g4905 = ( ModeTransfer143_g4905 - 1 ); + float4 lerpResult96_g4905 = lerp( lerpResult92_g4905 , Holographic153_g4905 , (float)saturate( temp_output_97_0_g4905 )); + float3 hsvTorgb124_g4905 = RGBToHSV( MainTex147_g4905.rgb ); + float3 hsvTorgb126_g4905 = HSVToRGB( float3(( hsvTorgb124_g4905.x + AnimatedDot130_g4905 ),hsvTorgb124_g4905.y,hsvTorgb124_g4905.z) ); + float4 lerpResult203_g4905 = lerp( MainTex147_g4905 , float4( hsvTorgb126_g4905 , 0.0 ) , saturate( Intensity132_g4905 )); + float4 Hueshift152_g4905 = ( lerpResult203_g4905 * max( Intensity132_g4905 , 1.0 ) ); + float4 lerpResult127_g4905 = lerp( lerpResult96_g4905 , Hueshift152_g4905 , (float)saturate( ( temp_output_97_0_g4905 - 1 ) )); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult227_g4905 = lerp( MainTex147_g4905 , lerpResult127_g4905 , temp_output_233_0_g4905); + float4 lerpResult236_g4905 = lerp( lerpResult127_g4905 , lerpResult227_g4905 , (float)temp_output_225_0_g4905); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + float EffectMask140_g4905 = temp_output_55_0_g4905; + float4 lerpResult95_g4905 = lerp( MainTex147_g4905 , lerpResult236_g4905 , EffectMask140_g4905); + float4 lerpResult248_g4905 = lerp( MainTex147_g4905 , lerpResult95_g4905 , _Enableiridescence); + float4 IridescentMainTex1049 = lerpResult248_g4905; + float4 temp_output_227_0 = ( _Color * IridescentMainTex1049 ); + float MetallticFromTex247 = tex2DNode246.r; + float metallic46 = ( _Metallic * MetallticFromTex247 ); + half3 specColor163 = (0).xxx; + half oneMinusReflectivity163 = 0; + half3 diffuseAndSpecularFromMetallic163 = DiffuseAndSpecularFromMetallic(temp_output_227_0.rgb,metallic46,specColor163,oneMinusReflectivity163); + float lerpResult401 = lerp( 1.0 , metallic46 , _EnableSpecularMap); + float4 lerpResult381 = lerp( SpecularTex394 , float4( specColor163 , 0.0 ) , lerpResult401); + float4 specColor44 = ( lerpResult381 * SmoothnessColorMult1144 ); + float4 temp_cast_264 = (1.0).xxxx; + float fresnelNdotV202 = dot( worldNorm31, ase_worldViewDir ); + float fresnelNode202 = ( 0.0 + temp_output_200_0 * pow( 1.0 - fresnelNdotV202, 5.0 ) ); + float smoothstepResult482 = smoothstep( 0.0 , 0.35 , fresnelNode202); + float4 lerpResult213 = lerp( specColor44 , temp_cast_264 , saturate( smoothstepResult482 )); + float4 lerpResult204 = lerp( temp_cast_240 , lerpResult213 , metallic46); + float4 IndirectSpecular158 = ( float4( indirectSpecular151 , 0.0 ) * lerpResult204 * ( Smoothness90 * Smoothness90 ) ); + float3 diffuse23 = diffuseAndSpecularFromMetallic163; + #ifdef UNITY_PASS_FORWARDADD + float staticSwitch1152 = temp_output_1170_0; + #else + float staticSwitch1152 = 1.0; + #endif + float Opacity1155 = staticSwitch1152; + float4 ColoredSpec987 = ( saturate( ( 1.2 * specColor44 ) ) * ToonSpecular444 ); + float3 temp_output_125_0_g4880 = ColoredSpec987.rgb; + float3 SpecularIN194_g4880 = temp_output_125_0_g4880; + float time2_g4880 = 0.0; + float2 voronoiSmoothId2_g4880 = 0; + float2 coords2_g4880 = i.uv_texcoord * _SparkleScale; + float2 id2_g4880 = 0; + float2 uv2_g4880 = 0; + float voroi2_g4880 = voronoi2_g4880( coords2_g4880, time2_g4880, id2_g4880, uv2_g4880, 0, voronoiSmoothId2_g4880 ); + float2 ID44_g4880 = id2_g4880; + float2 break71_g4880 = ( ID44_g4880 * float2( 360,360 ) ); + float cos68_g4880 = cos( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float sin68_g4880 = sin( radians( max( break71_g4880.x , break71_g4880.y ) ) ); + float2 rotator68_g4880 = mul( uv2_g4880 - float2( 0,0 ) , float2x2( cos68_g4880 , -sin68_g4880 , sin68_g4880 , cos68_g4880 )) + float2( 0,0 ); + float2 UV45_g4880 = rotator68_g4880; + float mulTime14_g4880 = _Time.y * _SparkleSpeed; + float simplePerlin2D37_g4880 = snoise( ( ( ID44_g4880 * _SparkleSeed ) + mulTime14_g4880 ) ); + simplePerlin2D37_g4880 = simplePerlin2D37_g4880*0.5 + 0.5; + float Noise50_g4880 = ( _SparkleSize * simplePerlin2D37_g4880 ); + float smoothstepResult31_g4880 = smoothstep( 0.2 , 0.1 , ( length( UV45_g4880 ) - (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )); + float Sphere52_g4880 = smoothstepResult31_g4880; + float2 temp_cast_268 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 temp_output_54_0_g4880 = ( abs( UV45_g4880 ) - temp_cast_268 ); + float2 temp_cast_269 = (( 0.4 + (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)) )).xx; + float2 break59_g4880 = temp_output_54_0_g4880; + float smoothstepResult62_g4880 = smoothstep( 0.01 , 0.0 , ( length( max( temp_output_54_0_g4880 , float2( 0,0 ) ) ) + min( max( break59_g4880.x , break59_g4880.y ) , 0.0 ) )); + float Square63_g4880 = smoothstepResult62_g4880; + float lerpResult111_g4880 = lerp( Sphere52_g4880 , Square63_g4880 , (float)saturate( _SparkleShape )); + float2 p73_g4880 = UV45_g4880; + float r73_g4880 = (-0.5 + (Noise50_g4880 - 0.0) * (0.5 - -0.5) / (1.0 - 0.0)); + float rf73_g4880 = 0.25; + float localsdStar573_g4880 = sdStar5( p73_g4880 , r73_g4880 , rf73_g4880 ); + float smoothstepResult79_g4880 = smoothstep( 0.01 , 0.0 , localsdStar573_g4880); + float Star80_g4880 = smoothstepResult79_g4880; + int temp_output_114_0_g4880 = ( _SparkleShape - 1 ); + float lerpResult112_g4880 = lerp( lerpResult111_g4880 , Star80_g4880 , (float)saturate( temp_output_114_0_g4880 )); + float temp_output_99_0_g4880 = (-0.25 + (Noise50_g4880 - 0.0) * (0.0 - -0.25) / (1.0 - 0.0)); + float2 p85_g4880 = ( UV45_g4880 * 2.15 ); + float localsdHeart85_g4880 = sdHeart( p85_g4880 ); + float smoothstepResult91_g4880 = smoothstep( ( temp_output_99_0_g4880 + 0.01 ) , temp_output_99_0_g4880 , ( localsdHeart85_g4880 / 2.15 )); + float Heart90_g4880 = smoothstepResult91_g4880; + float lerpResult113_g4880 = lerp( lerpResult112_g4880 , Heart90_g4880 , (float)saturate( ( temp_output_114_0_g4880 - 1 ) )); + float4 temp_output_2_0_g4871 = EffectMaskRGBA871; + float4 break120_g4880 = temp_output_2_0_g4871; + int temp_output_18_0_g4881 = _SparkleMaskingChannel; + float lerpResult1_g4881 = lerp( 1.0 , break120_g4880.r , (float)saturate( temp_output_18_0_g4881 )); + int temp_output_5_0_g4881 = ( temp_output_18_0_g4881 - 1 ); + float lerpResult12_g4881 = lerp( lerpResult1_g4881 , break120_g4880.g , (float)saturate( temp_output_5_0_g4881 )); + int temp_output_6_0_g4881 = ( temp_output_5_0_g4881 - 1 ); + float lerpResult10_g4881 = lerp( lerpResult12_g4881 , break120_g4880.b , (float)saturate( temp_output_6_0_g4881 )); + float lerpResult11_g4881 = lerp( lerpResult10_g4881 , break120_g4880.a , (float)saturate( ( temp_output_6_0_g4881 - 1 ) )); + float SparkleAlpha129_g4880 = ( lerpResult113_g4880 * lerpResult11_g4881 ); + float4 temp_cast_278 = (1.0).xxxx; + float4 temp_cast_280 = (1.0).xxxx; + float3 temp_cast_281 = (1.0).xxx; + int EmissionGlowZone47_g4883 = _SparkleGlowZone; + int clampResult8_g4889 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4889 = ( clampResult8_g4889 - 1 ); + int Zone16_g4889 = temp_output_3_0_g4889; + float3 localgetThemeData16_g4889 = getThemeData( Zone16_g4889 ); + int Band11_g4890 = 56; + int localIsLumaActive11_g4890 = IsLumaActive11_g4890( Band11_g4890 ); + int temp_output_14_0_g4889 = localIsLumaActive11_g4890; + int lerpResult15_g4889 = lerp( temp_output_3_0_g4889 , ( 63 - temp_output_3_0_g4889 ) , (float)temp_output_14_0_g4889); + int Band2_g4889 = lerpResult15_g4889; + int Delay2_g4889 = 0; + float3 localLumaGlowData2_g4889 = LumaGlowData2_g4889( Band2_g4889 , Delay2_g4889 ); + float3 lerpResult17_g4889 = lerp( ( localgetThemeData16_g4889 * localLumaGlowData2_g4889 ) , localLumaGlowData2_g4889 , (float)temp_output_14_0_g4889); + int temp_output_21_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float3 lerpResult20_g4883 = lerp( temp_cast_281 , lerpResult17_g4889 , (float)temp_output_21_0_g4883); + float3 temp_cast_285 = (1.0).xxx; + int clampResult8_g4891 = clamp( EmissionGlowZone47_g4883 , 1 , 4 ); + int temp_output_3_0_g4891 = ( clampResult8_g4891 - 1 ); + int Zone15_g4891 = temp_output_3_0_g4891; + float3 localgetThemeData15_g4891 = getThemeData( Zone15_g4891 ); + int Band11_g4892 = 56; + int localIsLumaActive11_g4892 = IsLumaActive11_g4892( Band11_g4892 ); + int temp_output_13_0_g4891 = localIsLumaActive11_g4892; + int lerpResult14_g4891 = lerp( temp_output_3_0_g4891 , ( 63 - temp_output_3_0_g4891 ) , (float)temp_output_13_0_g4891); + int Band11_g4891 = lerpResult14_g4891; + float cos6_g4883 = cos( radians( _SparkleGlowPulseDir ) ); + float sin6_g4883 = sin( radians( _SparkleGlowPulseDir ) ); + float2 rotator6_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4883 , -sin6_g4883 , sin6_g4883 , cos6_g4883 )) + float2( 0.5,0.5 ); + int Band6_g4896 = _SparkleGlowAnimationBand; + int Mode6_g4896 = ( ( _SparkleGlowAnimationMode * 2 ) + _SparkleGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4896 = AudioLinkDecodeDataAsUInt6_g4896( Band6_g4896 , Mode6_g4896 ); + float localGetLocalTime2_g4897 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4883 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4896 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4897 , (float)saturate( ( _SparkleGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4883 = ( _SparkleGlowAnimationStrength * lerpResult206_g4883 * step( _SparkleGlowAnimationBand , 9 ) ); + float x13_g4883 = ( ( rotator6_g4883.x * _SparkleGlowPulseScale ) + _SparkleGlowPulseOffset + EmissionGlowAnimation195_g4883 ); + float y13_g4883 = 127.0; + float localglslmod13_g4883 = glslmod13_g4883( x13_g4883 , y13_g4883 ); + float2 CenteredUV15_g4885 = ( i.uv_texcoord - _SparkleGlowRadialCenter ); + float2 break17_g4885 = CenteredUV15_g4885; + float2 appendResult23_g4885 = (float2(( length( CenteredUV15_g4885 ) * _SparkleGlowPulseScale * 2.0 ) , ( atan2( break17_g4885.x , break17_g4885.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4883 = ( _SparkleGlowPulseOffset + appendResult23_g4885.x + EmissionGlowAnimation195_g4883 ); + float y12_g4883 = 127.0; + float localglslmod12_g4883 = glslmod12_g4883( x12_g4883 , y12_g4883 ); + int EmissionGlowMode35_g4883 = _SparkleGlowMode; + int temp_output_37_0_g4883 = ( EmissionGlowMode35_g4883 - 1 ); + float lerpResult5_g4883 = lerp( localglslmod13_g4883 , localglslmod12_g4883 , (float)saturate( temp_output_37_0_g4883 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4914 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionMap1031 = Direction27_g4914; + float temp_output_23_0_g4871 = DirectionMap1031; + float DirectionalMap106_g4883 = temp_output_23_0_g4871; + float lerpResult179_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionGlowMode35_g4883 - 3 ) )); + float x34_g4883 = ( _SparkleGlowPulseOffset + ( _SparkleGlowPulseScale * lerpResult179_g4883 ) + EmissionGlowAnimation195_g4883 ); + float y34_g4883 = 127.0; + float localglslmod34_g4883 = glslmod34_g4883( x34_g4883 , y34_g4883 ); + float lerpResult30_g4883 = lerp( lerpResult5_g4883 , localglslmod34_g4883 , (float)saturate( ( temp_output_37_0_g4883 - 1 ) )); + float EmissionGlowDelay56_g4883 = lerpResult30_g4883; + float Delay11_g4891 = EmissionGlowDelay56_g4883; + float3 localLumaGlowLerp11_g4891 = LumaGlowLerp11_g4891( Band11_g4891 , Delay11_g4891 ); + float3 lerpResult17_g4891 = lerp( ( localgetThemeData15_g4891 * localLumaGlowLerp11_g4891 ) , localLumaGlowLerp11_g4891 , (float)temp_output_13_0_g4891); + float3 lerpResult22_g4883 = lerp( temp_cast_285 , lerpResult17_g4891 , (float)temp_output_21_0_g4883); + float3 lerpResult23_g4883 = lerp( lerpResult20_g4883 , lerpResult22_g4883 , (float)saturate( EmissionGlowMode35_g4883 )); + float4 temp_cast_295 = (1.0).xxxx; + float temp_output_10_0_g4893 = EmissionGlowDelay56_g4883; + float Position1_g4895 = ( temp_output_10_0_g4893 / 127.0 ); + float4 localAudioLinkLerp1_g4895 = AudioLinkLerp1_g4895( Position1_g4895 ); + int clampResult8_g4893 = clamp( ( EmissionGlowZone47_g4883 - 4 ) , 1 , 3 ); + int Band11_g4893 = ( 59 - ( clampResult8_g4893 - 1 ) ); + float Delay11_g4893 = temp_output_10_0_g4893; + float3 localLumaGlowLerp11_g4893 = LumaGlowLerp11_g4893( Band11_g4893 , Delay11_g4893 ); + int Band11_g4894 = 56; + int localIsLumaActive11_g4894 = IsLumaActive11_g4894( Band11_g4894 ); + float4 lerpResult14_g4893 = lerp( localAudioLinkLerp1_g4895 , float4( localLumaGlowLerp11_g4893 , 0.0 ) , (float)localIsLumaActive11_g4894); + float4 lerpResult52_g4883 = lerp( temp_cast_295 , lerpResult14_g4893 , (float)saturate( EmissionGlowZone47_g4883 )); + float4 lerpResult51_g4883 = lerp( float4( lerpResult23_g4883 , 0.0 ) , lerpResult52_g4883 , (float)saturate( ( EmissionGlowZone47_g4883 - 4 ) )); + float4 temp_cast_300 = (_SparkleGlowMinBrightness).xxxx; + float4 temp_cast_301 = (( _SparkleGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4883 = saturate( EmissionGlowZone47_g4883 ); + float4 EmissionGlow142_g4883 = ( (temp_cast_300 + (lerpResult51_g4883 - float4( 0,0,0,0 )) * (temp_cast_301 - temp_cast_300) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _SparkleGlowTint * temp_output_258_0_g4883 ); + float4 lerpResult261_g4883 = lerp( temp_cast_280 , EmissionGlow142_g4883 , (float)temp_output_258_0_g4883); + float4 EmissionGlowTog262_g4883 = lerpResult261_g4883; + int EmissionReactiveBand243_g4883 = _SparkleReactiveBand; + int Band3_g4884 = EmissionReactiveBand243_g4883; + int Delay3_g4884 = 0; + float localAudioLinkData3_g4884 = AudioLinkData3_g4884( Band3_g4884 , Delay3_g4884 ); + int temp_output_64_0_g4883 = step( _SparkleReactiveBand , 9 ); + float lerpResult66_g4883 = lerp( 1.0 , localAudioLinkData3_g4884 , (float)temp_output_64_0_g4883); + int Band3_g4886 = _SparkleReactiveBand; + float cos78_g4883 = cos( radians( _SparkleReactivePulseDir ) ); + float sin78_g4883 = sin( radians( _SparkleReactivePulseDir ) ); + float2 rotator78_g4883 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4883 , -sin78_g4883 , sin78_g4883 , cos78_g4883 )) + float2( 0.5,0.5 ); + float x96_g4883 = ( ( rotator78_g4883.x * _SparkleReactivePulseScale ) + _SparkleReactivePulseOffset ); + float y96_g4883 = 127.0; + float localglslmod96_g4883 = glslmod96_g4883( x96_g4883 , y96_g4883 ); + float2 CenteredUV15_g4887 = ( i.uv_texcoord - _SparkleReactiveRadialCenter ); + float2 break17_g4887 = CenteredUV15_g4887; + float2 appendResult23_g4887 = (float2(( length( CenteredUV15_g4887 ) * _SparkleReactivePulseScale * 2.0 ) , ( atan2( break17_g4887.x , break17_g4887.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4883 = ( _SparkleReactivePulseOffset + appendResult23_g4887.x ); + float y97_g4883 = 127.0; + float localglslmod97_g4883 = glslmod97_g4883( x97_g4883 , y97_g4883 ); + int EmissionReactiveMode99_g4883 = _SparkleReactiveMode; + int temp_output_90_0_g4883 = ( EmissionReactiveMode99_g4883 - 1 ); + float lerpResult77_g4883 = lerp( localglslmod96_g4883 , localglslmod97_g4883 , (float)saturate( temp_output_90_0_g4883 )); + float lerpResult174_g4883 = lerp( DirectionalMap106_g4883 , ( 1.0 - DirectionalMap106_g4883 ) , (float)saturate( ( EmissionReactiveMode99_g4883 - 3 ) )); + float x98_g4883 = ( _SparkleReactivePulseOffset + ( _SparkleReactivePulseScale * lerpResult174_g4883 ) ); + float y98_g4883 = 127.0; + float localglslmod98_g4883 = glslmod98_g4883( x98_g4883 , y98_g4883 ); + float lerpResult87_g4883 = lerp( lerpResult77_g4883 , localglslmod98_g4883 , (float)saturate( ( temp_output_90_0_g4883 - 1 ) )); + float Delay3_g4886 = lerpResult87_g4883; + float localAudioLinkLerp3_g4886 = AudioLinkLerp3_g4886( Band3_g4886 , Delay3_g4886 ); + float lerpResult102_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4886 , (float)temp_output_64_0_g4883); + float lerpResult103_g4883 = lerp( lerpResult66_g4883 , lerpResult102_g4883 , (float)saturate( EmissionReactiveMode99_g4883 )); + int Band3_g4888 = _SparkleReactiveBand; + float FilteredAmount3_g4888 = ( ( 1.0 - _SparkleReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4888 = AudioLinkLerp3_g4888( Band3_g4888 , FilteredAmount3_g4888 ); + float lerpResult168_g4883 = lerp( 1.0 , localAudioLinkLerp3_g4888 , (float)temp_output_64_0_g4883); + float lerpResult172_g4883 = lerp( lerpResult103_g4883 , lerpResult168_g4883 , (float)saturate( ( EmissionReactiveMode99_g4883 - 4 ) )); + float ReactivityAlpha132_g4883 = (_SparkleReactiveMinBrightness + (lerpResult172_g4883 - 0.0) * (( _SparkleReactiveMinBrightness + 1.0 ) - _SparkleReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_312 = (1.0).xxxx; + float4 lerpResult268_g4883 = lerp( temp_cast_312 , _SparkleReactiveTint , (float)step( EmissionReactiveBand243_g4883 , 9 )); + float4 FinalReactivity68_g4883 = ( ReactivityAlpha132_g4883 * lerpResult268_g4883 ); + float4 lerpResult146_g4883 = lerp( ( EmissionGlowTog262_g4883 * FinalReactivity68_g4883 ) , ( EmissionGlow142_g4883 + FinalReactivity68_g4883 ) , (float)saturate( _SparkleReactiveBlendMode )); + float4 ReversedReactivity152_g4883 = ( ( 1.0 - ReactivityAlpha132_g4883 ) * lerpResult268_g4883 ); + int temp_output_157_0_g4883 = ( _SparkleReactiveBlendMode - 1 ); + float4 lerpResult114_g4883 = lerp( lerpResult146_g4883 , ( EmissionGlowTog262_g4883 * ReversedReactivity152_g4883 ) , (float)saturate( temp_output_157_0_g4883 )); + int temp_output_255_0_g4883 = step( EmissionReactiveBand243_g4883 , 9 ); + float4 lerpResult164_g4883 = lerp( lerpResult114_g4883 , ( EmissionGlow142_g4883 + ( ReversedReactivity152_g4883 * temp_output_255_0_g4883 ) ) , (float)max( saturate( ( temp_output_157_0_g4883 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4883 , 9 ) ) )); + float4 lerpResult280_g4883 = lerp( _SparkleGlowTint , lerpResult164_g4883 , (float)max( temp_output_255_0_g4883 , saturate( EmissionGlowZone47_g4883 ) )); + float localIfAudioLinkv2Exists1_g4898 = IfAudioLinkv2Exists1_g4898(); + float4 lerpResult275_g4883 = lerp( temp_cast_278 , ( lerpResult280_g4883 * SparkleAlpha129_g4880 ) , localIfAudioLinkv2Exists1_g4898); + float localIfAudioLinkv2Exists1_g4882 = IfAudioLinkv2Exists1_g4882(); + float4 lerpResult172_g4880 = lerp( ( _SparkleColor * SparkleAlpha129_g4880 ) , lerpResult275_g4883 , localIfAudioLinkv2Exists1_g4882); + float4 Sparkles152_g4880 = lerpResult172_g4880; + float4 lerpResult190_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_125_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_125_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 SpecularSparkles142_g4880 = lerpResult190_g4880; + int temp_output_133_0_g4880 = saturate( _SparkleMode ); + float4 lerpResult127_g4880 = lerp( float4( SpecularIN194_g4880 , 0.0 ) , SpecularSparkles142_g4880 , (float)temp_output_133_0_g4880); + int temp_output_137_0_g4880 = ( _SparkleMode - 1 ); + float4 lerpResult198_g4880 = lerp( lerpResult127_g4880 , float4( SpecularIN194_g4880 , 0.0 ) , (float)saturate( temp_output_137_0_g4880 )); + int temp_output_150_0_g4880 = ( temp_output_137_0_g4880 - 1 ); + int temp_output_151_0_g4880 = saturate( temp_output_150_0_g4880 ); + float4 lerpResult149_g4880 = lerp( lerpResult198_g4880 , SpecularSparkles142_g4880 , (float)temp_output_151_0_g4880); + int temp_output_160_0_g4880 = saturate( ( temp_output_150_0_g4880 - 1 ) ); + float4 lerpResult153_g4880 = lerp( lerpResult149_g4880 , SpecularSparkles142_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch173_g4880 = lerpResult153_g4880; + #else + float4 staticSwitch173_g4880 = float4( SpecularIN194_g4880 , 0.0 ); + #endif + float4 SpecEffects1117 = staticSwitch173_g4880; + float3 N123 = SpecEffects1117.xyz; + float k379 = roughness17; + float dotResult14 = dot( worldNorm31 , lightDir32 ); + float NdotL39 = max( dotResult14 , 0.0 ); + float smoothstepResult460 = smoothstep( 0.125 , 0.15 , NdotL39); + float lerpResult636 = lerp( (smoothstepResult460*0.5 + 0.5) , smoothstepResult460 , _WorldSpaceLightPos0.w); + float ToonNdotL514 = lerpResult636; + float NdotL379 = ToonNdotL514; + float dotResult24 = dot( worldNorm31 , viewDir29 ); + float NdotV11 = max( dotResult24 , 0.0 ); + float NdotV379 = NdotV11; + float localSchlickGGX379 = SchlickGGX( k379 , NdotL379 , NdotV379 ); + float G123 = localSchlickGGX379; + float NdotL138 = ToonNdotL514; + float smoothstepResult461 = smoothstep( 0.0 , 0.25 , NdotV11); + float ToonNdotV565 = smoothstepResult461; + float NdotV138 = ToonNdotV565; + float LdotH138 = NdotH38; + float roughness138 = roughness17; + float localF0138 = F0138( NdotL138 , NdotV138 , LdotH138 , roughness138 ); + float F123 = localF0138; + float NdotL123 = lerpResult636; + float NdotV123 = NdotV11; + float3 localBRDF123 = BRDF( N123 , G123 , F123 , NdotL123 , NdotV123 ); + float3 temp_cast_331 = (0.001).xxx; + float4 appendResult511 = (float4(-lightDir32 , 1.0)); + float4 uvw501 = appendResult511; + float3 localgetProbes501 = getProbes( uvw501 ); + float4 appendResult517 = (float4(lightDir32 , 1.0)); + float4 uvw518 = appendResult517; + float3 localgetProbes518 = getProbes( uvw518 ); + float3 lerpResult520 = lerp( ( localgetProbes501 * 0.65 ) , localgetProbes518 , ( ToonNdotL514 * Attenuation533 )); + float3 ToonAmbience521 = lerpResult520; + float4 lerpResult578 = lerp( float4( ToonAmbience521 , 0.0 ) , ase_lightColor , temp_output_576_0); + float4 InitialLightColor589 = ( lerpResult578 * Attenuation533 ); + float4 lightColor45 = InitialLightColor589; + float4 BRDF219 = ( float4( ( ( diffuse23 * Occlusion272 * Opacity1155 ) + ( max( localBRDF123 , temp_cast_331 ) * smoothstepResult460 * Attenuation533 ) ) , 0.0 ) * ( float4( ToonAmbience521 , 0.0 ) + ( lightColor45 * ToonNdotL514 ) ) ); + float4 lerpResult182_g4880 = lerp( Sparkles152_g4880 , float4( 0,0,0,0 ) , (float)temp_output_133_0_g4880); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch177_g4880 = Sparkles152_g4880; + #else + float4 staticSwitch177_g4880 = float4( 0,0,0,0 ); + #endif + float4 lerpResult185_g4880 = lerp( lerpResult182_g4880 , staticSwitch177_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch178_g4880 = lerpResult185_g4880; + #else + float4 staticSwitch178_g4880 = float4( 0,0,0,0 ); + #endif + int Band6_g4902 = _RainbowALAnimationBand; + int Mode6_g4902 = ( ( _RainbowALAnimationMode * 2 ) + _RainbowALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4902 = AudioLinkDecodeDataAsUInt6_g4902( Band6_g4902 , Mode6_g4902 ); + float localGetNetworkTime4_g4904 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4903 = IfAudioLinkv2Exists1_g4903(); + float temp_output_95_0_g4899 = localIfAudioLinkv2Exists1_g4903; + float lerpResult94_g4899 = lerp( _Time.y , localGetNetworkTime4_g4904 , temp_output_95_0_g4899); + float lerpResult66_g4899 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4902 % 628319 ) / 100000.0 ) * step( _RainbowALAnimationBand , 9 ) ) , lerpResult94_g4899 , (float)saturate( ( _RainbowALAnimationMode - 3 ) )); + float lerpResult96_g4899 = lerp( _Time.y , lerpResult66_g4899 , temp_output_95_0_g4899); + float EmissionGlowAnimation67_g4899 = ( _RainbowALAnimationStrength * lerpResult96_g4899 ); + float cos45_g4899 = cos( radians( _RainbowRotation ) ); + float sin45_g4899 = sin( radians( _RainbowRotation ) ); + float2 rotator45_g4899 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos45_g4899 , -sin45_g4899 , sin45_g4899 , cos45_g4899 )) + float2( 0.5,0.5 ); + float2 CenteredUV15_g4901 = ( i.uv_texcoord - _RainbowRadialCenter ); + float2 break17_g4901 = CenteredUV15_g4901; + float2 appendResult23_g4901 = (float2(( length( CenteredUV15_g4901 ) * _RainbowSpiralCurve * 2.0 ) , ( atan2( break17_g4901.x , break17_g4901.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float2 break50_g4899 = appendResult23_g4901; + float lerpResult49_g4899 = lerp( rotator45_g4899.x , break50_g4899.x , (float)saturate( _RainbowUVMode )); + int temp_output_60_0_g4899 = ( _RainbowUVMode - 1 ); + float lerpResult63_g4899 = lerp( lerpResult49_g4899 , ( break50_g4899.x + ( break50_g4899.y * ( 2.0 * UNITY_PI ) ) ) , (float)saturate( temp_output_60_0_g4899 )); + float temp_output_85_0_g4899 = temp_output_23_0_g4871; + int temp_output_81_0_g4899 = ( temp_output_60_0_g4899 - 1 ); + float lerpResult79_g4899 = lerp( lerpResult63_g4899 , temp_output_85_0_g4899 , (float)saturate( temp_output_81_0_g4899 )); + float lerpResult80_g4899 = lerp( lerpResult79_g4899 , ( 1.0 - temp_output_85_0_g4899 ) , (float)saturate( ( temp_output_81_0_g4899 - 1 ) )); + float temp_output_24_0_g4899 = ( ( 1.0 - _RainbowHueRange ) * 0.5 ); + float3 hsvTorgb3_g4899 = HSVToRGB( float3(( (temp_output_24_0_g4899 + (sin( ( EmissionGlowAnimation67_g4899 + ( lerpResult80_g4899 * _RainbowScale ) ) ) - -1.0) * (( 1.0 - temp_output_24_0_g4899 ) - temp_output_24_0_g4899) / (1.0 - -1.0)) + _RainbowHue ),_RainbowSaturation,_RainbowValue) ); + float4 EffectMaskRGBA8_g4871 = temp_output_2_0_g4871; + float4 break38_g4899 = EffectMaskRGBA8_g4871; + int temp_output_18_0_g4900 = _RainbowMaskingChannel; + float lerpResult1_g4900 = lerp( 1.0 , break38_g4899.r , (float)saturate( temp_output_18_0_g4900 )); + int temp_output_5_0_g4900 = ( temp_output_18_0_g4900 - 1 ); + float lerpResult12_g4900 = lerp( lerpResult1_g4900 , break38_g4899.g , (float)saturate( temp_output_5_0_g4900 )); + int temp_output_6_0_g4900 = ( temp_output_5_0_g4900 - 1 ); + float lerpResult10_g4900 = lerp( lerpResult12_g4900 , break38_g4899.b , (float)saturate( temp_output_6_0_g4900 )); + float lerpResult11_g4900 = lerp( lerpResult10_g4900 , break38_g4899.a , (float)saturate( ( temp_output_6_0_g4900 - 1 ) )); + float3 lerpResult98_g4899 = lerp( float3( 0,0,0 ) , ( hsvTorgb3_g4899 * lerpResult11_g4900 ) , _EnableScrollingRainbow); + #ifdef UNITY_PASS_FORWARDBASE + float3 staticSwitch35_g4871 = lerpResult98_g4899; + #else + float3 staticSwitch35_g4871 = float3( 0,0,0 ); + #endif + float dotResult617 = dot( worldNorm31 , lightDir32 ); + float dotResult610 = dot( worldNorm31 , float3(0,1,0) ); + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch625 = max( ( dotResult610 + 0.5 ) , 0.0 ); + #else + float staticSwitch625 = 1.0; + #endif + float4 Rimlighting557 = ( max( -dotResult617 , 0.0 ) * temp_output_547_0 * ( ( lightColor45 + float4( ToonAmbience521 , 0.0 ) ) / 2.0 ) * _RimlightColor * specColor44 * staticSwitch625 * SpecularAntiAlias851 ); + float3 temp_output_126_0_g4880 = Rimlighting557.rgb; + float3 RimlightIN195_g4880 = temp_output_126_0_g4880; + float4 lerpResult191_g4880 = lerp( ( Sparkles152_g4880 * float4( temp_output_126_0_g4880 , 0.0 ) ) , ( Sparkles152_g4880 + float4( temp_output_126_0_g4880 , 0.0 ) ) , (float)_SparkleBlendMode); + float4 RimlightSparkles143_g4880 = lerpResult191_g4880; + float4 lerpResult136_g4880 = lerp( float4( RimlightIN195_g4880 , 0.0 ) , RimlightSparkles143_g4880 , (float)saturate( temp_output_137_0_g4880 )); + float4 lerpResult181_g4880 = lerp( lerpResult136_g4880 , RimlightSparkles143_g4880 , (float)temp_output_151_0_g4880); + float4 lerpResult183_g4880 = lerp( lerpResult181_g4880 , RimlightSparkles143_g4880 , (float)temp_output_160_0_g4880); + #ifdef _SPARKLES + float4 staticSwitch187_g4880 = lerpResult183_g4880; + #else + float4 staticSwitch187_g4880 = float4( RimlightIN195_g4880 , 0.0 ); + #endif + float4 RimlightEffects1118 = staticSwitch187_g4880; + c.rgb = ( IndirectSpecular158 + BRDF219 + ( staticSwitch178_g4880 + float4( staticSwitch35_g4871 , 0.0 ) ) + RimlightEffects1118 ).rgb; + c.a = temp_output_1170_0; + return c; + } + + inline void LightingStandardCustomLighting_GI( inout SurfaceOutputCustomLightingCustom s, UnityGIInput data, inout UnityGI gi ) + { + s.GIData = data; + } + + void surf( Input i , inout SurfaceOutputCustomLightingCustom o ) + { + o.SurfInput = i; + o.Normal = float3(0,0,1); + float2 uv_MainTex = i.uv_texcoord * _MainTex_ST.xy + _MainTex_ST.zw; + float4 MainTex224 = tex2D( _MainTex, uv_MainTex ); + o.Albedo = MainTex224.rgb; + float4 temp_cast_1 = (1.0).xxxx; + float3 temp_cast_2 = (1.0).xxx; + int EmissionGlowZone47_g4931 = _RedChGlowZone; + int clampResult8_g4937 = clamp( EmissionGlowZone47_g4931 , 1 , 4 ); + int temp_output_3_0_g4937 = ( clampResult8_g4937 - 1 ); + int Zone16_g4937 = temp_output_3_0_g4937; + float3 localgetThemeData16_g4937 = getThemeData( Zone16_g4937 ); + int Band11_g4938 = 56; + int localIsLumaActive11_g4938 = IsLumaActive11_g4938( Band11_g4938 ); + int temp_output_14_0_g4937 = localIsLumaActive11_g4938; + int lerpResult15_g4937 = lerp( temp_output_3_0_g4937 , ( 63 - temp_output_3_0_g4937 ) , (float)temp_output_14_0_g4937); + int Band2_g4937 = lerpResult15_g4937; + int Delay2_g4937 = 0; + float3 localLumaGlowData2_g4937 = LumaGlowData2_g4937( Band2_g4937 , Delay2_g4937 ); + float3 lerpResult17_g4937 = lerp( ( localgetThemeData16_g4937 * localLumaGlowData2_g4937 ) , localLumaGlowData2_g4937 , (float)temp_output_14_0_g4937); + int temp_output_21_0_g4931 = saturate( EmissionGlowZone47_g4931 ); + float3 lerpResult20_g4931 = lerp( temp_cast_2 , lerpResult17_g4937 , (float)temp_output_21_0_g4931); + float3 temp_cast_6 = (1.0).xxx; + int clampResult8_g4939 = clamp( EmissionGlowZone47_g4931 , 1 , 4 ); + int temp_output_3_0_g4939 = ( clampResult8_g4939 - 1 ); + int Zone15_g4939 = temp_output_3_0_g4939; + float3 localgetThemeData15_g4939 = getThemeData( Zone15_g4939 ); + int Band11_g4940 = 56; + int localIsLumaActive11_g4940 = IsLumaActive11_g4940( Band11_g4940 ); + int temp_output_13_0_g4939 = localIsLumaActive11_g4940; + int lerpResult14_g4939 = lerp( temp_output_3_0_g4939 , ( 63 - temp_output_3_0_g4939 ) , (float)temp_output_13_0_g4939); + int Band11_g4939 = lerpResult14_g4939; + float cos6_g4931 = cos( radians( _RedChGlowPulseDir ) ); + float sin6_g4931 = sin( radians( _RedChGlowPulseDir ) ); + float2 rotator6_g4931 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4931 , -sin6_g4931 , sin6_g4931 , cos6_g4931 )) + float2( 0.5,0.5 ); + int Band6_g4944 = _RedChGlowAnimationBand; + int Mode6_g4944 = ( ( _RedChGlowAnimationMode * 2 ) + _RedChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4944 = AudioLinkDecodeDataAsUInt6_g4944( Band6_g4944 , Mode6_g4944 ); + float localGetLocalTime2_g4945 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4931 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4944 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4945 , (float)saturate( ( _RedChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4931 = ( _RedChGlowAnimationStrength * lerpResult206_g4931 * step( _RedChGlowAnimationBand , 9 ) ); + float x13_g4931 = ( ( rotator6_g4931.x * _RedChGlowPulseScale ) + _RedChGlowPulseOffset + EmissionGlowAnimation195_g4931 ); + float y13_g4931 = 127.0; + float localglslmod13_g4931 = glslmod13_g4931( x13_g4931 , y13_g4931 ); + float2 CenteredUV15_g4933 = ( i.uv_texcoord - _RedChGlowRadialCenter ); + float2 break17_g4933 = CenteredUV15_g4933; + float2 appendResult23_g4933 = (float2(( length( CenteredUV15_g4933 ) * _RedChGlowPulseScale * 2.0 ) , ( atan2( break17_g4933.x , break17_g4933.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4931 = ( _RedChGlowPulseOffset + appendResult23_g4933.x + EmissionGlowAnimation195_g4931 ); + float y12_g4931 = 127.0; + float localglslmod12_g4931 = glslmod12_g4931( x12_g4931 , y12_g4931 ); + int EmissionGlowMode35_g4931 = _RedChGlowMode; + int temp_output_37_0_g4931 = ( EmissionGlowMode35_g4931 - 1 ); + float lerpResult5_g4931 = lerp( localglslmod13_g4931 , localglslmod12_g4931 , (float)saturate( temp_output_37_0_g4931 )); + float2 uv_DirectionalMap = i.uv_texcoord * _DirectionalMap_ST.xy + _DirectionalMap_ST.zw; + float Direction27_g4914 = tex2D( _DirectionalMap, uv_DirectionalMap ).r; + float DirectionalMap106_g4931 = Direction27_g4914; + float lerpResult179_g4931 = lerp( DirectionalMap106_g4931 , ( 1.0 - DirectionalMap106_g4931 ) , (float)saturate( ( EmissionGlowMode35_g4931 - 3 ) )); + float x34_g4931 = ( _RedChGlowPulseOffset + ( _RedChGlowPulseScale * lerpResult179_g4931 ) + EmissionGlowAnimation195_g4931 ); + float y34_g4931 = 127.0; + float localglslmod34_g4931 = glslmod34_g4931( x34_g4931 , y34_g4931 ); + float lerpResult30_g4931 = lerp( lerpResult5_g4931 , localglslmod34_g4931 , (float)saturate( ( temp_output_37_0_g4931 - 1 ) )); + float EmissionGlowDelay56_g4931 = lerpResult30_g4931; + float Delay11_g4939 = EmissionGlowDelay56_g4931; + float3 localLumaGlowLerp11_g4939 = LumaGlowLerp11_g4939( Band11_g4939 , Delay11_g4939 ); + float3 lerpResult17_g4939 = lerp( ( localgetThemeData15_g4939 * localLumaGlowLerp11_g4939 ) , localLumaGlowLerp11_g4939 , (float)temp_output_13_0_g4939); + float3 lerpResult22_g4931 = lerp( temp_cast_6 , lerpResult17_g4939 , (float)temp_output_21_0_g4931); + float3 lerpResult23_g4931 = lerp( lerpResult20_g4931 , lerpResult22_g4931 , (float)saturate( EmissionGlowMode35_g4931 )); + float4 temp_cast_16 = (1.0).xxxx; + float temp_output_10_0_g4941 = EmissionGlowDelay56_g4931; + float Position1_g4943 = ( temp_output_10_0_g4941 / 127.0 ); + float4 localAudioLinkLerp1_g4943 = AudioLinkLerp1_g4943( Position1_g4943 ); + int clampResult8_g4941 = clamp( ( EmissionGlowZone47_g4931 - 4 ) , 1 , 3 ); + int Band11_g4941 = ( 59 - ( clampResult8_g4941 - 1 ) ); + float Delay11_g4941 = temp_output_10_0_g4941; + float3 localLumaGlowLerp11_g4941 = LumaGlowLerp11_g4941( Band11_g4941 , Delay11_g4941 ); + int Band11_g4942 = 56; + int localIsLumaActive11_g4942 = IsLumaActive11_g4942( Band11_g4942 ); + float4 lerpResult14_g4941 = lerp( localAudioLinkLerp1_g4943 , float4( localLumaGlowLerp11_g4941 , 0.0 ) , (float)localIsLumaActive11_g4942); + float4 lerpResult52_g4931 = lerp( temp_cast_16 , lerpResult14_g4941 , (float)saturate( EmissionGlowZone47_g4931 )); + float4 lerpResult51_g4931 = lerp( float4( lerpResult23_g4931 , 0.0 ) , lerpResult52_g4931 , (float)saturate( ( EmissionGlowZone47_g4931 - 4 ) )); + float4 temp_cast_21 = (_RedChGlowMinBrightness).xxxx; + float4 temp_cast_22 = (( _RedChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_254_0_g4931 = saturate( EmissionGlowZone47_g4931 ); + float4 EmissionGlow142_g4931 = ( (temp_cast_21 + (lerpResult51_g4931 - float4( 0,0,0,0 )) * (temp_cast_22 - temp_cast_21) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _RedChGlowTint * temp_output_254_0_g4931 ); + float4 lerpResult257_g4931 = lerp( temp_cast_1 , EmissionGlow142_g4931 , (float)temp_output_254_0_g4931); + float4 EmissionGlowTog258_g4931 = lerpResult257_g4931; + int EmissionReactiveBand243_g4931 = _RedChReactiveBand; + int Band3_g4932 = EmissionReactiveBand243_g4931; + int Delay3_g4932 = 0; + float localAudioLinkData3_g4932 = AudioLinkData3_g4932( Band3_g4932 , Delay3_g4932 ); + int temp_output_64_0_g4931 = step( _RedChReactiveBand , 9 ); + float lerpResult66_g4931 = lerp( 1.0 , localAudioLinkData3_g4932 , (float)temp_output_64_0_g4931); + int Band3_g4934 = _RedChReactiveBand; + float cos78_g4931 = cos( radians( _RedChReactivePulseDir ) ); + float sin78_g4931 = sin( radians( _RedChReactivePulseDir ) ); + float2 rotator78_g4931 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4931 , -sin78_g4931 , sin78_g4931 , cos78_g4931 )) + float2( 0.5,0.5 ); + float x96_g4931 = ( ( rotator78_g4931.x * _RedChReactivePulseScale ) + _RedChReactivePulseOffset ); + float y96_g4931 = 127.0; + float localglslmod96_g4931 = glslmod96_g4931( x96_g4931 , y96_g4931 ); + float2 CenteredUV15_g4935 = ( i.uv_texcoord - _RedChReactiveRadialCenter ); + float2 break17_g4935 = CenteredUV15_g4935; + float2 appendResult23_g4935 = (float2(( length( CenteredUV15_g4935 ) * _RedChReactivePulseScale * 2.0 ) , ( atan2( break17_g4935.x , break17_g4935.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4931 = ( _RedChReactivePulseOffset + appendResult23_g4935.x ); + float y97_g4931 = 127.0; + float localglslmod97_g4931 = glslmod97_g4931( x97_g4931 , y97_g4931 ); + int EmissionReactiveMode99_g4931 = _RedChReactiveMode; + int temp_output_90_0_g4931 = ( EmissionReactiveMode99_g4931 - 1 ); + float lerpResult77_g4931 = lerp( localglslmod96_g4931 , localglslmod97_g4931 , (float)saturate( temp_output_90_0_g4931 )); + float lerpResult174_g4931 = lerp( DirectionalMap106_g4931 , ( 1.0 - DirectionalMap106_g4931 ) , (float)saturate( ( EmissionReactiveMode99_g4931 - 3 ) )); + float x98_g4931 = ( _RedChReactivePulseOffset + ( _RedChReactivePulseScale * lerpResult174_g4931 ) ); + float y98_g4931 = 127.0; + float localglslmod98_g4931 = glslmod98_g4931( x98_g4931 , y98_g4931 ); + float lerpResult87_g4931 = lerp( lerpResult77_g4931 , localglslmod98_g4931 , (float)saturate( ( temp_output_90_0_g4931 - 1 ) )); + float Delay3_g4934 = lerpResult87_g4931; + float localAudioLinkLerp3_g4934 = AudioLinkLerp3_g4934( Band3_g4934 , Delay3_g4934 ); + float lerpResult102_g4931 = lerp( 1.0 , localAudioLinkLerp3_g4934 , (float)temp_output_64_0_g4931); + float lerpResult103_g4931 = lerp( lerpResult66_g4931 , lerpResult102_g4931 , (float)saturate( EmissionReactiveMode99_g4931 )); + int Band3_g4936 = _RedChReactiveBand; + float FilteredAmount3_g4936 = ( ( 1.0 - _RedChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4936 = AudioLinkLerp3_g4936( Band3_g4936 , FilteredAmount3_g4936 ); + float lerpResult168_g4931 = lerp( 1.0 , localAudioLinkLerp3_g4936 , (float)temp_output_64_0_g4931); + float lerpResult172_g4931 = lerp( lerpResult103_g4931 , lerpResult168_g4931 , (float)saturate( ( EmissionReactiveMode99_g4931 - 4 ) )); + float ReactivityAlpha132_g4931 = (_RedChReactiveMinBrightness + (lerpResult172_g4931 - 0.0) * (( _RedChReactiveMinBrightness + 1.0 ) - _RedChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_33 = (1.0).xxxx; + float4 lerpResult253_g4931 = lerp( temp_cast_33 , _RedChReactiveTint , (float)step( EmissionReactiveBand243_g4931 , 9 )); + float4 FinalReactivity68_g4931 = ( ReactivityAlpha132_g4931 * lerpResult253_g4931 ); + float4 lerpResult146_g4931 = lerp( ( EmissionGlowTog258_g4931 * FinalReactivity68_g4931 ) , ( EmissionGlow142_g4931 + FinalReactivity68_g4931 ) , (float)saturate( _RedChReactiveBlendMode )); + float4 ReversedReactivity152_g4931 = ( ( 1.0 - ReactivityAlpha132_g4931 ) * lerpResult253_g4931 ); + int temp_output_157_0_g4931 = ( _RedChReactiveBlendMode - 1 ); + float4 lerpResult114_g4931 = lerp( lerpResult146_g4931 , ( EmissionGlowTog258_g4931 * ReversedReactivity152_g4931 ) , (float)saturate( temp_output_157_0_g4931 )); + float4 lerpResult164_g4931 = lerp( lerpResult114_g4931 , ( EmissionGlow142_g4931 + ( ReversedReactivity152_g4931 * step( EmissionReactiveBand243_g4931 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4931 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4931 , 9 ) ) )); + float2 uv_GlowMask = i.uv_texcoord * _GlowMask_ST.xy + _GlowMask_ST.zw; + float4 GlowMaskRGBA174_g4914 = tex2D( _GlowMask, uv_GlowMask ); + float localIfAudioLinkv2Exists1_g4946 = IfAudioLinkv2Exists1_g4946(); + float4 lerpResult280_g4931 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4931 * (GlowMaskRGBA174_g4914).ra.x * localIfAudioLinkv2Exists1_g4946 ) , _EnableRedChannel); + float4 temp_cast_43 = (1.0).xxxx; + float3 temp_cast_44 = (1.0).xxx; + int EmissionGlowZone47_g4947 = _GreenChGlowZone; + int clampResult8_g4953 = clamp( EmissionGlowZone47_g4947 , 1 , 4 ); + int temp_output_3_0_g4953 = ( clampResult8_g4953 - 1 ); + int Zone16_g4953 = temp_output_3_0_g4953; + float3 localgetThemeData16_g4953 = getThemeData( Zone16_g4953 ); + int Band11_g4954 = 56; + int localIsLumaActive11_g4954 = IsLumaActive11_g4954( Band11_g4954 ); + int temp_output_14_0_g4953 = localIsLumaActive11_g4954; + int lerpResult15_g4953 = lerp( temp_output_3_0_g4953 , ( 63 - temp_output_3_0_g4953 ) , (float)temp_output_14_0_g4953); + int Band2_g4953 = lerpResult15_g4953; + int Delay2_g4953 = 0; + float3 localLumaGlowData2_g4953 = LumaGlowData2_g4953( Band2_g4953 , Delay2_g4953 ); + float3 lerpResult17_g4953 = lerp( ( localgetThemeData16_g4953 * localLumaGlowData2_g4953 ) , localLumaGlowData2_g4953 , (float)temp_output_14_0_g4953); + int temp_output_21_0_g4947 = saturate( EmissionGlowZone47_g4947 ); + float3 lerpResult20_g4947 = lerp( temp_cast_44 , lerpResult17_g4953 , (float)temp_output_21_0_g4947); + float3 temp_cast_48 = (1.0).xxx; + int clampResult8_g4955 = clamp( EmissionGlowZone47_g4947 , 1 , 4 ); + int temp_output_3_0_g4955 = ( clampResult8_g4955 - 1 ); + int Zone15_g4955 = temp_output_3_0_g4955; + float3 localgetThemeData15_g4955 = getThemeData( Zone15_g4955 ); + int Band11_g4956 = 56; + int localIsLumaActive11_g4956 = IsLumaActive11_g4956( Band11_g4956 ); + int temp_output_13_0_g4955 = localIsLumaActive11_g4956; + int lerpResult14_g4955 = lerp( temp_output_3_0_g4955 , ( 63 - temp_output_3_0_g4955 ) , (float)temp_output_13_0_g4955); + int Band11_g4955 = lerpResult14_g4955; + float cos6_g4947 = cos( radians( _GreenChGlowPulseDir ) ); + float sin6_g4947 = sin( radians( _GreenChGlowPulseDir ) ); + float2 rotator6_g4947 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4947 , -sin6_g4947 , sin6_g4947 , cos6_g4947 )) + float2( 0.5,0.5 ); + int Band6_g4960 = _GreenChGlowAnimationBand; + int Mode6_g4960 = ( ( _GreenChGlowAnimationMode * 2 ) + _GreenChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4960 = AudioLinkDecodeDataAsUInt6_g4960( Band6_g4960 , Mode6_g4960 ); + float localGetLocalTime2_g4961 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4947 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4960 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4961 , (float)saturate( ( _GreenChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4947 = ( _GreenChGlowAnimationStrength * lerpResult206_g4947 * step( _GreenChGlowAnimationBand , 9 ) ); + float x13_g4947 = ( ( rotator6_g4947.x * _GreenChGlowPulseScale ) + _GreenChGlowPulseOffset + EmissionGlowAnimation195_g4947 ); + float y13_g4947 = 127.0; + float localglslmod13_g4947 = glslmod13_g4947( x13_g4947 , y13_g4947 ); + float2 CenteredUV15_g4949 = ( i.uv_texcoord - _GreenChGlowRadialCenter ); + float2 break17_g4949 = CenteredUV15_g4949; + float2 appendResult23_g4949 = (float2(( length( CenteredUV15_g4949 ) * _GreenChGlowPulseScale * 2.0 ) , ( atan2( break17_g4949.x , break17_g4949.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4947 = ( _GreenChGlowPulseOffset + appendResult23_g4949.x + EmissionGlowAnimation195_g4947 ); + float y12_g4947 = 127.0; + float localglslmod12_g4947 = glslmod12_g4947( x12_g4947 , y12_g4947 ); + int EmissionGlowMode35_g4947 = _GreenChGlowMode; + int temp_output_37_0_g4947 = ( EmissionGlowMode35_g4947 - 1 ); + float lerpResult5_g4947 = lerp( localglslmod13_g4947 , localglslmod12_g4947 , (float)saturate( temp_output_37_0_g4947 )); + float DirectionalMap106_g4947 = Direction27_g4914; + float lerpResult179_g4947 = lerp( DirectionalMap106_g4947 , ( 1.0 - DirectionalMap106_g4947 ) , (float)saturate( ( EmissionGlowMode35_g4947 - 3 ) )); + float x34_g4947 = ( _GreenChGlowPulseOffset + ( _GreenChGlowPulseScale * lerpResult179_g4947 ) + EmissionGlowAnimation195_g4947 ); + float y34_g4947 = 127.0; + float localglslmod34_g4947 = glslmod34_g4947( x34_g4947 , y34_g4947 ); + float lerpResult30_g4947 = lerp( lerpResult5_g4947 , localglslmod34_g4947 , (float)saturate( ( temp_output_37_0_g4947 - 1 ) )); + float EmissionGlowDelay56_g4947 = lerpResult30_g4947; + float Delay11_g4955 = EmissionGlowDelay56_g4947; + float3 localLumaGlowLerp11_g4955 = LumaGlowLerp11_g4955( Band11_g4955 , Delay11_g4955 ); + float3 lerpResult17_g4955 = lerp( ( localgetThemeData15_g4955 * localLumaGlowLerp11_g4955 ) , localLumaGlowLerp11_g4955 , (float)temp_output_13_0_g4955); + float3 lerpResult22_g4947 = lerp( temp_cast_48 , lerpResult17_g4955 , (float)temp_output_21_0_g4947); + float3 lerpResult23_g4947 = lerp( lerpResult20_g4947 , lerpResult22_g4947 , (float)saturate( EmissionGlowMode35_g4947 )); + float4 temp_cast_58 = (1.0).xxxx; + float temp_output_10_0_g4957 = EmissionGlowDelay56_g4947; + float Position1_g4959 = ( temp_output_10_0_g4957 / 127.0 ); + float4 localAudioLinkLerp1_g4959 = AudioLinkLerp1_g4959( Position1_g4959 ); + int clampResult8_g4957 = clamp( ( EmissionGlowZone47_g4947 - 4 ) , 1 , 3 ); + int Band11_g4957 = ( 59 - ( clampResult8_g4957 - 1 ) ); + float Delay11_g4957 = temp_output_10_0_g4957; + float3 localLumaGlowLerp11_g4957 = LumaGlowLerp11_g4957( Band11_g4957 , Delay11_g4957 ); + int Band11_g4958 = 56; + int localIsLumaActive11_g4958 = IsLumaActive11_g4958( Band11_g4958 ); + float4 lerpResult14_g4957 = lerp( localAudioLinkLerp1_g4959 , float4( localLumaGlowLerp11_g4957 , 0.0 ) , (float)localIsLumaActive11_g4958); + float4 lerpResult52_g4947 = lerp( temp_cast_58 , lerpResult14_g4957 , (float)saturate( EmissionGlowZone47_g4947 )); + float4 lerpResult51_g4947 = lerp( float4( lerpResult23_g4947 , 0.0 ) , lerpResult52_g4947 , (float)saturate( ( EmissionGlowZone47_g4947 - 4 ) )); + float4 temp_cast_63 = (_GreenChGlowMinBrightness).xxxx; + float4 temp_cast_64 = (( _GreenChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_255_0_g4947 = saturate( EmissionGlowZone47_g4947 ); + float4 EmissionGlow142_g4947 = ( (temp_cast_63 + (lerpResult51_g4947 - float4( 0,0,0,0 )) * (temp_cast_64 - temp_cast_63) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _GreenChGlowTint * temp_output_255_0_g4947 ); + float4 lerpResult258_g4947 = lerp( temp_cast_43 , EmissionGlow142_g4947 , (float)temp_output_255_0_g4947); + float4 EmissionGlowTog259_g4947 = lerpResult258_g4947; + int EmissionReactiveBand243_g4947 = _GreenChReactiveBand; + int Band3_g4948 = EmissionReactiveBand243_g4947; + int Delay3_g4948 = 0; + float localAudioLinkData3_g4948 = AudioLinkData3_g4948( Band3_g4948 , Delay3_g4948 ); + int temp_output_64_0_g4947 = step( _GreenChReactiveBand , 9 ); + float lerpResult66_g4947 = lerp( 1.0 , localAudioLinkData3_g4948 , (float)temp_output_64_0_g4947); + int Band3_g4950 = _GreenChReactiveBand; + float cos78_g4947 = cos( radians( _GreenChReactivePulseDir ) ); + float sin78_g4947 = sin( radians( _GreenChReactivePulseDir ) ); + float2 rotator78_g4947 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4947 , -sin78_g4947 , sin78_g4947 , cos78_g4947 )) + float2( 0.5,0.5 ); + float x96_g4947 = ( ( rotator78_g4947.x * _GreenChReactivePulseScale ) + _GreenChReactivePulseOffset ); + float y96_g4947 = 127.0; + float localglslmod96_g4947 = glslmod96_g4947( x96_g4947 , y96_g4947 ); + float2 CenteredUV15_g4951 = ( i.uv_texcoord - _GreenChReactiveRadialCenter ); + float2 break17_g4951 = CenteredUV15_g4951; + float2 appendResult23_g4951 = (float2(( length( CenteredUV15_g4951 ) * _GreenChReactivePulseScale * 2.0 ) , ( atan2( break17_g4951.x , break17_g4951.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4947 = ( _GreenChReactivePulseOffset + appendResult23_g4951.x ); + float y97_g4947 = 127.0; + float localglslmod97_g4947 = glslmod97_g4947( x97_g4947 , y97_g4947 ); + int EmissionReactiveMode99_g4947 = _GreenChReactiveMode; + int temp_output_90_0_g4947 = ( EmissionReactiveMode99_g4947 - 1 ); + float lerpResult77_g4947 = lerp( localglslmod96_g4947 , localglslmod97_g4947 , (float)saturate( temp_output_90_0_g4947 )); + float lerpResult174_g4947 = lerp( DirectionalMap106_g4947 , ( 1.0 - DirectionalMap106_g4947 ) , (float)saturate( ( EmissionReactiveMode99_g4947 - 3 ) )); + float x98_g4947 = ( _GreenChReactivePulseOffset + ( _GreenChReactivePulseScale * lerpResult174_g4947 ) ); + float y98_g4947 = 127.0; + float localglslmod98_g4947 = glslmod98_g4947( x98_g4947 , y98_g4947 ); + float lerpResult87_g4947 = lerp( lerpResult77_g4947 , localglslmod98_g4947 , (float)saturate( ( temp_output_90_0_g4947 - 1 ) )); + float Delay3_g4950 = lerpResult87_g4947; + float localAudioLinkLerp3_g4950 = AudioLinkLerp3_g4950( Band3_g4950 , Delay3_g4950 ); + float lerpResult102_g4947 = lerp( 1.0 , localAudioLinkLerp3_g4950 , (float)temp_output_64_0_g4947); + float lerpResult103_g4947 = lerp( lerpResult66_g4947 , lerpResult102_g4947 , (float)saturate( EmissionReactiveMode99_g4947 )); + int Band3_g4952 = _GreenChReactiveBand; + float FilteredAmount3_g4952 = ( ( 1.0 - _GreenChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4952 = AudioLinkLerp3_g4952( Band3_g4952 , FilteredAmount3_g4952 ); + float lerpResult168_g4947 = lerp( 1.0 , localAudioLinkLerp3_g4952 , (float)temp_output_64_0_g4947); + float lerpResult172_g4947 = lerp( lerpResult103_g4947 , lerpResult168_g4947 , (float)saturate( ( EmissionReactiveMode99_g4947 - 4 ) )); + float ReactivityAlpha132_g4947 = (_GreenChReactiveMinBrightness + (lerpResult172_g4947 - 0.0) * (( _GreenChReactiveMinBrightness + 1.0 ) - _GreenChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_75 = (1.0).xxxx; + float4 lerpResult264_g4947 = lerp( temp_cast_75 , _GreenChReactiveTint , (float)step( EmissionReactiveBand243_g4947 , 9 )); + float4 FinalReactivity68_g4947 = ( ReactivityAlpha132_g4947 * lerpResult264_g4947 ); + float4 lerpResult146_g4947 = lerp( ( EmissionGlowTog259_g4947 * FinalReactivity68_g4947 ) , ( EmissionGlow142_g4947 + FinalReactivity68_g4947 ) , (float)saturate( _GreenChReactiveBlendMode )); + float4 ReversedReactivity152_g4947 = ( ( 1.0 - ReactivityAlpha132_g4947 ) * lerpResult264_g4947 ); + int temp_output_157_0_g4947 = ( _GreenChReactiveBlendMode - 1 ); + float4 lerpResult114_g4947 = lerp( lerpResult146_g4947 , ( EmissionGlowTog259_g4947 * ReversedReactivity152_g4947 ) , (float)saturate( temp_output_157_0_g4947 )); + float4 lerpResult164_g4947 = lerp( lerpResult114_g4947 , ( EmissionGlow142_g4947 + ( ReversedReactivity152_g4947 * step( EmissionReactiveBand243_g4947 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4947 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4947 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4962 = IfAudioLinkv2Exists1_g4962(); + float4 lerpResult276_g4947 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4947 * (GlowMaskRGBA174_g4914).ga.x * localIfAudioLinkv2Exists1_g4962 ) , _EnableGreenChannel); + float4 temp_cast_85 = (1.0).xxxx; + float3 temp_cast_86 = (1.0).xxx; + int EmissionGlowZone47_g4963 = _BlueChGlowZone; + int clampResult8_g4969 = clamp( EmissionGlowZone47_g4963 , 1 , 4 ); + int temp_output_3_0_g4969 = ( clampResult8_g4969 - 1 ); + int Zone16_g4969 = temp_output_3_0_g4969; + float3 localgetThemeData16_g4969 = getThemeData( Zone16_g4969 ); + int Band11_g4970 = 56; + int localIsLumaActive11_g4970 = IsLumaActive11_g4970( Band11_g4970 ); + int temp_output_14_0_g4969 = localIsLumaActive11_g4970; + int lerpResult15_g4969 = lerp( temp_output_3_0_g4969 , ( 63 - temp_output_3_0_g4969 ) , (float)temp_output_14_0_g4969); + int Band2_g4969 = lerpResult15_g4969; + int Delay2_g4969 = 0; + float3 localLumaGlowData2_g4969 = LumaGlowData2_g4969( Band2_g4969 , Delay2_g4969 ); + float3 lerpResult17_g4969 = lerp( ( localgetThemeData16_g4969 * localLumaGlowData2_g4969 ) , localLumaGlowData2_g4969 , (float)temp_output_14_0_g4969); + int temp_output_21_0_g4963 = saturate( EmissionGlowZone47_g4963 ); + float3 lerpResult20_g4963 = lerp( temp_cast_86 , lerpResult17_g4969 , (float)temp_output_21_0_g4963); + float3 temp_cast_90 = (1.0).xxx; + int clampResult8_g4971 = clamp( EmissionGlowZone47_g4963 , 1 , 4 ); + int temp_output_3_0_g4971 = ( clampResult8_g4971 - 1 ); + int Zone15_g4971 = temp_output_3_0_g4971; + float3 localgetThemeData15_g4971 = getThemeData( Zone15_g4971 ); + int Band11_g4972 = 56; + int localIsLumaActive11_g4972 = IsLumaActive11_g4972( Band11_g4972 ); + int temp_output_13_0_g4971 = localIsLumaActive11_g4972; + int lerpResult14_g4971 = lerp( temp_output_3_0_g4971 , ( 63 - temp_output_3_0_g4971 ) , (float)temp_output_13_0_g4971); + int Band11_g4971 = lerpResult14_g4971; + float cos6_g4963 = cos( radians( _BlueChGlowPulseDir ) ); + float sin6_g4963 = sin( radians( _BlueChGlowPulseDir ) ); + float2 rotator6_g4963 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4963 , -sin6_g4963 , sin6_g4963 , cos6_g4963 )) + float2( 0.5,0.5 ); + int Band6_g4976 = _BlueChGlowAnimationBand; + int Mode6_g4976 = ( ( _BlueChGlowAnimationMode * 2 ) + _BlueChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4976 = AudioLinkDecodeDataAsUInt6_g4976( Band6_g4976 , Mode6_g4976 ); + float localGetLocalTime2_g4977 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4963 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4976 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4977 , (float)saturate( ( _BlueChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4963 = ( _BlueChGlowAnimationStrength * lerpResult206_g4963 * step( _BlueChGlowAnimationBand , 9 ) ); + float x13_g4963 = ( ( rotator6_g4963.x * _BlueChGlowPulseScale ) + _BlueChGlowPulseOffset + EmissionGlowAnimation195_g4963 ); + float y13_g4963 = 127.0; + float localglslmod13_g4963 = glslmod13_g4963( x13_g4963 , y13_g4963 ); + float2 CenteredUV15_g4965 = ( i.uv_texcoord - _BlueChGlowRadialCenter ); + float2 break17_g4965 = CenteredUV15_g4965; + float2 appendResult23_g4965 = (float2(( length( CenteredUV15_g4965 ) * _BlueChGlowPulseScale * 2.0 ) , ( atan2( break17_g4965.x , break17_g4965.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4963 = ( _BlueChGlowPulseOffset + appendResult23_g4965.x + EmissionGlowAnimation195_g4963 ); + float y12_g4963 = 127.0; + float localglslmod12_g4963 = glslmod12_g4963( x12_g4963 , y12_g4963 ); + int EmissionGlowMode35_g4963 = _BlueChGlowMode; + int temp_output_37_0_g4963 = ( EmissionGlowMode35_g4963 - 1 ); + float lerpResult5_g4963 = lerp( localglslmod13_g4963 , localglslmod12_g4963 , (float)saturate( temp_output_37_0_g4963 )); + float DirectionalMap106_g4963 = Direction27_g4914; + float lerpResult179_g4963 = lerp( DirectionalMap106_g4963 , ( 1.0 - DirectionalMap106_g4963 ) , (float)saturate( ( EmissionGlowMode35_g4963 - 3 ) )); + float x34_g4963 = ( _BlueChGlowPulseOffset + ( _BlueChGlowPulseScale * lerpResult179_g4963 ) + EmissionGlowAnimation195_g4963 ); + float y34_g4963 = 127.0; + float localglslmod34_g4963 = glslmod34_g4963( x34_g4963 , y34_g4963 ); + float lerpResult30_g4963 = lerp( lerpResult5_g4963 , localglslmod34_g4963 , (float)saturate( ( temp_output_37_0_g4963 - 1 ) )); + float EmissionGlowDelay56_g4963 = lerpResult30_g4963; + float Delay11_g4971 = EmissionGlowDelay56_g4963; + float3 localLumaGlowLerp11_g4971 = LumaGlowLerp11_g4971( Band11_g4971 , Delay11_g4971 ); + float3 lerpResult17_g4971 = lerp( ( localgetThemeData15_g4971 * localLumaGlowLerp11_g4971 ) , localLumaGlowLerp11_g4971 , (float)temp_output_13_0_g4971); + float3 lerpResult22_g4963 = lerp( temp_cast_90 , lerpResult17_g4971 , (float)temp_output_21_0_g4963); + float3 lerpResult23_g4963 = lerp( lerpResult20_g4963 , lerpResult22_g4963 , (float)saturate( EmissionGlowMode35_g4963 )); + float4 temp_cast_100 = (1.0).xxxx; + float temp_output_10_0_g4973 = EmissionGlowDelay56_g4963; + float Position1_g4975 = ( temp_output_10_0_g4973 / 127.0 ); + float4 localAudioLinkLerp1_g4975 = AudioLinkLerp1_g4975( Position1_g4975 ); + int clampResult8_g4973 = clamp( ( EmissionGlowZone47_g4963 - 4 ) , 1 , 3 ); + int Band11_g4973 = ( 59 - ( clampResult8_g4973 - 1 ) ); + float Delay11_g4973 = temp_output_10_0_g4973; + float3 localLumaGlowLerp11_g4973 = LumaGlowLerp11_g4973( Band11_g4973 , Delay11_g4973 ); + int Band11_g4974 = 56; + int localIsLumaActive11_g4974 = IsLumaActive11_g4974( Band11_g4974 ); + float4 lerpResult14_g4973 = lerp( localAudioLinkLerp1_g4975 , float4( localLumaGlowLerp11_g4973 , 0.0 ) , (float)localIsLumaActive11_g4974); + float4 lerpResult52_g4963 = lerp( temp_cast_100 , lerpResult14_g4973 , (float)saturate( EmissionGlowZone47_g4963 )); + float4 lerpResult51_g4963 = lerp( float4( lerpResult23_g4963 , 0.0 ) , lerpResult52_g4963 , (float)saturate( ( EmissionGlowZone47_g4963 - 4 ) )); + float4 temp_cast_105 = (_BlueChGlowMinBrightness).xxxx; + float4 temp_cast_106 = (( _BlueChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4963 = saturate( EmissionGlowZone47_g4963 ); + float4 EmissionGlow142_g4963 = ( (temp_cast_105 + (lerpResult51_g4963 - float4( 0,0,0,0 )) * (temp_cast_106 - temp_cast_105) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _BlueChGlowTint * temp_output_258_0_g4963 ); + float4 lerpResult261_g4963 = lerp( temp_cast_85 , EmissionGlow142_g4963 , (float)temp_output_258_0_g4963); + float4 EmissionGlowTog262_g4963 = lerpResult261_g4963; + int EmissionReactiveBand243_g4963 = _BlueChReactiveBand; + int Band3_g4964 = EmissionReactiveBand243_g4963; + int Delay3_g4964 = 0; + float localAudioLinkData3_g4964 = AudioLinkData3_g4964( Band3_g4964 , Delay3_g4964 ); + int temp_output_64_0_g4963 = step( _BlueChReactiveBand , 9 ); + float lerpResult66_g4963 = lerp( 1.0 , localAudioLinkData3_g4964 , (float)temp_output_64_0_g4963); + int Band3_g4966 = _BlueChReactiveBand; + float cos78_g4963 = cos( radians( _BlueChReactivePulseDir ) ); + float sin78_g4963 = sin( radians( _BlueChReactivePulseDir ) ); + float2 rotator78_g4963 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4963 , -sin78_g4963 , sin78_g4963 , cos78_g4963 )) + float2( 0.5,0.5 ); + float x96_g4963 = ( ( rotator78_g4963.x * _BlueChReactivePulseScale ) + _BlueChReactivePulseOffset ); + float y96_g4963 = 127.0; + float localglslmod96_g4963 = glslmod96_g4963( x96_g4963 , y96_g4963 ); + float2 CenteredUV15_g4967 = ( i.uv_texcoord - _BlueChReactiveRadialCenter ); + float2 break17_g4967 = CenteredUV15_g4967; + float2 appendResult23_g4967 = (float2(( length( CenteredUV15_g4967 ) * _BlueChReactivePulseScale * 2.0 ) , ( atan2( break17_g4967.x , break17_g4967.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4963 = ( _BlueChReactivePulseOffset + appendResult23_g4967.x ); + float y97_g4963 = 127.0; + float localglslmod97_g4963 = glslmod97_g4963( x97_g4963 , y97_g4963 ); + int EmissionReactiveMode99_g4963 = _BlueChReactiveMode; + int temp_output_90_0_g4963 = ( EmissionReactiveMode99_g4963 - 1 ); + float lerpResult77_g4963 = lerp( localglslmod96_g4963 , localglslmod97_g4963 , (float)saturate( temp_output_90_0_g4963 )); + float lerpResult174_g4963 = lerp( DirectionalMap106_g4963 , ( 1.0 - DirectionalMap106_g4963 ) , (float)saturate( ( EmissionReactiveMode99_g4963 - 3 ) )); + float x98_g4963 = ( _BlueChReactivePulseOffset + ( _BlueChReactivePulseScale * lerpResult174_g4963 ) ); + float y98_g4963 = 127.0; + float localglslmod98_g4963 = glslmod98_g4963( x98_g4963 , y98_g4963 ); + float lerpResult87_g4963 = lerp( lerpResult77_g4963 , localglslmod98_g4963 , (float)saturate( ( temp_output_90_0_g4963 - 1 ) )); + float Delay3_g4966 = lerpResult87_g4963; + float localAudioLinkLerp3_g4966 = AudioLinkLerp3_g4966( Band3_g4966 , Delay3_g4966 ); + float lerpResult102_g4963 = lerp( 1.0 , localAudioLinkLerp3_g4966 , (float)temp_output_64_0_g4963); + float lerpResult103_g4963 = lerp( lerpResult66_g4963 , lerpResult102_g4963 , (float)saturate( EmissionReactiveMode99_g4963 )); + int Band3_g4968 = _BlueChReactiveBand; + float FilteredAmount3_g4968 = ( ( 1.0 - _BlueChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4968 = AudioLinkLerp3_g4968( Band3_g4968 , FilteredAmount3_g4968 ); + float lerpResult168_g4963 = lerp( 1.0 , localAudioLinkLerp3_g4968 , (float)temp_output_64_0_g4963); + float lerpResult172_g4963 = lerp( lerpResult103_g4963 , lerpResult168_g4963 , (float)saturate( ( EmissionReactiveMode99_g4963 - 4 ) )); + float ReactivityAlpha132_g4963 = (_BlueChReactiveMinBrightness + (lerpResult172_g4963 - 0.0) * (( _BlueChReactiveMinBrightness + 1.0 ) - _BlueChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_117 = (1.0).xxxx; + float4 lerpResult268_g4963 = lerp( temp_cast_117 , _BlueChReactiveTint , (float)step( EmissionReactiveBand243_g4963 , 9 )); + float4 FinalReactivity68_g4963 = ( ReactivityAlpha132_g4963 * lerpResult268_g4963 ); + float4 lerpResult146_g4963 = lerp( ( EmissionGlowTog262_g4963 * FinalReactivity68_g4963 ) , ( EmissionGlow142_g4963 + FinalReactivity68_g4963 ) , (float)saturate( _BlueChReactiveBlendMode )); + float4 ReversedReactivity152_g4963 = ( ( 1.0 - ReactivityAlpha132_g4963 ) * lerpResult268_g4963 ); + int temp_output_157_0_g4963 = ( _BlueChReactiveBlendMode - 1 ); + float4 lerpResult114_g4963 = lerp( lerpResult146_g4963 , ( EmissionGlowTog262_g4963 * ReversedReactivity152_g4963 ) , (float)saturate( temp_output_157_0_g4963 )); + float4 lerpResult164_g4963 = lerp( lerpResult114_g4963 , ( EmissionGlow142_g4963 + ( ReversedReactivity152_g4963 * step( EmissionReactiveBand243_g4963 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4963 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4963 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4978 = IfAudioLinkv2Exists1_g4978(); + float4 lerpResult278_g4963 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4963 * (GlowMaskRGBA174_g4914).ba.x * localIfAudioLinkv2Exists1_g4978 ) , _EnableBlueChannel); + float4 temp_cast_127 = (1.0).xxxx; + float3 temp_cast_128 = (1.0).xxx; + int EmissionGlowZone47_g4979 = _AlphaChGlowZone; + int clampResult8_g4985 = clamp( EmissionGlowZone47_g4979 , 1 , 4 ); + int temp_output_3_0_g4985 = ( clampResult8_g4985 - 1 ); + int Zone16_g4985 = temp_output_3_0_g4985; + float3 localgetThemeData16_g4985 = getThemeData( Zone16_g4985 ); + int Band11_g4986 = 56; + int localIsLumaActive11_g4986 = IsLumaActive11_g4986( Band11_g4986 ); + int temp_output_14_0_g4985 = localIsLumaActive11_g4986; + int lerpResult15_g4985 = lerp( temp_output_3_0_g4985 , ( 63 - temp_output_3_0_g4985 ) , (float)temp_output_14_0_g4985); + int Band2_g4985 = lerpResult15_g4985; + int Delay2_g4985 = 0; + float3 localLumaGlowData2_g4985 = LumaGlowData2_g4985( Band2_g4985 , Delay2_g4985 ); + float3 lerpResult17_g4985 = lerp( ( localgetThemeData16_g4985 * localLumaGlowData2_g4985 ) , localLumaGlowData2_g4985 , (float)temp_output_14_0_g4985); + int temp_output_21_0_g4979 = saturate( EmissionGlowZone47_g4979 ); + float3 lerpResult20_g4979 = lerp( temp_cast_128 , lerpResult17_g4985 , (float)temp_output_21_0_g4979); + float3 temp_cast_132 = (1.0).xxx; + int clampResult8_g4987 = clamp( EmissionGlowZone47_g4979 , 1 , 4 ); + int temp_output_3_0_g4987 = ( clampResult8_g4987 - 1 ); + int Zone15_g4987 = temp_output_3_0_g4987; + float3 localgetThemeData15_g4987 = getThemeData( Zone15_g4987 ); + int Band11_g4988 = 56; + int localIsLumaActive11_g4988 = IsLumaActive11_g4988( Band11_g4988 ); + int temp_output_13_0_g4987 = localIsLumaActive11_g4988; + int lerpResult14_g4987 = lerp( temp_output_3_0_g4987 , ( 63 - temp_output_3_0_g4987 ) , (float)temp_output_13_0_g4987); + int Band11_g4987 = lerpResult14_g4987; + float cos6_g4979 = cos( radians( _AlphaChGlowPulseDir ) ); + float sin6_g4979 = sin( radians( _AlphaChGlowPulseDir ) ); + float2 rotator6_g4979 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4979 , -sin6_g4979 , sin6_g4979 , cos6_g4979 )) + float2( 0.5,0.5 ); + int Band6_g4992 = _AlphaChGlowAnimationBand; + int Mode6_g4992 = ( ( _AlphaChGlowAnimationMode * 2 ) + _AlphaChGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4992 = AudioLinkDecodeDataAsUInt6_g4992( Band6_g4992 , Mode6_g4992 ); + float localGetLocalTime2_g4993 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4979 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4992 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4993 , (float)saturate( ( _AlphaChGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4979 = ( _AlphaChGlowAnimationStrength * lerpResult206_g4979 * step( _AlphaChGlowAnimationBand , 9 ) ); + float x13_g4979 = ( ( rotator6_g4979.x * _AlphaChGlowPulseScale ) + _AlphaChGlowPulseOffset + EmissionGlowAnimation195_g4979 ); + float y13_g4979 = 127.0; + float localglslmod13_g4979 = glslmod13_g4979( x13_g4979 , y13_g4979 ); + float2 CenteredUV15_g4981 = ( i.uv_texcoord - _AlphaChGlowRadialCenter ); + float2 break17_g4981 = CenteredUV15_g4981; + float2 appendResult23_g4981 = (float2(( length( CenteredUV15_g4981 ) * _AlphaChGlowPulseScale * 2.0 ) , ( atan2( break17_g4981.x , break17_g4981.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4979 = ( _AlphaChGlowPulseOffset + appendResult23_g4981.x + EmissionGlowAnimation195_g4979 ); + float y12_g4979 = 127.0; + float localglslmod12_g4979 = glslmod12_g4979( x12_g4979 , y12_g4979 ); + int EmissionGlowMode35_g4979 = _AlphaChGlowMode; + int temp_output_37_0_g4979 = ( EmissionGlowMode35_g4979 - 1 ); + float lerpResult5_g4979 = lerp( localglslmod13_g4979 , localglslmod12_g4979 , (float)saturate( temp_output_37_0_g4979 )); + float DirectionalMap106_g4979 = Direction27_g4914; + float lerpResult179_g4979 = lerp( DirectionalMap106_g4979 , ( 1.0 - DirectionalMap106_g4979 ) , (float)saturate( ( EmissionGlowMode35_g4979 - 3 ) )); + float x34_g4979 = ( _AlphaChGlowPulseOffset + ( _AlphaChGlowPulseScale * lerpResult179_g4979 ) + EmissionGlowAnimation195_g4979 ); + float y34_g4979 = 127.0; + float localglslmod34_g4979 = glslmod34_g4979( x34_g4979 , y34_g4979 ); + float lerpResult30_g4979 = lerp( lerpResult5_g4979 , localglslmod34_g4979 , (float)saturate( ( temp_output_37_0_g4979 - 1 ) )); + float EmissionGlowDelay56_g4979 = lerpResult30_g4979; + float Delay11_g4987 = EmissionGlowDelay56_g4979; + float3 localLumaGlowLerp11_g4987 = LumaGlowLerp11_g4987( Band11_g4987 , Delay11_g4987 ); + float3 lerpResult17_g4987 = lerp( ( localgetThemeData15_g4987 * localLumaGlowLerp11_g4987 ) , localLumaGlowLerp11_g4987 , (float)temp_output_13_0_g4987); + float3 lerpResult22_g4979 = lerp( temp_cast_132 , lerpResult17_g4987 , (float)temp_output_21_0_g4979); + float3 lerpResult23_g4979 = lerp( lerpResult20_g4979 , lerpResult22_g4979 , (float)saturate( EmissionGlowMode35_g4979 )); + float4 temp_cast_142 = (1.0).xxxx; + float temp_output_10_0_g4989 = EmissionGlowDelay56_g4979; + float Position1_g4991 = ( temp_output_10_0_g4989 / 127.0 ); + float4 localAudioLinkLerp1_g4991 = AudioLinkLerp1_g4991( Position1_g4991 ); + int clampResult8_g4989 = clamp( ( EmissionGlowZone47_g4979 - 4 ) , 1 , 3 ); + int Band11_g4989 = ( 59 - ( clampResult8_g4989 - 1 ) ); + float Delay11_g4989 = temp_output_10_0_g4989; + float3 localLumaGlowLerp11_g4989 = LumaGlowLerp11_g4989( Band11_g4989 , Delay11_g4989 ); + int Band11_g4990 = 56; + int localIsLumaActive11_g4990 = IsLumaActive11_g4990( Band11_g4990 ); + float4 lerpResult14_g4989 = lerp( localAudioLinkLerp1_g4991 , float4( localLumaGlowLerp11_g4989 , 0.0 ) , (float)localIsLumaActive11_g4990); + float4 lerpResult52_g4979 = lerp( temp_cast_142 , lerpResult14_g4989 , (float)saturate( EmissionGlowZone47_g4979 )); + float4 lerpResult51_g4979 = lerp( float4( lerpResult23_g4979 , 0.0 ) , lerpResult52_g4979 , (float)saturate( ( EmissionGlowZone47_g4979 - 4 ) )); + float4 temp_cast_147 = (_AlphaChGlowMinBrightness).xxxx; + float4 temp_cast_148 = (( _AlphaChGlowMinBrightness + 1.0 )).xxxx; + int temp_output_258_0_g4979 = saturate( EmissionGlowZone47_g4979 ); + float4 EmissionGlow142_g4979 = ( (temp_cast_147 + (lerpResult51_g4979 - float4( 0,0,0,0 )) * (temp_cast_148 - temp_cast_147) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _AlphaChGlowTint * temp_output_258_0_g4979 ); + float4 lerpResult261_g4979 = lerp( temp_cast_127 , EmissionGlow142_g4979 , (float)temp_output_258_0_g4979); + float4 EmissionGlowTog262_g4979 = lerpResult261_g4979; + int EmissionReactiveBand243_g4979 = _AlphaChReactiveBand; + int Band3_g4980 = EmissionReactiveBand243_g4979; + int Delay3_g4980 = 0; + float localAudioLinkData3_g4980 = AudioLinkData3_g4980( Band3_g4980 , Delay3_g4980 ); + int temp_output_64_0_g4979 = step( _AlphaChReactiveBand , 9 ); + float lerpResult66_g4979 = lerp( 1.0 , localAudioLinkData3_g4980 , (float)temp_output_64_0_g4979); + int Band3_g4982 = _AlphaChReactiveBand; + float cos78_g4979 = cos( radians( _AlphaChReactivePulseDir ) ); + float sin78_g4979 = sin( radians( _AlphaChReactivePulseDir ) ); + float2 rotator78_g4979 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4979 , -sin78_g4979 , sin78_g4979 , cos78_g4979 )) + float2( 0.5,0.5 ); + float x96_g4979 = ( ( rotator78_g4979.x * _AlphaChReactivePulseScale ) + _AlphaChReactivePulseOffset ); + float y96_g4979 = 127.0; + float localglslmod96_g4979 = glslmod96_g4979( x96_g4979 , y96_g4979 ); + float2 CenteredUV15_g4983 = ( i.uv_texcoord - _AlphaChReactiveRadialCenter ); + float2 break17_g4983 = CenteredUV15_g4983; + float2 appendResult23_g4983 = (float2(( length( CenteredUV15_g4983 ) * _AlphaChReactivePulseScale * 2.0 ) , ( atan2( break17_g4983.x , break17_g4983.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4979 = ( _AlphaChReactivePulseOffset + appendResult23_g4983.x ); + float y97_g4979 = 127.0; + float localglslmod97_g4979 = glslmod97_g4979( x97_g4979 , y97_g4979 ); + int EmissionReactiveMode99_g4979 = _AlphaChReactiveMode; + int temp_output_90_0_g4979 = ( EmissionReactiveMode99_g4979 - 1 ); + float lerpResult77_g4979 = lerp( localglslmod96_g4979 , localglslmod97_g4979 , (float)saturate( temp_output_90_0_g4979 )); + float lerpResult174_g4979 = lerp( DirectionalMap106_g4979 , ( 1.0 - DirectionalMap106_g4979 ) , (float)saturate( ( EmissionReactiveMode99_g4979 - 3 ) )); + float x98_g4979 = ( _AlphaChReactivePulseOffset + ( _AlphaChReactivePulseScale * lerpResult174_g4979 ) ); + float y98_g4979 = 127.0; + float localglslmod98_g4979 = glslmod98_g4979( x98_g4979 , y98_g4979 ); + float lerpResult87_g4979 = lerp( lerpResult77_g4979 , localglslmod98_g4979 , (float)saturate( ( temp_output_90_0_g4979 - 1 ) )); + float Delay3_g4982 = lerpResult87_g4979; + float localAudioLinkLerp3_g4982 = AudioLinkLerp3_g4982( Band3_g4982 , Delay3_g4982 ); + float lerpResult102_g4979 = lerp( 1.0 , localAudioLinkLerp3_g4982 , (float)temp_output_64_0_g4979); + float lerpResult103_g4979 = lerp( lerpResult66_g4979 , lerpResult102_g4979 , (float)saturate( EmissionReactiveMode99_g4979 )); + int Band3_g4984 = _AlphaChReactiveBand; + float FilteredAmount3_g4984 = ( ( 1.0 - _AlphaChReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4984 = AudioLinkLerp3_g4984( Band3_g4984 , FilteredAmount3_g4984 ); + float lerpResult168_g4979 = lerp( 1.0 , localAudioLinkLerp3_g4984 , (float)temp_output_64_0_g4979); + float lerpResult172_g4979 = lerp( lerpResult103_g4979 , lerpResult168_g4979 , (float)saturate( ( EmissionReactiveMode99_g4979 - 4 ) )); + float ReactivityAlpha132_g4979 = (_AlphaChReactiveMinBrightness + (lerpResult172_g4979 - 0.0) * (( _AlphaChReactiveMinBrightness + 1.0 ) - _AlphaChReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_159 = (1.0).xxxx; + float4 lerpResult268_g4979 = lerp( temp_cast_159 , _AlphaChReactiveTint , (float)step( EmissionReactiveBand243_g4979 , 9 )); + float4 FinalReactivity68_g4979 = ( ReactivityAlpha132_g4979 * lerpResult268_g4979 ); + float4 lerpResult146_g4979 = lerp( ( EmissionGlowTog262_g4979 * FinalReactivity68_g4979 ) , ( EmissionGlow142_g4979 + FinalReactivity68_g4979 ) , (float)saturate( _AlphaChReactiveBlendMode )); + float4 ReversedReactivity152_g4979 = ( ( 1.0 - ReactivityAlpha132_g4979 ) * lerpResult268_g4979 ); + int temp_output_157_0_g4979 = ( _AlphaChReactiveBlendMode - 1 ); + float4 lerpResult114_g4979 = lerp( lerpResult146_g4979 , ( EmissionGlowTog262_g4979 * ReversedReactivity152_g4979 ) , (float)saturate( temp_output_157_0_g4979 )); + float4 lerpResult164_g4979 = lerp( lerpResult114_g4979 , ( EmissionGlow142_g4979 + ( ReversedReactivity152_g4979 * step( EmissionReactiveBand243_g4979 , 9 ) ) ) , (float)max( saturate( ( temp_output_157_0_g4979 - 1 ) ) , ( 1.0 - step( EmissionReactiveBand243_g4979 , 9 ) ) )); + float localIfAudioLinkv2Exists1_g4994 = IfAudioLinkv2Exists1_g4994(); + float4 lerpResult278_g4979 = lerp( float4( 0,0,0,0 ) , ( lerpResult164_g4979 * (GlowMaskRGBA174_g4914).a * localIfAudioLinkv2Exists1_g4994 ) , _EnableAlphaChannel); + float2 uv_EmissionMap = i.uv_texcoord * _EmissionMap_ST.xy + _EmissionMap_ST.zw; + float2 temp_cast_168 = (1.0).xx; + float2 lerpResult859 = lerp( temp_cast_168 , ( _EmissionPanSpeed * _Time.y ) , _EmissionPan); + float2 uv_EffectMask = i.uv_texcoord * _EffectMask_ST.xy + _EffectMask_ST.zw; + float2 temp_cast_169 = (1.0).xx; + float2 lerpResult906 = lerp( temp_cast_169 , ( _EmissionMaskPanSpeed * _Time.y ) , _EmissionMaskPan); + float4 tex2DNode866 = tex2D( _EffectMask, ( uv_EffectMask + lerpResult906 ) ); + int temp_output_18_0_g3967 = _EmissionMaskingChannel; + float lerpResult1_g3967 = lerp( 1.0 , tex2DNode866.r , (float)saturate( temp_output_18_0_g3967 )); + int temp_output_5_0_g3967 = ( temp_output_18_0_g3967 - 1 ); + float lerpResult12_g3967 = lerp( lerpResult1_g3967 , tex2DNode866.g , (float)saturate( temp_output_5_0_g3967 )); + int temp_output_6_0_g3967 = ( temp_output_5_0_g3967 - 1 ); + float lerpResult10_g3967 = lerp( lerpResult12_g3967 , tex2DNode866.b , (float)saturate( temp_output_6_0_g3967 )); + float lerpResult11_g3967 = lerp( lerpResult10_g3967 , tex2DNode866.a , (float)saturate( ( temp_output_6_0_g3967 - 1 ) )); + #ifdef _EMISSION + float4 staticSwitch1062 = ( _EmissionColor * tex2D( _EmissionMap, ( uv_EmissionMap + lerpResult859 ) ) * lerpResult11_g3967 ); + #else + float4 staticSwitch1062 = float4( 0,0,0,0 ); + #endif + float4 EmissionRGBA786 = staticSwitch1062; + float4 temp_output_211_0_g4915 = EmissionRGBA786; + float4 temp_cast_175 = (1.0).xxxx; + float3 temp_cast_176 = (1.0).xxx; + int EmissionGlowZone47_g4915 = _EmissionGlowZone; + int clampResult8_g4926 = clamp( EmissionGlowZone47_g4915 , 1 , 4 ); + int temp_output_3_0_g4926 = ( clampResult8_g4926 - 1 ); + int Zone16_g4926 = temp_output_3_0_g4926; + float3 localgetThemeData16_g4926 = getThemeData( Zone16_g4926 ); + int Band11_g4927 = 56; + int localIsLumaActive11_g4927 = IsLumaActive11_g4927( Band11_g4927 ); + int temp_output_14_0_g4926 = localIsLumaActive11_g4927; + int lerpResult15_g4926 = lerp( temp_output_3_0_g4926 , ( 63 - temp_output_3_0_g4926 ) , (float)temp_output_14_0_g4926); + int Band2_g4926 = lerpResult15_g4926; + int Delay2_g4926 = 0; + float3 localLumaGlowData2_g4926 = LumaGlowData2_g4926( Band2_g4926 , Delay2_g4926 ); + float3 lerpResult17_g4926 = lerp( ( localgetThemeData16_g4926 * localLumaGlowData2_g4926 ) , localLumaGlowData2_g4926 , (float)temp_output_14_0_g4926); + int temp_output_21_0_g4915 = saturate( EmissionGlowZone47_g4915 ); + float3 lerpResult20_g4915 = lerp( temp_cast_176 , lerpResult17_g4926 , (float)temp_output_21_0_g4915); + float3 temp_cast_180 = (1.0).xxx; + int clampResult8_g4928 = clamp( EmissionGlowZone47_g4915 , 1 , 4 ); + int temp_output_3_0_g4928 = ( clampResult8_g4928 - 1 ); + int Zone15_g4928 = temp_output_3_0_g4928; + float3 localgetThemeData15_g4928 = getThemeData( Zone15_g4928 ); + int Band11_g4929 = 56; + int localIsLumaActive11_g4929 = IsLumaActive11_g4929( Band11_g4929 ); + int temp_output_13_0_g4928 = localIsLumaActive11_g4929; + int lerpResult14_g4928 = lerp( temp_output_3_0_g4928 , ( 63 - temp_output_3_0_g4928 ) , (float)temp_output_13_0_g4928); + int Band11_g4928 = lerpResult14_g4928; + float cos6_g4915 = cos( radians( _EmissionGlowPulseDir ) ); + float sin6_g4915 = sin( radians( _EmissionGlowPulseDir ) ); + float2 rotator6_g4915 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos6_g4915 , -sin6_g4915 , sin6_g4915 , cos6_g4915 )) + float2( 0.5,0.5 ); + int Band6_g4921 = _EmissionGlowAnimationBand; + int Mode6_g4921 = ( ( _EmissionGlowAnimationMode * 2 ) + _EmissionGlowAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4921 = AudioLinkDecodeDataAsUInt6_g4921( Band6_g4921 , Mode6_g4921 ); + float localGetLocalTime2_g4922 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_LOCAL_TIME ) ); + float lerpResult206_g4915 = lerp( ( ( localAudioLinkDecodeDataAsUInt6_g4921 % 628319 ) / 100000.0 ) , localGetLocalTime2_g4922 , (float)saturate( ( _EmissionGlowAnimationMode - 3 ) )); + float EmissionGlowAnimation195_g4915 = ( _EmissionGlowAnimationStrength * lerpResult206_g4915 * step( _EmissionGlowAnimationBand , 9 ) ); + float x13_g4915 = ( ( rotator6_g4915.x * _EmissionGlowPulseScale ) + _EmissionGlowPulseOffset + EmissionGlowAnimation195_g4915 ); + float y13_g4915 = 127.0; + float localglslmod13_g4915 = glslmod13_g4915( x13_g4915 , y13_g4915 ); + float2 CenteredUV15_g4917 = ( i.uv_texcoord - _EmissionGlowRadialCenter ); + float2 break17_g4917 = CenteredUV15_g4917; + float2 appendResult23_g4917 = (float2(( length( CenteredUV15_g4917 ) * _EmissionGlowPulseScale * 2.0 ) , ( atan2( break17_g4917.x , break17_g4917.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x12_g4915 = ( _EmissionGlowPulseOffset + appendResult23_g4917.x + EmissionGlowAnimation195_g4915 ); + float y12_g4915 = 127.0; + float localglslmod12_g4915 = glslmod12_g4915( x12_g4915 , y12_g4915 ); + int EmissionGlowMode35_g4915 = _EmissionGlowMode; + int temp_output_37_0_g4915 = ( EmissionGlowMode35_g4915 - 1 ); + float lerpResult5_g4915 = lerp( localglslmod13_g4915 , localglslmod12_g4915 , (float)saturate( temp_output_37_0_g4915 )); + float DirectionalMap106_g4915 = Direction27_g4914; + float lerpResult179_g4915 = lerp( DirectionalMap106_g4915 , ( 1.0 - DirectionalMap106_g4915 ) , (float)saturate( ( EmissionGlowMode35_g4915 - 3 ) )); + float x34_g4915 = ( _EmissionGlowPulseOffset + ( _EmissionGlowPulseScale * lerpResult179_g4915 ) + EmissionGlowAnimation195_g4915 ); + float y34_g4915 = 127.0; + float localglslmod34_g4915 = glslmod34_g4915( x34_g4915 , y34_g4915 ); + float lerpResult30_g4915 = lerp( lerpResult5_g4915 , localglslmod34_g4915 , (float)saturate( ( temp_output_37_0_g4915 - 1 ) )); + float EmissionGlowDelay56_g4915 = lerpResult30_g4915; + float Delay11_g4928 = EmissionGlowDelay56_g4915; + float3 localLumaGlowLerp11_g4928 = LumaGlowLerp11_g4928( Band11_g4928 , Delay11_g4928 ); + float3 lerpResult17_g4928 = lerp( ( localgetThemeData15_g4928 * localLumaGlowLerp11_g4928 ) , localLumaGlowLerp11_g4928 , (float)temp_output_13_0_g4928); + float3 lerpResult22_g4915 = lerp( temp_cast_180 , lerpResult17_g4928 , (float)temp_output_21_0_g4915); + float3 lerpResult23_g4915 = lerp( lerpResult20_g4915 , lerpResult22_g4915 , (float)saturate( EmissionGlowMode35_g4915 )); + float4 temp_cast_190 = (1.0).xxxx; + float temp_output_10_0_g4923 = EmissionGlowDelay56_g4915; + float Position1_g4925 = ( temp_output_10_0_g4923 / 127.0 ); + float4 localAudioLinkLerp1_g4925 = AudioLinkLerp1_g4925( Position1_g4925 ); + int clampResult8_g4923 = clamp( ( EmissionGlowZone47_g4915 - 4 ) , 1 , 3 ); + int Band11_g4923 = ( 59 - ( clampResult8_g4923 - 1 ) ); + float Delay11_g4923 = temp_output_10_0_g4923; + float3 localLumaGlowLerp11_g4923 = LumaGlowLerp11_g4923( Band11_g4923 , Delay11_g4923 ); + int Band11_g4924 = 56; + int localIsLumaActive11_g4924 = IsLumaActive11_g4924( Band11_g4924 ); + float4 lerpResult14_g4923 = lerp( localAudioLinkLerp1_g4925 , float4( localLumaGlowLerp11_g4923 , 0.0 ) , (float)localIsLumaActive11_g4924); + float4 lerpResult52_g4915 = lerp( temp_cast_190 , lerpResult14_g4923 , (float)saturate( EmissionGlowZone47_g4915 )); + float4 lerpResult51_g4915 = lerp( float4( lerpResult23_g4915 , 0.0 ) , lerpResult52_g4915 , (float)saturate( ( EmissionGlowZone47_g4915 - 4 ) )); + float4 temp_cast_195 = (_EmissionGlowMinBrightness).xxxx; + float4 temp_cast_196 = (( _EmissionGlowMinBrightness + 1.0 )).xxxx; + int temp_output_245_0_g4915 = saturate( EmissionGlowZone47_g4915 ); + float4 EmissionGlow142_g4915 = ( (temp_cast_195 + (lerpResult51_g4915 - float4( 0,0,0,0 )) * (temp_cast_196 - temp_cast_195) / (float4( 1,1,1,1 ) - float4( 0,0,0,0 ))) * _EmissionGlowTint * temp_output_245_0_g4915 ); + float4 lerpResult248_g4915 = lerp( temp_cast_175 , EmissionGlow142_g4915 , (float)temp_output_245_0_g4915); + float4 EmissionGlowTog249_g4915 = lerpResult248_g4915; + int EmissionReactiveBand254_g4915 = _EmissionReactiveBand; + int Band3_g4916 = EmissionReactiveBand254_g4915; + int Delay3_g4916 = 0; + float localAudioLinkData3_g4916 = AudioLinkData3_g4916( Band3_g4916 , Delay3_g4916 ); + int temp_output_64_0_g4915 = step( _EmissionReactiveBand , 9 ); + float lerpResult66_g4915 = lerp( 1.0 , localAudioLinkData3_g4916 , (float)temp_output_64_0_g4915); + int Band3_g4918 = _EmissionReactiveBand; + float cos78_g4915 = cos( radians( _EmissionReactivePulseDir ) ); + float sin78_g4915 = sin( radians( _EmissionReactivePulseDir ) ); + float2 rotator78_g4915 = mul( i.uv_texcoord - float2( 0.5,0.5 ) , float2x2( cos78_g4915 , -sin78_g4915 , sin78_g4915 , cos78_g4915 )) + float2( 0.5,0.5 ); + float x96_g4915 = ( ( rotator78_g4915.x * _EmissionReactivePulseScale ) + _EmissionReactivePulseOffset ); + float y96_g4915 = 127.0; + float localglslmod96_g4915 = glslmod96_g4915( x96_g4915 , y96_g4915 ); + float2 CenteredUV15_g4919 = ( i.uv_texcoord - _EmissionReactiveRadialCenter ); + float2 break17_g4919 = CenteredUV15_g4919; + float2 appendResult23_g4919 = (float2(( length( CenteredUV15_g4919 ) * _EmissionReactivePulseScale * 2.0 ) , ( atan2( break17_g4919.x , break17_g4919.y ) * ( 1.0 / 6.28318548202515 ) * 1.0 ))); + float x97_g4915 = ( _EmissionReactivePulseOffset + appendResult23_g4919.x ); + float y97_g4915 = 127.0; + float localglslmod97_g4915 = glslmod97_g4915( x97_g4915 , y97_g4915 ); + int EmissionReactiveMode99_g4915 = _EmissionReactiveMode; + int temp_output_90_0_g4915 = ( EmissionReactiveMode99_g4915 - 1 ); + float lerpResult77_g4915 = lerp( localglslmod96_g4915 , localglslmod97_g4915 , (float)saturate( temp_output_90_0_g4915 )); + float lerpResult174_g4915 = lerp( DirectionalMap106_g4915 , ( 1.0 - DirectionalMap106_g4915 ) , (float)saturate( ( EmissionReactiveMode99_g4915 - 3 ) )); + float x98_g4915 = ( _EmissionReactivePulseOffset + ( _EmissionReactivePulseScale * lerpResult174_g4915 ) ); + float y98_g4915 = 127.0; + float localglslmod98_g4915 = glslmod98_g4915( x98_g4915 , y98_g4915 ); + float lerpResult87_g4915 = lerp( lerpResult77_g4915 , localglslmod98_g4915 , (float)saturate( ( temp_output_90_0_g4915 - 1 ) )); + float Delay3_g4918 = lerpResult87_g4915; + float localAudioLinkLerp3_g4918 = AudioLinkLerp3_g4918( Band3_g4918 , Delay3_g4918 ); + float lerpResult102_g4915 = lerp( 1.0 , localAudioLinkLerp3_g4918 , (float)temp_output_64_0_g4915); + float lerpResult103_g4915 = lerp( lerpResult66_g4915 , lerpResult102_g4915 , (float)saturate( EmissionReactiveMode99_g4915 )); + int Band3_g4920 = _EmissionReactiveBand; + float FilteredAmount3_g4920 = ( ( 1.0 - _EmissionReactiveGlobalSmoothing ) * 15.0 ); + float localAudioLinkLerp3_g4920 = AudioLinkLerp3_g4920( Band3_g4920 , FilteredAmount3_g4920 ); + float lerpResult168_g4915 = lerp( 1.0 , localAudioLinkLerp3_g4920 , (float)temp_output_64_0_g4915); + float lerpResult172_g4915 = lerp( lerpResult103_g4915 , lerpResult168_g4915 , (float)saturate( ( EmissionReactiveMode99_g4915 - 4 ) )); + float ReactivityAlpha132_g4915 = (_EmissionReactiveMinBrightness + (lerpResult172_g4915 - 0.0) * (( _EmissionReactiveMinBrightness + 1.0 ) - _EmissionReactiveMinBrightness) / (1.0 - 0.0)); + float4 temp_cast_207 = (1.0).xxxx; + float4 lerpResult265_g4915 = lerp( temp_cast_207 , _EmissionReactiveTint , (float)step( EmissionReactiveBand254_g4915 , 9 )); + float4 FinalReactivity68_g4915 = ( ReactivityAlpha132_g4915 * lerpResult265_g4915 ); + float4 lerpResult146_g4915 = lerp( ( EmissionGlowTog249_g4915 * FinalReactivity68_g4915 ) , ( EmissionGlow142_g4915 + FinalReactivity68_g4915 ) , (float)saturate( _EmissionReactiveBlendMode )); + float4 ReversedReactivity152_g4915 = ( ( 1.0 - ReactivityAlpha132_g4915 ) * lerpResult265_g4915 ); + int temp_output_157_0_g4915 = ( _EmissionReactiveBlendMode - 1 ); + float4 lerpResult114_g4915 = lerp( lerpResult146_g4915 , ( EmissionGlowTog249_g4915 * ReversedReactivity152_g4915 ) , (float)saturate( temp_output_157_0_g4915 )); + float4 lerpResult164_g4915 = lerp( lerpResult114_g4915 , ( EmissionGlow142_g4915 + ( ReversedReactivity152_g4915 * step( EmissionReactiveBand254_g4915 , 9 ) ) ) , (float)saturate( ( temp_output_157_0_g4915 - 1 ) )); + float grayscale214_g4915 = Luminance(temp_output_211_0_g4915.rgb); + float smoothstepResult215_g4915 = smoothstep( 0.0 , 0.5 , grayscale214_g4915); + int ReactiveBlendmode272_g4915 = _EmissionReactiveBlendMode; + float x270_g4915 = (float)ReactiveBlendmode272_g4915; + float y270_g4915 = 2.0; + float localglslmod270_g4915 = glslmod270_g4915( x270_g4915 , y270_g4915 ); + float lerpResult271_g4915 = lerp( localglslmod270_g4915 , (float)_EmissionGlowBlendMode , (float)saturate( EmissionGlowZone47_g4915 )); + float4 lerpResult212_g4915 = lerp( ( lerpResult164_g4915 * temp_output_211_0_g4915 ) , ( ( lerpResult164_g4915 * smoothstepResult215_g4915 ) + temp_output_211_0_g4915 ) , lerpResult271_g4915); + float localIfAudioLinkv2Exists1_g4930 = IfAudioLinkv2Exists1_g4930(); + float4 lerpResult281_g4915 = lerp( temp_output_211_0_g4915 , lerpResult212_g4915 , localIfAudioLinkv2Exists1_g4930); + #ifdef _EMISSION + float4 staticSwitch284_g4915 = lerpResult281_g4915; + #else + float4 staticSwitch284_g4915 = float4( 0,0,0,0 ); + #endif + float4 EmissionGlow791 = ( ( lerpResult280_g4931 + lerpResult276_g4947 + lerpResult278_g4963 + lerpResult278_g4979 ) + staticSwitch284_g4915 ); + float4 EmissionRGBA135_g4905 = EmissionGlow791; + float4 EffectMaskRGBA871 = tex2D( _EffectMask, uv_EffectMask ); + float4 break57_g4905 = EffectMaskRGBA871; + int temp_output_18_0_g4912 = _IridescentMaskingChannel; + float lerpResult1_g4912 = lerp( 1.0 , break57_g4905.r , (float)saturate( temp_output_18_0_g4912 )); + int temp_output_5_0_g4912 = ( temp_output_18_0_g4912 - 1 ); + float lerpResult12_g4912 = lerp( lerpResult1_g4912 , break57_g4905.g , (float)saturate( temp_output_5_0_g4912 )); + int temp_output_6_0_g4912 = ( temp_output_5_0_g4912 - 1 ); + float lerpResult10_g4912 = lerp( lerpResult12_g4912 , break57_g4905.b , (float)saturate( temp_output_6_0_g4912 )); + float lerpResult11_g4912 = lerp( lerpResult10_g4912 , break57_g4905.a , (float)saturate( ( temp_output_6_0_g4912 - 1 ) )); + float temp_output_55_0_g4905 = lerpResult11_g4912; + int Band6_g4906 = _IridescentALAnimationBand; + int Mode6_g4906 = ( ( _IridescentALAnimationMode * 2 ) + _IridescentALAnimationSpeed ); + int localAudioLinkDecodeDataAsUInt6_g4906 = AudioLinkDecodeDataAsUInt6_g4906( Band6_g4906 , Mode6_g4906 ); + float localGetNetworkTime4_g4908 = ( AudioLinkDecodeDataAsSeconds( ALPASS_GENERALVU_NETWORK_TIME ) ); + float localIfAudioLinkv2Exists1_g4909 = IfAudioLinkv2Exists1_g4909(); + float lerpResult118_g4905 = lerp( _Time.y , localGetNetworkTime4_g4908 , localIfAudioLinkv2Exists1_g4909); + float lerpResult121_g4905 = lerp( ( ( ( localAudioLinkDecodeDataAsUInt6_g4906 % 628319 ) / 100000.0 ) * step( _IridescentALAnimationBand , 9 ) ) , lerpResult118_g4905 , (float)saturate( ( _IridescentALAnimationMode - 3 ) )); + float EmissionGlowAnimation62_g4905 = ( _IridescentALAnimationStrength * lerpResult121_g4905 ); + float3 Normal243 = UnpackScaleNormal( tex2D( _BumpMap, uv_MainTex ), ( _BumpScale * 1.25 ) ); + float3 temp_output_21_0_g4905 = Normal243; + float3 ase_worldPos = i.worldPos; + float3 ase_worldViewDir = normalize( UnityWorldSpaceViewDir( ase_worldPos ) ); + float3 normalizeResult4_g4905 = normalize( ( WorldReflectionVector( i , temp_output_21_0_g4905 ) + ase_worldViewDir ) ); + float dotResult18_g4905 = dot( normalizeResult4_g4905 , ase_worldViewDir ); + float temp_output_197_0_g4905 = ( dotResult18_g4905 * 0.5 ); + float3 normalizeResult592 = normalize( float3(1,1,2) ); + #if defined(LIGHTMAP_ON) && UNITY_VERSION < 560 //aseld + float3 ase_worldlightDir = 0; + #else //aseld + float3 ase_worldlightDir = Unity_SafeNormalize( UnityWorldSpaceLightDir( ase_worldPos ) ); + #endif //aseld + int localLightExists577 = LightExists577(); + #if defined(LIGHTMAP_ON) && ( UNITY_VERSION < 560 || ( defined(LIGHTMAP_SHADOW_MIXING) && !defined(SHADOWS_SHADOWMASK) && defined(SHADOWS_SCREEN) ) )//aselc + float4 ase_lightColor = 0; + #else //aselc + float4 ase_lightColor = _LightColor0; + #endif //aselc + float3 break569 = ase_lightColor.rgb; + #ifdef UNITY_PASS_FORWARDBASE + float staticSwitch575 = ( 1.0 - step( max( max( break569.x , break569.y ) , break569.z ) , 0.001 ) ); + #else + float staticSwitch575 = 1.0; + #endif + float temp_output_576_0 = ( localLightExists577 * staticSwitch575 ); + float3 lerpResult584 = lerp( normalizeResult592 , ase_worldlightDir , temp_output_576_0); + float3 lightDir32 = lerpResult584; + float3 temp_output_165_0_g4905 = lightDir32; + float3 normalizeResult168_g4905 = normalize( ( temp_output_165_0_g4905 + ase_worldViewDir ) ); + float3 wNorm170_g4905 = temp_output_21_0_g4905; + float3 newWorldNormal169_g4905 = (WorldNormalVector( i , wNorm170_g4905 )); + float dotResult172_g4905 = dot( normalizeResult168_g4905 , newWorldNormal169_g4905 ); + float Specular209_g4905 = max( dotResult172_g4905 , 0.0 ); + float dotResult177_g4905 = dot( temp_output_165_0_g4905 , newWorldNormal169_g4905 ); + float temp_output_182_0_g4905 = max( dotResult177_g4905 , 0.0 ); + float smoothstepResult194_g4905 = smoothstep( -0.125 , 0.5 , temp_output_182_0_g4905); + float lerpResult630 = lerp( (1*0.5 + 0.5) , 1 , _WorldSpaceLightPos0.w); + float lerpResult580 = lerp( 1.0 , lerpResult630 , temp_output_576_0); + float Attenuation533 = lerpResult580; + float temp_output_208_0_g4905 = ( smoothstepResult194_g4905 * Attenuation533 ); + float lerpResult198_g4905 = lerp( temp_output_197_0_g4905 , Specular209_g4905 , temp_output_208_0_g4905); + float lerpResult175_g4905 = lerp( dotResult18_g4905 , lerpResult198_g4905 , (float)saturate( _IridescentMode2 )); + float lerpResult192_g4905 = lerp( temp_output_197_0_g4905 , temp_output_182_0_g4905 , temp_output_208_0_g4905); + float lerpResult179_g4905 = lerp( lerpResult175_g4905 , lerpResult192_g4905 , (float)saturate( ( _IridescentMode2 - 1 ) )); + float temp_output_211_0_g4905 = ( ( lerpResult179_g4905 * _IridescentScale ) + _IridescentOffset ); + float temp_output_34_0_g4905 = ( max( abs( sin( ( EmissionGlowAnimation62_g4905 + temp_output_211_0_g4905 ) ) ) , 0.0 ) * 2.0 ); + float temp_output_2_0_g4907 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 2.5 ) * temp_output_34_0_g4905 ) , 2.0 ) ); + float4 lerpResult26_g4905 = lerp( _IridescentEmissionColor1 , _IridescentEmissionColor2 , ( 1.0 - temp_output_2_0_g4907 )); + float temp_output_2_0_g4910 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 4.0 ) * max( ( temp_output_34_0_g4905 - 1.0 ) , 0.0 ) ) , 2.0 ) ); + float4 lerpResult32_g4905 = lerp( lerpResult26_g4905 , _IridescentEmissionColor3 , ( 1.0 - temp_output_2_0_g4910 )); + float Intensity132_g4905 = _IridescentIntensity; + float4 temp_output_110_0_g4905 = ( lerpResult32_g4905 * Intensity132_g4905 ); + float4 lerpResult46_g4905 = lerp( temp_output_110_0_g4905 , ( temp_output_110_0_g4905 * EmissionRGBA135_g4905 ) , (float)saturate( _IridescentEmissionMode )); + float AnimatedDot130_g4905 = ( temp_output_211_0_g4905 + EmissionGlowAnimation62_g4905 ); + float3 hsvTorgb3_g4911 = HSVToRGB( float3(AnimatedDot130_g4905,1.0,1.0) ); + int temp_output_52_0_g4905 = ( _IridescentEmissionMode - 1 ); + float4 lerpResult54_g4905 = lerp( lerpResult46_g4905 , float4( ( hsvTorgb3_g4911 * Intensity132_g4905 ) , 0.0 ) , (float)saturate( temp_output_52_0_g4905 )); + int temp_output_90_0_g4905 = ( temp_output_52_0_g4905 - 1 ); + int temp_output_91_0_g4905 = saturate( temp_output_90_0_g4905 ); + float4 lerpResult89_g4905 = lerp( lerpResult54_g4905 , EmissionRGBA135_g4905 , (float)temp_output_91_0_g4905); + float4 lerpResult82_g4905 = lerp( EmissionRGBA135_g4905 , ( temp_output_55_0_g4905 * lerpResult89_g4905 ) , temp_output_55_0_g4905); + #ifdef UNITY_PASS_FORWARDBASE + float4 staticSwitch108_g4905 = lerpResult82_g4905; + #else + float4 staticSwitch108_g4905 = float4( 0,0,0,0 ); + #endif + float3 ase_worldNormal = WorldNormalVector( i, float3( 0, 0, 1 ) ); + float3 ase_vertexNormal = mul( unity_WorldToObject, float4( ase_worldNormal, 0 ) ); + ase_vertexNormal = normalize( ase_vertexNormal ); + float3 objToWorldDir101 = mul( unity_ObjectToWorld, float4( ase_vertexNormal, 0 ) ).xyz; + float3 ase_worldTangent = WorldNormalVector( i, float3( 1, 0, 0 ) ); + float3 ase_worldBitangent = WorldNormalVector( i, float3( 0, 1, 0 ) ); + float3x3 ase_tangentToWorldFast = float3x3(ase_worldTangent.x,ase_worldBitangent.x,ase_worldNormal.x,ase_worldTangent.y,ase_worldBitangent.y,ase_worldNormal.y,ase_worldTangent.z,ase_worldBitangent.z,ase_worldNormal.z); + float3 tangentToWorldDir257 = mul( ase_tangentToWorldFast, Normal243 ); + float3 normalizeResult259 = normalize( ( objToWorldDir101 + tangentToWorldDir257 ) ); + float3 worldNorm31 = normalizeResult259; + float3 viewDir29 = ase_worldViewDir; + float3 normalizeResult13 = normalize( ( viewDir29 + lightDir32 ) ); + float3 halfDir25 = normalizeResult13; + float dotResult50 = dot( worldNorm31 , halfDir25 ); + float NdotH38 = max( dotResult50 , 0.0 ); + float nh413 = NdotH38; + float4 tex2DNode246 = tex2D( _MetallicGlossMap, uv_MainTex ); + float lerpResult255 = lerp( _Glossiness , ( tex2DNode246.a * _GlossMapScale ) , step( 10.0 , max( _MetallicGlossMap_TexelSize.z , _MetallicGlossMap_TexelSize.w ) )); + float3 WorldNormal848 = worldNorm31; + float localgeometricRoughness848 = geometricRoughness( WorldNormal848 ); + float smoothstepResult1143 = smoothstep( 0.4 , 1.0 , lerpResult255); + float SmoothnessColorMult1144 = smoothstepResult1143; + float SpecularAntiAlias851 = ( 1.0 - ( localgeometricRoughness848 * SmoothnessColorMult1144 ) ); + float Smoothness90 = min( lerpResult255 , SpecularAntiAlias851 ); + float temp_output_47_0 = ( 1.0 - saturate( min( (0.3 + (Smoothness90 - 0.0) * (1.0 - 0.3) / (1.0 - 0.0)) , 0.999 ) ) ); + float roughness17 = temp_output_47_0; + float roughness413 = roughness17; + float localggx413 = ggx( nh413 , roughness413 ); + float GGXTerm1132 = localggx413; + float temp_output_214_0_g4905 = GGXTerm1132; + int temp_output_225_0_g4905 = saturate( _IridescenceLightMode ); + float lerpResult218_g4905 = lerp( 0.0 , temp_output_214_0_g4905 , (float)temp_output_225_0_g4905); + float dotResult544 = dot( viewDir29 , worldNorm31 ); + float temp_output_2_0_g1 = pow( ( 1.0 / 2.71828 ) , pow( ( -( 1.0 - 20.0 ) * max( ( dotResult544 + -0.2 ) , 0.0 ) ) , 2.0 ) ); + float temp_output_547_0 = temp_output_2_0_g1; + float RimAlpha1134 = temp_output_547_0; + float temp_output_215_0_g4905 = RimAlpha1134; + int temp_output_220_0_g4905 = ( _IridescenceLightMode - 1 ); + float lerpResult219_g4905 = lerp( lerpResult218_g4905 , temp_output_215_0_g4905 , (float)saturate( temp_output_220_0_g4905 )); + float lerpResult222_g4905 = lerp( lerpResult219_g4905 , max( temp_output_214_0_g4905 , temp_output_215_0_g4905 ) , (float)saturate( ( temp_output_220_0_g4905 - 1 ) )); + float Atten232_g4905 = temp_output_208_0_g4905; + float temp_output_233_0_g4905 = ( lerpResult222_g4905 * Atten232_g4905 ); + float4 lerpResult229_g4905 = lerp( staticSwitch108_g4905 , ( staticSwitch108_g4905 * temp_output_233_0_g4905 ) , (float)temp_output_225_0_g4905); + float4 lerpResult246_g4905 = lerp( EmissionRGBA135_g4905 , lerpResult229_g4905 , _Enableiridescence); + float4 FinalEmission1029 = lerpResult246_g4905; + o.Emission = FinalEmission1029.rgb; + } + + ENDCG + CGPROGRAM + #pragma surface surf StandardCustomLighting keepalpha fullforwardshadows nolightmap nodynlightmap nodirlightmap nometa + + ENDCG + Pass + { + Name "ShadowCaster" + Tags{ "LightMode" = "ShadowCaster" } + ZWrite On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma target 4.5 + #pragma multi_compile_shadowcaster + #pragma multi_compile UNITY_PASS_SHADOWCASTER + #pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2 + #include "HLSLSupport.cginc" + #if ( SHADER_API_D3D11 || SHADER_API_GLCORE || SHADER_API_GLES || SHADER_API_GLES3 || SHADER_API_METAL || SHADER_API_VULKAN ) + #define CAN_SKIP_VPOS + #endif + #include "UnityCG.cginc" + #include "Lighting.cginc" + #include "UnityPBSLighting.cginc" + sampler3D _DitherMaskLOD; + struct v2f + { + V2F_SHADOW_CASTER; + float2 customPack1 : TEXCOORD1; + float4 tSpace0 : TEXCOORD2; + float4 tSpace1 : TEXCOORD3; + float4 tSpace2 : TEXCOORD4; + UNITY_VERTEX_INPUT_INSTANCE_ID + UNITY_VERTEX_OUTPUT_STEREO + }; + v2f vert( appdata_full v ) + { + v2f o; + UNITY_SETUP_INSTANCE_ID( v ); + UNITY_INITIALIZE_OUTPUT( v2f, o ); + UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO( o ); + UNITY_TRANSFER_INSTANCE_ID( v, o ); + Input customInputData; + float3 worldPos = mul( unity_ObjectToWorld, v.vertex ).xyz; + half3 worldNormal = UnityObjectToWorldNormal( v.normal ); + half3 worldTangent = UnityObjectToWorldDir( v.tangent.xyz ); + half tangentSign = v.tangent.w * unity_WorldTransformParams.w; + half3 worldBinormal = cross( worldNormal, worldTangent ) * tangentSign; + o.tSpace0 = float4( worldTangent.x, worldBinormal.x, worldNormal.x, worldPos.x ); + o.tSpace1 = float4( worldTangent.y, worldBinormal.y, worldNormal.y, worldPos.y ); + o.tSpace2 = float4( worldTangent.z, worldBinormal.z, worldNormal.z, worldPos.z ); + o.customPack1.xy = customInputData.uv_texcoord; + o.customPack1.xy = v.texcoord; + TRANSFER_SHADOW_CASTER_NORMALOFFSET( o ) + return o; + } + half4 frag( v2f IN + #if !defined( CAN_SKIP_VPOS ) + , UNITY_VPOS_TYPE vpos : VPOS + #endif + ) : SV_Target + { + UNITY_SETUP_INSTANCE_ID( IN ); + Input surfIN; + UNITY_INITIALIZE_OUTPUT( Input, surfIN ); + surfIN.uv_texcoord = IN.customPack1.xy; + float3 worldPos = float3( IN.tSpace0.w, IN.tSpace1.w, IN.tSpace2.w ); + half3 worldViewDir = normalize( UnityWorldSpaceViewDir( worldPos ) ); + surfIN.worldPos = worldPos; + surfIN.worldNormal = float3( IN.tSpace0.z, IN.tSpace1.z, IN.tSpace2.z ); + surfIN.worldRefl = -worldViewDir; + surfIN.internalSurfaceTtoW0 = IN.tSpace0.xyz; + surfIN.internalSurfaceTtoW1 = IN.tSpace1.xyz; + surfIN.internalSurfaceTtoW2 = IN.tSpace2.xyz; + SurfaceOutputCustomLightingCustom o; + UNITY_INITIALIZE_OUTPUT( SurfaceOutputCustomLightingCustom, o ) + surf( surfIN, o ); + UnityGI gi; + UNITY_INITIALIZE_OUTPUT( UnityGI, gi ); + o.Alpha = LightingStandardCustomLighting( o, worldViewDir, gi ).a; + #if defined( CAN_SKIP_VPOS ) + float2 vpos = IN.pos; + #endif + half alphaRef = tex3D( _DitherMaskLOD, float3( vpos.xy * 0.25, o.Alpha * 0.9375 ) ).a; + clip( alphaRef - 0.01 ); + SHADOW_CASTER_FRAGMENT( IN ) + } + ENDCG + } + } + Fallback "Diffuse" + CustomEditor "FuralityShaderUI" +} +/*ASEBEGIN +Version=19105 +Node;AmplifyShaderEditor.CommentaryNode;794;1332.497,1390.873;Inherit;False;961.6262;243.937;Comment;6;791;798;790;789;787;1074;Luma Glow;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;639;-8884.074,-1676.043;Inherit;False;3010.964;860.379;Comment;26;568;569;570;571;572;574;573;577;575;583;592;582;576;584;32;588;578;581;589;580;533;627;629;630;632;628;Light Color + Attenuation;1,1,1,1;0;0 +Node;AmplifyShaderEditor.CommentaryNode;403;-3335.939,-3496.149;Inherit;False;2162.522;1530.744;Comment;35;90;1143;1142;386;241;223;391;246;302;1065;383;380;852;225;272;392;385;394;384;224;393;247;255;254;252;7;253;251;269;250;243;388;242;389;1144;Texture Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RangedFloatNode;389;-3188.197,-3056.841;Inherit;False;Constant;_Float3;Float 3;14;0;Create;True;0;0;0;False;0;False;1.25;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;242;-3006.6,-3221.549;Inherit;False;0;223;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.SimpleMultiplyOpNode;388;-2970.259,-3105.271;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;243;-2263.6,-3243.549;Inherit;False;Normal;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;5;-3238.615,-1376.222;Inherit;False;1756.584;1421.47;Comment;52;22;284;285;362;30;45;23;68;17;47;44;211;381;401;303;163;395;54;396;402;31;227;176;259;46;59;226;256;212;177;258;249;101;41;248;257;29;100;245;6;795;587;590;1145;1147;1148;1150;1180;1181;1182;1187;1188;Input Assignment;1,1,1,1;0;0 +Node;AmplifyShaderEditor.NormalVertexDataNode;100;-2593.113,-255.3687;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;245;-2547.908,-114.6905;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;101;-2379.915,-261.8687;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;257;-2372.083,-114.9804;Inherit;False;Tangent;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TexelSizeNode;250;-2892.26,-2840.326;Inherit;False;246;1;0;SAMPLER2D;;False;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.TextureCoordinatesNode;269;-3020.702,-3015.853;Inherit;False;0;223;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.SimpleAddOpNode;258;-2121.888,-254.5151;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;251;-2670.343,-2766.867;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;6;-2330.628,-1069.771;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;259;-2008.888,-253.5151;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;253;-2664.241,-2840.508;Inherit;False;Property;_GlossMapScale;GlossMapScale;22;0;Create;True;0;0;0;False;0;False;1;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;7;-2304.152,-2910.047;Inherit;False;Property;_Glossiness;Smoothness;20;0;Create;False;0;0;0;False;0;False;0.5;0.8;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;252;-2559.297,-2766.867;Inherit;False;2;0;FLOAT;10;False;1;FLOAT;10;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;254;-2220.061,-2832.362;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;4;-1449.85,-1331.164;Inherit;False;957.896;1201.264;Comment;38;56;40;604;600;48;74;597;36;598;42;33;596;607;37;18;75;605;599;11;72;24;27;49;38;73;50;28;52;25;39;13;71;19;14;8;15;26;10;Dot Products;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;29;-2027.33,-1071.781;Inherit;False;viewDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;31;-1815.471,-256.4359;Inherit;False;worldNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;10;-1395.339,-1281.164;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;26;-1397.544,-1043.199;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;15;-1399.849,-1118.233;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;8;-1396.339,-1211.164;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;255;-2027.867,-2837.701;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;14;-1207.206,-1086.684;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;19;-1215.339,-1257.164;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;212;-2855.798,-845.3053;Inherit;False;Constant;_Float2;Float 2;8;0;Create;True;0;0;0;False;0;False;1;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;256;-2846.284,-985.8676;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;71;-1072.621,-1085.356;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;177;-2854.646,-916.5242;Inherit;False;Constant;_Float0;Float 0;10;0;Create;True;0;0;0;False;0;False;0.3;0.4;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.NormalizeNode;13;-1100.339,-1258.164;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;563;-6117.17,1090.775;Inherit;False;1218.21;440.525;Comment;13;512;516;519;511;534;513;517;501;535;518;520;521;594;Toon Ambience;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;39;-939.8036,-1090.568;Inherit;False;NdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;176;-2657.246,-978.5247;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;0;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;25;-960.3385,-1262.164;Inherit;False;halfDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CommentaryNode;220;-4332.81,70.03413;Inherit;False;2632.908;1547.742;Comment;46;460;636;635;634;139;140;219;190;310;128;312;311;522;274;313;132;306;275;623;129;314;123;566;138;379;121;231;116;230;445;232;115;301;117;114;300;565;461;233;120;125;514;124;987;1120;1160;BRDF;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;512;-6067.17,1140.775;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;52;-1397.545,-736.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;28;-1399.85,-811.295;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;303;-2463.311,-925.2256;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.999;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;456;-6422.013,407.4249;Inherit;False;1957.475;517.7657;Comment;19;450;471;452;469;444;476;415;477;473;472;413;451;470;436;478;479;475;416;1132;Stylize Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;211;-2342.89,-903.3854;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;50;-1207.207,-779.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;516;-5894.896,1145.77;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;247;-2436.355,-3015.931;Inherit;False;MetallticFromTex;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;73;-1065.78,-781.5579;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;476;-6344.136,724.7207;Inherit;False;Constant;_ToonSpecular;Toon Specular;20;0;Create;True;0;0;0;False;0;False;0.48;0.479;0;0.499;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;248;-2629.301,-709.2548;Inherit;False;247;MetallticFromTex;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;511;-5761.434,1145.739;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;519;-5944.896,1237.77;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.OneMinusNode;47;-2111.788,-903.9219;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;41;-2693.438,-787.5811;Inherit;False;Property;_Metallic;Metallic;19;0;Create;True;0;0;0;False;0;False;0;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;393;-3172.445,-2357.431;Inherit;False;0;223;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.RegisterLocalVarNode;514;-2719.453,985.0649;Inherit;False;ToonNdotL;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;501;-5623.576,1144.053;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;534;-5780.627,1416.3;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;38;-919.9026,-783.9518;Inherit;False;NdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;473;-6345.945,648.5159;Inherit;False;Constant;_ToonOffset;Toon Offset;16;0;Create;True;0;0;0;False;0;False;-0.4;-0.39;-1;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;249;-2412.301,-763.2548;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DynamicAppendNode;517;-5760.825,1242.613;Inherit;False;FLOAT4;4;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;1;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;17;-1935.923,-820.6301;Inherit;False;roughness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;513;-5776.97,1337.775;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;594;-5601.755,1091.489;Inherit;False;Constant;_Float13;Float 13;20;0;Create;True;0;0;0;False;0;False;0.65;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;477;-6067.136,806.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;384;-2437.779,-2302.501;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CustomExpressionNode;518;-5622.967,1240.927;Inherit;False;ShadeSH9(uvw);3;Create;1;True;uvw;FLOAT4;0,0,0,0;In;;Inherit;False;getProbes;False;False;0;;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;49;-1399.055,-960.3293;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;472;-5895.945,655.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;535;-5599.627,1374.3;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;475;-5902.945,770.5159;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;46;-2269.892,-769.3549;Inherit;False;metallic;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;416;-6164.954,464.0959;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;415;-6173.801,539.6567;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;27;-1396.75,-885.2946;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;593;-5431.755,1149.489;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;394;-2098.372,-2307.369;Inherit;False;SpecularTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;479;-5755.136,750.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;24;-1206.412,-928.7805;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;217;-1594.872,200.3197;Inherit;False;2616.111;764.0852;Comment;32;174;175;156;204;162;213;205;214;215;203;161;202;166;200;201;191;181;208;315;180;158;165;151;152;276;153;480;481;484;482;498;1165;Indirect Specular;1,1,1,1;0;0 +Node;AmplifyShaderEditor.SaturateNode;478;-5760.136,643.7207;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;413;-5946.941,511.468;Inherit;False;GGXTerm(nh, roughness);1;Create;2;True;nh;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;ggx;False;False;0;;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;227;-2831.27,-633.0755;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;396;-2327.961,-390.6081;Inherit;False;Property;_EnableSpecularMap;Enable Specular Map;27;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;402;-2220.789,-483.7458;Inherit;False;Constant;_Float5;Float 5;17;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;54;-2628.055,-457.5206;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;520;-5308.896,1242.77;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;470;-5210.727,730.8561;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;395;-2066.061,-680.9556;Inherit;False;394;SpecularTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;436;-5605.002,544.9354;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;72;-1073.99,-930.7202;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;451;-5604.283,672.5679;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DiffuseAndSpecularFromMetallicNode;163;-2399.557,-597.6036;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;3;FLOAT3;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.GetLocalVarNode;180;-1514.461,680.5375;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;401;-2051.101,-479.9181;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;381;-1868.959,-588.0468;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;11;-941.7469,-929.9261;Inherit;False;NdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;452;-5209.375,553.4788;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;315;-1300.661,675.7377;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;469;-4966.727,731.8561;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.8;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;125;-3174.562,1070.987;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;208;-1151.827,677.0204;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;44;-1720.645,-591.458;Inherit;False;specColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;471;-4799.567,730.9291;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;5;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;120;-3571.68,274.0615;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;233;-3569.558,177.7777;Inherit;False;Constant;_Float1;Float 1;6;0;Create;True;0;0;0;False;0;False;1.2;1;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;181;-982.5577,650.3491;Inherit;False;3;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;461;-2980.706,1074.058;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;450;-4769.774,574.9086;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;191;-853.3322,650.4323;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;444;-4651.538,570.9512;Inherit;False;ToonSpecular;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;565;-2804.095,1073.13;Inherit;False;ToonNdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;385;-3013.247,-2640.655;Inherit;False;0;223;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.SimpleMultiplyOpNode;300;-3386.994,223.6072;Inherit;False;2;2;0;FLOAT;0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;114;-3461.573,805.1125;Inherit;False;565;ToonNdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;590;-2621.987,-1305.75;Inherit;False;589;InitialLightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;117;-3462.64,952.4464;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;301;-3254.994,223.6072;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;201;-488.3773,654.145;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;115;-3463.573,734.1125;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;166;-702.3997,453.5815;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;200;-677.7151,648.213;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;232;-3388.666,589.1027;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;560;-1245.632,1312.672;Inherit;False;1886.165;1162.995;Comment;37;591;542;622;621;595;557;545;625;567;547;558;619;555;548;613;549;620;626;554;556;614;552;550;617;553;610;551;615;618;544;616;537;612;543;609;853;1134;Rimlighting;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;230;-3390.865,428.9026;Inherit;False;17;roughness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;116;-3462.773,880.1125;Inherit;False;38;NdotH;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;231;-3388.366,506.7026;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;68;-2378.209,-1304.412;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;609;-498.8056,2203.786;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;161;-509.7723,469.6328;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;4;False;1;FLOAT;0 +Node;AmplifyShaderEditor.PowerNode;392;-2451.833,-2613.263;Inherit;False;False;2;0;FLOAT;0;False;1;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;543;-1187.779,1789.996;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.FresnelNode;202;-300.1848,678.6759;Inherit;False;Standard;WorldNormal;ViewDir;False;False;5;0;FLOAT3;0,0,1;False;4;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;1;False;3;FLOAT;5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;379;-3135.121,470.3841;Inherit;False;float L = (NdotL) / (NdotL * (1- k) + k)@$float V = (NdotV) / (NdotV * (1-k) +k)@$$return L*V@;1;Create;3;True;k;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;SchlickGGX;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;138;-3189.65,726.0227;Inherit;False;float FresnelLight = SchlickFresnel(NdotL)@$float FresnelView = SchlickFresnel(NdotV)@$float FresnelDiffuse = 0.5 + 2 * LdotH*LdotH * roughness@$return MixFunc(1, FresnelDiffuse, FresnelLight) * MixFunc(1, FresnelDiffuse, FresnelView)@;1;Create;4;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;True;LdotH;FLOAT;0;In;;Inherit;False;True;roughness;FLOAT;0;In;;Inherit;False;F0;True;False;2;139;140;;False;4;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;566;-3170.882,867.2664;Inherit;False;11;NdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;612;-477.8056,2287.786;Inherit;False;Constant;_Vector0;Vector 0;20;0;Create;True;0;0;0;False;0;False;0,1,0;0,0,0;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;537;-1181.791,1709.072;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;616;-673.2114,1454.868;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;272;-2284.777,-2618.305;Inherit;False;Occlusion;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;23;-2079.385,-604.7594;Inherit;False;diffuse;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.DotProductOpNode;544;-972.4919,1731.102;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;618;-669.238,1542.556;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RangedFloatNode;615;-313.6245,2334.562;Inherit;False;Constant;_Float15;Float 15;20;0;Create;True;0;0;0;False;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;480;-283.3387,506.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;551;-994.2482,1828.831;Inherit;False;Constant;_Float11;Float 11;21;0;Create;True;0;0;0;False;0;False;-0.2;-0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;123;-2829.634,444.2128;Inherit;False;return (N*G*F) / (4 * (NdotL*NdotV))@;3;Create;5;True;N;FLOAT3;0,0,0;In;;Inherit;False;True;G;FLOAT;0;In;;Inherit;False;True;F;FLOAT;0;In;;Inherit;False;True;NdotL;FLOAT;0;In;;Inherit;False;True;NdotV;FLOAT;0;In;;Inherit;False;BRDF;False;True;0;;False;5;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;482;-68.33875,789.084;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0.35;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;610;-307.3041,2238.428;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;314;-2832.01,372.4067;Inherit;False;Constant;_Float7;Float 7;10;0;Create;True;0;0;0;False;0;False;0.001;0.02;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;214;-77.45105,524.8002;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;553;-842.7739,1978.127;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;550;-845.248,1736.831;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;215;-64.47279,601.2673;Inherit;False;Constant;_Float4;Float 4;4;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;561;2095.64,27.8058;Inherit;False;2082.213;872.7515;Comment;38;831;830;829;828;827;826;823;822;824;819;818;490;524;792;497;788;486;494;489;495;492;532;488;496;493;529;491;832;1042;1045;1046;1058;1060;1059;1066;1081;1185;1186;Outlines;1,1,1,1;0;0 +Node;AmplifyShaderEditor.GetLocalVarNode;623;-2658.41,622.8109;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;203;-58.52485,674.2479;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;275;-2675.618,355.3681;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;481;-253.3387,402.084;Inherit;False;2;2;0;FLOAT;0.01;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;306;-2699.387,905.8491;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;132;-2651.551,446.4316;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;552;-804.2864,1907.889;Inherit;False;45;lightColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;614;-184.6245,2238.562;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;313;-2657.845,542.0784;Inherit;False;514;ToonNdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;556;-644.5186,2003.105;Inherit;False;Constant;_Float12;Float 12;20;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;554;-648.5186,1913.105;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT3;0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;626;-64.21997,2164.697;Inherit;False;Constant;_Float17;Float 17;21;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;274;-2481.617,300.3679;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ViewDirInputsCoordNode;491;3076.28,552.4065;Inherit;False;World;False;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.GetLocalVarNode;152;29.06121,326.3416;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;549;-727.676,1835.152;Inherit;False;Constant;_Float8;Float 8;20;0;Create;True;0;0;0;False;0;False;20;20;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;311;-2495.592,917.2233;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;312;-2476.895,448.7652;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;276;40.03976,402.8723;Inherit;False;272;Occlusion;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;613;-59.30401,2235.428;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;213;131.8297,544.2889;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SaturateNode;162;-122.9196,431.788;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;153;32.36602,250.3197;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;205;129.113,663.7913;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;548;-717.1375,1742.013;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;529;3380.719,431.3767;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;555;-524.5184,1917.105;Inherit;False;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;128;-2302.115,345.1725;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.IndirectSpecularLight;151;227.3664,278.3197;Inherit;False;World;3;0;FLOAT3;0,0,1;False;1;FLOAT;0.5;False;2;FLOAT;1;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;310;-2346.613,816.7513;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;558;-504.3968,2017.898;Inherit;False;Property;_RimlightColor;Rimlight Color;32;1;[HDR];Create;True;0;0;0;False;0;False;1,1,1,0;11.98431,11.98431,11.98431,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;547;-563.4562,1738.109;Inherit;False;ExponentialSquared_Blend;-1;;1;7792fe74aab0b2f4d8615a784f562aa2;1,7,0;2;12;FLOAT;0;False;9;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;567;-239.0434,2075.365;Inherit;False;44;specColor;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;204;310.205,469.0058;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.StaticSwitch;625;75.78027,2222.697;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;545;58.48236,1477.761;Inherit;False;7;7;0;FLOAT;0;False;1;FLOAT;0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;FLOAT;0;False;6;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;165;547.4448,426.1721;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;532;3520.733,382.9306;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;562;-426.9865,-1298.826;Inherit;False;2708.104;1199.057;Comment;25;905;911;912;909;910;908;907;906;268;864;863;861;860;859;858;871;868;866;862;786;266;267;265;913;1062;Emission;1,1,1,1;0;0 +Node;AmplifyShaderEditor.TransformDirectionNode;492;3363.496,547.6183;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;190;-2167.837,347.7095;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.CommentaryNode;222;3678.678,-355.4811;Inherit;False;440.5804;266.2591;Comment;4;169;221;159;1119;Composite;1,1,1,1;0;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;219;-2029.515,342.5311;Inherit;False;BRDF;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;557;340.3037,1469.082;Inherit;False;Rimlighting;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;265;1209.963,-1067.859;Inherit;True;Property;_EmissionMap;EmissionMap;5;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.GetLocalVarNode;159;3706.322,-313.2809;Inherit;False;158;IndirectSpecular;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.ColorNode;267;1330.802,-1248.826;Inherit;False;Property;_EmissionColor;Emission Color;6;1;[HDR];Create;True;0;0;0;False;0;False;0,0,0,0;1,0.5188679,0.5188679,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.GetLocalVarNode;221;3730.281,-237.8131;Inherit;False;219;BRDF;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;175;-816.4901,529.5698;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;140;-2813.083,603.2727;Inherit;False;return j*x+i*(1-x)@;1;Create;3;True;i;FLOAT;0;In;;Inherit;False;True;j;FLOAT;0;In;;Inherit;False;True;x;FLOAT;0;In;;Inherit;False;MixFunc;False;True;0;;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;30;-1931.422,-916.1447;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;599;-822.542,-307.6921;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;285;-3030.983,-472.9721;Inherit;False;Constant;_Float6;Float 6;9;0;Create;True;0;0;0;False;0;False;2;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;605;-1093.615,-232.9525;Inherit;False;Constant;_Float14;Float 14;20;0;Create;True;0;0;0;False;0;False;0.1;0.25;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;595;-463.6266,1369.061;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;75;-1071.254,-468.1801;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;18;-1399.849,-658.295;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;156;-987.3672,523.5707;Inherit;False;46;metallic;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ClampOpNode;174;-668.5641,526.8943;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.03;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;266;1570.802,-1101.826;Inherit;False;3;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;37;-1397.826,-503.7185;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;621;-370.3684,1572.545;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0.25;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;607;-1086.071,-307.0391;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;596;-1401.809,-263.1957;Inherit;False;29;viewDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;622;-231.1782,1347.674;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;-0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;33;-1207.206,-626.7461;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;362;-2129.13,-156.8327;Inherit;False;clearcoatNorm;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;42;-950.3943,-631.1833;Inherit;False;VdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;22;-1791.587,-919.7219;Inherit;False;roughnessSquared;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;598;-1204.471,-306.6816;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;36;-1402.521,-428.6837;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;597;-1397.114,-338.2305;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;542;-641.7698,1365.349;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;74;-1073.991,-625.5533;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;139;-2812.083,713.2732;Inherit;False;float x = saturate(1-i)@$float x2 = x*x@$return x2*x2*x@;1;Create;1;True;i;FLOAT;0;In;;Inherit;False;SchlickFresnel;False;True;0;;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;591;-229.3808,2146.77;Inherit;False;600;LdotV;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;48;-1397.544,-583.2602;Inherit;False;25;halfDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;600;-698.5538,-311.3818;Inherit;False;LdotV;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;284;-2635.655,-620.5502;Inherit;False;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleSubtractOpNode;604;-958.6155,-306.9525;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;40;-1205.183,-472.1696;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;169;3994.139,-276.3966;Inherit;False;4;4;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT4;0,0,0,0;False;3;FLOAT4;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;56;-944.2661,-473.8698;Inherit;False;LdotH;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;587;-2603.063,-1230.459;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;45;-2031.958,-1307.261;Inherit;False;lightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;634;-3188.233,1238.03;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;635;-2982.671,1391.145;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;636;-2683.895,1302.977;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;568;-8834.074,-1222.282;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.BreakToComponentsNode;569;-8681.742,-1198.18;Inherit;False;FLOAT3;1;0;FLOAT3;0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.SimpleMaxOpNode;570;-8559.542,-1198.18;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;571;-8442.542,-1178.68;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StepOpNode;572;-8320.396,-1179.31;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0.001;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;574;-8184.584,-1271.711;Inherit;False;Constant;_Float9;Float 9;7;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;573;-8192.156,-1184.819;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.CustomExpressionNode;577;-7802.581,-1318.901;Inherit;False;int lightEnv = int(any(_WorldSpaceLightPos0.xyz))@ $if(lightEnv != 1){$ return 0@$ }$return 1@;0;Create;0;LightExists;True;False;0;;False;0;1;INT;0 +Node;AmplifyShaderEditor.StaticSwitch;575;-8015.616,-1225.002;Inherit;False;Property;_Keyword0;Keyword 0;6;0;Create;True;0;0;0;False;0;False;0;0;0;False;UNITY_PASS_FORWARDBASE;Toggle;2;Key0;Key1;Fetch;False;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector3Node;583;-7672.467,-1626.043;Inherit;False;Constant;_FakeLightDir;Fake Light Dir;0;0;Create;True;0;0;0;False;0;False;1,1,2;1,1,2;0;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalizeNode;592;-7492.139,-1619.998;Inherit;False;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.WorldSpaceLightDirHlpNode;582;-7677.819,-1475.114;Inherit;False;True;1;0;FLOAT;0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;576;-7656.862,-1317.273;Inherit;False;2;2;0;INT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;584;-7325.008,-1619.547;Inherit;False;3;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;32;-7165.986,-1623.907;Inherit;False;lightDir;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;588;-6689.845,-1532.681;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.LerpOp;578;-6439.266,-1411.936;Inherit;False;3;0;COLOR;0,0,0,0;False;1;COLOR;0,0,0,0;False;2;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;581;-6248.605,-1415.129;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;589;-6106.444,-1419.762;Inherit;False;InitialLightColor;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.LerpOp;580;-6606.341,-1293.334;Inherit;False;3;0;FLOAT;1;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;533;-6459.45,-1297.361;Inherit;False;Attenuation;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightAttenuation;627;-7325.271,-1094.686;Inherit;False;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector4Node;629;-7336.423,-1022.664;Inherit;False;Global;_WorldSpaceLightPos0;_WorldSpaceLightPos0;15;0;Fetch;True;0;0;0;False;0;False;0,0,0,0;1.245576,1.565,0.6687653,1;0;5;FLOAT4;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.LerpOp;630;-6807.647,-1120.831;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LightColorNode;632;-6667.123,-1432.648;Inherit;False;0;3;COLOR;0;FLOAT3;1;FLOAT;2 +Node;AmplifyShaderEditor.ScaleAndOffsetNode;628;-7069.139,-1200;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.5;False;2;FLOAT;0.5;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;793;4084.51,-419.9491;Inherit;False;1029;FinalEmission;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;378;4100.366,-511.162;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;787;1382.497,1440.873;Inherit;False;786;EmissionRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;789;1392.707,1516.109;Inherit;False;788;OutlineRGB;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;795;-3209.973,-1321.565;Inherit;False;Property;_Culling;Culling;304;1;[Enum];Create;True;0;0;1;UnityEngine.Rendering.CullMode;True;0;False;0;2;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;790;2002.123,1543.81;Inherit;False;OutlineGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;798;1961.58,1450.408;Inherit;False;2;2;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;791;2081.115,1445.012;Inherit;False;EmissionGlow;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.SurfaceDepthNode;524;3118.077,458.5213;Inherit;False;0;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;819;2748.469,326.6143;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;824;2956.071,303.7247;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;822;2550.839,340.7459;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;823;2570.85,500.8378;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;827;2521.599,567.8765;Inherit;False;Constant;_Float16;Float 16;26;0;Create;True;0;0;0;False;0;False;1000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleDivideOpNode;828;2680.669,636.316;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.LerpOp;829;2888.271,613.4264;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TFHCRemapNode;830;2483.039,650.4476;Inherit;False;5;0;FLOAT;0;False;1;FLOAT;0;False;2;FLOAT;1000;False;3;FLOAT;1000;False;4;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;831;2503.05,810.5396;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;225;-3007.329,-3413.345;Inherit;False;0;223;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.GetLocalVarNode;853;-24.64026,1740.427;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;498;485.348,590.3273;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;484;306.6857,585.6535;Inherit;False;90;Smoothness;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;852;-2074.02,-2722.352;Inherit;False;851;SpecularAntiAlias;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;862;1041.562,-1033.402;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.LerpOp;859;751.5616,-913.4023;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.RangedFloatNode;860;561.5616,-938.4023;Inherit;False;Constant;_Float18;Float 18;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleTimeNode;863;219.952,-742.4731;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;864;558.0835,-863.7878;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;268;716.8016,-1035.826;Inherit;False;0;265;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.LerpOp;906;208.5399,-512.4272;Inherit;False;3;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;2;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;910;15.06175,-462.8127;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT;0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.SimpleTimeNode;909;-323.0697,-341.498;Inherit;False;1;0;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;912;486.7254,-565.1698;Inherit;False;2;2;0;FLOAT2;0,0;False;1;FLOAT2;0,0;False;1;FLOAT2;0 +Node;AmplifyShaderEditor.TextureCoordinatesNode;911;-3.374744,-656.1698;Inherit;False;0;866;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.RegisterLocalVarNode;871;1003.037,-350.0024;Inherit;False;EffectMaskRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.SamplerNode;913;676.2248,-352.4956;Inherit;True;Property;_TextureSample0;Texture Sample 0;4;0;Create;True;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Instance;866;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.FunctionNode;984;1174.184,-646.1843;Inherit;True;EffectMaskChannel;-1;;3967;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;124;-3173.241,958.7939;Inherit;False;39;NdotL;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1027;4291.965,105.7077;Inherit;False;791;EmissionGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1031;1959.949,1643.783;Inherit;False;DirectionMap;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1032;4430.452,465.3638;Inherit;False;1031;DirectionMap;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;792;3756.018,53.18221;Inherit;False;790;OutlineGlow;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;788;2525.206,109.5492;Inherit;False;OutlineRGB;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1043;2795.438,112.6829;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1044;3034.638,113.9829;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.GetLocalVarNode;1011;4262.274,6.535469;Inherit;False;243;Normal;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;226;-3076.27,-549.0756;Inherit;False;1049;IridescentMainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.WorldNormalVector;1058;3137.704,747.7896;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;495;3640.296,550.8184;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;489;3680.985,243.5691;Inherit;False;3;3;0;FLOAT3;0,0,0;False;1;FLOAT;0;False;2;FLOAT;0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;832;3638.739,385.1481;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;493;3237.892,553.2095;Inherit;False;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SimpleAddOpNode;494;3833.85,241.0057;Inherit;False;2;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.TransformDirectionNode;1059;3854.503,558.9896;Inherit;False;Object;World;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.TransformDirectionNode;1060;3875.304,715.7897;Inherit;False;World;Object;False;Fast;False;1;0;FLOAT3;0,0,0;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.WorldNormalVector;1061;3312.104,-28.2103;Inherit;False;False;1;0;FLOAT3;0,0,1;False;4;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3 +Node;AmplifyShaderEditor.NormalVertexDataNode;488;3480.785,242.0691;Inherit;False;0;5;FLOAT3;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;818;2589.399,258.1747;Inherit;False;Constant;_Float10;Float 10;26;0;Create;True;0;0;0;False;0;False;10000;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;786;2002.439,-932.0972;Inherit;False;EmissionRGBA;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1064;1629.501,-909.2549;Inherit;False;Constant;_Float20;Float 20;43;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;380;-2930.957,-2386.695;Inherit;True;Property;_SpecGlossMap;Specular;29;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f3bc535e7a220264d8a1f770fb367426;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.ColorNode;383;-2699.411,-2185.3;Inherit;False;Property;_SpecColor;Specular Color;30;0;Fetch;False;0;0;0;False;0;False;1,1,1,0;0.3169973,0.3169973,0.3169973,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RangedFloatNode;1065;-1840.527,-3445.194;Inherit;False;Property;_ShowMain;ShowMain;206;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;302;-3285.939,-3140.613;Inherit;False;Property;_BumpScale;Normal Scale;16;0;Create;False;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;246;-2794.355,-3038.931;Inherit;True;Property;_MetallicGlossMap;Metallic;18;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;black;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;391;-2771.034,-2477.877;Inherit;False;Property;_OcclusionStrength;Occlusion Strength;25;0;Create;True;0;0;0;False;0;False;1;1;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.SamplerNode;223;-2790.1,-3446.149;Inherit;True;Property;_MainTex;Main Tex;0;0;Create;True;0;0;0;False;0;False;-1;None;0a92f98f03d58ac449724fa4a3f0e1f8;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;241;-2788.6,-3244.549;Inherit;True;Property;_BumpMap;Normal;15;2;[Normal];[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;55479011db618034693440f32dbe9240;True;0;True;bump;Auto;True;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.SamplerNode;386;-2786.9,-2663.733;Inherit;True;Property;_OcclusionMap;OcclusionMap;23;1;[SingleLineTexture];Create;False;0;0;0;False;0;False;-1;None;f2c6f9ea8a04acf46b40ee0b846c7d83;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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;866;671.9223,-679.6194;Inherit;True;Property;_EffectMask;Effect Mask;4;0;Create;False;0;0;0;False;0;False;-1;None;None;True;0;False;white;Auto;False;Object;-1;Auto;Texture2D;8;0;SAMPLER2D;;False;1;FLOAT2;0,0;False;2;FLOAT;0;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.RangedFloatNode;907;75.53984,-539.4272;Inherit;False;Constant;_Float19;Float 19;28;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;868;705.1241,-481.1015;Inherit;False;Property;_EmissionMaskingChannel;Emission Masking Channel;7;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;False;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;908;-2.460165,-365.4272;Inherit;False;Property;_EmissionMaskPan;Emission Mask Pan;9;1;[ToggleUI];Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;905;-346.4601,-469.4272;Inherit;False;Property;_EmissionMaskPanSpeed;Emission Mask Pan Speed;10;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;861;540.5616,-766.4023;Inherit;False;Property;_EmissionPan;Emission Pan;12;1;[ToggleUI];Create;False;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.Vector2Node;858;200.5616,-870.4023;Inherit;False;Property;_EmissionPanSpeed;Emission Pan Speed;13;0;Create;False;0;0;0;False;0;False;1,1;1,1;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.RangedFloatNode;1067;1402.106,1599.42;Inherit;False;Property;_ShowGlow;ShowGlow;203;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1075;4763.708,211.9052;Inherit;False;Property;_ShowEffects;ShowEffects;202;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.StaticSwitch;1062;1764.78,-943.7126;Inherit;False;Property;_EnableEmission;_Enable Emission;207;0;Create;False;0;0;0;False;0;False;0;0;0;True;_EMISSION;Toggle;2;Key0;Key1;Create;True;False;All;9;1;COLOR;0,0,0,0;False;0;COLOR;0,0,0,0;False;2;COLOR;0,0,0,0;False;3;COLOR;0,0,0,0;False;4;COLOR;0,0,0,0;False;5;COLOR;0,0,0,0;False;6;COLOR;0,0,0,0;False;7;COLOR;0,0,0,0;False;8;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RangedFloatNode;1066;2124.162,89.25903;Inherit;False;Property;_ShowOutline;ShowOutline;204;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1081;2121.584,167.0743;Inherit;False;Property;_ShowOutline2;ShowOutline2;205;1;[HideInInspector];Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1095;4455.95,550.3781;Inherit;False;32;lightDir;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;460;-2981.99,956.8101;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.125;False;2;FLOAT;0.15;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;983;4391.114,201.3586;Inherit;False;871;EffectMaskRGBA;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1029;5287.174,278.7382;Inherit;False;FinalEmission;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;986;4408.033,344.0441;Inherit;False;557;Rimlighting;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1118;5024.975,112.8467;Inherit;False;RimlightEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1119;3712.385,-167.4584;Inherit;False;1118;RimlightEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;988;4397.987,266.4666;Inherit;False;987;ColoredSpec;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;121;-3038.383,159.6466;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;987;-2860.835,149.3844;Inherit;False;ColoredSpec;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1120;-3083.43,383.6133;Inherit;False;1117;SpecEffects;1;0;OBJECT;;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1117;5016.975,3.84671;Inherit;False;SpecEffects;-1;True;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0 +Node;AmplifyShaderEditor.GetLocalVarNode;445;-3270.5,299.042;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1132;-5621.691,460.2031;Inherit;False;GGXTerm;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.DotProductOpNode;617;-481.7099,1489.51;Inherit;False;2;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.NegateNode;620;-347.238,1489.556;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;619;-182.238,1488.556;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1134;38.33276,1373.834;Inherit;False;RimAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1127;4223.965,452.6614;Inherit;False;533;Attenuation;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1140;4586.708,44.20444;Inherit;False;Applfy Effects;226;;4871;86ee36ff59e1113469676c1c5ac8dd3c;0;7;31;COLOR;0,0,0,0;False;15;FLOAT3;0,0,1;False;16;COLOR;0,0,1,0;False;2;COLOR;0,0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT3;0,0,0;False;23;FLOAT;0;False;3;FLOAT4;0;FLOAT4;38;FLOAT4;39 +Node;AmplifyShaderEditor.FunctionNode;1141;4793.75,336.9004;Inherit;False;Iridescent Emission;208;;4905;2a6b7ed36109aad45b1d6a13ef93c485;0;8;214;FLOAT;0;False;215;FLOAT;0;False;207;FLOAT;0;False;165;FLOAT3;0,0,0;False;84;COLOR;0,0,0,0;False;21;FLOAT3;0,0,1;False;44;COLOR;0,0,0,0;False;56;COLOR;0,0,0,0;False;2;COLOR;0;COLOR;93 +Node;AmplifyShaderEditor.SimpleMinOpNode;1142;-1548.589,-2761.705;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;90;-1410.964,-2767.599;Inherit;False;Smoothness;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SmoothstepOpNode;1143;-1795.298,-2903.922;Inherit;False;3;0;FLOAT;0;False;1;FLOAT;0.4;False;2;FLOAT;1;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1144;-1546.305,-2910.684;Inherit;False;SmoothnessColorMult;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1145;-2345.992,-693.0366;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1146;-1698.886,-501.7159;Inherit;False;2;2;0;COLOR;0,0,0,0;False;1;FLOAT;0;False;1;COLOR;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;224;-2484.676,-3439.029;Inherit;False;MainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1048;4322.479,-94.13754;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1149;-2887.883,-734.886;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1148;-3251.883,-930.886;Inherit;False;224;MainTex;1;0;OBJECT;;False;1;COLOR;0 +Node;AmplifyShaderEditor.BreakToComponentsNode;1150;-3073.883,-974.886;Inherit;False;COLOR;1;0;COLOR;0,0,0,0;False;16;FLOAT;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4;FLOAT;5;FLOAT;6;FLOAT;7;FLOAT;8;FLOAT;9;FLOAT;10;FLOAT;11;FLOAT;12;FLOAT;13;FLOAT;14;FLOAT;15 +Node;AmplifyShaderEditor.ColorNode;59;-3111.619,-716.5183;Inherit;False;Property;_Color;Color;1;0;Create;True;0;0;0;False;0;False;1,1,1,1;0.9,0.9,0.9,1;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1147;-3110.883,-802.886;Inherit;False;Alpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.StandardSurfaceOutputNode;0;5503.371,-421.687;Float;False;True;-1;5;FuralityShaderUI;0;0;CustomLighting;Furality/Sylva Shader/Sylva Transparent;False;False;False;False;False;False;True;True;True;False;True;False;False;False;True;False;False;False;False;False;False;Back;0;False;;0;False;;False;0;False;;0;False;;True;0;Custom;0.5;True;True;0;True;Transparent;;Transparent;All;12;all;True;True;True;True;0;False;;False;0;False;;255;False;;255;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;0;False;;False;2;15;10;25;False;0.5;True;2;5;True;_BlendOPsrc;10;True;_BlendOPdst;0;5;False;;10;False;;0;False;;0;False;;0;False;0;0,0,0,0;VertexOffset;True;False;Cylindrical;False;True;Relative;0;;-1;-1;-1;-1;0;False;0;0;True;_Culling;-1;0;True;_MaskClipValue;1;Include;;True;1ec20832dfbb48343b8e0764e0864276;Custom;False;0;0;;0;0;False;0.1;False;;0;False;;False;15;0;FLOAT3;0,0,0;False;1;FLOAT3;0,0,0;False;2;FLOAT3;0,0,0;False;3;FLOAT3;0,0,0;False;4;FLOAT;0;False;6;FLOAT3;0,0,0;False;7;FLOAT3;0,0,0;False;8;FLOAT;0;False;9;FLOAT;0;False;10;FLOAT;0;False;13;FLOAT3;0,0,0;False;11;FLOAT3;0,0,0;False;12;FLOAT3;0,0,0;False;14;FLOAT4;0,0,0,0;False;15;FLOAT3;0,0,0;False;0 +Node;AmplifyShaderEditor.GetLocalVarNode;522;-2643.834,795.6546;Inherit;False;521;ToonAmbience;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;521;-5129.626,1237.589;Inherit;False;ToonAmbience;-1;True;1;0;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;129;-2672.565,275.1928;Inherit;False;23;diffuse;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1160;-2670.334,200.1979;Inherit;False;1155;Opacity;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;158;785.2396,421.767;Inherit;False;IndirectSpecular;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1135;4221.086,375.6588;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1133;4486.572,701.4352;Inherit;False;1132;GGXTerm;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1154;4563.932,-907.7635;Inherit;False;Constant;_Float21;Float 21;49;0;Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1165;101.98,461.387;Inherit;False;IndirectAlpha;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1168;1511.465,577.6862;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OneMinusNode;850;1694.621,568.6945;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1169;1218.465,607.6862;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;847;1088.521,513.8946;Inherit;False;31;worldNorm;1;0;OBJECT;;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.CustomExpressionNode;848;1266.621,508.6945;Inherit;False;float3 nDdx = ddx_fine(WorldNormal)@$float3 nDdy = ddy_fine(WorldNormal)@$return pow( saturate( max( dot( nDdx, nDdx ), dot( nDdy, nDdy ) ) ), 0.333 )@;1;Create;1;True;WorldNormal;FLOAT3;0,0,0;In;;Inherit;False;geometricRoughness;False;True;0;;False;1;0;FLOAT3;0,0,0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;851;1863.677,556.974;Inherit;False;SpecularAntiAlias;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1170;4714.897,-772.7258;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1172;4452.577,-804.3515;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1049;5381.64,400.6321;Inherit;False;IridescentMainTex;-1;True;1;0;COLOR;0,0,0,0;False;1;COLOR;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1174;4082.013,-676.3953;Inherit;False;1144;SmoothnessColorMult;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMultiplyOpNode;1175;4418.013,-707.3953;Inherit;False;2;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1162;3713.449,-850.2751;Inherit;False;444;ToonSpecular;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1177;3737.299,-754.6938;Inherit;False;1134;RimAlpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SaturateNode;1171;3942.885,-861.8574;Inherit;False;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMaxOpNode;1179;4102.299,-795.6938;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1180;-3056.033,-1322.008;Inherit;False;Property;_BlendOPsrc;_BlendOPsrc;198;0;Create;True;0;0;0;True;0;False;5;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1181;-2884.033,-1321.008;Inherit;False;Property;_BlendOPdst;_BlendOPdst;200;0;Create;True;0;0;0;True;0;False;10;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1151;4245.475,-858.7676;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1176;5015.775,-989.7418;Inherit;False;Constant;_Float22;Float 22;49;0;Create;True;0;0;0;False;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1046;3934.238,344.0829;Inherit;False;Property;_MaskClipValue;Mask Clip Value;305;0;Create;True;0;0;0;True;0;False;0.5;0.5;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1045;3173.738,250.4829;Inherit;False;Property;_OutlineMaskingChannel;Outline Masking Channel;37;1;[Enum];Create;False;0;5;None;0;R;1;G;2;B;3;A;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;496;3392.317,690.8503;Inherit;False;Property;_ViewFudge;ViewFudge;36;0;Create;True;0;0;0;True;0;False;0;0.05;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;490;2224.805,337.181;Inherit;False;Property;_OutlineWidth;Outline Width;33;0;Create;False;0;0;0;True;0;False;1;20;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;826;2157.005,646.8827;Inherit;False;Property;_MaxOutlineWidth;Max Outline Width;34;0;Create;True;0;0;0;True;0;False;850;1000;0;1000;0;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1183;5035.267,-264.119;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.GetLocalVarNode;1185;3759.467,144.6142;Inherit;False;1147;Alpha;1;0;OBJECT;;False;1;FLOAT;0 +Node;AmplifyShaderEditor.OutlineNode;486;3973.185,203.869;Inherit;False;2;False;Transparent;1;0;Front;True;True;True;True;0;False;;3;0;FLOAT3;0,0,0;False;2;FLOAT;0;False;1;FLOAT3;0,0,0;False;1;FLOAT3;0 +Node;AmplifyShaderEditor.StaticSwitch;1152;4949.605,-904.1158;Inherit;False;Property;_Keyword3;Keyword 3;201;0;Create;True;0;0;0;False;0;False;0;0;0;True;UNITY_PASS_FORWARDADD;Toggle;2;Key0;Key1;Fetch;True;True;All;9;1;FLOAT;0;False;0;FLOAT;0;False;2;FLOAT;0;False;3;FLOAT;0;False;4;FLOAT;0;False;5;FLOAT;0;False;6;FLOAT;0;False;7;FLOAT;0;False;8;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.RegisterLocalVarNode;1155;5226.195,-903.2067;Inherit;False;Opacity;-1;True;1;0;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.FunctionNode;1042;3327.138,80.1829;Inherit;False;EffectMaskChannel;-1;;4913;9aff8198f8f27794787d8759aa359a04;0;5;14;FLOAT;0;False;15;FLOAT;0;False;16;FLOAT;0;False;17;FLOAT;0;False;18;INT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.SimpleMinOpNode;1186;3810.882,364.3489;Inherit;False;2;0;FLOAT;0;False;1;FLOAT;0;False;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;497;2296.051,106.4058;Inherit;False;Property;_OutlineColor;Outline Color;38;0;Create;True;0;0;0;True;0;False;0,0,0,1;0,0,0,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.FunctionNode;1074;1625.512,1469.38;Inherit;False;Luma Glow Properties;40;;4914;7b40ef0e4b7a40f4f9276cd62640845c;1,260,1;2;1;COLOR;0,0,0,0;False;155;FLOAT3;0,0,0;False;3;FLOAT;244;FLOAT4;183;FLOAT4;0 +Node;AmplifyShaderEditor.RangedFloatNode;1182;-2967.033,-1241.008;Inherit;False;Property;_BlendOPIndex;_BlendOPIndex;199;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1187;-3201.001,-1239.53;Inherit;False;Property;_BlendModeIndex;_BlendModeIndex;197;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1188;-3196.001,-1151.53;Inherit;False;Property;_EnableOutline;EnableOutline;196;1;[Toggle];Create;True;0;0;0;False;0;False;1;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.CommentaryNode;1190;1193.663,1896.059;Inherit;False;2277.787;663.5576;Comment;26;1216;1215;1214;1213;1212;1211;1210;1209;1208;1207;1206;1205;1204;1203;1202;1201;1200;1199;1198;1197;1196;1195;1194;1193;1192;1191;Outline Properties to make UI work;1,1,1,1;0;0 +Node;AmplifyShaderEditor.IntNode;1191;3208.116,1996.09;Inherit;False;Property;_OutlineGlowBlendMode;OutlineGlowBlendMode;11;1;[Enum];Create;True;0;2;Multiply;0;Additive;1;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1192;3198.827,2110.103;Inherit;False;Property;_ShowOutlineGlow;_ShowOutlineGlow;194;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1193;3208.258,2187.275;Inherit;False;Property;_ShowOutlineAL;_ShowOutlineAL;195;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1194;2852.228,1981.408;Inherit;False;Property;_OutlineGlowMinBrightness;OutlineGlowMinBrightness;14;0;Create;True;0;0;0;True;0;False;0;0;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;1195;2882.055,2106.796;Inherit;False;Property;_OutlineGlowTint;OutlineGlowTint;2;1;[HDR];Create;True;0;0;0;True;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.IntNode;1196;2843.882,2312.892;Inherit;False;Property;_OutlineReactiveBlendMode;OutlineReactiveBlendMode;183;1;[Enum];Create;True;0;4;Multiply;0;Additive;1;Reversed Multiply;2;Reversed Additve;3;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1197;2565.149,1986.049;Inherit;False;Property;_OutlineReactivePulseOffset;OutlineReactivePulseOffset;188;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1198;2537.08,2144.724;Inherit;False;Property;_OutlineReactiveGlobalSmoothing;OutlineReactiveGlobalSmoothing;185;0;Create;True;0;0;0;True;0;False;1;1;0;2;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1199;2548.677,2250.276;Inherit;False;Property;_OutlineReactiveMinBrightness;OutlineReactiveMinBrightness;184;0;Create;True;0;0;0;True;0;False;0;0;0;1;0;1;FLOAT;0 +Node;AmplifyShaderEditor.ColorNode;1200;2551.402,2352.616;Inherit;False;Property;_OutlineReactiveTint;OutlineReactiveTint;28;1;[HDR];Create;True;0;0;0;True;0;False;1,1,1,0;1,1,1,0;True;0;5;COLOR;0;FLOAT;1;FLOAT;2;FLOAT;3;FLOAT;4 +Node;AmplifyShaderEditor.IntNode;1201;2240.296,2354.755;Inherit;False;Property;_OutlineReactiveBand;OutlineReactiveBand;31;1;[Enum];Create;True;0;5;None;10;Bass;0;Low Mid;1;High Mid;2;Treble;3;0;True;0;False;10;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1202;2250.1,2264.683;Inherit;False;Property;_OutlineReactiveDelay;OutlineReactiveDelay;35;0;Create;True;0;3;None;0;Zone 1;1;Zone 2;2;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1203;2219.938,2126.955;Inherit;False;Property;_OutlineReactiveMode;OutlineReactiveMode;39;1;[Enum];Create;True;0;6;Global;0;Pulse;1;Radial;2;Direction Map;3;Reversed Direction Map;4;Smooth Global;5;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1204;2273.836,1988.75;Inherit;False;Property;_OutlineReactivePulseScale;OutlineReactivePulseScale;187;0;Create;True;0;0;0;True;0;False;127;128;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1205;1952.166,1977.92;Inherit;False;Property;_OutlineReactivePulseDir;OutlineReactivePulseDir;186;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1206;1976.018,2097.551;Inherit;False;Property;_OutlineGlowZone;OutlineGlowZone;3;1;[Enum];Create;True;0;8;None;0;Zone 1;1;Zone 2;2;Zone 3;3;Zone 4;4;Gradient 1;5;Gradient 2;6;Gradient 3;7;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.Vector2Node;1207;1929.531,2205.854;Inherit;False;Property;_OutlineReactiveRadialCenter;OutlineReactiveRadialCenter;189;0;Create;True;0;0;0;True;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.Vector2Node;1208;1653.987,2131.652;Inherit;False;Property;_OutlineGlowRadialCenter;OutlineGlowRadialCenter;26;0;Create;True;0;0;0;True;0;False;0.5,0.5;0.5,0.5;0;3;FLOAT2;0;FLOAT;1;FLOAT;2 +Node;AmplifyShaderEditor.IntNode;1209;1645.381,2044.512;Inherit;False;Property;_OutlineGlowMode;OutlineGlowMode;8;1;[Enum];Create;True;0;5;Global;0;Pulse;1;Radial;2;Direction Map;3;Reversed Direction Map;4;0;True;0;False;0;0;False;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1210;1625.807,1946.059;Inherit;False;Property;_OutlineGlowPulseDir;OutlineGlowPulseDir;17;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1211;1587.696,2347.517;Inherit;False;Property;_OutlineGlowPulseOffset;OutlineGlowPulseOffset;24;0;Create;True;0;0;0;True;0;False;0;0;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1212;1288.315,2366.354;Inherit;False;Property;_OutlineGlowPulseScale;OutlineGlowPulseScale;21;0;Create;True;0;0;0;True;0;False;127;128;0;0;0;1;FLOAT;0 +Node;AmplifyShaderEditor.IntNode;1213;1243.663,2238.999;Inherit;False;Property;_OutlineGlowAnimationSpeed;OutlineGlowAnimationSpeed;192;1;[Enum];Create;True;0;2;Slow;0;Fast;1;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1214;1246.627,2157.054;Inherit;False;Property;_OutlineGlowAnimationBand;OutlineGlowAnimationBand;190;1;[Enum];Create;True;0;5;None;10;Bass;0;Low Mid;1;High Mid;2;Treble;3;0;True;0;False;10;10;True;0;1;INT;0 +Node;AmplifyShaderEditor.IntNode;1215;1243.663,2075.917;Inherit;False;Property;_OutlineGlowAnimationMode;OutlineGlowAnimationMode;191;1;[Enum];Create;True;0;5;Default;0;Wobble;1;Smooth;2;Hard Stop;3;Constant;4;0;True;0;False;0;0;True;0;1;INT;0 +Node;AmplifyShaderEditor.RangedFloatNode;1216;1265.422,1992.972;Inherit;False;Property;_OutlineGlowAnimationStrength;OutlineGlowAnimationStrength;193;0;Create;True;0;0;0;True;0;False;1;1;0;0;0;1;FLOAT;0 +WireConnection;388;0;302;0 +WireConnection;388;1;389;0 +WireConnection;243;0;241;0 +WireConnection;101;0;100;0 +WireConnection;257;0;245;0 +WireConnection;258;0;101;0 +WireConnection;258;1;257;0 +WireConnection;251;0;250;3 +WireConnection;251;1;250;4 +WireConnection;259;0;258;0 +WireConnection;252;1;251;0 +WireConnection;254;0;246;4 +WireConnection;254;1;253;0 +WireConnection;29;0;6;0 +WireConnection;31;0;259;0 +WireConnection;255;0;7;0 +WireConnection;255;1;254;0 +WireConnection;255;2;252;0 +WireConnection;14;0;15;0 +WireConnection;14;1;26;0 +WireConnection;19;0;10;0 +WireConnection;19;1;8;0 +WireConnection;71;0;14;0 +WireConnection;13;0;19;0 +WireConnection;39;0;71;0 +WireConnection;176;0;256;0 +WireConnection;176;3;177;0 +WireConnection;176;4;212;0 +WireConnection;25;0;13;0 +WireConnection;303;0;176;0 +WireConnection;211;0;303;0 +WireConnection;50;0;28;0 +WireConnection;50;1;52;0 +WireConnection;516;0;512;0 +WireConnection;247;0;246;1 +WireConnection;73;0;50;0 +WireConnection;511;0;516;0 +WireConnection;47;0;211;0 +WireConnection;514;0;636;0 +WireConnection;501;0;511;0 +WireConnection;38;0;73;0 +WireConnection;249;0;41;0 +WireConnection;249;1;248;0 +WireConnection;517;0;519;0 +WireConnection;17;0;47;0 +WireConnection;477;0;476;0 +WireConnection;384;0;380;0 +WireConnection;384;1;383;0 +WireConnection;518;0;517;0 +WireConnection;472;0;473;0 +WireConnection;472;1;476;0 +WireConnection;535;0;513;0 +WireConnection;535;1;534;0 +WireConnection;475;0;473;0 +WireConnection;475;1;477;0 +WireConnection;46;0;249;0 +WireConnection;593;0;501;0 +WireConnection;593;1;594;0 +WireConnection;394;0;384;0 +WireConnection;479;0;475;0 +WireConnection;24;0;49;0 +WireConnection;24;1;27;0 +WireConnection;478;0;472;0 +WireConnection;413;0;416;0 +WireConnection;413;1;415;0 +WireConnection;227;0;59;0 +WireConnection;227;1;226;0 +WireConnection;520;0;593;0 +WireConnection;520;1;518;0 +WireConnection;520;2;535;0 +WireConnection;436;0;413;0 +WireConnection;436;1;478;0 +WireConnection;436;2;479;0 +WireConnection;72;0;24;0 +WireConnection;163;0;227;0 +WireConnection;163;1;54;0 +WireConnection;401;0;402;0 +WireConnection;401;1;54;0 +WireConnection;401;2;396;0 +WireConnection;381;0;395;0 +WireConnection;381;1;163;1 +WireConnection;381;2;401;0 +WireConnection;11;0;72;0 +WireConnection;452;0;436;0 +WireConnection;452;1;451;0 +WireConnection;315;0;180;0 +WireConnection;315;1;180;0 +WireConnection;469;0;470;0 +WireConnection;208;0;315;0 +WireConnection;44;0;1146;0 +WireConnection;471;0;469;0 +WireConnection;471;2;452;0 +WireConnection;181;0;208;0 +WireConnection;181;1;208;0 +WireConnection;181;2;208;0 +WireConnection;461;0;125;0 +WireConnection;450;0;452;0 +WireConnection;450;1;471;0 +WireConnection;191;0;181;0 +WireConnection;444;0;450;0 +WireConnection;565;0;461;0 +WireConnection;300;0;233;0 +WireConnection;300;1;120;0 +WireConnection;301;0;300;0 +WireConnection;200;0;191;0 +WireConnection;68;1;587;0 +WireConnection;161;0;166;0 +WireConnection;161;2;200;0 +WireConnection;392;0;386;2 +WireConnection;392;1;391;0 +WireConnection;202;0;201;0 +WireConnection;202;2;200;0 +WireConnection;379;0;230;0 +WireConnection;379;1;231;0 +WireConnection;379;2;232;0 +WireConnection;138;0;115;0 +WireConnection;138;1;114;0 +WireConnection;138;2;116;0 +WireConnection;138;3;117;0 +WireConnection;272;0;392;0 +WireConnection;23;0;163;0 +WireConnection;544;0;537;0 +WireConnection;544;1;543;0 +WireConnection;480;0;161;0 +WireConnection;123;0;1120;0 +WireConnection;123;1;379;0 +WireConnection;123;2;138;0 +WireConnection;123;3;636;0 +WireConnection;123;4;566;0 +WireConnection;482;0;202;0 +WireConnection;610;0;609;0 +WireConnection;610;1;612;0 +WireConnection;550;0;544;0 +WireConnection;550;1;551;0 +WireConnection;203;0;482;0 +WireConnection;481;1;480;0 +WireConnection;132;0;123;0 +WireConnection;132;1;314;0 +WireConnection;614;0;610;0 +WireConnection;614;1;615;0 +WireConnection;554;0;552;0 +WireConnection;554;1;553;0 +WireConnection;274;0;129;0 +WireConnection;274;1;275;0 +WireConnection;274;2;1160;0 +WireConnection;311;0;306;0 +WireConnection;311;1;514;0 +WireConnection;312;0;132;0 +WireConnection;312;1;460;0 +WireConnection;312;2;623;0 +WireConnection;613;0;614;0 +WireConnection;213;0;214;0 +WireConnection;213;1;215;0 +WireConnection;213;2;203;0 +WireConnection;162;0;481;0 +WireConnection;548;0;550;0 +WireConnection;529;0;824;0 +WireConnection;529;1;524;0 +WireConnection;555;0;554;0 +WireConnection;555;1;556;0 +WireConnection;128;0;274;0 +WireConnection;128;1;312;0 +WireConnection;151;0;153;0 +WireConnection;151;1;152;0 +WireConnection;151;2;276;0 +WireConnection;310;0;522;0 +WireConnection;310;1;311;0 +WireConnection;547;12;548;0 +WireConnection;547;9;549;0 +WireConnection;204;0;1165;0 +WireConnection;204;1;213;0 +WireConnection;204;2;205;0 +WireConnection;625;1;626;0 +WireConnection;625;0;613;0 +WireConnection;545;0;619;0 +WireConnection;545;1;547;0 +WireConnection;545;2;555;0 +WireConnection;545;3;558;0 +WireConnection;545;4;567;0 +WireConnection;545;5;625;0 +WireConnection;545;6;853;0 +WireConnection;165;0;151;0 +WireConnection;165;1;204;0 +WireConnection;165;2;498;0 +WireConnection;532;0;824;0 +WireConnection;532;1;529;0 +WireConnection;190;0;128;0 +WireConnection;190;1;310;0 +WireConnection;219;0;190;0 +WireConnection;557;0;545;0 +WireConnection;265;1;862;0 +WireConnection;175;0;156;0 +WireConnection;30;0;47;0 +WireConnection;30;1;47;0 +WireConnection;599;0;604;0 +WireConnection;595;0;542;0 +WireConnection;75;0;40;0 +WireConnection;174;0;175;0 +WireConnection;266;0;267;0 +WireConnection;266;1;265;0 +WireConnection;266;2;984;0 +WireConnection;621;0;622;0 +WireConnection;607;0;598;0 +WireConnection;622;0;617;0 +WireConnection;33;0;18;0 +WireConnection;33;1;48;0 +WireConnection;362;0;101;0 +WireConnection;42;0;74;0 +WireConnection;22;0;30;0 +WireConnection;598;0;597;0 +WireConnection;598;1;596;0 +WireConnection;74;0;33;0 +WireConnection;600;0;599;0 +WireConnection;284;0;227;0 +WireConnection;604;0;607;0 +WireConnection;604;1;605;0 +WireConnection;40;0;37;0 +WireConnection;40;1;36;0 +WireConnection;169;0;159;0 +WireConnection;169;1;221;0 +WireConnection;169;2;1140;0 +WireConnection;169;3;1119;0 +WireConnection;56;0;75;0 +WireConnection;45;0;590;0 +WireConnection;634;0;460;0 +WireConnection;636;0;634;0 +WireConnection;636;1;460;0 +WireConnection;636;2;635;4 +WireConnection;569;0;568;1 +WireConnection;570;0;569;0 +WireConnection;570;1;569;1 +WireConnection;571;0;570;0 +WireConnection;571;1;569;2 +WireConnection;572;0;571;0 +WireConnection;573;0;572;0 +WireConnection;575;1;574;0 +WireConnection;575;0;573;0 +WireConnection;592;0;583;0 +WireConnection;576;0;577;0 +WireConnection;576;1;575;0 +WireConnection;584;0;592;0 +WireConnection;584;1;582;0 +WireConnection;584;2;576;0 +WireConnection;32;0;584;0 +WireConnection;578;0;588;0 +WireConnection;578;1;632;0 +WireConnection;578;2;576;0 +WireConnection;581;0;578;0 +WireConnection;581;1;533;0 +WireConnection;589;0;581;0 +WireConnection;580;1;630;0 +WireConnection;580;2;576;0 +WireConnection;533;0;580;0 +WireConnection;630;0;628;0 +WireConnection;630;1;627;0 +WireConnection;630;2;629;4 +WireConnection;628;0;627;0 +WireConnection;798;0;1074;183 +WireConnection;798;1;1074;0 +WireConnection;791;0;798;0 +WireConnection;819;0;490;0 +WireConnection;819;1;818;0 +WireConnection;824;1;819;0 +WireConnection;824;2;823;0 +WireConnection;822;0;490;0 +WireConnection;823;0;490;0 +WireConnection;828;0;826;0 +WireConnection;828;1;818;0 +WireConnection;829;1;828;0 +WireConnection;829;2;831;0 +WireConnection;830;0;826;0 +WireConnection;831;0;826;0 +WireConnection;498;0;484;0 +WireConnection;498;1;484;0 +WireConnection;862;0;268;0 +WireConnection;862;1;859;0 +WireConnection;859;0;860;0 +WireConnection;859;1;864;0 +WireConnection;859;2;861;0 +WireConnection;864;0;858;0 +WireConnection;864;1;863;0 +WireConnection;906;0;907;0 +WireConnection;906;1;910;0 +WireConnection;906;2;908;0 +WireConnection;910;0;905;0 +WireConnection;910;1;909;0 +WireConnection;912;0;911;0 +WireConnection;912;1;906;0 +WireConnection;871;0;913;0 +WireConnection;984;14;866;1 +WireConnection;984;15;866;2 +WireConnection;984;16;866;3 +WireConnection;984;17;866;4 +WireConnection;984;18;868;0 +WireConnection;1031;0;1074;244 +WireConnection;788;0;497;0 +WireConnection;1044;0;1043;0 +WireConnection;495;0;493;0 +WireConnection;495;1;496;0 +WireConnection;489;0;1061;0 +WireConnection;489;1;832;0 +WireConnection;489;2;1042;0 +WireConnection;832;0;532;0 +WireConnection;832;1;829;0 +WireConnection;493;0;491;0 +WireConnection;494;0;489;0 +WireConnection;494;1;495;0 +WireConnection;1059;0;488;0 +WireConnection;1060;0;494;0 +WireConnection;786;0;1062;0 +WireConnection;380;1;393;0 +WireConnection;246;1;269;0 +WireConnection;223;1;225;0 +WireConnection;241;1;242;0 +WireConnection;241;5;388;0 +WireConnection;386;1;385;0 +WireConnection;866;1;912;0 +WireConnection;1062;0;266;0 +WireConnection;460;0;124;0 +WireConnection;1029;0;1141;0 +WireConnection;1118;0;1140;39 +WireConnection;121;0;301;0 +WireConnection;121;1;445;0 +WireConnection;987;0;121;0 +WireConnection;1117;0;1140;38 +WireConnection;1132;0;413;0 +WireConnection;617;0;616;0 +WireConnection;617;1;618;0 +WireConnection;620;0;617;0 +WireConnection;619;0;620;0 +WireConnection;1134;0;547;0 +WireConnection;1140;2;983;0 +WireConnection;1140;3;988;0 +WireConnection;1140;4;986;0 +WireConnection;1140;23;1032;0 +WireConnection;1141;214;1133;0 +WireConnection;1141;215;1135;0 +WireConnection;1141;207;1127;0 +WireConnection;1141;165;1095;0 +WireConnection;1141;84;1048;0 +WireConnection;1141;21;1011;0 +WireConnection;1141;44;1027;0 +WireConnection;1141;56;983;0 +WireConnection;1142;0;255;0 +WireConnection;1142;1;852;0 +WireConnection;90;0;1142;0 +WireConnection;1143;0;255;0 +WireConnection;1144;0;1143;0 +WireConnection;1146;0;381;0 +WireConnection;1146;1;1145;0 +WireConnection;224;0;223;0 +WireConnection;1149;0;1150;3 +WireConnection;1149;1;59;4 +WireConnection;1150;0;1148;0 +WireConnection;1147;0;1149;0 +WireConnection;0;0;378;0 +WireConnection;0;2;793;0 +WireConnection;0;9;1170;0 +WireConnection;0;13;169;0 +WireConnection;521;0;520;0 +WireConnection;158;0;165;0 +WireConnection;1165;0;162;0 +WireConnection;1168;0;848;0 +WireConnection;1168;1;1169;0 +WireConnection;850;0;1168;0 +WireConnection;848;0;847;0 +WireConnection;851;0;850;0 +WireConnection;1170;0;1172;0 +WireConnection;1170;1;1175;0 +WireConnection;1172;0;1151;0 +WireConnection;1049;0;1141;93 +WireConnection;1175;0;1179;0 +WireConnection;1175;1;1174;0 +WireConnection;1171;0;1162;0 +WireConnection;1179;0;1171;0 +WireConnection;1179;1;1177;0 +WireConnection;486;0;792;0 +WireConnection;486;2;1186;0 +WireConnection;486;1;1060;0 +WireConnection;1152;1;1154;0 +WireConnection;1152;0;1170;0 +WireConnection;1155;0;1152;0 +WireConnection;1042;14;1044;0 +WireConnection;1042;15;1044;1 +WireConnection;1042;16;1044;2 +WireConnection;1042;17;1044;3 +WireConnection;1042;18;1045;0 +WireConnection;1186;0;1042;0 +WireConnection;1186;1;497;4 +WireConnection;1074;1;787;0 +ASEEND*/ +//CHKSM=D3A04FB26DE70134479FDD6B5B1CC5DB256718E2 \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent.shader.meta b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent.shader.meta new file mode 100644 index 0000000..589dfbb --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/Shaders/Sylva Transparent.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 5a8432608bac314468939d80713436c8 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/UI.meta b/Packages/com.furality.sylvashader/Runtime/UI.meta new file mode 100644 index 0000000..9274d3d --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/UI.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4a4e8e1bd7511a54099c05f5f63fea74 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/UI/SylvaIcon.png b/Packages/com.furality.sylvashader/Runtime/UI/SylvaIcon.png new file mode 100644 index 0000000..ec4808f Binary files /dev/null and b/Packages/com.furality.sylvashader/Runtime/UI/SylvaIcon.png differ diff --git a/Packages/com.furality.sylvashader/Runtime/UI/SylvaIcon.png.meta b/Packages/com.furality.sylvashader/Runtime/UI/SylvaIcon.png.meta new file mode 100644 index 0000000..4151155 --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/UI/SylvaIcon.png.meta @@ -0,0 +1,116 @@ +fileFormatVersion: 2 +guid: 1a9dccc402981f542b249277649d7695 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + 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 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 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: Android + 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: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/Runtime/furality.sylvashader.asmdef b/Packages/com.furality.sylvashader/Runtime/furality.sylvashader.asmdef new file mode 100644 index 0000000..28d32cd --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/furality.sylvashader.asmdef @@ -0,0 +1,12 @@ +{ + "name": "furality.sylvashader", + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "autoReferenced": true, + "overrideReferences": false, + "precompiledReferences": [], + "defineConstraints": [], + "optionalUnityReferences": [] +} \ No newline at end of file diff --git a/Packages/com.furality.sylvashader/Runtime/furality.sylvashader.asmdef.meta b/Packages/com.furality.sylvashader/Runtime/furality.sylvashader.asmdef.meta new file mode 100644 index 0000000..a79aa7c --- /dev/null +++ b/Packages/com.furality.sylvashader/Runtime/furality.sylvashader.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f2c4f1b88259fd042b4409a4334ca6f6 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.furality.sylvashader/package.json b/Packages/com.furality.sylvashader/package.json new file mode 100644 index 0000000..1608ad8 --- /dev/null +++ b/Packages/com.furality.sylvashader/package.json @@ -0,0 +1,20 @@ +{ + "name": "com.furality.sylvashader", + "displayName": "Furality Sylva Shader", + "version": "1.0.0", + "unity": "2019.4", + "description": "Furality Sylva Avatar Shader for VRChat.\nCreated by Naito @ Furality, Inc.", + "author": { + "email": "help@furality.org", + "name": "Furality, Inc.", + "url": "https://furality.org" + }, + "vpmDependencies": { + "com.llealloo.audiolink": "0.3.2" + }, + "legacyFolders": {}, + "legacyFiles": {}, + "localPath": "Packages\\com.furality.sylvashader", + "hideInEditor": false, + "license": "Furality, Inc. Asset License" +} diff --git a/Packages/com.furality.sylvashader/package.json.meta b/Packages/com.furality.sylvashader/package.json.meta new file mode 100644 index 0000000..c7c6f7b --- /dev/null +++ b/Packages/com.furality.sylvashader/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 706dd706788ef794cac5cfb44ef1bbf7 +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.vrchat.core.bootstrap/Editor.meta b/Packages/com.vrchat.core.bootstrap/Editor.meta new file mode 100644 index 0000000..d8de383 --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5ee5eebf1b35bbd49ae7983db316180a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.vrchat.core.bootstrap/Editor/Bootstrap.cs b/Packages/com.vrchat.core.bootstrap/Editor/Bootstrap.cs new file mode 100644 index 0000000..e1a0917 --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/Editor/Bootstrap.cs @@ -0,0 +1,92 @@ +using System; +using System.IO; +using System.Net; +using System.Text.RegularExpressions; +using System.Threading.Tasks; +using UnityEditor; +using UnityEngine; + +namespace VRC.PackageManagement.Core +{ + public class Bootstrap + { + // JSON property names in Project Manifest + public const string UNITY_PACKAGES_FOLDER = "Packages"; + public const string UNITY_MANIFEST_FILENAME = "manifest.json"; + + // VRC Values + public const string VRC_CONFIG = "https://api.vrchat.cloud/api/1/config"; + public const string VRC_AGENT = "VCCBootstrap 1.0"; + public const string VRC_RESOLVER_PACKAGE = "com.vrchat.core.vpm-resolver"; + + // Finds url for bootstrap package without using JSON + private static Regex _bootstrapRegex = new Regex("\"bootstrap\"\\s*:\\s*\"(.+?(?=\"))\""); + public static string ManifestPath => Path.Combine(Directory.GetCurrentDirectory(), UNITY_PACKAGES_FOLDER, UNITY_MANIFEST_FILENAME); + + // Path where we expect the target package to exist + public static string ResolverPath => + Path.Combine(Directory.GetCurrentDirectory(), UNITY_PACKAGES_FOLDER, VRC_RESOLVER_PACKAGE); + + [InitializeOnLoadMethod] + public static async void CheckForRestore() + { + if (!new DirectoryInfo(ResolverPath).Exists) + { + try + { + await AddResolver(); + } + catch (Exception e) + { + Debug.LogError($"Could not download and install the VPM Package Resolver - you may be missing packages. Exception: {e.Message}"); + } + } + } + + public static async Task AddResolver() + { + var configData = await GetRemoteString(VRC_CONFIG); + if (string.IsNullOrWhiteSpace(configData)) + { + Debug.LogWarning($"Could not get VPM libraries, try again later"); + return; + } + var bootstrapMatch = _bootstrapRegex.Match(configData); + if (!bootstrapMatch.Success || bootstrapMatch.Groups.Count < 2) + { + Debug.LogError($"Could not find bootstrap in config, try again later"); + return; + } + + var url = bootstrapMatch.Groups[1].Value; + + var targetFile = Path.Combine(Path.GetTempPath(), $"resolver-{DateTime.Now.ToString("yyyyMMddTHHmmss")}.unitypackage"); + + // Download to dir + using (var client = new WebClient()) + { + // Add User Agent or else CloudFlare will return 1020 + client.Headers.Add(HttpRequestHeader.UserAgent, VRC_AGENT); + + await client.DownloadFileTaskAsync(url, targetFile); + + if (File.Exists(targetFile)) + { + Debug.Log($"Downloaded Resolver to {targetFile}"); + AssetDatabase.ImportPackage(targetFile, false); + } + } + return; + } + + public static async Task GetRemoteString(string url) + { + using (var client = new WebClient()) + { + // Add User Agent or else CloudFlare will return 1020 + client.Headers.Add(HttpRequestHeader.UserAgent, VRC_AGENT); + return await client.DownloadStringTaskAsync(url); + } + } + } +} diff --git a/Packages/com.vrchat.core.bootstrap/Editor/Bootstrap.cs.meta b/Packages/com.vrchat.core.bootstrap/Editor/Bootstrap.cs.meta new file mode 100644 index 0000000..d7ac1ae --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/Editor/Bootstrap.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: eea11c44cabdaaa43ac0a21dbbbd9824 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.vrchat.core.bootstrap/Editor/VRChat.Bootstrapper.Editor.asmdef b/Packages/com.vrchat.core.bootstrap/Editor/VRChat.Bootstrapper.Editor.asmdef new file mode 100644 index 0000000..115b3e2 --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/Editor/VRChat.Bootstrapper.Editor.asmdef @@ -0,0 +1,15 @@ +{ + "name": "VRChat.Bootstrapper.Editor", + "references": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/com.vrchat.core.bootstrap/Editor/VRChat.Bootstrapper.Editor.asmdef.meta b/Packages/com.vrchat.core.bootstrap/Editor/VRChat.Bootstrapper.Editor.asmdef.meta new file mode 100644 index 0000000..1d60f49 --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/Editor/VRChat.Bootstrapper.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e0d8a3ed977bd0948b99f4bce8e56a07 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.vrchat.core.bootstrap/License.md b/Packages/com.vrchat.core.bootstrap/License.md new file mode 100644 index 0000000..275530c --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/License.md @@ -0,0 +1,11 @@ +# VRCHAT INC. +### VRCHAT DISTRO LICENSE FILE +Version: February 24, 2022 + +**SUMMARY OF TERMS:** Any materials subject to this Distro Asset License may be distributed by you, with or without modifications, on a non-commercial basis (i.e., at no charge), in accordance with the full terms of the Materials License Agreement. + +This Distro License File is a "License File" as defined in the VRChat Materials License Agreement, found at https://hello.vrchat.com/legal/sdk (or any successor link designated by VRChat) (as may be revised from time to time, the "Materials License Agreement"). + +This Distro License File applies to all the files in the Folder containing this Distro License File and those in all Child Folders within that Folder (except with respect to files in any Child Folder that contains a different License File) (such files, other than this Distro License File, the "Covered Files"). All capitalized terms used but not otherwise defined in this Distro License File have the meanings provided in the Materials License Agreement. + +This Distro License File only provides a summary of the terms applicable to the Covered Files. To understand your rights and obligations and the full set of terms that apply to use of the Covered Files, please see the relevant sections of the Materials License Agreement, including terms applicable to Distro Materials. \ No newline at end of file diff --git a/Packages/com.vrchat.core.bootstrap/License.md.meta b/Packages/com.vrchat.core.bootstrap/License.md.meta new file mode 100644 index 0000000..3a508bc --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/License.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a84f4a071b4a7fa49985f447a0ce2fe2 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.vrchat.core.bootstrap/package.json b/Packages/com.vrchat.core.bootstrap/package.json new file mode 100644 index 0000000..d0b5080 --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/package.json @@ -0,0 +1,17 @@ +{ + "name" : "com.vrchat.core.bootstrap", + "displayName" : "VRChat Package Bootstrapper", + "version" : "0.1.15", + "unity" : "2019.4", + "description" : "Tool to Download VPM Packages", + "vrchatVersion" : "2022.1.1", + "author" : { + "name" : "VRChat", + "email" : "developer@vrchat.com", + "url" : "https://github.com/vrchat/packages" + }, + "url" : "", + "dependencies" : { + "com.unity.nuget.newtonsoft-json" : "2.0.2" + } +} diff --git a/Packages/com.vrchat.core.bootstrap/package.json.meta b/Packages/com.vrchat.core.bootstrap/package.json.meta new file mode 100644 index 0000000..9aea588 --- /dev/null +++ b/Packages/com.vrchat.core.bootstrap/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6c5fffb4815ba9046ad0a2e878396439 +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/manifest.json b/Packages/manifest.json new file mode 100644 index 0000000..6d46a20 --- /dev/null +++ b/Packages/manifest.json @@ -0,0 +1,42 @@ +{ + "dependencies": { + "com.unity.ide.rider": "1.2.1", + "com.unity.ide.visualstudio": "2.0.11", + "com.unity.ide.vscode": "1.2.4", + "com.unity.test-framework": "1.1.29", + "com.unity.textmeshpro": "2.1.6", + "com.unity.timeline": "1.2.18", + "com.unity.ugui": "1.0.0", + "com.unity.modules.ai": "1.0.0", + "com.unity.modules.androidjni": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.cloth": "1.0.0", + "com.unity.modules.director": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.physics2d": "1.0.0", + "com.unity.modules.screencapture": "1.0.0", + "com.unity.modules.terrain": "1.0.0", + "com.unity.modules.terrainphysics": "1.0.0", + "com.unity.modules.tilemap": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.uielements": "1.0.0", + "com.unity.modules.umbra": "1.0.0", + "com.unity.modules.unityanalytics": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.unitywebrequesttexture": "1.0.0", + "com.unity.modules.unitywebrequestwww": "1.0.0", + "com.unity.modules.vehicles": "1.0.0", + "com.unity.modules.video": "1.0.0", + "com.unity.modules.vr": "1.0.0", + "com.unity.modules.wind": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } +} diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json new file mode 100644 index 0000000..cfd4e20 --- /dev/null +++ b/Packages/packages-lock.json @@ -0,0 +1,348 @@ +{ + "dependencies": { + "com.unity.ext.nunit": { + "version": "1.0.6", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.ide.rider": { + "version": "1.2.1", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.test-framework": "1.1.1" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ide.visualstudio": { + "version": "2.0.11", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.test-framework": "1.1.9" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ide.vscode": { + "version": "1.2.4", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.nuget.newtonsoft-json": { + "version": "2.0.2", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.test-framework": { + "version": "1.1.29", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.ext.nunit": "1.0.6", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.textmeshpro": { + "version": "2.1.6", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.ugui": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.timeline": { + "version": "1.2.18", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.modules.director": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ugui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0" + } + }, + "com.vrchat.core.bootstrap": { + "version": "file:com.vrchat.core.bootstrap", + "depth": 0, + "source": "embedded", + "dependencies": { + "com.unity.nuget.newtonsoft-json": "2.0.2" + } + }, + "com.vrchat.core.vpm-resolver": { + "version": "file:com.vrchat.core.vpm-resolver", + "depth": 0, + "source": "embedded", + "dependencies": { + "com.unity.nuget.newtonsoft-json": "2.0.2" + } + }, + "com.vrchat.demo-template": { + "version": "file:com.vrchat.demo-template", + "depth": 0, + "source": "embedded", + "dependencies": {} + }, + "com.unity.modules.ai": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.androidjni": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.animation": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.assetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.audio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.cloth": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.director": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.animation": "1.0.0" + } + }, + "com.unity.modules.imageconversion": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.imgui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.jsonserialize": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.particlesystem": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics2d": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.screencapture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.subsystems": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.terrain": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.terrainphysics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.terrain": "1.0.0" + } + }, + "com.unity.modules.tilemap": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics2d": "1.0.0" + } + }, + "com.unity.modules.ui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.uielements": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.umbra": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unityanalytics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.unitywebrequest": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unitywebrequestassetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestaudio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.audio": "1.0.0" + } + }, + "com.unity.modules.unitywebrequesttexture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestwww": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.vehicles": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.video": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.vr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } + }, + "com.unity.modules.wind": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.xr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.subsystems": "1.0.0" + } + } + } +} diff --git a/Packages/vpm-manifest.json b/Packages/vpm-manifest.json new file mode 100644 index 0000000..9e8f163 --- /dev/null +++ b/Packages/vpm-manifest.json @@ -0,0 +1 @@ +{"dependencies": {}, "locked": {}} \ No newline at end of file diff --git a/ProjectSettings/AudioManager.asset b/ProjectSettings/AudioManager.asset new file mode 100644 index 0000000..07ebfb0 --- /dev/null +++ b/ProjectSettings/AudioManager.asset @@ -0,0 +1,19 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!11 &1 +AudioManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Volume: 1 + Rolloff Scale: 1 + Doppler Factor: 1 + Default Speaker Mode: 2 + m_SampleRate: 0 + m_DSPBufferSize: 1024 + m_VirtualVoiceCount: 512 + m_RealVoiceCount: 32 + m_SpatializerPlugin: + m_AmbisonicDecoderPlugin: + m_DisableAudio: 0 + m_VirtualizeEffects: 1 + m_RequestedDSPBufferSize: 1024 diff --git a/ProjectSettings/ClusterInputManager.asset b/ProjectSettings/ClusterInputManager.asset new file mode 100644 index 0000000..e7886b2 --- /dev/null +++ b/ProjectSettings/ClusterInputManager.asset @@ -0,0 +1,6 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!236 &1 +ClusterInputManager: + m_ObjectHideFlags: 0 + m_Inputs: [] diff --git a/ProjectSettings/DynamicsManager.asset b/ProjectSettings/DynamicsManager.asset new file mode 100644 index 0000000..cdc1f3e --- /dev/null +++ b/ProjectSettings/DynamicsManager.asset @@ -0,0 +1,34 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!55 &1 +PhysicsManager: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_Gravity: {x: 0, y: -9.81, z: 0} + m_DefaultMaterial: {fileID: 0} + m_BounceThreshold: 2 + m_SleepThreshold: 0.005 + m_DefaultContactOffset: 0.01 + m_DefaultSolverIterations: 6 + m_DefaultSolverVelocityIterations: 1 + m_QueriesHitBackfaces: 0 + m_QueriesHitTriggers: 1 + m_EnableAdaptiveForce: 0 + m_ClothInterCollisionDistance: 0 + m_ClothInterCollisionStiffness: 0 + m_ContactsGeneration: 1 + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + m_AutoSimulation: 1 + m_AutoSyncTransforms: 0 + m_ReuseCollisionCallbacks: 1 + m_ClothInterCollisionSettingsToggle: 0 + m_ContactPairsMode: 0 + m_BroadphaseType: 0 + m_WorldBounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 250, y: 250, z: 250} + m_WorldSubdivisions: 8 + m_FrictionType: 0 + m_EnableEnhancedDeterminism: 0 + m_EnableUnifiedHeightmaps: 1 + m_DefaultMaxAngluarSpeed: 7 diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset new file mode 100644 index 0000000..0147887 --- /dev/null +++ b/ProjectSettings/EditorBuildSettings.asset @@ -0,0 +1,8 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1045 &1 +EditorBuildSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Scenes: [] + m_configObjects: {} diff --git a/ProjectSettings/EditorSettings.asset b/ProjectSettings/EditorSettings.asset new file mode 100644 index 0000000..f920544 --- /dev/null +++ b/ProjectSettings/EditorSettings.asset @@ -0,0 +1,35 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!159 &1 +EditorSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_ExternalVersionControlSupport: Visible Meta Files + m_SerializationMode: 2 + m_LineEndingsForNewScripts: 0 + m_DefaultBehaviorMode: 0 + m_PrefabRegularEnvironment: {fileID: 0} + m_PrefabUIEnvironment: {fileID: 0} + m_SpritePackerMode: 0 + m_SpritePackerPaddingPower: 1 + m_EtcTextureCompressorBehavior: 1 + m_EtcTextureFastCompressor: 1 + m_EtcTextureNormalCompressor: 2 + m_EtcTextureBestCompressor: 4 + m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref + m_ProjectGenerationRootNamespace: + m_CollabEditorSettings: + inProgressEnabled: 1 + m_EnableTextureStreamingInEditMode: 1 + m_EnableTextureStreamingInPlayMode: 1 + m_AsyncShaderCompilation: 1 + m_EnterPlayModeOptionsEnabled: 0 + m_EnterPlayModeOptions: 3 + m_ShowLightmapResolutionOverlay: 1 + m_UseLegacyProbeSampleCount: 0 + m_AssetPipelineMode: 1 + m_CacheServerMode: 0 + m_CacheServerEndpoint: + m_CacheServerNamespacePrefix: default + m_CacheServerEnableDownload: 1 + m_CacheServerEnableUpload: 1 diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset new file mode 100644 index 0000000..43369e3 --- /dev/null +++ b/ProjectSettings/GraphicsSettings.asset @@ -0,0 +1,63 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!30 &1 +GraphicsSettings: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_Deferred: + m_Mode: 1 + m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} + m_DeferredReflections: + m_Mode: 1 + m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} + m_ScreenSpaceShadows: + m_Mode: 1 + m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} + m_LegacyDeferred: + m_Mode: 1 + m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} + m_DepthNormals: + m_Mode: 1 + m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} + m_MotionVectors: + m_Mode: 1 + m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} + m_LightHalo: + m_Mode: 1 + m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} + m_LensFlare: + m_Mode: 1 + m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} + m_AlwaysIncludedShaders: + - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} + m_PreloadedShaders: [] + m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, + type: 0} + m_CustomRenderPipeline: {fileID: 0} + m_TransparencySortMode: 0 + m_TransparencySortAxis: {x: 0, y: 0, z: 1} + m_DefaultRenderingPath: 1 + m_DefaultMobileRenderingPath: 1 + m_TierSettings: [] + m_LightmapStripping: 0 + m_FogStripping: 0 + m_InstancingStripping: 0 + m_LightmapKeepPlain: 1 + m_LightmapKeepDirCombined: 1 + m_LightmapKeepDynamicPlain: 1 + m_LightmapKeepDynamicDirCombined: 1 + m_LightmapKeepShadowMask: 1 + m_LightmapKeepSubtractive: 1 + m_FogKeepLinear: 1 + m_FogKeepExp: 1 + m_FogKeepExp2: 1 + m_AlbedoSwatchInfos: [] + m_LightsUseLinearIntensity: 0 + m_LightsUseColorTemperature: 0 + m_LogWhenShaderIsCompiled: 0 + m_AllowEnlightenSupportForUpgradedProject: 0 diff --git a/ProjectSettings/InputManager.asset b/ProjectSettings/InputManager.asset new file mode 100644 index 0000000..17c8f53 --- /dev/null +++ b/ProjectSettings/InputManager.asset @@ -0,0 +1,295 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!13 &1 +InputManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Axes: + - serializedVersion: 3 + m_Name: Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: a + altPositiveButton: d + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: s + altPositiveButton: w + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left ctrl + altNegativeButton: + altPositiveButton: mouse 0 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left alt + altNegativeButton: + altPositiveButton: mouse 1 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire3 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left shift + altNegativeButton: + altPositiveButton: mouse 2 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Jump + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: space + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse X + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse Y + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 1 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse ScrollWheel + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 2 + joyNum: 0 + - serializedVersion: 3 + m_Name: Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0.19 + sensitivity: 1 + snap: 0 + invert: 0 + type: 2 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0.19 + sensitivity: 1 + snap: 0 + invert: 1 + type: 2 + axis: 1 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 0 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 1 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire3 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 2 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Jump + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 3 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Submit + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: return + altNegativeButton: + altPositiveButton: joystick button 0 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Submit + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: enter + altNegativeButton: + altPositiveButton: space + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Cancel + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: escape + altNegativeButton: + altPositiveButton: joystick button 1 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 diff --git a/ProjectSettings/NavMeshAreas.asset b/ProjectSettings/NavMeshAreas.asset new file mode 100644 index 0000000..3b0b7c3 --- /dev/null +++ b/ProjectSettings/NavMeshAreas.asset @@ -0,0 +1,91 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!126 &1 +NavMeshProjectSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + areas: + - name: Walkable + cost: 1 + - name: Not Walkable + cost: 1 + - name: Jump + cost: 2 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + m_LastAgentTypeID: -887442657 + m_Settings: + - serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.75 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_SettingNames: + - Humanoid diff --git a/ProjectSettings/PackageManagerSettings.asset b/ProjectSettings/PackageManagerSettings.asset new file mode 100644 index 0000000..6920e3a --- /dev/null +++ b/ProjectSettings/PackageManagerSettings.asset @@ -0,0 +1,38 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: + m_ScopedRegistriesSettingsExpanded: 1 + oneTimeWarningShown: 0 + m_Registries: + - m_Id: main + m_Name: + m_Url: https://packages.unity.com + m_Scopes: [] + m_IsDefault: 1 + m_UserSelectedRegistryName: + m_UserAddingNewScopedRegistry: 0 + m_RegistryInfoDraft: + m_ErrorMessage: + m_Original: + m_Id: + m_Name: + m_Url: + m_Scopes: [] + m_IsDefault: 0 + m_Modified: 0 + m_Name: + m_Url: + m_Scopes: + - + m_SelectedScopeIndex: 0 diff --git a/ProjectSettings/Physics2DSettings.asset b/ProjectSettings/Physics2DSettings.asset new file mode 100644 index 0000000..47880b1 --- /dev/null +++ b/ProjectSettings/Physics2DSettings.asset @@ -0,0 +1,56 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!19 &1 +Physics2DSettings: + m_ObjectHideFlags: 0 + serializedVersion: 4 + m_Gravity: {x: 0, y: -9.81} + m_DefaultMaterial: {fileID: 0} + m_VelocityIterations: 8 + m_PositionIterations: 3 + m_VelocityThreshold: 1 + m_MaxLinearCorrection: 0.2 + m_MaxAngularCorrection: 8 + m_MaxTranslationSpeed: 100 + m_MaxRotationSpeed: 360 + m_BaumgarteScale: 0.2 + m_BaumgarteTimeOfImpactScale: 0.75 + m_TimeToSleep: 0.5 + m_LinearSleepTolerance: 0.01 + m_AngularSleepTolerance: 2 + m_DefaultContactOffset: 0.01 + m_JobOptions: + serializedVersion: 2 + useMultithreading: 0 + useConsistencySorting: 0 + m_InterpolationPosesPerJob: 100 + m_NewContactsPerJob: 30 + m_CollideContactsPerJob: 100 + m_ClearFlagsPerJob: 200 + m_ClearBodyForcesPerJob: 200 + m_SyncDiscreteFixturesPerJob: 50 + m_SyncContinuousFixturesPerJob: 50 + m_FindNearestContactsPerJob: 100 + m_UpdateTriggerContactsPerJob: 100 + m_IslandSolverCostThreshold: 100 + m_IslandSolverBodyCostScale: 1 + m_IslandSolverContactCostScale: 10 + m_IslandSolverJointCostScale: 10 + m_IslandSolverBodiesPerJob: 50 + m_IslandSolverContactsPerJob: 50 + m_AutoSimulation: 1 + m_QueriesHitTriggers: 1 + m_QueriesStartInColliders: 1 + m_CallbacksOnDisable: 1 + m_ReuseCollisionCallbacks: 1 + m_AutoSyncTransforms: 0 + m_AlwaysShowColliders: 0 + m_ShowColliderSleep: 1 + m_ShowColliderContacts: 0 + m_ShowColliderAABB: 0 + m_ContactArrowScale: 0.2 + m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} + m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} + m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} + m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/ProjectSettings/PresetManager.asset b/ProjectSettings/PresetManager.asset new file mode 100644 index 0000000..67a94da --- /dev/null +++ b/ProjectSettings/PresetManager.asset @@ -0,0 +1,7 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1386491679 &1 +PresetManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_DefaultPresets: {} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset new file mode 100644 index 0000000..1412f55 --- /dev/null +++ b/ProjectSettings/ProjectSettings.asset @@ -0,0 +1,713 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!129 &1 +PlayerSettings: + m_ObjectHideFlags: 0 + serializedVersion: 20 + productGUID: b3c5e0f91eedeff44a33fc4ff58cec69 + AndroidProfiler: 0 + AndroidFilterTouchesWhenObscured: 0 + AndroidEnableSustainedPerformanceMode: 0 + defaultScreenOrientation: 4 + targetDevice: 2 + useOnDemandResources: 0 + accelerometerFrequency: 60 + companyName: VRChat + productName: vpm-package-maker + defaultCursor: {fileID: 0} + cursorHotspot: {x: 0, y: 0} + m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} + m_ShowUnitySplashScreen: 1 + m_ShowUnitySplashLogo: 1 + m_SplashScreenOverlayOpacity: 1 + m_SplashScreenAnimation: 1 + m_SplashScreenLogoStyle: 1 + m_SplashScreenDrawMode: 0 + m_SplashScreenBackgroundAnimationZoom: 1 + m_SplashScreenLogoAnimationZoom: 1 + m_SplashScreenBackgroundLandscapeAspect: 1 + m_SplashScreenBackgroundPortraitAspect: 1 + m_SplashScreenBackgroundLandscapeUvs: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + m_SplashScreenBackgroundPortraitUvs: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + m_SplashScreenLogos: [] + m_VirtualRealitySplashScreen: {fileID: 0} + m_HolographicTrackingLossScreen: {fileID: 0} + defaultScreenWidth: 1024 + defaultScreenHeight: 768 + defaultScreenWidthWeb: 960 + defaultScreenHeightWeb: 600 + m_StereoRenderingPath: 0 + m_ActiveColorSpace: 0 + m_MTRendering: 1 + m_StackTraceTypes: 010000000100000001000000010000000100000001000000 + iosShowActivityIndicatorOnLoading: -1 + androidShowActivityIndicatorOnLoading: -1 + iosUseCustomAppBackgroundBehavior: 0 + iosAllowHTTPDownload: 1 + allowedAutorotateToPortrait: 1 + allowedAutorotateToPortraitUpsideDown: 1 + allowedAutorotateToLandscapeRight: 1 + allowedAutorotateToLandscapeLeft: 1 + useOSAutorotation: 1 + use32BitDisplayBuffer: 1 + preserveFramebufferAlpha: 0 + disableDepthAndStencilBuffers: 0 + androidStartInFullscreen: 1 + androidRenderOutsideSafeArea: 1 + androidUseSwappy: 0 + androidBlitType: 0 + androidResizableWindow: 0 + androidDefaultWindowWidth: 1920 + androidDefaultWindowHeight: 1080 + androidMinimumWindowWidth: 400 + androidMinimumWindowHeight: 300 + androidFullscreenMode: 1 + defaultIsNativeResolution: 1 + macRetinaSupport: 1 + runInBackground: 1 + captureSingleScreen: 0 + muteOtherAudioSources: 0 + Prepare IOS For Recording: 0 + Force IOS Speakers When Recording: 0 + deferSystemGesturesMode: 0 + hideHomeButton: 0 + submitAnalytics: 1 + usePlayerLog: 1 + bakeCollisionMeshes: 0 + forceSingleInstance: 0 + useFlipModelSwapchain: 1 + resizableWindow: 0 + useMacAppStoreValidation: 0 + macAppStoreCategory: public.app-category.games + gpuSkinning: 1 + xboxPIXTextureCapture: 0 + xboxEnableAvatar: 0 + xboxEnableKinect: 0 + xboxEnableKinectAutoTracking: 0 + xboxEnableFitness: 0 + visibleInBackground: 1 + allowFullscreenSwitch: 1 + fullscreenMode: 1 + xboxSpeechDB: 0 + xboxEnableHeadOrientation: 0 + xboxEnableGuest: 0 + xboxEnablePIXSampling: 0 + metalFramebufferOnly: 0 + xboxOneResolution: 0 + xboxOneSResolution: 0 + xboxOneXResolution: 3 + xboxOneMonoLoggingLevel: 0 + xboxOneLoggingLevel: 1 + xboxOneDisableEsram: 0 + xboxOneEnableTypeOptimization: 0 + xboxOnePresentImmediateThreshold: 0 + switchQueueCommandMemory: 0 + switchQueueControlMemory: 16384 + switchQueueComputeMemory: 262144 + switchNVNShaderPoolsGranularity: 33554432 + switchNVNDefaultPoolsGranularity: 16777216 + switchNVNOtherPoolsGranularity: 16777216 + switchNVNMaxPublicTextureIDCount: 0 + switchNVNMaxPublicSamplerIDCount: 0 + stadiaPresentMode: 0 + stadiaTargetFramerate: 0 + vulkanNumSwapchainBuffers: 3 + vulkanEnableSetSRGBWrite: 0 + vulkanEnableLateAcquireNextImage: 0 + m_SupportedAspectRatios: + 4:3: 1 + 5:4: 1 + 16:10: 1 + 16:9: 1 + Others: 1 + bundleVersion: 0.1 + preloadedAssets: [] + metroInputSource: 0 + wsaTransparentSwapchain: 0 + m_HolographicPauseOnTrackingLoss: 1 + xboxOneDisableKinectGpuReservation: 1 + xboxOneEnable7thCore: 1 + vrSettings: + cardboard: + depthFormat: 0 + enableTransitionView: 0 + daydream: + depthFormat: 0 + useSustainedPerformanceMode: 0 + enableVideoLayer: 0 + useProtectedVideoMemory: 0 + minimumSupportedHeadTracking: 0 + maximumSupportedHeadTracking: 1 + hololens: + depthFormat: 1 + depthBufferSharingEnabled: 1 + lumin: + depthFormat: 0 + frameTiming: 2 + enableGLCache: 0 + glCacheMaxBlobSize: 524288 + glCacheMaxFileSize: 8388608 + oculus: + sharedDepthBuffer: 1 + dashSupport: 1 + lowOverheadMode: 0 + protectedContext: 0 + v2Signing: 1 + enable360StereoCapture: 0 + isWsaHolographicRemotingEnabled: 0 + enableFrameTimingStats: 0 + useHDRDisplay: 0 + D3DHDRBitDepth: 0 + m_ColorGamuts: 00000000 + targetPixelDensity: 30 + resolutionScalingMode: 0 + androidSupportedAspectRatio: 1 + androidMaxAspectRatio: 2.1 + applicationIdentifier: {} + buildNumber: {} + AndroidBundleVersionCode: 1 + AndroidMinSdkVersion: 19 + AndroidTargetSdkVersion: 0 + AndroidPreferredInstallLocation: 1 + aotOptions: + stripEngineCode: 1 + iPhoneStrippingLevel: 0 + iPhoneScriptCallOptimization: 0 + ForceInternetPermission: 0 + ForceSDCardPermission: 0 + CreateWallpaper: 0 + APKExpansionFiles: 0 + keepLoadedShadersAlive: 0 + StripUnusedMeshComponents: 1 + VertexChannelCompressionMask: 4054 + iPhoneSdkVersion: 988 + iOSTargetOSVersionString: 10.0 + tvOSSdkVersion: 0 + tvOSRequireExtendedGameController: 0 + tvOSTargetOSVersionString: 10.0 + uIPrerenderedIcon: 0 + uIRequiresPersistentWiFi: 0 + uIRequiresFullScreen: 1 + uIStatusBarHidden: 1 + uIExitOnSuspend: 0 + uIStatusBarStyle: 0 + appleTVSplashScreen: {fileID: 0} + appleTVSplashScreen2x: {fileID: 0} + tvOSSmallIconLayers: [] + tvOSSmallIconLayers2x: [] + tvOSLargeIconLayers: [] + tvOSLargeIconLayers2x: [] + tvOSTopShelfImageLayers: [] + tvOSTopShelfImageLayers2x: [] + tvOSTopShelfImageWideLayers: [] + tvOSTopShelfImageWideLayers2x: [] + iOSLaunchScreenType: 0 + iOSLaunchScreenPortrait: {fileID: 0} + iOSLaunchScreenLandscape: {fileID: 0} + iOSLaunchScreenBackgroundColor: + serializedVersion: 2 + rgba: 0 + iOSLaunchScreenFillPct: 100 + iOSLaunchScreenSize: 100 + iOSLaunchScreenCustomXibPath: + iOSLaunchScreeniPadType: 0 + iOSLaunchScreeniPadImage: {fileID: 0} + iOSLaunchScreeniPadBackgroundColor: + serializedVersion: 2 + rgba: 0 + iOSLaunchScreeniPadFillPct: 100 + iOSLaunchScreeniPadSize: 100 + iOSLaunchScreeniPadCustomXibPath: + iOSUseLaunchScreenStoryboard: 0 + iOSLaunchScreenCustomStoryboardPath: + iOSDeviceRequirements: [] + iOSURLSchemes: [] + iOSBackgroundModes: 0 + iOSMetalForceHardShadows: 0 + metalEditorSupport: 1 + metalAPIValidation: 1 + iOSRenderExtraFrameOnPause: 0 + iosCopyPluginsCodeInsteadOfSymlink: 0 + appleDeveloperTeamID: + iOSManualSigningProvisioningProfileID: + tvOSManualSigningProvisioningProfileID: + iOSManualSigningProvisioningProfileType: 0 + tvOSManualSigningProvisioningProfileType: 0 + appleEnableAutomaticSigning: 0 + iOSRequireARKit: 0 + iOSAutomaticallyDetectAndAddCapabilities: 1 + appleEnableProMotion: 0 + clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea + templatePackageId: com.unity.template.3d@4.2.8 + templateDefaultScene: Assets/Scenes/SampleScene.unity + AndroidTargetArchitectures: 1 + AndroidTargetDevices: 0 + AndroidSplashScreenScale: 0 + androidSplashScreen: {fileID: 0} + AndroidKeystoreName: + AndroidKeyaliasName: + AndroidBuildApkPerCpuArchitecture: 0 + AndroidTVCompatibility: 0 + AndroidIsGame: 1 + AndroidEnableTango: 0 + androidEnableBanner: 1 + androidUseLowAccuracyLocation: 0 + androidUseCustomKeystore: 0 + m_AndroidBanners: + - width: 320 + height: 180 + banner: {fileID: 0} + androidGamepadSupportLevel: 0 + chromeosInputEmulation: 1 + AndroidValidateAppBundleSize: 1 + AndroidAppBundleSizeToValidate: 150 + m_BuildTargetIcons: [] + m_BuildTargetPlatformIcons: [] + m_BuildTargetBatching: + - m_BuildTarget: Standalone + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: tvOS + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: Android + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: iPhone + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: WebGL + m_StaticBatching: 0 + m_DynamicBatching: 0 + m_BuildTargetGraphicsJobs: + - m_BuildTarget: MacStandaloneSupport + m_GraphicsJobs: 0 + - m_BuildTarget: Switch + m_GraphicsJobs: 1 + - m_BuildTarget: MetroSupport + m_GraphicsJobs: 1 + - m_BuildTarget: AppleTVSupport + m_GraphicsJobs: 0 + - m_BuildTarget: BJMSupport + m_GraphicsJobs: 1 + - m_BuildTarget: LinuxStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: PS4Player + m_GraphicsJobs: 1 + - m_BuildTarget: iOSSupport + m_GraphicsJobs: 0 + - m_BuildTarget: WindowsStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobs: 1 + - m_BuildTarget: LuminSupport + m_GraphicsJobs: 0 + - m_BuildTarget: AndroidPlayer + m_GraphicsJobs: 0 + - m_BuildTarget: WebGLSupport + m_GraphicsJobs: 0 + m_BuildTargetGraphicsJobMode: + - m_BuildTarget: PS4Player + m_GraphicsJobMode: 0 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobMode: 0 + m_BuildTargetGraphicsAPIs: + - m_BuildTarget: AndroidPlayer + m_APIs: 150000000b000000 + m_Automatic: 0 + - m_BuildTarget: iOSSupport + m_APIs: 10000000 + m_Automatic: 1 + - m_BuildTarget: AppleTVSupport + m_APIs: 10000000 + m_Automatic: 0 + - m_BuildTarget: WebGLSupport + m_APIs: 0b000000 + m_Automatic: 1 + m_BuildTargetVRSettings: + - m_BuildTarget: Standalone + m_Enabled: 0 + m_Devices: + - Oculus + - OpenVR + openGLRequireES31: 0 + openGLRequireES31AEP: 0 + openGLRequireES32: 0 + m_TemplateCustomTags: {} + mobileMTRendering: + Android: 1 + iPhone: 1 + tvOS: 1 + m_BuildTargetGroupLightmapEncodingQuality: [] + m_BuildTargetGroupLightmapSettings: [] + playModeTestRunnerEnabled: 0 + runPlayModeTestAsEditModeTest: 0 + actionOnDotNetUnhandledException: 1 + enableInternalProfiler: 0 + logObjCUncaughtExceptions: 1 + enableCrashReportAPI: 0 + cameraUsageDescription: + locationUsageDescription: + microphoneUsageDescription: + switchNetLibKey: + switchSocketMemoryPoolSize: 6144 + switchSocketAllocatorPoolSize: 128 + switchSocketConcurrencyLimit: 14 + switchScreenResolutionBehavior: 2 + switchUseCPUProfiler: 0 + switchApplicationID: 0x01004b9000490000 + switchNSODependencies: + switchTitleNames_0: + switchTitleNames_1: + switchTitleNames_2: + switchTitleNames_3: + switchTitleNames_4: + switchTitleNames_5: + switchTitleNames_6: + switchTitleNames_7: + switchTitleNames_8: + switchTitleNames_9: + switchTitleNames_10: + switchTitleNames_11: + switchTitleNames_12: + switchTitleNames_13: + switchTitleNames_14: + switchTitleNames_15: + switchPublisherNames_0: + switchPublisherNames_1: + switchPublisherNames_2: + switchPublisherNames_3: + switchPublisherNames_4: + switchPublisherNames_5: + switchPublisherNames_6: + switchPublisherNames_7: + switchPublisherNames_8: + switchPublisherNames_9: + switchPublisherNames_10: + switchPublisherNames_11: + switchPublisherNames_12: + switchPublisherNames_13: + switchPublisherNames_14: + switchPublisherNames_15: + switchIcons_0: {fileID: 0} + switchIcons_1: {fileID: 0} + switchIcons_2: {fileID: 0} + switchIcons_3: {fileID: 0} + switchIcons_4: {fileID: 0} + switchIcons_5: {fileID: 0} + switchIcons_6: {fileID: 0} + switchIcons_7: {fileID: 0} + switchIcons_8: {fileID: 0} + switchIcons_9: {fileID: 0} + switchIcons_10: {fileID: 0} + switchIcons_11: {fileID: 0} + switchIcons_12: {fileID: 0} + switchIcons_13: {fileID: 0} + switchIcons_14: {fileID: 0} + switchIcons_15: {fileID: 0} + switchSmallIcons_0: {fileID: 0} + switchSmallIcons_1: {fileID: 0} + switchSmallIcons_2: {fileID: 0} + switchSmallIcons_3: {fileID: 0} + switchSmallIcons_4: {fileID: 0} + switchSmallIcons_5: {fileID: 0} + switchSmallIcons_6: {fileID: 0} + switchSmallIcons_7: {fileID: 0} + switchSmallIcons_8: {fileID: 0} + switchSmallIcons_9: {fileID: 0} + switchSmallIcons_10: {fileID: 0} + switchSmallIcons_11: {fileID: 0} + switchSmallIcons_12: {fileID: 0} + switchSmallIcons_13: {fileID: 0} + switchSmallIcons_14: {fileID: 0} + switchSmallIcons_15: {fileID: 0} + switchManualHTML: + switchAccessibleURLs: + switchLegalInformation: + switchMainThreadStackSize: 1048576 + switchPresenceGroupId: + switchLogoHandling: 0 + switchReleaseVersion: 0 + switchDisplayVersion: 1.0.0 + switchStartupUserAccount: 0 + switchTouchScreenUsage: 0 + switchSupportedLanguagesMask: 0 + switchLogoType: 0 + switchApplicationErrorCodeCategory: + switchUserAccountSaveDataSize: 0 + switchUserAccountSaveDataJournalSize: 0 + switchApplicationAttribute: 0 + switchCardSpecSize: -1 + switchCardSpecClock: -1 + switchRatingsMask: 0 + switchRatingsInt_0: 0 + switchRatingsInt_1: 0 + switchRatingsInt_2: 0 + switchRatingsInt_3: 0 + switchRatingsInt_4: 0 + switchRatingsInt_5: 0 + switchRatingsInt_6: 0 + switchRatingsInt_7: 0 + switchRatingsInt_8: 0 + switchRatingsInt_9: 0 + switchRatingsInt_10: 0 + switchRatingsInt_11: 0 + switchRatingsInt_12: 0 + switchLocalCommunicationIds_0: + switchLocalCommunicationIds_1: + switchLocalCommunicationIds_2: + switchLocalCommunicationIds_3: + switchLocalCommunicationIds_4: + switchLocalCommunicationIds_5: + switchLocalCommunicationIds_6: + switchLocalCommunicationIds_7: + switchParentalControl: 0 + switchAllowsScreenshot: 1 + switchAllowsVideoCapturing: 1 + switchAllowsRuntimeAddOnContentInstall: 0 + switchDataLossConfirmation: 0 + switchUserAccountLockEnabled: 0 + switchSystemResourceMemory: 16777216 + switchSupportedNpadStyles: 22 + switchNativeFsCacheSize: 32 + switchIsHoldTypeHorizontal: 0 + switchSupportedNpadCount: 8 + switchSocketConfigEnabled: 0 + switchTcpInitialSendBufferSize: 32 + switchTcpInitialReceiveBufferSize: 64 + switchTcpAutoSendBufferSizeMax: 256 + switchTcpAutoReceiveBufferSizeMax: 256 + switchUdpSendBufferSize: 9 + switchUdpReceiveBufferSize: 42 + switchSocketBufferEfficiency: 4 + switchSocketInitializeEnabled: 1 + switchNetworkInterfaceManagerInitializeEnabled: 1 + switchPlayerConnectionEnabled: 1 + switchUseMicroSleepForYield: 1 + switchMicroSleepForYieldTime: 25 + ps4NPAgeRating: 12 + ps4NPTitleSecret: + ps4NPTrophyPackPath: + ps4ParentalLevel: 11 + ps4ContentID: ED1633-NPXX51362_00-0000000000000000 + ps4Category: 0 + ps4MasterVersion: 01.00 + ps4AppVersion: 01.00 + ps4AppType: 0 + ps4ParamSfxPath: + ps4VideoOutPixelFormat: 0 + ps4VideoOutInitialWidth: 1920 + ps4VideoOutBaseModeInitialWidth: 1920 + ps4VideoOutReprojectionRate: 60 + ps4PronunciationXMLPath: + ps4PronunciationSIGPath: + ps4BackgroundImagePath: + ps4StartupImagePath: + ps4StartupImagesFolder: + ps4IconImagesFolder: + ps4SaveDataImagePath: + ps4SdkOverride: + ps4BGMPath: + ps4ShareFilePath: + ps4ShareOverlayImagePath: + ps4PrivacyGuardImagePath: + ps4ExtraSceSysFile: + ps4NPtitleDatPath: + ps4RemotePlayKeyAssignment: -1 + ps4RemotePlayKeyMappingDir: + ps4PlayTogetherPlayerCount: 0 + ps4EnterButtonAssignment: 1 + ps4ApplicationParam1: 0 + ps4ApplicationParam2: 0 + ps4ApplicationParam3: 0 + ps4ApplicationParam4: 0 + ps4DownloadDataSize: 0 + ps4GarlicHeapSize: 2048 + ps4ProGarlicHeapSize: 2560 + playerPrefsMaxSize: 32768 + ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ + ps4pnSessions: 1 + ps4pnPresence: 1 + ps4pnFriends: 1 + ps4pnGameCustomData: 1 + playerPrefsSupport: 0 + enableApplicationExit: 0 + resetTempFolder: 1 + restrictedAudioUsageRights: 0 + ps4UseResolutionFallback: 0 + ps4ReprojectionSupport: 0 + ps4UseAudio3dBackend: 0 + ps4UseLowGarlicFragmentationMode: 1 + ps4SocialScreenEnabled: 0 + ps4ScriptOptimizationLevel: 0 + ps4Audio3dVirtualSpeakerCount: 14 + ps4attribCpuUsage: 0 + ps4PatchPkgPath: + ps4PatchLatestPkgPath: + ps4PatchChangeinfoPath: + ps4PatchDayOne: 0 + ps4attribUserManagement: 0 + ps4attribMoveSupport: 0 + ps4attrib3DSupport: 0 + ps4attribShareSupport: 0 + ps4attribExclusiveVR: 0 + ps4disableAutoHideSplash: 0 + ps4videoRecordingFeaturesUsed: 0 + ps4contentSearchFeaturesUsed: 0 + ps4CompatibilityPS5: 0 + ps4AllowPS5Detection: 0 + ps4GPU800MHz: 1 + ps4attribEyeToEyeDistanceSettingVR: 0 + ps4IncludedModules: [] + ps4attribVROutputEnabled: 0 + ps5ParamFilePath: + ps5VideoOutPixelFormat: 0 + ps5VideoOutInitialWidth: 1920 + ps5VideoOutOutputMode: 1 + ps5BackgroundImagePath: + ps5StartupImagePath: + ps5Pic2Path: + ps5StartupImagesFolder: + ps5IconImagesFolder: + ps5SaveDataImagePath: + ps5SdkOverride: + ps5BGMPath: + ps5ShareOverlayImagePath: + ps5NPConfigZipPath: + ps5Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ + ps5UseResolutionFallback: 0 + ps5UseAudio3dBackend: 0 + ps5ScriptOptimizationLevel: 2 + ps5Audio3dVirtualSpeakerCount: 14 + ps5UpdateReferencePackage: + ps5disableAutoHideSplash: 0 + ps5OperatingSystemCanDisableSplashScreen: 0 + ps5IncludedModules: [] + ps5SharedBinaryContentLabels: [] + ps5SharedBinarySystemFolders: [] + monoEnv: + splashScreenBackgroundSourceLandscape: {fileID: 0} + splashScreenBackgroundSourcePortrait: {fileID: 0} + blurSplashScreenBackground: 1 + spritePackerPolicy: + webGLMemorySize: 16 + webGLExceptionSupport: 1 + webGLNameFilesAsHashes: 0 + webGLDataCaching: 1 + webGLDebugSymbols: 0 + webGLEmscriptenArgs: + webGLModulesDirectory: + webGLTemplate: APPLICATION:Default + webGLAnalyzeBuildSize: 0 + webGLUseEmbeddedResources: 0 + webGLCompressionFormat: 1 + webGLLinkerTarget: 1 + webGLThreadsSupport: 0 + webGLWasmStreaming: 0 + scriptingDefineSymbols: {} + platformArchitecture: {} + scriptingBackend: {} + il2cppCompilerConfiguration: {} + managedStrippingLevel: {} + incrementalIl2cppBuild: {} + suppressCommonWarnings: 1 + allowUnsafeCode: 0 + additionalIl2CppArgs: + scriptingRuntimeVersion: 1 + gcIncremental: 0 + assemblyVersionValidation: 1 + gcWBarrierValidation: 0 + apiCompatibilityLevelPerPlatform: + Standalone: 3 + m_RenderingPath: 1 + m_MobileRenderingPath: 1 + metroPackageName: Template_3D + metroPackageVersion: + metroCertificatePath: + metroCertificatePassword: + metroCertificateSubject: + metroCertificateIssuer: + metroCertificateNotAfter: 0000000000000000 + metroApplicationDescription: Template_3D + wsaImages: {} + metroTileShortName: + metroTileShowName: 0 + metroMediumTileShowName: 0 + metroLargeTileShowName: 0 + metroWideTileShowName: 0 + metroSupportStreamingInstall: 0 + metroLastRequiredScene: 0 + metroDefaultTileSize: 1 + metroTileForegroundText: 2 + metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} + metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, + a: 1} + metroSplashScreenUseBackgroundColor: 0 + platformCapabilities: {} + metroTargetDeviceFamilies: {} + metroFTAName: + metroFTAFileTypes: [] + metroProtocolName: + XboxOneProductId: + XboxOneUpdateKey: + XboxOneSandboxId: + XboxOneContentId: + XboxOneTitleId: + XboxOneSCId: + XboxOneGameOsOverridePath: + XboxOnePackagingOverridePath: + XboxOneAppManifestOverridePath: + XboxOneVersion: 1.0.0.0 + XboxOnePackageEncryption: 0 + XboxOnePackageUpdateGranularity: 2 + XboxOneDescription: + XboxOneLanguage: + - enus + XboxOneCapability: [] + XboxOneGameRating: {} + XboxOneIsContentPackage: 0 + XboxOneEnhancedXboxCompatibilityMode: 0 + XboxOneEnableGPUVariability: 1 + XboxOneSockets: {} + XboxOneSplashScreen: {fileID: 0} + XboxOneAllowedProductIds: [] + XboxOnePersistentLocalStorageSize: 0 + XboxOneXTitleMemory: 8 + XboxOneOverrideIdentityName: + XboxOneOverrideIdentityPublisher: + vrEditorSettings: + daydream: + daydreamIconForeground: {fileID: 0} + daydreamIconBackground: {fileID: 0} + cloudServicesEnabled: + UNet: 1 + luminIcon: + m_Name: + m_ModelFolderPath: + m_PortalFolderPath: + luminCert: + m_CertPath: + m_SignPackage: 1 + luminIsChannelApp: 0 + luminVersion: + m_VersionCode: 1 + m_VersionName: + apiCompatibilityLevel: 6 + cloudProjectId: + framebufferDepthMemorylessMode: 0 + projectName: + organizationId: + cloudEnabled: 0 + enableNativePlatformBackendsForNewInputSystem: 0 + disableOldInputManagerSupport: 0 + legacyClampBlendShapeWeights: 0 diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt new file mode 100644 index 0000000..5549a7f --- /dev/null +++ b/ProjectSettings/ProjectVersion.txt @@ -0,0 +1,2 @@ +m_EditorVersion: 2019.4.31f1 +m_EditorVersionWithRevision: 2019.4.31f1 (bd5abf232a62) diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset new file mode 100644 index 0000000..7b7658d --- /dev/null +++ b/ProjectSettings/QualitySettings.asset @@ -0,0 +1,232 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!47 &1 +QualitySettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_CurrentQuality: 5 + m_QualitySettings: + - serializedVersion: 2 + name: Very Low + pixelLightCount: 0 + shadows: 0 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 15 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 0 + blendWeights: 1 + textureQuality: 1 + anisotropicTextures: 0 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 0 + vSyncCount: 0 + lodBias: 0.3 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 4 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Low + pixelLightCount: 0 + shadows: 0 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 20 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 0 + blendWeights: 2 + textureQuality: 0 + anisotropicTextures: 0 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 0 + vSyncCount: 0 + lodBias: 0.4 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 16 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Medium + pixelLightCount: 1 + shadows: 1 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 20 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 0 + blendWeights: 2 + textureQuality: 0 + anisotropicTextures: 1 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 0 + vSyncCount: 1 + lodBias: 0.7 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 64 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: High + pixelLightCount: 2 + shadows: 2 + shadowResolution: 1 + shadowProjection: 1 + shadowCascades: 2 + shadowDistance: 40 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + blendWeights: 2 + textureQuality: 0 + anisotropicTextures: 1 + antiAliasing: 0 + softParticles: 0 + softVegetation: 1 + realtimeReflectionProbes: 1 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 1 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 256 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Very High + pixelLightCount: 3 + shadows: 2 + shadowResolution: 2 + shadowProjection: 1 + shadowCascades: 2 + shadowDistance: 70 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + blendWeights: 4 + textureQuality: 0 + anisotropicTextures: 2 + antiAliasing: 2 + softParticles: 1 + softVegetation: 1 + realtimeReflectionProbes: 1 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 1.5 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 1024 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Ultra + pixelLightCount: 4 + shadows: 2 + shadowResolution: 2 + shadowProjection: 1 + shadowCascades: 4 + shadowDistance: 150 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + blendWeights: 4 + textureQuality: 0 + anisotropicTextures: 2 + antiAliasing: 2 + softParticles: 1 + softVegetation: 1 + realtimeReflectionProbes: 1 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 2 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 4096 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + excludedTargetPlatforms: [] + m_PerPlatformDefaultQuality: + Android: 2 + Lumin: 5 + Nintendo 3DS: 5 + Nintendo Switch: 5 + PS4: 5 + PSP2: 2 + Stadia: 5 + Standalone: 5 + WebGL: 3 + Windows Store Apps: 5 + XboxOne: 5 + iPhone: 2 + tvOS: 2 diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset new file mode 100644 index 0000000..1c92a78 --- /dev/null +++ b/ProjectSettings/TagManager.asset @@ -0,0 +1,43 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!78 &1 +TagManager: + serializedVersion: 2 + tags: [] + layers: + - Default + - TransparentFX + - Ignore Raycast + - + - Water + - UI + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + m_SortingLayers: + - name: Default + uniqueID: 0 + locked: 0 diff --git a/ProjectSettings/TimeManager.asset b/ProjectSettings/TimeManager.asset new file mode 100644 index 0000000..558a017 --- /dev/null +++ b/ProjectSettings/TimeManager.asset @@ -0,0 +1,9 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!5 &1 +TimeManager: + m_ObjectHideFlags: 0 + Fixed Timestep: 0.02 + Maximum Allowed Timestep: 0.33333334 + m_TimeScale: 1 + Maximum Particle Timestep: 0.03 diff --git a/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset new file mode 100644 index 0000000..fa0b146 --- /dev/null +++ b/ProjectSettings/UnityConnectSettings.asset @@ -0,0 +1,34 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!310 &1 +UnityConnectSettings: + m_ObjectHideFlags: 0 + serializedVersion: 1 + m_Enabled: 0 + m_TestMode: 0 + m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events + m_EventUrl: https://cdp.cloud.unity3d.com/v1/events + m_ConfigUrl: https://config.uca.cloud.unity3d.com + m_TestInitMode: 0 + CrashReportingSettings: + m_EventUrl: https://perf-events.cloud.unity3d.com + m_Enabled: 0 + m_LogBufferSize: 10 + m_CaptureEditorExceptions: 1 + UnityPurchasingSettings: + m_Enabled: 0 + m_TestMode: 0 + UnityAnalyticsSettings: + m_Enabled: 0 + m_TestMode: 0 + m_InitializeOnStartup: 1 + UnityAdsSettings: + m_Enabled: 0 + m_InitializeOnStartup: 1 + m_TestMode: 0 + m_IosGameId: + m_AndroidGameId: + m_GameIds: {} + m_GameId: + PerformanceReportingSettings: + m_Enabled: 0 diff --git a/ProjectSettings/VFXManager.asset b/ProjectSettings/VFXManager.asset new file mode 100644 index 0000000..3a95c98 --- /dev/null +++ b/ProjectSettings/VFXManager.asset @@ -0,0 +1,12 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!937362698 &1 +VFXManager: + m_ObjectHideFlags: 0 + m_IndirectShader: {fileID: 0} + m_CopyBufferShader: {fileID: 0} + m_SortShader: {fileID: 0} + m_StripUpdateShader: {fileID: 0} + m_RenderPipeSettingsPath: + m_FixedTimeStep: 0.016666668 + m_MaxDeltaTime: 0.05 diff --git a/ProjectSettings/XRSettings.asset b/ProjectSettings/XRSettings.asset new file mode 100644 index 0000000..482590c --- /dev/null +++ b/ProjectSettings/XRSettings.asset @@ -0,0 +1,10 @@ +{ + "m_SettingKeys": [ + "VR Device Disabled", + "VR Device User Alert" + ], + "m_SettingValues": [ + "False", + "False" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 0e88728..78fa1e4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,78 @@ -# Furality Sylva Shader +# VPM Package Template -Created by Naito for Furality, Inc. +Starter for making Packages, including automation for building and publishing them. -See LICENSE.txt for license information. +Once you're all set up, you'll be able to push changes to this repository and have .zip and .unitypackage versions automatically generated, and a listing made which works in the VPM for delivering updates for this package. If you want to make a listing with a variety of packages, check out our [template-package-listing](https://github.com/vrchat-community/template-package-listing) repo. + +## ▶ Getting Started + +* Press [![Use This Template](https://user-images.githubusercontent.com/737888/185467681-e5fdb099-d99f-454b-8d9e-0760e5a6e588.png)](https://github.com/vrchat-community/template-package/generate) +to start a new GitHub project based on this template. + * Choose a fitting repository name and description. + * Set the visibility to 'Public'. You can also choose 'Private' and change it later. + * You don't need to select 'Include all branches.' +* Clone this repository locally using Git. + * If you're unfamiliar with Git and GitHub, [visit GitHub's documentation](https://docs.github.com/en/get-started/quickstart/git-and-github-learning-resources) to learn more. +* Add the folder to Unity Hub and open it as a Unity Project. +* After opening the project, wait while the VPM resolver is downloaded and added to your project. + * This gives you access to the VPM Package Maker and Package Resolver tools. + +## 🚇 Migrating Assets Package +Full details at [Converting Assets to a VPM Package](https://vcc.docs.vrchat.com/guides/convert-unitypackage) + +## Working on Your Package + +* Delete the "Packages/com.vrchat.demo-template" directory or reuse it for your own package. + * If you reuse the package, don't forget to rename it! +* Update the `.gitignore` file in the "Packages" directory to include your package. + * For example, change `!com.vrchat.demo-template` to `!com.username.package-name`. + * `.gitignore` files normally *exclude* the contents of your "Packages" directory. This `.gitignore` in this template show how to *include* the demo package. You can easily change this out for your own package name. +* Open the Unity project and work on your package's files in your favorite code editor. +* When you're ready, commit and push your changes. +* Once you've set up the automation as described below, you can easily publish new versions. + +## Setting up the Automation + +You'll need to make a few changes in [release.yml](.github/workflows/release.yml): +* Change the `paths` property on line 7 to point to the directory where your package's source files are. Leave the `/**` at the end so GitHub knows to run this action whenever any file in that directory is changed. + * In the template, this property is `paths: Packages/com.vrchat.demo-template/**` +* Change the `packageName` property on line 10 to include the name of your package, like `packageName: "com.vrchat.demo-template"` + +You'll also need to make a change to [build-listing.yml](.github/workflows/build-listing.yml): +* Change `CurrentPackageName` in line 4 from `com.vrchat.demo-template` to your own package name. + +Finally, go to the "Settings" page for your repo, then choose "Pages", and look for the heading "Build and deployment". Change the "Source" dropdown from "Deploy from a branch" to "GitHub Actions". + +That's it! +Some other notes: +* We highly recommend you keep the existing folder structure of this template. + * The root of the project should be a Unity project. + * Your packages should be in the "Packages" directory. + * If you deviate from this folder structure, you'll need to update the paths that assume your package is in the "Packages" directory on lines 24, 38, 41 and 57. +* If you want to store and generate your web files in a folder other than "Website" in the root, you can change the `listPublicDirectory` item [here in build-listing.yml](.github/workflows/build-listing.yml#L17). + +## 🎉 Publishing a Release + +A release will be automatically built whenever you push changes to your main branch which update files in the package folder you specified in `release.yml`. The version specified in your `package.json` file will be used to define the version of the release. + +## 📃 Rebuilding the Listing + +Whenever you make a change to a release - automatically publishing it, or manually creating, editing or deleting one, the [Build Repo Listing](.github/workflows/build-listing.yml) action will make a new index of all the releases available, and publish them as a website hosted fore free on [GitHub Pages](https://pages.github.com/). This listing can be used by the VPM to keep your package up to date, and the generated index page can serve as a simple landing page with info for your package. The URL for your package will be in the format `https://username.github.io/repo-name`. + +## 🏠 Customizing the Landing Page + +The action which rebuilds the listing also publishes a landing page. The source for this page is in `Website/index.html`. The automation system uses [Scriban](https://github.com/scriban/scriban) to fill in the objects like `{{ this }}` with information from the latest release's manifest, so it will stay up-to-date with the name, id and description that you provide there. You are welcome to modify this page however you want - just use the existing `{{ template.objects }}` to fill in that info wherever you like. The entire contents of your "Website" folder are published to your GitHub Page each time. + +## Technical Stuff + +You are welcome to make your own changes to the automation process to make it fit your needs, and you can create Pull Requests if you have some changes you think we should adopt. Here's some more info on the included automation: + +### Build Release Action +[release.yml](/.github/workflows/release.yml) + +This is a composite action combining a variety of existing GitHub Actions and some shell commands to create both a .zip of your Package and a .unitypackage. It creates a release which is named for the `version` in the `package.json` file found in your target Package, and publishes the zip, the unitypackage and the package.json file to this release. + +### Build Repo Listing +[build-listing.yml](.github/workflows/build-listing.yml) + +This is a composite action which builds a vpm-compatible [Repo Listing](https://vcc.docs.vrchat.com/vpm/repos) based on the releases you've created. In order to find all your releases and combine them into a listing, it checks out [another repository](https://github.com/vrchat-community/package-list-action) which has a [Nuke](https://nuke.build/) project which includes the VPM core lib to have access to its types and methods. This project will be expanded to include more functionality in the future - for now, the action just calls its `BuildRepoListing` target. diff --git a/Website/app.js b/Website/app.js new file mode 100644 index 0000000..b15c8fe --- /dev/null +++ b/Website/app.js @@ -0,0 +1,231 @@ +import { baseLayerLuminance, StandardLuminance } from 'https://unpkg.com/@fluentui/web-components'; + +const LISTING_URL = "{{ listingInfo.Url }}"; + +const PACKAGES = { +{{~ for package in packages ~}} + "{{ package.Name }}": { + name: "{{ package.Name }}", + displayName: "{{ if package.DisplayName; package.DisplayName; end; }}", + description: "{{ if package.Description; package.Description; end; }}", + version: "{{ package.Version }}", + author: { + name: "{{ if package.Author.Name; package.Author.Name; end; }}", + url: "{{ if package.Author.Url; package.Author.Url; end; }}", + }, + dependencies: { + {{~ for dependency in package.Dependencies ~}} + "{{ dependency.Name }}": "{{ dependency.Version }}", + {{~ end ~}} + }, + keywords: [ + {{~ for keyword in package.Keywords ~}} + "{{ keyword }}", + {{~ end ~}} + ], + license: "{{ package.License }}", + licensesUrl: "{{ package.LicensesUrl }}", + }, +{{~ end ~}} +}; + +const setTheme = () => { + const isDarkTheme = () => window.matchMedia("(prefers-color-scheme: dark)").matches; + if (isDarkTheme()) { + baseLayerLuminance.setValueFor(document.documentElement, StandardLuminance.DarkMode); + } else { + baseLayerLuminance.setValueFor(document.documentElement, StandardLuminance.LightMode); + } +} + +(() => { + setTheme(); + + window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { + setTheme(); + }); + + const packageGrid = document.getElementById('packageGrid'); + + const searchInput = document.getElementById('searchInput'); + searchInput.addEventListener('input', ({ target: { value = '' }}) => { + const items = packageGrid.querySelectorAll('fluent-data-grid-row[row-type="default"]'); + items.forEach(item => { + if (value === '') { + item.style.display = 'grid'; + return; + } + if ( + item.dataset?.packageName?.toLowerCase()?.includes(value.toLowerCase()) || + item.dataset?.packageId?.toLowerCase()?.includes(value.toLowerCase()) + ) { + item.style.display = 'grid'; + } else { + item.style.display = 'none'; + } + }); + }); + + const urlBarHelpButton = document.getElementById('urlBarHelp'); + const addListingToVccHelp = document.getElementById('addListingToVccHelp'); + urlBarHelpButton.addEventListener('click', () => { + addListingToVccHelp.hidden = false; + }); + const addListingToVccHelpClose = document.getElementById('addListingToVccHelpClose'); + addListingToVccHelpClose.addEventListener('click', () => { + addListingToVccHelp.hidden = true; + }); + + const vccListingInfoUrlFieldCopy = document.getElementById('vccListingInfoUrlFieldCopy'); + vccListingInfoUrlFieldCopy.addEventListener('click', () => { + const vccUrlField = document.getElementById('vccListingInfoUrlField'); + vccUrlField.select(); + navigator.clipboard.writeText(vccUrlField.value); + vccUrlFieldCopy.appearance = 'accent'; + setTimeout(() => { + vccUrlFieldCopy.appearance = 'neutral'; + }, 1000); + }); + + const vccAddRepoButton = document.getElementById('vccAddRepoButton'); + vccAddRepoButton.addEventListener('click', () => window.location.assign(`vcc://vpm/addRepo?url=${encodeURIComponent(LISTING_URL)}`)); + + const vccUrlFieldCopy = document.getElementById('vccUrlFieldCopy'); + vccUrlFieldCopy.addEventListener('click', () => { + const vccUrlField = document.getElementById('vccUrlField'); + vccUrlField.select(); + navigator.clipboard.writeText(vccUrlField.value); + vccUrlFieldCopy.appearance = 'accent'; + setTimeout(() => { + vccUrlFieldCopy.appearance = 'neutral'; + }, 1000); + }); + + const rowMoreMenu = document.getElementById('rowMoreMenu'); + const hideRowMoreMenu = e => { + if (rowMoreMenu.contains(e.target)) return; + document.removeEventListener('click', hideRowMoreMenu); + rowMoreMenu.hidden = true; + } + + const rowMenuButtons = document.querySelectorAll('.rowMenuButton'); + rowMenuButtons.forEach(button => { + button.addEventListener('click', e => { + if (rowMoreMenu?.hidden) { + rowMoreMenu.style.top = `${e.clientY + e.target.clientHeight}px`; + rowMoreMenu.style.left = `${e.clientX - 120}px`; + rowMoreMenu.hidden = false; + + const downloadLink = rowMoreMenu.querySelector('#rowMoreMenuDownload'); + const downloadListener = () => { + window.open(e?.target?.dataset?.packageUrl, '_blank'); + } + downloadLink.addEventListener('change', () => { + downloadListener(); + downloadLink.removeEventListener('change', downloadListener); + }); + + setTimeout(() => { + document.addEventListener('click', hideRowMoreMenu); + }, 1); + } + }); + }); + + const packageInfoModal = document.getElementById('packageInfoModal'); + const packageInfoModalClose = document.getElementById('packageInfoModalClose'); + packageInfoModalClose.addEventListener('click', () => { + packageInfoModal.hidden = true; + }); + + // Fluent dialogs use nested shadow-rooted elements, so we need to use JS to style them + const modalControl = packageInfoModal.shadowRoot.querySelector('.control'); + modalControl.style.maxHeight = "90%"; + modalControl.style.transition = 'height 0.2s ease-in-out'; + modalControl.style.overflowY = 'hidden'; + + const packageInfoName = document.getElementById('packageInfoName'); + const packageInfoId = document.getElementById('packageInfoId'); + const packageInfoVersion = document.getElementById('packageInfoVersion'); + const packageInfoDescription = document.getElementById('packageInfoDescription'); + const packageInfoAuthor = document.getElementById('packageInfoAuthor'); + const packageInfoDependencies = document.getElementById('packageInfoDependencies'); + const packageInfoKeywords = document.getElementById('packageInfoKeywords'); + const packageInfoLicense = document.getElementById('packageInfoLicense'); + + const rowAddToVccButtons = document.querySelectorAll('.rowAddToVccButton'); + rowAddToVccButtons.forEach((button) => { + button.addEventListener('click', () => window.location.assign(`vcc://vpm/addRepo?url=${encodeURIComponent(LISTING_URL)}`)); + }); + + const rowPackageInfoButton = document.querySelectorAll('.rowPackageInfoButton'); + rowPackageInfoButton.forEach((button) => { + button.addEventListener('click', e => { + const packageId = e.target.dataset?.packageId; + const packageInfo = PACKAGES?.[packageId]; + if (!packageInfo) { + console.error(`Did not find package ${packageId}. Packages available:`, PACKAGES); + return; + } + + packageInfoName.textContent = packageInfo.displayName; + packageInfoId.textContent = packageId; + packageInfoVersion.textContent = `v${packageInfo.version}`; + packageInfoDescription.textContent = packageInfo.description; + packageInfoAuthor.textContent = packageInfo.author.name; + packageInfoAuthor.href = packageInfo.author.url; + + if ((packageInfo.keywords?.length ?? 0) === 0) { + packageInfoKeywords.parentElement.classList.add('hidden'); + } else { + packageInfoKeywords.parentElement.classList.remove('hidden'); + packageInfoKeywords.innerHTML = null; + packageInfo.keywords.forEach(keyword => { + const keywordDiv = document.createElement('div'); + keywordDiv.classList.add('me-2', 'mb-2', 'badge'); + keywordDiv.textContent = keyword; + packageInfoKeywords.appendChild(keywordDiv); + }); + } + + if (!packageInfo.license?.length && !packageInfo.licensesUrl?.length) { + packageInfoLicense.parentElement.classList.add('hidden'); + } else { + packageInfoLicense.parentElement.classList.remove('hidden'); + packageInfoLicense.textContent = packageInfo.license ?? 'See License'; + packageInfoLicense.href = packageInfo.licensesUrl ?? '#'; + } + + packageInfoDependencies.innerHTML = null; + Object.entries(packageInfo.dependencies).forEach(([name, version]) => { + const depRow = document.createElement('li'); + depRow.classList.add('mb-2'); + depRow.textContent = `${name} @ v${version}`; + packageInfoDependencies.appendChild(depRow); + }); + + packageInfoModal.hidden = false; + + setTimeout(() => { + const height = packageInfoModal.querySelector('.col').clientHeight; + modalControl.style.setProperty('--dialog-height', `${height + 14}px`); + }, 1); + }); + }); + + const packageInfoVccUrlFieldCopy = document.getElementById('packageInfoVccUrlFieldCopy'); + packageInfoVccUrlFieldCopy.addEventListener('click', () => { + const vccUrlField = document.getElementById('packageInfoVccUrlField'); + vccUrlField.select(); + navigator.clipboard.writeText(vccUrlField.value); + vccUrlFieldCopy.appearance = 'accent'; + setTimeout(() => { + vccUrlFieldCopy.appearance = 'neutral'; + }, 1000); + }); + + const packageInfoListingHelp = document.getElementById('packageInfoListingHelp'); + packageInfoListingHelp.addEventListener('click', () => { + addListingToVccHelp.hidden = false; + }); +})(); \ No newline at end of file diff --git a/Website/banner.png b/Website/banner.png new file mode 100644 index 0000000..6609efc Binary files /dev/null and b/Website/banner.png differ diff --git a/Website/favicon.ico b/Website/favicon.ico new file mode 100644 index 0000000..a72240a Binary files /dev/null and b/Website/favicon.ico differ diff --git a/Website/index.html b/Website/index.html new file mode 100644 index 0000000..884a5f0 --- /dev/null +++ b/Website/index.html @@ -0,0 +1,220 @@ + + + + + + VCC Listing + + + + +
+
+ {{~ if listingInfo.BannerImage; ~}} +
+ {{~ end; ~}} +

+ {{~ listingInfo.Name ~}} +

+ {{~ if listingInfo.Description; ~}} +
{{ listingInfo.Description }}
+ {{~ end; ~}} +
+ {{~ if listingInfo.Author.Email; ~}} + + {{ listingInfo.Author.Email }} + + {{~ end; ~}} + + {{~ if listingInfo.InfoLink.Url ~}} + + {{~ end; ~}} +
+
+
+ + + Add to VCC + + + + + Copy + + + How to add a listing to your VCC + + + + + + +
+ +
+ +
+ + + + + + + Name + + + Type + + + + + {{~ for package in packages ~}} + + +
+
{{ package.DisplayName }}
+
{{ package.Description }}
+
{{ package.Name }}
+
+
+ + {{ package.Type }} + + + Add to VCC + + + + + + + + + + + +
+ {{~ end ~}} +
+
+ {{~ if listingInfo.InfoLink.Url ~}} + + {{~ end; ~}} +
+ + + \ No newline at end of file diff --git a/Website/styles.css b/Website/styles.css new file mode 100644 index 0000000..ce999b0 --- /dev/null +++ b/Website/styles.css @@ -0,0 +1,356 @@ +:root { + color-scheme: light dark; +} + +* { + box-sizing: border-box; +} + +body { + padding: 0; + margin: 0; + min-width: 100vw; + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + color: var(--neutral-foreground-rest); +} + +.hidden { + display: none !important; +} + +.row { + display: flex; + flex-direction: row; +} + +.col { + display: flex; + flex-direction: column; +} + +.content { + max-width: 1000px; + width: 100%; + margin: 0 auto; +} + +.align-items-center { + align-items: center; +} + +.justify-content-between { + justify-content: space-between; +} + +.justify-content-end { + justify-content: flex-end; +} + +h1 { + margin-bottom: 0.5rem; +} + +.caption1 { + font-size: 1rem; + color: var(--neutral-foreground-hover); +} + +.caption2 { + font-size: 0.8rem; + margin-top: 0.25rem; + color: var(--neutral-foreground-rest); +} + +.packages { + margin: 0.5rem 0 1rem 0; + max-width: 90%; + padding: 0.25rem; + display: flex; + flex: 1; +} + +#packageGrid { + overflow-y: auto; + width: 100%; + max-height: 40rem; +} + +.packages .packageName { + font-size: 1.1rem; + font-weight: 600; + margin: 0.25rem 0; +} + +.searchBlock { + margin-top: 1rem; + width: 100%; + max-width: 90%; +} + +.searchBlock .root { + width: 100%; +} + +#searchInput { + width: 100%; +} + +.vccUrlField { + min-width: 450px; + max-width: 90%; + flex-grow:1; +} + +#addListingToVccHelp { + z-index: 11; +} + +#packageInfoModal { + z-index: 10; +} + +#rowMoreMenu { + top: 0; + left: 0; + position: absolute; + z-index: 10; +} + +#rowMoreMenu a { + display: block; + text-decoration: none; + color: var(--neutral-foreground-rest); +} + +.bannerImage { + aspect-ratio: 5 / 1; + border-radius: 6px; + max-width: 90%; + width: 100%; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + margin-bottom: 0.25rem; +} + +.badge { + border-radius: 4px; + padding: 0.25rem 0.5rem; + background-color: var(--neutral-fill-hover); +} + +.m-0 { + margin: 0; +} + +.m-1 { + margin: 0.25rem; +} + +.m-2 { + margin: 0.5rem; +} + +.m-3 { + margin: 0.75rem; +} + +.m-4 { + margin: 1rem; +} + +.m-5 { + margin: 2rem; +} + +.mt-1 { + margin-top: 0.25rem; +} + +.mt-2 { + margin-top: 0.5rem; +} + +.mt-3 { + margin-top: 0.75rem; +} + +.mt-4 { + margin-top: 1rem; +} + +.mt-5 { + margin-top: 2rem; +} + +.mb-1 { + margin-bottom: 0.25rem; +} + +.mb-2 { + margin-bottom: 0.5rem; +} + +.mb-3 { + margin-bottom: 0.75rem; +} + +.mb-4 { + margin-bottom: 1rem; +} + +.mb-5 { + margin-bottom: 2rem; +} + +.ms-1 { + margin-left: 0.25rem; +} + +.ms-2 { + margin-left: 0.5rem; +} + +.ms-3 { + margin-left: 0.75rem; +} + +.ms-4 { + margin-left: 1rem; +} + +.ms-5 { + margin-left: 2rem; +} + +.me-1 { + margin-right: 0.25rem; +} + +.me-2 { + margin-right: 0.5rem; +} + +.me-3 { + margin-right: 0.75rem; +} + +.me-4 { + margin-right: 1rem; +} + +.me-5 { + margin-right: 2rem; +} + +.p-1 { + padding: 0.25rem; +} + +.p-2 { + padding: 0.5rem; +} + +.p-3 { + padding: 0.75rem; +} + +.p-4 { + padding: 1rem; +} + +.p-5 { + padding: 2rem; +} + +.pt-1 { + padding-top: 0.25rem; +} + +.pt-2 { + padding-top: 0.5rem; +} + +.pt-3 { + padding-top: 0.75rem; +} + +.pt-4 { + padding-top: 1rem; +} + +.pt-5 { + padding-top: 2rem; +} + +.pb-1 { + padding-bottom: 0.25rem; +} + +.pb-2 { + padding-bottom: 0.5rem; +} + +.pb-3 { + padding-bottom: 0.75rem; +} + +.pb-4 { + padding-bottom: 1rem; +} + +.pb-5 { + padding-bottom: 2rem; +} + +.ps-1 { + padding-left: 0.25rem; +} + +.ps-2 { + padding-left: 0.5rem; +} + +.ps-3 { + padding-left: 0.75rem; +} + +.ps-4 { + padding-left: 1rem; +} + +.ps-5 { + padding-left: 2rem; +} + +.pe-1 { + padding-right: 0.25rem; +} + +.pe-2 { + padding-right: 0.5rem; +} + +.pe-3 { + padding-right: 0.75rem; +} + +.pe-4 { + padding-right: 1rem; +} + +.pe-5 { + padding-right: 2rem; +} + +.w-100 { + width: 100%; +} + +.flex-1 { + flex: 1; +} \ No newline at end of file