Merge remote-tracking branch 'origin/feat/inport-props' into feat/craft-discovery
# Conflicts: # Assets/External/Animated PBR Chest Demo/Materials/WoodChest.mat # Packages/com.distantlands.cozy.core/Content/Integration/Import for BiRP.unitypackage.meta # Packages/com.distantlands.cozy.core/Content/Integration/Import for HDRP.unitypackage.meta # Packages/com.distantlands.cozy.core/Content/Integration/Import for URP.unitypackage.meta
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f2b51e3aafe3fa4cbc7083183fc3ee0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+1041
File diff suppressed because it is too large
Load Diff
+9
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb4067eb14005684ea56a60547978721
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Scripts/BetterFog.cs
|
||||
uploadId: 916910
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
using INab.BetterFog.Core;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
|
||||
namespace INab.BetterFog.URP
|
||||
{
|
||||
[VolumeComponentMenu("INab Studio/Better Fog")]
|
||||
[VolumeRequiresRendererFeatures(typeof(BetterFog))]
|
||||
[SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
|
||||
public sealed class BetterFogVolumeComponent : VolumeComponent, IPostProcessComponent
|
||||
{
|
||||
[Serializable]
|
||||
public sealed class FogParameterURP : VolumeParameter<FogMode> { public FogParameterURP(FogMode value, bool overrideState = false) : base(value, overrideState) { } }
|
||||
|
||||
[Serializable]
|
||||
public sealed class HeightFogParameterURP : VolumeParameter<HeightFogType> { public HeightFogParameterURP(HeightFogType value, bool overrideState = false) : base(value, overrideState) { } }
|
||||
|
||||
[Serializable]
|
||||
public sealed class NoiseAffectParameterURP : VolumeParameter<NoiseAffect> { public NoiseAffectParameterURP(NoiseAffect value, bool overrideState = false) : base(value, overrideState) { } }
|
||||
|
||||
[Serializable]
|
||||
public class MyTextureParameter : TextureParameter
|
||||
{
|
||||
public MyTextureParameter(Texture value, bool overrideState = false)
|
||||
: this(value, TextureDimension.Any, overrideState) { }
|
||||
|
||||
public MyTextureParameter(Texture value, TextureDimension dimension, bool overrideState = false)
|
||||
: base(value, overrideState)
|
||||
{
|
||||
this.dimension = dimension;
|
||||
}
|
||||
|
||||
public float LerpValue;
|
||||
public Texture FromTexture;
|
||||
|
||||
public override void Interp(Texture from, Texture to, float t)
|
||||
{
|
||||
LerpValue = t;
|
||||
FromTexture = from;
|
||||
value = to;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public BetterFogVolumeComponent()
|
||||
{
|
||||
displayName = "Better Fog";
|
||||
}
|
||||
|
||||
#region FogParameters
|
||||
|
||||
public ClampedFloatParameter _FogIntensity = new ClampedFloatParameter(value: 1, min: 0, max: 1);
|
||||
public FloatParameter _EnergyLoss = new ClampedFloatParameter(value: 0, min: 0, max: 1);
|
||||
public BoolParameter _UseGradient = new BoolParameter(false);
|
||||
public ColorParameter _FogColor = new ColorParameter(new Color(.8f, .8f, .8f, 1f));
|
||||
public FloatParameter _GradientStart = new FloatParameter(0);
|
||||
public FloatParameter _GradientEnd = new FloatParameter(100);
|
||||
public MyTextureParameter _GradientTexture = new MyTextureParameter(null);
|
||||
|
||||
// Sun Light Parameters
|
||||
public BoolParameter _UseSunLight = new BoolParameter(false);
|
||||
public ColorParameter _SunColor = new ColorParameter(new Color(.9f, .85f, .8f, 1f));
|
||||
public ClampedFloatParameter _SunIntensity = new ClampedFloatParameter(value: 0, min: 0, max: 1);
|
||||
public ClampedFloatParameter _SunPower = new ClampedFloatParameter(value: 2, min: .1f, max: 12);
|
||||
|
||||
// Distance Fog Parameters
|
||||
public BoolParameter _UseDistanceFog = new BoolParameter(true);
|
||||
public BoolParameter _UseRadialDistance = new BoolParameter(false);
|
||||
public FogParameterURP _FogType = new FogParameterURP(FogMode.ExponentialSquared);
|
||||
public FloatParameter _DistanceFogOffset = new FloatParameter(-20);
|
||||
|
||||
// Scene Parameters
|
||||
public FloatParameter _SceneStart = new FloatParameter(10);
|
||||
public FloatParameter _SceneEnd = new FloatParameter(100);
|
||||
|
||||
// Fog Density
|
||||
public ClampedFloatParameter _FogDensity = new ClampedFloatParameter(value: 0, min: 0, max: .1f);
|
||||
|
||||
// Skybox Height Fog Parameters
|
||||
public BoolParameter _UseSkyboxHeightFog = new BoolParameter(false);
|
||||
public ClampedFloatParameter _SkyboxFogOffset = new ClampedFloatParameter(value: 0, min: -.1f, max: .1f);
|
||||
public ClampedFloatParameter _SkyboxFogHardness = new ClampedFloatParameter(value: .75f, min: 0, max: .999f);
|
||||
public ClampedFloatParameter _SkyboxFogIntensity = new ClampedFloatParameter(value: 1, min: 0, max: 1);
|
||||
public ClampedFloatParameter _SkyboxFill = new ClampedFloatParameter(value: 0, min: 0, max: 1);
|
||||
|
||||
// Height Fog Parameters
|
||||
public BoolParameter _UseHeightFog = new BoolParameter(false);
|
||||
public FloatParameter _Height = new FloatParameter(4);
|
||||
public ClampedFloatParameter _HeightDensity = new ClampedFloatParameter(value: 0, min: 0, max: .5f);
|
||||
public HeightFogParameterURP _HeightFogType = new HeightFogParameterURP(HeightFogType.ExponentialSquared);
|
||||
|
||||
// Noise Parameters
|
||||
public BoolParameter _UseNoise = new BoolParameter(false);
|
||||
public NoiseAffectParameterURP _NoiseAffect = new NoiseAffectParameterURP(NoiseAffect.Both);
|
||||
public ClampedFloatParameter _NoiseIntensity = new ClampedFloatParameter(value: 0, min: 0, max: 1);
|
||||
public FloatParameter _NoiseDistanceEnd = new FloatParameter(80);
|
||||
public ClampedFloatParameter _NoiseEndHardness = new ClampedFloatParameter(value: 0.35f, min: 1, max: 16);
|
||||
|
||||
// First Noise Layer
|
||||
public ClampedFloatParameter _Scale1 = new ClampedFloatParameter(value: 40, min: 5, max: 140);
|
||||
public ClampedFloatParameter _Lerp1 = new ClampedFloatParameter(value: .5f, min: 0, max: 1);
|
||||
public Vector3Parameter _NoiseSpeed1 = new Vector3Parameter(new Vector3(0, 0, 0));
|
||||
public ClampedFloatParameter _NoiseTimeScale1 = new ClampedFloatParameter(value: .1f, min: 0, max: .5f);
|
||||
|
||||
#endregion
|
||||
|
||||
#region SSMSParameters
|
||||
public BoolParameter _UseSSMS = new BoolParameter(false);
|
||||
public ClampedFloatParameter _Threshold = new ClampedFloatParameter(value: 0, min: -1, max: 1);
|
||||
public FloatParameter _SoftKnee = new FloatParameter(0.5f);
|
||||
public ClampedFloatParameter _Radius = new ClampedFloatParameter(value: 7, min: 1, max: 7);
|
||||
public ClampedFloatParameter _BlurWeight = new ClampedFloatParameter(value: 1, min: 0.1f, max: 100);
|
||||
public ClampedFloatParameter _Intensity = new ClampedFloatParameter(value: 1, min: 0, max: 1);
|
||||
public BoolParameter _HighQuality = new BoolParameter(false);
|
||||
public BoolParameter _AntiFlicker = new BoolParameter(false);
|
||||
public TextureParameter _FadeRamp = new TextureParameter(null);
|
||||
#endregion
|
||||
|
||||
public bool IsActive() => _FogIntensity.value > 0;
|
||||
|
||||
//public bool IsTileCompatible() => true;
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bfd05c3d9e2dde840807ee2df7b4f57e
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Scripts/BetterFogVolumeComponent.cs
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 945e3c050ab43484e946d4adde215f8b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+263
@@ -0,0 +1,263 @@
|
||||
using INab.BetterFog.Core;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Rendering;
|
||||
|
||||
namespace INab.BetterFog.URP
|
||||
{
|
||||
[CustomEditor(typeof(INab.BetterFog.URP.BetterFogVolumeComponent))]
|
||||
public class BetterFogVolumeComponentEditor : VolumeComponentEditor
|
||||
{
|
||||
// FogParameters
|
||||
SerializedDataParameter _FogIntensity;
|
||||
SerializedDataParameter _EnergyLoss;
|
||||
SerializedDataParameter _FogColor;
|
||||
SerializedDataParameter _UseGradient;
|
||||
SerializedDataParameter _GradientStart;
|
||||
SerializedDataParameter _GradientEnd;
|
||||
SerializedDataParameter _GradientTexture;
|
||||
SerializedDataParameter _UseSunLight;
|
||||
SerializedDataParameter _SunColor;
|
||||
SerializedDataParameter _SunIntensity;
|
||||
SerializedDataParameter _SunPower;
|
||||
SerializedDataParameter _UseDistanceFog;
|
||||
SerializedDataParameter _UseRadialDistance;
|
||||
SerializedDataParameter _FogType;
|
||||
SerializedDataParameter _DistanceFogOffset;
|
||||
SerializedDataParameter _SceneStart;
|
||||
SerializedDataParameter _SceneEnd;
|
||||
SerializedDataParameter _FogDensity;
|
||||
SerializedDataParameter _UseSkyboxHeightFog;
|
||||
SerializedDataParameter _SkyboxFogOffset;
|
||||
SerializedDataParameter _SkyboxFogHardness;
|
||||
SerializedDataParameter _SkyboxFogIntensity;
|
||||
SerializedDataParameter _SkyboxFill;
|
||||
SerializedDataParameter _UseHeightFog;
|
||||
SerializedDataParameter _Height;
|
||||
SerializedDataParameter _HeightDensity;
|
||||
SerializedDataParameter _HeightFogType;
|
||||
SerializedDataParameter _UseNoise;
|
||||
SerializedDataParameter _NoiseAffect;
|
||||
SerializedDataParameter _NoiseIntensity;
|
||||
SerializedDataParameter _NoiseDistanceEnd;
|
||||
SerializedDataParameter _NoiseEndHardness;
|
||||
SerializedDataParameter _Scale1;
|
||||
SerializedDataParameter _Lerp1;
|
||||
SerializedDataParameter _NoiseSpeed1;
|
||||
SerializedDataParameter _NoiseTimeScale1;
|
||||
|
||||
// SSMSParameters
|
||||
SerializedDataParameter _UseSSMS;
|
||||
SerializedDataParameter _Threshold;
|
||||
SerializedDataParameter _SoftKnee;
|
||||
SerializedDataParameter _Radius;
|
||||
SerializedDataParameter _BlurWeight;
|
||||
SerializedDataParameter _Intensity;
|
||||
SerializedDataParameter _HighQuality;
|
||||
SerializedDataParameter _AntiFlicker;
|
||||
SerializedDataParameter _FadeRamp;
|
||||
|
||||
|
||||
public override void OnEnable()
|
||||
{
|
||||
var o = new PropertyFetcher<BetterFogVolumeComponent>(serializedObject);
|
||||
|
||||
_FogIntensity = Unpack(o.Find(x => x._FogIntensity));
|
||||
_EnergyLoss = Unpack(o.Find(x => x._EnergyLoss));
|
||||
_FogColor = Unpack(o.Find(x => x._FogColor));
|
||||
_UseGradient = Unpack(o.Find(x => x._UseGradient));
|
||||
_GradientStart = Unpack(o.Find(x => x._GradientStart));
|
||||
_GradientEnd = Unpack(o.Find(x => x._GradientEnd));
|
||||
_GradientTexture = Unpack(o.Find(x => x._GradientTexture));
|
||||
_UseSunLight = Unpack(o.Find(x => x._UseSunLight));
|
||||
_SunColor = Unpack(o.Find(x => x._SunColor));
|
||||
_SunIntensity = Unpack(o.Find(x => x._SunIntensity));
|
||||
_SunPower = Unpack(o.Find(x => x._SunPower));
|
||||
_UseDistanceFog = Unpack(o.Find(x => x._UseDistanceFog));
|
||||
_UseRadialDistance = Unpack(o.Find(x => x._UseRadialDistance));
|
||||
_FogType = Unpack(o.Find(x => x._FogType));
|
||||
_DistanceFogOffset = Unpack(o.Find(x => x._DistanceFogOffset));
|
||||
_SceneStart = Unpack(o.Find(x => x._SceneStart));
|
||||
_SceneEnd = Unpack(o.Find(x => x._SceneEnd));
|
||||
_FogDensity = Unpack(o.Find(x => x._FogDensity));
|
||||
_UseSkyboxHeightFog = Unpack(o.Find(x => x._UseSkyboxHeightFog));
|
||||
_SkyboxFogOffset = Unpack(o.Find(x => x._SkyboxFogOffset));
|
||||
_SkyboxFogHardness = Unpack(o.Find(x => x._SkyboxFogHardness));
|
||||
_SkyboxFogIntensity = Unpack(o.Find(x => x._SkyboxFogIntensity));
|
||||
_SkyboxFill = Unpack(o.Find(x => x._SkyboxFill));
|
||||
_UseHeightFog = Unpack(o.Find(x => x._UseHeightFog));
|
||||
_Height = Unpack(o.Find(x => x._Height));
|
||||
_HeightDensity = Unpack(o.Find(x => x._HeightDensity));
|
||||
_HeightFogType = Unpack(o.Find(x => x._HeightFogType));
|
||||
_UseNoise = Unpack(o.Find(x => x._UseNoise));
|
||||
_NoiseAffect = Unpack(o.Find(x => x._NoiseAffect));
|
||||
_NoiseIntensity = Unpack(o.Find(x => x._NoiseIntensity));
|
||||
_NoiseDistanceEnd = Unpack(o.Find(x => x._NoiseDistanceEnd));
|
||||
_NoiseEndHardness = Unpack(o.Find(x => x._NoiseEndHardness));
|
||||
_Scale1 = Unpack(o.Find(x => x._Scale1));
|
||||
_Lerp1 = Unpack(o.Find(x => x._Lerp1));
|
||||
_NoiseSpeed1 = Unpack(o.Find(x => x._NoiseSpeed1));
|
||||
_NoiseTimeScale1 = Unpack(o.Find(x => x._NoiseTimeScale1));
|
||||
|
||||
// SSMSParameters
|
||||
_UseSSMS = Unpack(o.Find(x => x._UseSSMS));
|
||||
_Threshold = Unpack(o.Find(x => x._Threshold));
|
||||
_SoftKnee = Unpack(o.Find(x => x._SoftKnee));
|
||||
_Radius = Unpack(o.Find(x => x._Radius));
|
||||
_BlurWeight = Unpack(o.Find(x => x._BlurWeight));
|
||||
_Intensity = Unpack(o.Find(x => x._Intensity));
|
||||
_HighQuality = Unpack(o.Find(x => x._HighQuality));
|
||||
_AntiFlicker = Unpack(o.Find(x => x._AntiFlicker));
|
||||
_FadeRamp = Unpack(o.Find(x => x._FadeRamp));
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
EditorGUILayout.LabelField("Main", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_FogIntensity);
|
||||
PropertyField(_EnergyLoss);
|
||||
}
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("Colors", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_UseGradient);
|
||||
|
||||
if (_UseGradient.value.boolValue)
|
||||
{
|
||||
PropertyField(_GradientStart);
|
||||
PropertyField(_GradientEnd);
|
||||
PropertyField(_GradientTexture);
|
||||
}
|
||||
else
|
||||
{
|
||||
PropertyField(_FogColor);
|
||||
}
|
||||
}
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("Sun Light", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_UseSunLight);
|
||||
|
||||
if (_UseSunLight.value.boolValue)
|
||||
{
|
||||
PropertyField(_SunColor);
|
||||
PropertyField(_SunIntensity);
|
||||
PropertyField(_SunPower);
|
||||
}
|
||||
}
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("Distance Fog", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_UseDistanceFog);
|
||||
|
||||
if (_UseDistanceFog.value.boolValue)
|
||||
{
|
||||
PropertyField(_UseRadialDistance);
|
||||
PropertyField(_DistanceFogOffset);
|
||||
PropertyField(_FogType);
|
||||
|
||||
if (_FogType.value.enumValueIndex == 0)
|
||||
{
|
||||
PropertyField(_SceneStart);
|
||||
PropertyField(_SceneEnd);
|
||||
}
|
||||
else
|
||||
{
|
||||
PropertyField(_FogDensity);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("Skybox Height Fog", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_UseSkyboxHeightFog);
|
||||
|
||||
if (_UseSkyboxHeightFog.value.boolValue)
|
||||
{
|
||||
PropertyField(_SkyboxFogOffset);
|
||||
PropertyField(_SkyboxFogHardness);
|
||||
PropertyField(_SkyboxFogIntensity);
|
||||
PropertyField(_SkyboxFill);
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("Height Fog", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_UseHeightFog);
|
||||
|
||||
if (_UseHeightFog.value.boolValue)
|
||||
{
|
||||
PropertyField(_Height);
|
||||
PropertyField(_HeightDensity);
|
||||
PropertyField(_HeightFogType);
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("3D Noise", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
PropertyField(_UseNoise);
|
||||
|
||||
|
||||
if (_UseNoise.value.boolValue)
|
||||
{
|
||||
PropertyField(_NoiseAffect);
|
||||
PropertyField(_NoiseIntensity);
|
||||
PropertyField(_NoiseDistanceEnd);
|
||||
PropertyField(_NoiseEndHardness);
|
||||
PropertyField(_Scale1);
|
||||
PropertyField(_Lerp1);
|
||||
PropertyField(_NoiseSpeed1);
|
||||
PropertyField(_NoiseTimeScale1);
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.LabelField("Screen Space Multiple Scattering", BetterFogUtility.centeredBoldLabel);
|
||||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox))
|
||||
{
|
||||
// SSMSParameters
|
||||
PropertyField(_UseSSMS);
|
||||
|
||||
if (!_UseSSMS.value.boolValue)
|
||||
{
|
||||
//EditorGUILayout.Space();
|
||||
//EditorGUILayout.HelpBox("SSMS is ", MessageType.Info);
|
||||
//EditorGUILayout.Space();
|
||||
}
|
||||
else
|
||||
{
|
||||
PropertyField(_Threshold);
|
||||
PropertyField(_SoftKnee);
|
||||
PropertyField(_Radius);
|
||||
PropertyField(_BlurWeight);
|
||||
PropertyField(_Intensity);
|
||||
PropertyField(_HighQuality);
|
||||
PropertyField(_AntiFlicker);
|
||||
PropertyField(_FadeRamp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f5e36eb07caaf664c9ea53650a603087
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Scripts/Editor/BetterFogVolumeComponentEditor.cs
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18c3a282fb8c50a4b8392d530db292c0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-6385361666985825430
|
||||
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: cb4067eb14005684ea56a60547978721, type: 3}
|
||||
m_Name: BetterFog
|
||||
m_EditorClassIdentifier:
|
||||
m_Active: 1
|
||||
m_Settings:
|
||||
Event: 450
|
||||
_UseCustomDepthTexture: 1
|
||||
_UseFogOffsetTexture: 1
|
||||
_DisableSceneView: 0
|
||||
m_FogFactorShader: {fileID: 0}
|
||||
m_FogBlendShader: {fileID: 0}
|
||||
m_SMSSShader: {fileID: 0}
|
||||
m_CustomDepthPassShader: {fileID: 0}
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
|
||||
m_Name: Better Fog Renderer
|
||||
m_EditorClassIdentifier:
|
||||
debugShaders:
|
||||
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
|
||||
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
|
||||
probeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959, type: 3}
|
||||
probeVolumeResources:
|
||||
probeVolumeDebugShader: {fileID: 0}
|
||||
probeVolumeFragmentationDebugShader: {fileID: 0}
|
||||
probeVolumeOffsetDebugShader: {fileID: 0}
|
||||
probeVolumeSamplingDebugShader: {fileID: 0}
|
||||
probeSamplingDebugMesh: {fileID: 0}
|
||||
probeSamplingDebugTexture: {fileID: 0}
|
||||
probeVolumeBlendStatesCS: {fileID: 0}
|
||||
m_RendererFeatures:
|
||||
- {fileID: -6385361666985825430}
|
||||
m_RendererFeatureMap: 6aebe91c65a362a7
|
||||
m_UseNativeRenderPass: 0
|
||||
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2}
|
||||
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
|
||||
m_AssetVersion: 2
|
||||
m_OpaqueLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_TransparentLayerMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_DefaultStencilState:
|
||||
overrideStencilState: 0
|
||||
stencilReference: 0
|
||||
stencilCompareFunction: 8
|
||||
passOperation: 2
|
||||
failOperation: 0
|
||||
zFailOperation: 0
|
||||
m_ShadowTransparentReceive: 1
|
||||
m_RenderingMode: 0
|
||||
m_DepthPrimingMode: 0
|
||||
m_CopyDepthMode: 0
|
||||
m_DepthAttachmentFormat: 0
|
||||
m_DepthTextureFormat: 0
|
||||
m_AccurateGbufferNormals: 0
|
||||
m_IntermediateTextureMode: 1
|
||||
--- !u!114 &3062885037424907736
|
||||
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: 836fba37e8552f541abf20055e192196, type: 3}
|
||||
m_Name: AtmosphericFogRenderFeature
|
||||
m_EditorClassIdentifier:
|
||||
m_Active: 1
|
||||
settings:
|
||||
color:
|
||||
r: 0.7490196
|
||||
g: 0.8901961
|
||||
b: 1
|
||||
a: 1
|
||||
sunColor:
|
||||
r: 0.8773585
|
||||
g: 0.8098478
|
||||
b: 0.6911268
|
||||
a: 1
|
||||
fogDensity: 0.01
|
||||
fogDensityPower: 1
|
||||
skyAlpha: 1
|
||||
useHeightFog: 0
|
||||
fogHeightStart: 0
|
||||
fogHeightEnd: 30
|
||||
fogHeightPower: 0.5
|
||||
extraFogHeightEnd: 0
|
||||
extraFogHeightPower: 0.5
|
||||
directionalIntesity: 1
|
||||
directionalPower: 1
|
||||
--- !u!114 &8030591149060198333
|
||||
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: c12cfd2198a001743ba10b05968ac5c5, type: 3}
|
||||
m_Name: CustomFog
|
||||
m_EditorClassIdentifier:
|
||||
m_Active: 0
|
||||
m_Shader: {fileID: 4800000, guid: 6699f3378c6ceb84f9dfb096bce6a265, type: 3}
|
||||
m_Intensity: 1.15
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aced5f05f02971844be5cc8b5ce9de10
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Settings/Better
|
||||
Fog Renderer.asset
|
||||
uploadId: 916910
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3}
|
||||
m_Name: INab Studio Better Fog
|
||||
m_EditorClassIdentifier:
|
||||
k_AssetVersion: 13
|
||||
k_AssetPreviousVersion: 13
|
||||
m_RendererType: 1
|
||||
m_RendererData: {fileID: 0}
|
||||
m_RendererDataList:
|
||||
- {fileID: 11400000, guid: aced5f05f02971844be5cc8b5ce9de10, type: 2}
|
||||
m_DefaultRendererIndex: 0
|
||||
m_RequireDepthTexture: 1
|
||||
m_RequireOpaqueTexture: 0
|
||||
m_OpaqueDownsampling: 0
|
||||
m_SupportsTerrainHoles: 1
|
||||
m_SupportsHDR: 1
|
||||
m_HDRColorBufferPrecision: 0
|
||||
m_MSAA: 1
|
||||
m_RenderScale: 1
|
||||
m_UpscalingFilter: 0
|
||||
m_FsrOverrideSharpness: 0
|
||||
m_FsrSharpness: 1
|
||||
m_EnableLODCrossFade: 1
|
||||
m_LODCrossFadeDitheringType: 1
|
||||
m_ShEvalMode: 0
|
||||
m_LightProbeSystem: 0
|
||||
m_ProbeVolumeMemoryBudget: 1024
|
||||
m_ProbeVolumeBlendingMemoryBudget: 256
|
||||
m_SupportProbeVolumeGPUStreaming: 0
|
||||
m_SupportProbeVolumeDiskStreaming: 0
|
||||
m_SupportProbeVolumeScenarios: 0
|
||||
m_SupportProbeVolumeScenarioBlending: 0
|
||||
m_ProbeVolumeSHBands: 1
|
||||
m_MainLightRenderingMode: 1
|
||||
m_MainLightShadowsSupported: 1
|
||||
m_MainLightShadowmapResolution: 4096
|
||||
m_AdditionalLightsRenderingMode: 1
|
||||
m_AdditionalLightsPerObjectLimit: 8
|
||||
m_AdditionalLightShadowsSupported: 1
|
||||
m_AdditionalLightsShadowmapResolution: 4096
|
||||
m_AdditionalLightsShadowResolutionTierLow: 256
|
||||
m_AdditionalLightsShadowResolutionTierMedium: 512
|
||||
m_AdditionalLightsShadowResolutionTierHigh: 1024
|
||||
m_ReflectionProbeBlending: 1
|
||||
m_ReflectionProbeBoxProjection: 1
|
||||
m_ReflectionProbeAtlas: 1
|
||||
m_ShadowDistance: 150
|
||||
m_ShadowCascadeCount: 4
|
||||
m_Cascade2Split: 0.25
|
||||
m_Cascade3Split: {x: 0.1, y: 0.3}
|
||||
m_Cascade4Split: {x: 0.07, y: 0.2, z: 0.467}
|
||||
m_CascadeBorder: 0.2
|
||||
m_ShadowDepthBias: 1
|
||||
m_ShadowNormalBias: 1
|
||||
m_AnyShadowsSupported: 1
|
||||
m_SoftShadowsSupported: 1
|
||||
m_ConservativeEnclosingSphere: 1
|
||||
m_NumIterationsEnclosingSphere: 64
|
||||
m_SoftShadowQuality: 2
|
||||
m_AdditionalLightsCookieResolution: 4096
|
||||
m_AdditionalLightsCookieFormat: 3
|
||||
m_UseSRPBatcher: 1
|
||||
m_SupportsDynamicBatching: 1
|
||||
m_MixedLightingSupported: 1
|
||||
m_SupportsLightCookies: 1
|
||||
m_SupportsLightLayers: 0
|
||||
m_DebugLevel: 0
|
||||
m_StoreActionsOptimization: 0
|
||||
m_UseAdaptivePerformance: 1
|
||||
m_ColorGradingMode: 1
|
||||
m_ColorGradingLutSize: 32
|
||||
m_AllowPostProcessAlphaOutput: 0
|
||||
m_UseFastSRGBLinearConversion: 0
|
||||
m_SupportDataDrivenLensFlare: 1
|
||||
m_SupportScreenSpaceLensFlare: 1
|
||||
m_GPUResidentDrawerMode: 0
|
||||
m_SmallMeshScreenPercentage: 0
|
||||
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
|
||||
m_ShadowType: 1
|
||||
m_LocalShadowsSupported: 0
|
||||
m_LocalShadowsAtlasResolution: 256
|
||||
m_MaxPixelLights: 0
|
||||
m_ShadowAtlasResolution: 256
|
||||
m_VolumeFrameworkUpdateMode: 0
|
||||
m_VolumeProfile: {fileID: 0}
|
||||
apvScenesData:
|
||||
obsoleteSceneBounds:
|
||||
m_Keys: []
|
||||
m_Values: []
|
||||
obsoleteHasProbeVolumes:
|
||||
m_Keys: []
|
||||
m_Values:
|
||||
m_PrefilteringModeMainLightShadows: 3
|
||||
m_PrefilteringModeAdditionalLight: 3
|
||||
m_PrefilteringModeAdditionalLightShadows: 2
|
||||
m_PrefilterXRKeywords: 1
|
||||
m_PrefilteringModeForwardPlus: 0
|
||||
m_PrefilteringModeDeferredRendering: 0
|
||||
m_PrefilteringModeScreenSpaceOcclusion: 0
|
||||
m_PrefilterDebugKeywords: 1
|
||||
m_PrefilterWriteRenderingLayers: 1
|
||||
m_PrefilterHDROutput: 1
|
||||
m_PrefilterAlphaOutput: 1
|
||||
m_PrefilterSSAODepthNormals: 1
|
||||
m_PrefilterSSAOSourceDepthLow: 1
|
||||
m_PrefilterSSAOSourceDepthMedium: 1
|
||||
m_PrefilterSSAOSourceDepthHigh: 1
|
||||
m_PrefilterSSAOInterleaved: 1
|
||||
m_PrefilterSSAOBlueNoise: 1
|
||||
m_PrefilterSSAOSampleCountLow: 1
|
||||
m_PrefilterSSAOSampleCountMedium: 1
|
||||
m_PrefilterSSAOSampleCountHigh: 1
|
||||
m_PrefilterDBufferMRT1: 1
|
||||
m_PrefilterDBufferMRT2: 1
|
||||
m_PrefilterDBufferMRT3: 1
|
||||
m_PrefilterSoftShadowsQualityLow: 1
|
||||
m_PrefilterSoftShadowsQualityMedium: 1
|
||||
m_PrefilterSoftShadowsQualityHigh: 1
|
||||
m_PrefilterSoftShadows: 0
|
||||
m_PrefilterScreenCoord: 1
|
||||
m_PrefilterScreenSpaceIrradiance: 0
|
||||
m_PrefilterNativeRenderPass: 1
|
||||
m_PrefilterUseLegacyLightmaps: 0
|
||||
m_PrefilterBicubicLightmapSampling: 0
|
||||
m_PrefilterReflectionProbeRotation: 0
|
||||
m_PrefilterReflectionProbeBlending: 0
|
||||
m_PrefilterReflectionProbeBoxProjection: 0
|
||||
m_PrefilterReflectionProbeAtlas: 0
|
||||
m_ShaderVariantLogLevel: 0
|
||||
m_ShadowCascades: 0
|
||||
m_Textures:
|
||||
blueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3}
|
||||
bayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5309f61db1a59204a931f3937feab4bf
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Settings/INab
|
||||
Studio Better Fog.asset
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 35cfa0448df643944b23431ae8db5ce8
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+484
@@ -0,0 +1,484 @@
|
||||
{
|
||||
"m_SGVersion": 3,
|
||||
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||
"m_ObjectId": "abc01b222eda4b53b75d58841abcd68e",
|
||||
"m_Properties": [],
|
||||
"m_Keywords": [],
|
||||
"m_Dropdowns": [],
|
||||
"m_CategoryData": [
|
||||
{
|
||||
"m_Id": "2e96a32a0a974656bc98c5457e247207"
|
||||
}
|
||||
],
|
||||
"m_Nodes": [
|
||||
{
|
||||
"m_Id": "73cc9cd5b7da4096a98513bb3d9d6106"
|
||||
},
|
||||
{
|
||||
"m_Id": "161b4d6ce14144a2b0a49fd86e2f0ca1"
|
||||
},
|
||||
{
|
||||
"m_Id": "a3ecdf93d64441479dfabe0adb3a8014"
|
||||
},
|
||||
{
|
||||
"m_Id": "21a3175cdd9449ab81a1f40ec914bdd3"
|
||||
}
|
||||
],
|
||||
"m_GroupDatas": [],
|
||||
"m_StickyNoteDatas": [],
|
||||
"m_Edges": [
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "161b4d6ce14144a2b0a49fd86e2f0ca1"
|
||||
},
|
||||
"m_SlotId": 1
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "a3ecdf93d64441479dfabe0adb3a8014"
|
||||
},
|
||||
"m_SlotId": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "a3ecdf93d64441479dfabe0adb3a8014"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "73cc9cd5b7da4096a98513bb3d9d6106"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"m_VertexContext": {
|
||||
"m_Position": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"m_Blocks": []
|
||||
},
|
||||
"m_FragmentContext": {
|
||||
"m_Position": {
|
||||
"x": 0.0,
|
||||
"y": 200.0
|
||||
},
|
||||
"m_Blocks": [
|
||||
{
|
||||
"m_Id": "73cc9cd5b7da4096a98513bb3d9d6106"
|
||||
},
|
||||
{
|
||||
"m_Id": "21a3175cdd9449ab81a1f40ec914bdd3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"m_PreviewData": {
|
||||
"serializedMesh": {
|
||||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
||||
"m_Guid": ""
|
||||
},
|
||||
"preventRotation": false
|
||||
},
|
||||
"m_Path": "Shader Graphs",
|
||||
"m_GraphPrecision": 1,
|
||||
"m_PreviewMode": 2,
|
||||
"m_OutputNode": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_ActiveTargets": [
|
||||
{
|
||||
"m_Id": "22e30c0cf6d24e719e04c9f086604489"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.SceneDepthNode",
|
||||
"m_ObjectId": "161b4d6ce14144a2b0a49fd86e2f0ca1",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Scene Depth",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": -398.0,
|
||||
"y": 200.0,
|
||||
"width": 145.0,
|
||||
"height": 112.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "48b2505fbe2f41c49d48df842e052b5d"
|
||||
},
|
||||
{
|
||||
"m_Id": "6538c6d993044b598d6e5b885bad20f3"
|
||||
}
|
||||
],
|
||||
"synonyms": [
|
||||
"zbuffer",
|
||||
"zdepth"
|
||||
],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_DepthSamplingMode": 1
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "1e38ba85932d4f7eac2b9d84f7ce717d",
|
||||
"m_Id": 2,
|
||||
"m_DisplayName": "Y",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Y",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": [
|
||||
"Y"
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "21a3175cdd9449ab81a1f40ec914bdd3",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "SurfaceDescription.Alpha",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "293a8aa416124ff6bb64ce6442aacac5"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 1,
|
||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
||||
"m_ObjectId": "22e30c0cf6d24e719e04c9f086604489",
|
||||
"m_Datas": [
|
||||
{
|
||||
"m_Id": "b64d4f774c3140e281af073fcf3f2376"
|
||||
}
|
||||
],
|
||||
"m_ActiveSubTarget": {
|
||||
"m_Id": "577cebf97dbc42099398a62ce90466c8"
|
||||
},
|
||||
"m_AllowMaterialOverride": false,
|
||||
"m_SurfaceType": 0,
|
||||
"m_ZTestMode": 4,
|
||||
"m_ZWriteControl": 0,
|
||||
"m_AlphaMode": 0,
|
||||
"m_RenderFace": 2,
|
||||
"m_AlphaClip": false,
|
||||
"m_CastShadows": false,
|
||||
"m_ReceiveShadows": true,
|
||||
"m_SupportsLODCrossFade": false,
|
||||
"m_CustomEditorGUI": "",
|
||||
"m_SupportVFX": false
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "293a8aa416124ff6bb64ce6442aacac5",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Alpha",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Alpha",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 1.0,
|
||||
"m_DefaultValue": 1.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
||||
"m_ObjectId": "2950bb5f041a49be9d10ef3922c354bf",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Base Color",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "BaseColor",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": {
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"z": 0.5
|
||||
},
|
||||
"m_DefaultValue": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"m_Labels": [],
|
||||
"m_ColorMode": 0,
|
||||
"m_DefaultColor": {
|
||||
"r": 0.5,
|
||||
"g": 0.5,
|
||||
"b": 0.5,
|
||||
"a": 1.0
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
||||
"m_ObjectId": "2e96a32a0a974656bc98c5457e247207",
|
||||
"m_Name": "",
|
||||
"m_ChildObjectList": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionMaterialSlot",
|
||||
"m_ObjectId": "48b2505fbe2f41c49d48df842e052b5d",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "UV",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "UV",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 0.0
|
||||
},
|
||||
"m_DefaultValue": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 0.0
|
||||
},
|
||||
"m_Labels": [],
|
||||
"m_ScreenSpaceType": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "539bb7a2307f4e1f9875e580ea869d3f",
|
||||
"m_Id": 1,
|
||||
"m_DisplayName": "X",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "X",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalFullscreenSubTarget",
|
||||
"m_ObjectId": "577cebf97dbc42099398a62ce90466c8"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "6538c6d993044b598d6e5b885bad20f3",
|
||||
"m_Id": 1,
|
||||
"m_DisplayName": "Out",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
||||
"m_ObjectId": "6ae9f935128e4406b5f387556ad92d0f",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Out",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"m_DefaultValue": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "73cc9cd5b7da4096a98513bb3d9d6106",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "SurfaceDescription.BaseColor",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "2950bb5f041a49be9d10ef3922c354bf"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "76d9e33f2afa42afa4e85945b2ee6865",
|
||||
"m_Id": 3,
|
||||
"m_DisplayName": "Z",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Z",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": [
|
||||
"Z"
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3Node",
|
||||
"m_ObjectId": "a3ecdf93d64441479dfabe0adb3a8014",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Vector 3",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": -226.0,
|
||||
"y": 300.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "539bb7a2307f4e1f9875e580ea869d3f"
|
||||
},
|
||||
{
|
||||
"m_Id": "1e38ba85932d4f7eac2b9d84f7ce717d"
|
||||
},
|
||||
{
|
||||
"m_Id": "76d9e33f2afa42afa4e85945b2ee6865"
|
||||
},
|
||||
{
|
||||
"m_Id": "6ae9f935128e4406b5f387556ad92d0f"
|
||||
}
|
||||
],
|
||||
"synonyms": [
|
||||
"3",
|
||||
"v3",
|
||||
"vec3",
|
||||
"float3"
|
||||
],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_Value": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.Rendering.Fullscreen.ShaderGraph.FullscreenData",
|
||||
"m_ObjectId": "b64d4f774c3140e281af073fcf3f2376",
|
||||
"m_Version": 0,
|
||||
"m_fullscreenMode": 0,
|
||||
"m_BlendMode": 0,
|
||||
"m_SrcColorBlendMode": 0,
|
||||
"m_DstColorBlendMode": 1,
|
||||
"m_ColorBlendOperation": 0,
|
||||
"m_SrcAlphaBlendMode": 0,
|
||||
"m_DstAlphaBlendMode": 1,
|
||||
"m_AlphaBlendOperation": 0,
|
||||
"m_EnableStencil": false,
|
||||
"m_StencilReference": 0,
|
||||
"m_StencilReadMask": 255,
|
||||
"m_StencilWriteMask": 255,
|
||||
"m_StencilCompareFunction": 8,
|
||||
"m_StencilPassOperation": 0,
|
||||
"m_StencilFailOperation": 0,
|
||||
"m_StencilDepthFailOperation": 0,
|
||||
"m_DepthWrite": false,
|
||||
"m_depthWriteMode": 0,
|
||||
"m_AllowMaterialOverride": false,
|
||||
"m_DepthTestMode": 0
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ac1b684e4456f1468b46d6ef423cd0e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/DepthBlit.shadergraph
|
||||
uploadId: 916910
|
||||
+7708
File diff suppressed because it is too large
Load Diff
+17
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6cfd8ae44422c9842b98fc260a9bce21
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/FogBlend.shadergraph
|
||||
uploadId: 916910
|
||||
+20786
File diff suppressed because it is too large
Load Diff
+17
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df55908a02214a74e8c03efec07f9292
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/FogFactor.shadergraph
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,50 @@
|
||||
#ifndef _INCLUDE_NOISE3D
|
||||
#define _INCLUDE_NOISE3D
|
||||
|
||||
float3 mod3D289( float3 x ) { return x - floor( x / 289.0 ) * 289.0; }
|
||||
float4 mod3D289( float4 x ) { return x - floor( x / 289.0 ) * 289.0; }
|
||||
float4 permute( float4 x ) { return mod3D289( ( x * 34.0 + 1.0 ) * x ); }
|
||||
float4 taylorInvSqrt( float4 r ) { return 1.79284291400159 - r * 0.85373472095314; }
|
||||
void snoise_float( float3 v, out float Out )
|
||||
{
|
||||
const float2 C = float2( 1.0 / 6.0, 1.0 / 3.0 );
|
||||
float3 i = floor( v + dot( v, C.yyy ) );
|
||||
float3 x0 = v - i + dot( i, C.xxx );
|
||||
float3 g = step( x0.yzx, x0.xyz );
|
||||
float3 l = 1.0 - g;
|
||||
float3 i1 = min( g.xyz, l.zxy );
|
||||
float3 i2 = max( g.xyz, l.zxy );
|
||||
float3 x1 = x0 - i1 + C.xxx;
|
||||
float3 x2 = x0 - i2 + C.yyy;
|
||||
float3 x3 = x0 - 0.5;
|
||||
i = mod3D289( i);
|
||||
float4 p = permute( permute( permute( i.z + float4( 0.0, i1.z, i2.z, 1.0 ) ) + i.y + float4( 0.0, i1.y, i2.y, 1.0 ) ) + i.x + float4( 0.0, i1.x, i2.x, 1.0 ) );
|
||||
float4 j = p - 49.0 * floor( p / 49.0 ); // mod(p,7*7)
|
||||
float4 x_ = floor( j / 7.0 );
|
||||
float4 y_ = floor( j - 7.0 * x_ ); // mod(j,N)
|
||||
float4 x = ( x_ * 2.0 + 0.5 ) / 7.0 - 1.0;
|
||||
float4 y = ( y_ * 2.0 + 0.5 ) / 7.0 - 1.0;
|
||||
float4 h = 1.0 - abs( x ) - abs( y );
|
||||
float4 b0 = float4( x.xy, y.xy );
|
||||
float4 b1 = float4( x.zw, y.zw );
|
||||
float4 s0 = floor( b0 ) * 2.0 + 1.0;
|
||||
float4 s1 = floor( b1 ) * 2.0 + 1.0;
|
||||
float4 sh = -step( h, 0.0 );
|
||||
float4 a0 = b0.xzyw + s0.xzyw * sh.xxyy;
|
||||
float4 a1 = b1.xzyw + s1.xzyw * sh.zzww;
|
||||
float3 g0 = float3( a0.xy, h.x );
|
||||
float3 g1 = float3( a0.zw, h.y );
|
||||
float3 g2 = float3( a1.xy, h.z );
|
||||
float3 g3 = float3( a1.zw, h.w );
|
||||
float4 norm = taylorInvSqrt( float4( dot( g0, g0 ), dot( g1, g1 ), dot( g2, g2 ), dot( g3, g3 ) ) );
|
||||
g0 *= norm.x;
|
||||
g1 *= norm.y;
|
||||
g2 *= norm.z;
|
||||
g3 *= norm.w;
|
||||
float4 m = max( 0.6 - float4( dot( x0, x0 ), dot( x1, x1 ), dot( x2, x2 ), dot( x3, x3 ) ), 0.0 );
|
||||
m = m* m;
|
||||
m = m* m;
|
||||
float4 px = float4( dot( x0, g0 ), dot( x1, g1 ), dot( x2, g2 ), dot( x3, g3 ) );
|
||||
Out = 42.0 * dot( m, px);
|
||||
}
|
||||
#endif
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 92771ca12113fb04dbb83c48b3e0f513
|
||||
ShaderIncludeImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Noise3D.hlsl
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3d7f2b5444ad9b84f866ab160125e952
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Hidden_INabStudio_SSMS_URP
|
||||
m_Shader: {fileID: 4800000, guid: a1b51fce91521df409b3809a40fd7c2a, type: 3}
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats: []
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c11600ae009e8784f859b3a9ebef02ba
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Resources/Hidden_INabStudio_SSMS_URP.mat
|
||||
uploadId: 916910
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-8463144772158828217
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 7
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Shader Graphs_DepthBlit
|
||||
m_Shader: {fileID: -6465566751694194690, guid: 8ac1b684e4456f1468b46d6ef423cd0e, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _QueueControl: 0
|
||||
- _QueueOffset: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dfb3998e0e2332145aea0f26258cca73
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Resources/Shader
|
||||
Graphs_DepthBlit.mat
|
||||
uploadId: 916910
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-1972522579733908130
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 7
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Shader Graphs_FinalBlit
|
||||
m_Shader: {fileID: -6465566751694194690, guid: 6cfd8ae44422c9842b98fc260a9bce21, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _QueueControl: 0
|
||||
- _QueueOffset: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1aa0f423c058db5479c41a4efd8198f1
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Resources/Shader
|
||||
Graphs_FinalBlit.mat
|
||||
uploadId: 916910
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-4245126174887948826
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 7
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Shader Graphs_FogBlit
|
||||
m_Shader: {fileID: -6465566751694194690, guid: df55908a02214a74e8c03efec07f9292, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _QueueControl: 0
|
||||
- _QueueOffset: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c1d17d6f3e6143b429269d78fb06ff22
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Resources/Shader
|
||||
Graphs_FogBlit.mat
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,59 @@
|
||||
|
||||
Shader "Hidden/INabStudio/SSMS_URP"
|
||||
{
|
||||
SubShader
|
||||
{
|
||||
ZTest Always Cull Off ZWrite Off
|
||||
|
||||
HLSLINCLUDE
|
||||
#include "SSMS_URP.hlsl"
|
||||
ENDHLSL
|
||||
|
||||
// 0: Prefilter // 0
|
||||
Pass
|
||||
{
|
||||
HLSLPROGRAM
|
||||
#pragma vertex Vert
|
||||
#pragma fragment frag_prefilter
|
||||
ENDHLSL
|
||||
}
|
||||
|
||||
// 2: First level downsampler // 1
|
||||
Pass
|
||||
{
|
||||
HLSLPROGRAM
|
||||
#pragma vertex Vert
|
||||
#pragma fragment frag_downsample1
|
||||
ENDHLSL
|
||||
}
|
||||
|
||||
// 4: Second level downsampler // 2
|
||||
Pass
|
||||
{
|
||||
HLSLPROGRAM
|
||||
#pragma vertex Vert
|
||||
#pragma fragment frag_downsample2
|
||||
ENDHLSL
|
||||
}
|
||||
// 5: Upsampler // 3
|
||||
Pass
|
||||
{
|
||||
HLSLPROGRAM
|
||||
#pragma vertex Vert
|
||||
#pragma fragment frag_upsample
|
||||
ENDHLSL
|
||||
}
|
||||
|
||||
// 7: Combiner // 4
|
||||
Pass
|
||||
{
|
||||
HLSLPROGRAM
|
||||
#pragma vertex Vert
|
||||
#pragma fragment frag_upsample_final
|
||||
ENDHLSL
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1b51fce91521df409b3809a40fd7c2a
|
||||
timeCreated: 1482100751
|
||||
licenseType: Store
|
||||
ShaderImporter:
|
||||
defaultTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/SSMS.shader
|
||||
uploadId: 916910
|
||||
+236
@@ -0,0 +1,236 @@
|
||||
#ifndef SSMS_HLSL
|
||||
#define SSMS_HLSL
|
||||
|
||||
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
|
||||
// The Blit.hlsl file provides the vertex shader (Vert),
|
||||
// input structure (Attributes) and output strucutre (Varyings)
|
||||
#include "Packages/com.unity.render-pipelines.core/Runtime/Utilities/Blit.hlsl"
|
||||
|
||||
|
||||
TEXTURE2D(_BaseTexture);
|
||||
//SAMPLER(sampler_BaseTexture);
|
||||
|
||||
TEXTURE2D(_BaseTextureUpscale);
|
||||
|
||||
float _PrefilterOffs;
|
||||
float _Threshold;
|
||||
float3 _Curve;
|
||||
float _SampleScale;
|
||||
float _Intensity;
|
||||
|
||||
// SMSS
|
||||
TEXTURE2D(_FadeTex);
|
||||
SAMPLER(sampler_FadeTex);
|
||||
|
||||
TEXTURE2D(_FogFactor_RT);
|
||||
SAMPLER(sampler_FogFactor_RT);
|
||||
|
||||
float _Radius;
|
||||
float _BlurWeight;
|
||||
|
||||
#pragma shader_feature ANTI_FLICKER_ON
|
||||
#pragma shader_feature _HIGH_QUALITY_ON
|
||||
|
||||
// Brightness function
|
||||
float Brightness(float3 c)
|
||||
{
|
||||
return max(max(c.r, c.g), c.b);
|
||||
}
|
||||
|
||||
// 3-tap median filter
|
||||
float3 Median(float3 a, float3 b, float3 c)
|
||||
{
|
||||
return a + b + c - min(min(a, b), c) - max(max(a, b), c);
|
||||
}
|
||||
|
||||
float CustomLuminocity(float3 a)
|
||||
{
|
||||
float sum = a.r + a.b + a.z;
|
||||
sum /=3;
|
||||
sum = sum * (1 / sum);
|
||||
return sum;
|
||||
}
|
||||
|
||||
float4 ToFloat4(float3 rgb)
|
||||
{
|
||||
return float4(rgb, 0);
|
||||
}
|
||||
|
||||
float3 ToFloat3(float4 rgba)
|
||||
{
|
||||
return rgba.rgb;
|
||||
}
|
||||
|
||||
#define HALF_MAX 65504.0 // (2 - 2^-10) * 2^15
|
||||
|
||||
// Clamp HDR value within a safe range
|
||||
half3 SafeHDR(half3 c)
|
||||
{
|
||||
return min(c, HALF_MAX);
|
||||
}
|
||||
|
||||
half4 SafeHDR(half4 c)
|
||||
{
|
||||
return min(c, HALF_MAX);
|
||||
}
|
||||
|
||||
// Downsample with a 4x4 box filter
|
||||
float3 DownsampleFilter(float2 uv)
|
||||
{
|
||||
float4 d = _BlitTexture_TexelSize.xyxy * float4(-1, -1, +1, +1);
|
||||
|
||||
float3 s;
|
||||
s = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xy));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zy));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xw));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zw));
|
||||
|
||||
return s * (1.0 / 4);
|
||||
}
|
||||
|
||||
// Downsample with a 4x4 box filter + anti-flicker filter
|
||||
float3 DownsampleAntiFlickerFilter(float2 uv)
|
||||
{
|
||||
float4 d = _BlitTexture_TexelSize.xyxy * float4(-1, -1, +1, +1);
|
||||
|
||||
float3 s1 = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xy));
|
||||
float3 s2 = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zy));
|
||||
float3 s3 = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xw));
|
||||
float3 s4 = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zw));
|
||||
|
||||
// Karis's luma weighted average (using brightness instead of luma)
|
||||
float s1w = 1 / (Brightness(s1) + 1);
|
||||
float s2w = 1 / (Brightness(s2) + 1);
|
||||
float s3w = 1 / (Brightness(s3) + 1);
|
||||
float s4w = 1 / (Brightness(s4) + 1);
|
||||
float one_div_wsum = 1 / (s1w + s2w + s3w + s4w);
|
||||
|
||||
return (s1 * s1w + s2 * s2w + s3 * s3w + s4 * s4w) * one_div_wsum;
|
||||
}
|
||||
|
||||
float3 UpsampleFilter(float2 uv)
|
||||
{
|
||||
#ifdef _HIGH_QUALITY_ON
|
||||
// 9-tap bilinear upsampler (tent filter)
|
||||
float4 d = _BlitTexture_TexelSize.xyxy * float4(1, 1, -1, 0) * _SampleScale;
|
||||
|
||||
float3 s;
|
||||
s = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv - d.xy));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv - d.wy)) * 2;
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv - d.zy));
|
||||
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zw)) * 2;
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv )) * 4;
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xw)) * 2;
|
||||
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zy));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.wy)) * 2;
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xy));
|
||||
|
||||
return s * (1.0 / 16);
|
||||
#else
|
||||
// 4-tap bilinear upsampler
|
||||
float4 d = _BlitTexture_TexelSize.xyxy * float4(-1, -1, +1, +1) * (_SampleScale * 0.5);
|
||||
|
||||
float3 s;
|
||||
s = ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xy));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zy));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xw));
|
||||
s += ToFloat3(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zw));
|
||||
|
||||
return s * (1.0 / 4);
|
||||
#endif
|
||||
}
|
||||
|
||||
//
|
||||
// fragment shader
|
||||
//
|
||||
|
||||
// SMSS
|
||||
float AdjustDepth(float4 d){
|
||||
|
||||
//float Out = CustomLuminocity(d.rgb);
|
||||
//Out *= d.a;
|
||||
|
||||
float Out = d.r;
|
||||
|
||||
Out = SAMPLE_TEXTURE2D(_FadeTex,sampler_FadeTex, float2(Out, 0.5)).r;
|
||||
return saturate(Out);
|
||||
}
|
||||
|
||||
|
||||
float4 frag_prefilter(Varyings i) : SV_Target
|
||||
{
|
||||
float2 uv = i.texcoord + _BlitTexture_TexelSize.xy * _PrefilterOffs;
|
||||
|
||||
#ifdef ANTI_FLICKER_ON
|
||||
float3 d = _BlitTexture_TexelSize.xyx * float3(1, 1, 0);
|
||||
float4 s0 = SafeHDR(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv));
|
||||
float3 s1 = SafeHDR(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv - d.xz).rgb);
|
||||
float3 s2 = SafeHDR(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.xz).rgb);
|
||||
float3 s3 = SafeHDR(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv - d.zy).rgb);
|
||||
float3 s4 = SafeHDR(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv + d.zy).rgb);
|
||||
float3 m = Median(Median(s0.rgb, s1, s2), s3, s4);
|
||||
|
||||
#else
|
||||
float4 s0 = SafeHDR(SAMPLE_TEXTURE2D(_BlitTexture, sampler_LinearClamp, uv));
|
||||
float3 m = s0.rgb;
|
||||
#endif
|
||||
|
||||
// Pixel brightness
|
||||
float br = Brightness(m);
|
||||
|
||||
// Under-threshold part: quadratic curve
|
||||
float rq = clamp(br - _Curve.x, 0, _Curve.y);
|
||||
rq = _Curve.z * rq * rq;
|
||||
|
||||
// Combine and apply the brightness response curve.
|
||||
m *= max(rq, br - _Threshold) / max(br, 1e-5);
|
||||
|
||||
// SMSS
|
||||
float depth = AdjustDepth(SAMPLE_TEXTURE2D(_FogFactor_RT,sampler_FogFactor_RT, i.texcoord ));
|
||||
|
||||
return ToFloat4(m * depth);
|
||||
}
|
||||
|
||||
|
||||
float4 frag_downsample1(Varyings i) : SV_Target
|
||||
{
|
||||
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(i);
|
||||
|
||||
#ifdef ANTI_FLICKER_ON
|
||||
return ToFloat4(DownsampleAntiFlickerFilter(i.texcoord ));
|
||||
#else
|
||||
return ToFloat4(DownsampleFilter(i.texcoord ));
|
||||
#endif
|
||||
}
|
||||
|
||||
float4 frag_downsample2(Varyings i) : SV_Target
|
||||
{
|
||||
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(i);
|
||||
return ToFloat4(DownsampleFilter(i.texcoord ));
|
||||
}
|
||||
|
||||
float4 frag_upsample(Varyings i) : SV_Target
|
||||
{
|
||||
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(i);
|
||||
float3 base = ToFloat3(SAMPLE_TEXTURE2D(_BaseTextureUpscale, sampler_LinearClamp, i.texcoord));
|
||||
float3 blur = UpsampleFilter(i.texcoord );
|
||||
|
||||
return ToFloat4(base + blur * (1 + _BlurWeight)) / (1 + (_BlurWeight * 0.735));
|
||||
}
|
||||
|
||||
float4 frag_upsample_final(Varyings i) : SV_Target
|
||||
{
|
||||
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(i);
|
||||
float4 base = SAMPLE_TEXTURE2D(_BaseTexture, sampler_LinearClamp, i.texcoord);
|
||||
float3 blur = UpsampleFilter(i.texcoord );
|
||||
|
||||
// SMSS
|
||||
float depth = AdjustDepth(SAMPLE_TEXTURE2D(_FogFactor_RT,sampler_FogFactor_RT, i.texcoord));
|
||||
|
||||
return lerp(base, float4(blur,1) * (1 / _Radius), clamp(depth ,0,_Intensity));
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cc7fb63b4bdcfa345a6c6db2786d6a14
|
||||
ShaderIncludeImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/SSMS_URP.hlsl
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6a222311171714745b347da2c7b0aaff
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+2347
File diff suppressed because it is too large
Load Diff
+17
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ddfdf08de9875b4396a16386ce26c4c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Subgraphs/3dNoiseSample.shadersubgraph
|
||||
uploadId: 916910
|
||||
+401
@@ -0,0 +1,401 @@
|
||||
{
|
||||
"m_SGVersion": 3,
|
||||
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||
"m_ObjectId": "d14c6028b9de4ab5a6ae1e5021a9c31e",
|
||||
"m_Properties": [
|
||||
{
|
||||
"m_Id": "f480fbe85b1e45429a89177bc0b24dc9"
|
||||
}
|
||||
],
|
||||
"m_Keywords": [],
|
||||
"m_Dropdowns": [],
|
||||
"m_CategoryData": [
|
||||
{
|
||||
"m_Id": "eeb8e44c96974d0cb8e730ae8bde5a25"
|
||||
}
|
||||
],
|
||||
"m_Nodes": [
|
||||
{
|
||||
"m_Id": "b9fce440d8ae4b69954a327eecb25d9d"
|
||||
},
|
||||
{
|
||||
"m_Id": "a6b66222b6b2448080ce4fcc54581fe8"
|
||||
},
|
||||
{
|
||||
"m_Id": "fb993f79273442fa816106565a5d38e0"
|
||||
},
|
||||
{
|
||||
"m_Id": "0663fa9973994814bc4b0d904673e0d4"
|
||||
}
|
||||
],
|
||||
"m_GroupDatas": [],
|
||||
"m_StickyNoteDatas": [],
|
||||
"m_Edges": [
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "0663fa9973994814bc4b0d904673e0d4"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "fb993f79273442fa816106565a5d38e0"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "fb993f79273442fa816106565a5d38e0"
|
||||
},
|
||||
"m_SlotId": 2
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "b9fce440d8ae4b69954a327eecb25d9d"
|
||||
},
|
||||
"m_SlotId": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"m_VertexContext": {
|
||||
"m_Position": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"m_Blocks": []
|
||||
},
|
||||
"m_FragmentContext": {
|
||||
"m_Position": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"m_Blocks": []
|
||||
},
|
||||
"m_PreviewData": {
|
||||
"serializedMesh": {
|
||||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
||||
"m_Guid": ""
|
||||
},
|
||||
"preventRotation": false
|
||||
},
|
||||
"m_Path": "Sub Graphs",
|
||||
"m_GraphPrecision": 1,
|
||||
"m_PreviewMode": 2,
|
||||
"m_OutputNode": {
|
||||
"m_Id": "b9fce440d8ae4b69954a327eecb25d9d"
|
||||
},
|
||||
"m_ActiveTargets": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||
"m_ObjectId": "0663fa9973994814bc4b0d904673e0d4",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Property",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": -262.0,
|
||||
"y": -148.0,
|
||||
"width": 157.0,
|
||||
"height": 34.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "fa995ca78d134a4b98994b618581aa92"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_Property": {
|
||||
"m_Id": "f480fbe85b1e45429a89177bc0b24dc9"
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "244809a270fd43ba997e91deec108e1a",
|
||||
"m_Id": 1,
|
||||
"m_DisplayName": "B",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "B",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 1.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": [
|
||||
"X"
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "5650237409694e8e902299883178a00d",
|
||||
"m_Id": 1,
|
||||
"m_DisplayName": "Out",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": [
|
||||
"X"
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
|
||||
"m_ObjectId": "6d2a22c977a34dd08664dad5374b3b7d",
|
||||
"m_Id": 2,
|
||||
"m_DisplayName": "Out",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": false,
|
||||
"m_DefaultValue": false
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionMaterialSlot",
|
||||
"m_ObjectId": "8e321d3d08fd46b297fcb4d4f2e72440",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "UV",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "UV",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 0.0
|
||||
},
|
||||
"m_DefaultValue": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 0.0
|
||||
},
|
||||
"m_Labels": [],
|
||||
"m_ScreenSpaceType": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.SceneDepthNode",
|
||||
"m_ObjectId": "a6b66222b6b2448080ce4fcc54581fe8",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Scene Depth",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": -195.5,
|
||||
"y": -64.00001525878906,
|
||||
"width": 145.0001220703125,
|
||||
"height": 112.00003051757813
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "8e321d3d08fd46b297fcb4d4f2e72440"
|
||||
},
|
||||
{
|
||||
"m_Id": "5650237409694e8e902299883178a00d"
|
||||
}
|
||||
],
|
||||
"synonyms": [
|
||||
"zbuffer",
|
||||
"zdepth"
|
||||
],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_DepthSamplingMode": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
|
||||
"m_ObjectId": "b9fce440d8ae4b69954a327eecb25d9d",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Output",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 323.00006103515627,
|
||||
"y": 0.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "f7e2378611854e4a958817bc5afb5ddf"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"IsFirstSlotValid": true
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "c461e8faf877463fb0f2c0b2ed91640d",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "A",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "A",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": [
|
||||
"X"
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
||||
"m_ObjectId": "eeb8e44c96974d0cb8e730ae8bde5a25",
|
||||
"m_Name": "",
|
||||
"m_ChildObjectList": [
|
||||
{
|
||||
"m_Id": "f480fbe85b1e45429a89177bc0b24dc9"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 1,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||
"m_ObjectId": "f480fbe85b1e45429a89177bc0b24dc9",
|
||||
"m_Guid": {
|
||||
"m_GuidSerialized": "79cba009-3f1f-492d-b832-d1bf3ed7df0c"
|
||||
},
|
||||
"m_Name": "Linear 01 Depth",
|
||||
"m_DefaultRefNameVersion": 1,
|
||||
"m_RefNameGeneratedByDisplayName": "Linear 01 Depth",
|
||||
"m_DefaultReferenceName": "_Linear_01_Depth",
|
||||
"m_OverrideReferenceName": "",
|
||||
"m_GeneratePropertyBlock": true,
|
||||
"m_UseCustomSlotLabel": false,
|
||||
"m_CustomSlotLabel": "",
|
||||
"m_Precision": 0,
|
||||
"overrideHLSLDeclaration": false,
|
||||
"hlslDeclarationOverride": 0,
|
||||
"m_Hidden": false,
|
||||
"m_Value": 0.0,
|
||||
"m_FloatType": 0,
|
||||
"m_RangeValues": {
|
||||
"x": 0.0,
|
||||
"y": 1.0
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
|
||||
"m_ObjectId": "f7e2378611854e4a958817bc5afb5ddf",
|
||||
"m_Id": 1,
|
||||
"m_DisplayName": "IsSkybox",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "IsSkybox",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": false,
|
||||
"m_DefaultValue": false
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "fa995ca78d134a4b98994b618581aa92",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Linear 01 Depth",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.ComparisonNode",
|
||||
"m_ObjectId": "fb993f79273442fa816106565a5d38e0",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Comparison",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 50.5001220703125,
|
||||
"y": -60.00001525878906,
|
||||
"width": 145.0,
|
||||
"height": 136.00003051757813
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "c461e8faf877463fb0f2c0b2ed91640d"
|
||||
},
|
||||
{
|
||||
"m_Id": "244809a270fd43ba997e91deec108e1a"
|
||||
},
|
||||
{
|
||||
"m_Id": "6d2a22c977a34dd08664dad5374b3b7d"
|
||||
}
|
||||
],
|
||||
"synonyms": [
|
||||
"equal",
|
||||
"greater than",
|
||||
"less than"
|
||||
],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_ComparisonType": 5
|
||||
}
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4a1ce3e8ca198174f80305787ccd2d3d
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Subgraphs/IsSkybox.shadersubgraph
|
||||
uploadId: 916910
|
||||
+2078
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e1a65de18c4dd864f9384ba45d6c71dc
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 259457
|
||||
packageName: 'Better Fog: Height Fog, Light Scattering & More'
|
||||
packageVersion: 3.1
|
||||
assetPath: Assets/INab Studio/Post Processing Assets/Better Fog/Core URP 6/Shaders/Subgraphs/World
|
||||
Pos From Depth.shadersubgraph
|
||||
uploadId: 916910
|
||||
Reference in New Issue
Block a user