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: 061a2a84db20ac940a790b3aeb1595f3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 25258872912a5d047b993cba3116be8d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+226
@@ -0,0 +1,226 @@
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using INab.BetterFog.Runtime;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
|
||||
|
||||
namespace INab.BetterFog.Editor
|
||||
{
|
||||
[CustomEditor(typeof(GradientTexture), true), CanEditMultipleObjects]
|
||||
public class GradientTextureEditor : UnityEditor.Editor
|
||||
{
|
||||
GradientTexture _gradientTexture;
|
||||
UnityEditor.Editor _editor;
|
||||
|
||||
public override bool HasPreviewGUI() => true;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
_gradientTexture = target as GradientTexture;
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
if (_gradientTexture.GetTexture() == null)
|
||||
{
|
||||
(_gradientTexture as IGradientTextureForEditor).CreateTexture();
|
||||
}
|
||||
|
||||
base.OnInspectorGUI();
|
||||
|
||||
GradientTexture targetTexture = target as GradientTexture;
|
||||
|
||||
string buttonText = "Encode to PNG" + (targets.Length > 1 ? $" ({targets.Length})" : "");
|
||||
|
||||
if (GUILayout.Button(buttonText))
|
||||
{
|
||||
foreach (Object target in targets)
|
||||
{
|
||||
|
||||
var currentRampObjPath = AssetDatabase.GetAssetPath(serializedObject.targetObject);
|
||||
var defaultDirectory = System.IO.Path.GetDirectoryName(currentRampObjPath);
|
||||
|
||||
string path = EditorUtility.SaveFilePanelInProject("Save file",
|
||||
$"{targetTexture.name}",
|
||||
"png",
|
||||
"Choose path to save file",
|
||||
defaultDirectory);
|
||||
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
Debug.LogError("[ GradientTextureEditor ] EncodeToPNG() save path is empty! canceled",
|
||||
targetTexture);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
byte[] bytes = ImageConversion.EncodeToPNG(targetTexture.GetTexture());
|
||||
|
||||
int length = "Assets".Length;
|
||||
string dataPath = Application.dataPath;
|
||||
dataPath = dataPath.Remove(dataPath.Length - length, length);
|
||||
dataPath += path;
|
||||
File.WriteAllBytes(dataPath, bytes);
|
||||
|
||||
AssetDatabase.SaveAssets();
|
||||
AssetDatabase.Refresh();
|
||||
AssetDatabase.ImportAsset(path);
|
||||
Texture2D image = AssetDatabase.LoadAssetAtPath<Texture2D>(path);
|
||||
|
||||
TextureImporter importer = (TextureImporter) AssetImporter.GetAtPath(path);
|
||||
importer.sRGBTexture = false;
|
||||
importer.wrapMode = TextureWrapMode.Clamp;
|
||||
importer.mipmapEnabled = false;
|
||||
importer.SaveAndReimport();
|
||||
AssetDatabase.SaveAssets();
|
||||
AssetDatabase.Refresh();
|
||||
|
||||
Debug.Log($"[ GradientTextureEditor ] EncodeToPNG() Success! png-gradient saved at '{path}'",
|
||||
image);
|
||||
|
||||
EditorGUIUtility.PingObject(image);
|
||||
Selection.activeObject = image;
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
EditorGUILayout.LabelField("Gradient Utilities");
|
||||
|
||||
if (GUILayout.Button("Invert Gradient"))
|
||||
{
|
||||
targetTexture.InvertGradient();
|
||||
}
|
||||
|
||||
if (GUILayout.Button("Fill Gradient With Hexadecimals"))
|
||||
{
|
||||
targetTexture.FillGradientWithHexadecimals();
|
||||
}
|
||||
}
|
||||
|
||||
public override void DrawPreview(Rect previewArea)
|
||||
{
|
||||
Texture2D texture = _gradientTexture.GetTexture();
|
||||
bool check = !_editor || _editor.target != texture;
|
||||
|
||||
if (check && texture && (_editor == null || _editor.target != texture))
|
||||
{
|
||||
try
|
||||
{
|
||||
_editor = CreateEditor(targets.Select(t => (t as GradientTexture)?.GetTexture()).ToArray());
|
||||
}
|
||||
catch
|
||||
{
|
||||
_editor = null;
|
||||
//Debug.LogException(e);
|
||||
//throw;
|
||||
}
|
||||
}
|
||||
|
||||
if (_editor && _editor.target)
|
||||
{
|
||||
try
|
||||
{
|
||||
_editor.DrawPreview(previewArea);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//Debug.LogException(e);
|
||||
//throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnPreviewSettings()
|
||||
{
|
||||
if (_editor && _editor.target)
|
||||
{
|
||||
try
|
||||
{
|
||||
_editor.OnPreviewSettings();
|
||||
}
|
||||
catch
|
||||
{
|
||||
//Debug.LogException(e);
|
||||
//throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void ReloadPreviewInstances()
|
||||
{
|
||||
if (_editor && _editor.target)
|
||||
{
|
||||
try
|
||||
{
|
||||
_editor.ReloadPreviewInstances();
|
||||
}
|
||||
catch
|
||||
{
|
||||
//Debug.LogException(e);
|
||||
//throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnInteractivePreviewGUI(Rect r, GUIStyle background)
|
||||
{
|
||||
if (_editor && _editor.target)
|
||||
{
|
||||
try
|
||||
{
|
||||
_editor.OnInteractivePreviewGUI(r, background);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//Debug.LogException(e);
|
||||
//throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnPreviewGUI(Rect r, GUIStyle background)
|
||||
{
|
||||
if (_editor && _editor.target)
|
||||
{
|
||||
try
|
||||
{
|
||||
_editor.OnPreviewGUI(r, background);
|
||||
}
|
||||
catch
|
||||
{
|
||||
//Debug.LogException(e);
|
||||
//throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override Texture2D RenderStaticPreview(string assetPath, Object[] subAssets, int width, int height)
|
||||
{
|
||||
if (_gradientTexture == null) return null;
|
||||
if (_gradientTexture.GetTexture() == null) return null;
|
||||
Texture2D tex = new Texture2D(width, height);
|
||||
EditorUtility.CopySerialized(_gradientTexture.GetTexture(), tex);
|
||||
return tex;
|
||||
}
|
||||
|
||||
void OnDisable()
|
||||
{
|
||||
if (_editor)
|
||||
{
|
||||
_editor.GetType().GetMethod("OnDisable", BindingFlags.NonPublic)?.Invoke(_editor, null);
|
||||
}
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (_editor)
|
||||
{
|
||||
DestroyImmediate(_editor);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 04f697b1a5b78ec48a62901b35f69097
|
||||
timeCreated: 1647971818
|
||||
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/GradientCreator/Editor/GradientTextureEditor.cs
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bd32dbbcce5ad364180f7eee085d0d72
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
+103
@@ -0,0 +1,103 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 595faf12ca499ab47a93e6bd0db8f719
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 9
|
||||
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: 0
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 3
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 4
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: 4
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline:
|
||||
- - {x: -2, y: -2}
|
||||
- {x: -2, y: 2}
|
||||
- {x: 2, y: 2}
|
||||
- {x: 2, y: -2}
|
||||
physicsShape:
|
||||
- - {x: -2, y: -2}
|
||||
- {x: -2, y: 2}
|
||||
- {x: 2, y: 2}
|
||||
- {x: 2, y: -2}
|
||||
bones: []
|
||||
spriteID: b9df806e3139d9e4c87d360cb8bda300
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 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/GradientCreator/Gizmos/GradientTextureIcon.png
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 mitay-walle Dmitry Lazarev-Lobachev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9d0d8c0793e5054f83513eaad531242
|
||||
TextScriptImporter:
|
||||
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/GradientCreator/License.txt
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 78b4723e40fb191429f9e45c69dbbe8f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
namespace INab.BetterFog.Runtime
|
||||
{
|
||||
public interface IGradientTextureForEditor
|
||||
{
|
||||
void CreateTexture();
|
||||
|
||||
Texture2D GetTexture();
|
||||
|
||||
void LoadExisitingTexture();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main Asset, holds settings, create, hold and change Texture2D's pixels, name
|
||||
/// </summary>
|
||||
[CreateAssetMenu(fileName = "NewGradientName", menuName = "BetterFog/Gradient")]
|
||||
public class GradientTexture : ScriptableObject, IEquatable<Texture2D>, ISerializationCallbackReceiver,
|
||||
IGradientTextureForEditor
|
||||
{
|
||||
[SerializeField] Vector2Int _resolution = new Vector2Int(256, 1);
|
||||
[SerializeField, GradientUsage(false)] Gradient _gradient = GetDefaultGradient();
|
||||
[SerializeField, HideInInspector] Texture2D _texture = default;
|
||||
[SerializeField] List<string> _hexadecimals;
|
||||
|
||||
public Texture2D GetTexture() => _texture;
|
||||
|
||||
int _width => _resolution.x;
|
||||
int _height => _resolution.y;
|
||||
|
||||
public static implicit operator Texture2D(GradientTexture asset) => asset.GetTexture();
|
||||
|
||||
//TODO better default gradient
|
||||
static Gradient GetDefaultGradient() => new Gradient
|
||||
{
|
||||
alphaKeys = new[] { new GradientAlphaKey(1, 1) },
|
||||
colorKeys = new[]
|
||||
{
|
||||
new GradientColorKey(Color.black, 0),
|
||||
new GradientColorKey(Color.white, 1)
|
||||
}
|
||||
};
|
||||
|
||||
public void FillGradientWithHexadecimals()
|
||||
{
|
||||
if(_hexadecimals.Count < 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
float lerp = 0;
|
||||
float step = (float)1 / (float)(_hexadecimals.Count-1);
|
||||
|
||||
var colorKeys = new GradientColorKey[_hexadecimals.Count];
|
||||
var alphaKeys = new GradientAlphaKey[_hexadecimals.Count];
|
||||
|
||||
foreach (var item in _hexadecimals)
|
||||
{
|
||||
string hex = item;
|
||||
if (hex[0] != '#') hex = "#" + hex;
|
||||
|
||||
|
||||
Color color;
|
||||
ColorUtility.TryParseHtmlString(hex, out color);
|
||||
|
||||
colorKeys[i] = new GradientColorKey(color,lerp);
|
||||
alphaKeys[i] = new GradientAlphaKey(1, lerp);
|
||||
lerp += step;
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
_gradient.SetKeys(colorKeys, alphaKeys);
|
||||
|
||||
ValidateTextureValues();
|
||||
}
|
||||
|
||||
public void InvertGradient()
|
||||
{
|
||||
// Invert colors
|
||||
GradientColorKey[] originalColorKeys = _gradient.colorKeys;
|
||||
GradientColorKey[] invertedColorKeys = new GradientColorKey[originalColorKeys.Length];
|
||||
|
||||
for (int i = 0; i < originalColorKeys.Length; i++)
|
||||
{
|
||||
invertedColorKeys[i].color = originalColorKeys[originalColorKeys.Length - 1 - i].color;
|
||||
invertedColorKeys[i].time = 1.0f - originalColorKeys[originalColorKeys.Length - 1 - i].time;
|
||||
}
|
||||
|
||||
// Invert alphas
|
||||
GradientAlphaKey[] originalAlphaKeys = _gradient.alphaKeys;
|
||||
GradientAlphaKey[] invertedAlphaKeys = new GradientAlphaKey[originalAlphaKeys.Length];
|
||||
|
||||
for (int i = 0; i < originalAlphaKeys.Length; i++)
|
||||
{
|
||||
invertedAlphaKeys[i].alpha = originalAlphaKeys[originalAlphaKeys.Length - 1 - i].alpha;
|
||||
invertedAlphaKeys[i].time = 1.0f - originalAlphaKeys[originalAlphaKeys.Length - 1 - i].time;
|
||||
}
|
||||
|
||||
_gradient.SetKeys(invertedColorKeys, invertedAlphaKeys);
|
||||
|
||||
ValidateTextureValues();
|
||||
}
|
||||
|
||||
public void FillColors()
|
||||
{
|
||||
_texture.wrapMode = TextureWrapMode.Clamp;
|
||||
|
||||
for (int y = 0; y < _height; y++)
|
||||
{
|
||||
for (int x = 0; x < _width; x++)
|
||||
{
|
||||
float tHorizontal = (float) x / _width;
|
||||
|
||||
Color color = _gradient.Evaluate(tHorizontal);
|
||||
_texture.SetPixel(x, y, color);
|
||||
}
|
||||
}
|
||||
|
||||
_texture.Apply();
|
||||
}
|
||||
|
||||
public bool Equals(Texture2D other)
|
||||
{
|
||||
return _texture.Equals(other);
|
||||
}
|
||||
|
||||
void OnValidate() => ValidateTextureValues();
|
||||
|
||||
void IGradientTextureForEditor.LoadExisitingTexture()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
if (!_texture)
|
||||
{
|
||||
string assetPath = AssetDatabase.GetAssetPath(this);
|
||||
_texture = AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
private string GetName()
|
||||
{
|
||||
return "Preview_" + name;
|
||||
}
|
||||
|
||||
void IGradientTextureForEditor.CreateTexture()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
|
||||
string assetPath = AssetDatabase.GetAssetPath(this);
|
||||
if (string.IsNullOrEmpty(assetPath)) return;
|
||||
|
||||
if (!_texture && this != null && !EditorApplication.isUpdating)
|
||||
{
|
||||
AssetDatabase.ImportAsset(assetPath);
|
||||
_texture = AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath);
|
||||
}
|
||||
|
||||
if (!_texture)
|
||||
{
|
||||
_texture = new Texture2D(_resolution.x, _resolution.y,TextureFormat.RGBAFloat,false,true);
|
||||
if (_texture.name != GetName()) _texture.name = GetName();
|
||||
}
|
||||
|
||||
if (!_texture) return;
|
||||
|
||||
ValidateTextureValues();
|
||||
|
||||
if (!EditorUtility.IsPersistent(this)) return;
|
||||
if (AssetDatabase.IsSubAsset(_texture)) return;
|
||||
if (AssetDatabase.LoadAssetAtPath<Texture2D>(assetPath)) return;
|
||||
|
||||
if (AssetDatabase.IsAssetImportWorkerProcess()) return;
|
||||
AssetDatabase.AddObjectToAsset(_texture, this);
|
||||
AssetDatabase.SaveAssets();
|
||||
AssetDatabase.Refresh();
|
||||
AssetDatabase.ImportAsset(assetPath, ImportAssetOptions.ForceUpdate);
|
||||
#endif
|
||||
}
|
||||
|
||||
void ValidateTextureValues()
|
||||
{
|
||||
if (!_texture) return;
|
||||
if (_texture.name != GetName())
|
||||
{
|
||||
_texture.name = GetName();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_texture.width != _resolution.x ||
|
||||
_texture.height != _resolution.y)
|
||||
{
|
||||
_texture.Reinitialize(_resolution.x, _resolution.y);
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
_texture.alphaIsTransparency = true;
|
||||
#endif
|
||||
FillColors();
|
||||
SetDirtyTexture();
|
||||
}
|
||||
}
|
||||
|
||||
#region Editor
|
||||
|
||||
void SetDirtyTexture()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
if (!_texture) return;
|
||||
|
||||
EditorUtility.SetDirty(_texture);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public void OnAfterDeserialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void OnBeforeSerialize()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
if (!_texture || _texture.name == GetName()) return;
|
||||
|
||||
_texture.name = GetName();
|
||||
|
||||
//AssetDatabase.SaveAssets();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8ef7d5181eac5241bc82c05b74d5719
|
||||
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/GradientCreator/Runtime/GradientTexture.cs
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18860f80b3167cc4987fe349b54d9be4
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
|
||||
namespace INab.BetterFog.Core
|
||||
{
|
||||
[ExecuteInEditMode]
|
||||
[RequireComponent(typeof(Camera))]
|
||||
[ImageEffectAllowedInSceneView] // We need this flag
|
||||
public class BetterFogRenderers : MonoBehaviour
|
||||
{
|
||||
public List<CustomRenderer> depthRenderers = new List<CustomRenderer>();
|
||||
public List<CustomRenderer> fogOffsetRenderers = new List<CustomRenderer>();
|
||||
}
|
||||
|
||||
|
||||
[Serializable]
|
||||
public class CustomRenderer
|
||||
{
|
||||
public bool render = true;
|
||||
public bool alwaysRender = true;
|
||||
public Renderer renderer;
|
||||
public bool drawAllSubmeshes = false;
|
||||
public Material material;
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b19ecde445a88b646b6d2f75496475bc
|
||||
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/Scripts/BetterFogRenderers.cs
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,31 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace INab.BetterFog.Core
|
||||
{
|
||||
public enum HeightFogType
|
||||
{
|
||||
Exponential = 1,
|
||||
ExponentialSquared = 2
|
||||
}
|
||||
|
||||
public enum NoiseAffect
|
||||
{
|
||||
HeightOnly,
|
||||
DistanceOnly,
|
||||
Both
|
||||
}
|
||||
|
||||
public class BetterFogUtility
|
||||
{
|
||||
public static GUIStyle centeredBoldLabel = new GUIStyle(GUI.skin.label)
|
||||
{
|
||||
alignment = TextAnchor.MiddleLeft,
|
||||
fontStyle = FontStyle.Bold,
|
||||
fontSize = 12,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d0cd1791be252c4a8464510e25121d4
|
||||
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/Scripts/BetterFogUtility.cs
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 264605c8a0f088e48801a1c906d44bb6
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2c1ffee7382a7740878d66d97495295
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+1124
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f8533d0ff2af265468cb68a830574789
|
||||
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/Shader Graphs/Custom
|
||||
Renderers/Depth Overwrite.shadergraph
|
||||
uploadId: 916910
|
||||
+2129
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7e1c052f759b4b419c1baf67872ed09
|
||||
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/Shader Graphs/Custom
|
||||
Renderers/Fog Offset.shadergraph
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ef01d314563d324d8d6bc0fa0a0c835
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+425
@@ -0,0 +1,425 @@
|
||||
{
|
||||
"m_SGVersion": 3,
|
||||
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||
"m_ObjectId": "9ebf5b46e6ea42c79207b506cec378e0",
|
||||
"m_Properties": [],
|
||||
"m_Keywords": [],
|
||||
"m_Dropdowns": [],
|
||||
"m_CategoryData": [
|
||||
{
|
||||
"m_Id": "c1f18bbe5e72492085610d42a57ac605"
|
||||
}
|
||||
],
|
||||
"m_Nodes": [
|
||||
{
|
||||
"m_Id": "299fe8c75ddf40688883513171795d61"
|
||||
},
|
||||
{
|
||||
"m_Id": "a700606a4fef496f8ed52d6f66a6e1c8"
|
||||
},
|
||||
{
|
||||
"m_Id": "b83a28cc618c442680064496bfb9a24d"
|
||||
},
|
||||
{
|
||||
"m_Id": "b81a741094984dcaba9f3c4f4b2c569f"
|
||||
},
|
||||
{
|
||||
"m_Id": "47b3538ed18040199cff00bddf7f52ec"
|
||||
}
|
||||
],
|
||||
"m_GroupDatas": [],
|
||||
"m_StickyNoteDatas": [],
|
||||
"m_Edges": [],
|
||||
"m_VertexContext": {
|
||||
"m_Position": {
|
||||
"x": 2308.0,
|
||||
"y": 537.0
|
||||
},
|
||||
"m_Blocks": [
|
||||
{
|
||||
"m_Id": "299fe8c75ddf40688883513171795d61"
|
||||
},
|
||||
{
|
||||
"m_Id": "a700606a4fef496f8ed52d6f66a6e1c8"
|
||||
},
|
||||
{
|
||||
"m_Id": "b83a28cc618c442680064496bfb9a24d"
|
||||
}
|
||||
]
|
||||
},
|
||||
"m_FragmentContext": {
|
||||
"m_Position": {
|
||||
"x": 2308.0,
|
||||
"y": 740.0
|
||||
},
|
||||
"m_Blocks": [
|
||||
{
|
||||
"m_Id": "b81a741094984dcaba9f3c4f4b2c569f"
|
||||
},
|
||||
{
|
||||
"m_Id": "47b3538ed18040199cff00bddf7f52ec"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "a82b3b00161d421f866e7b1a89fa18b3"
|
||||
},
|
||||
{
|
||||
"m_Id": "377df7ffce84473486acc89cd7816a0f"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "299fe8c75ddf40688883513171795d61",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "VertexDescription.Position",
|
||||
"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": "b433b8300cac497797910d39ee736938"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "VertexDescription.Position"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 1,
|
||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
||||
"m_ObjectId": "377df7ffce84473486acc89cd7816a0f",
|
||||
"m_ActiveSubTarget": {
|
||||
"m_Id": "631d6806818c49beb7a98436d8df4918"
|
||||
},
|
||||
"m_AllowMaterialOverride": false,
|
||||
"m_SurfaceType": 1,
|
||||
"m_ZTestMode": 4,
|
||||
"m_ZWriteControl": 2,
|
||||
"m_AlphaMode": 0,
|
||||
"m_RenderFace": 2,
|
||||
"m_AlphaClip": false,
|
||||
"m_CastShadows": false,
|
||||
"m_ReceiveShadows": true,
|
||||
"m_CustomEditorGUI": "",
|
||||
"m_SupportVFX": false
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "47b3538ed18040199cff00bddf7f52ec",
|
||||
"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": "d229e4c1e6e34ec09ecbe5f246bdc99d"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
||||
"m_ObjectId": "52de36196bed4e02b0ebe7fd42c4dc28",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Base Color",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "BaseColor",
|
||||
"m_StageCapability": 2,
|
||||
"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_ColorMode": 0,
|
||||
"m_DefaultColor": {
|
||||
"r": 0.5,
|
||||
"g": 0.5,
|
||||
"b": 0.5,
|
||||
"a": 1.0
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
|
||||
"m_ObjectId": "53b71070ce9a49aaac24251d39e4381c",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Tangent",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Tangent",
|
||||
"m_StageCapability": 1,
|
||||
"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_Space": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
|
||||
"m_ObjectId": "631d6806818c49beb7a98436d8df4918"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
|
||||
"m_ObjectId": "983bdd70d6ff4a888a7d117bac20ff2a"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "a700606a4fef496f8ed52d6f66a6e1c8",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "VertexDescription.Normal",
|
||||
"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": "df0ab4dca5be43c9af6fe2851755c7d5"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "VertexDescription.Normal"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 2,
|
||||
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
|
||||
"m_ObjectId": "a82b3b00161d421f866e7b1a89fa18b3",
|
||||
"m_ActiveSubTarget": {
|
||||
"m_Id": "983bdd70d6ff4a888a7d117bac20ff2a"
|
||||
},
|
||||
"m_AllowMaterialOverride": false,
|
||||
"m_SurfaceType": 1,
|
||||
"m_ZWriteControl": 2,
|
||||
"m_ZTestMode": 4,
|
||||
"m_AlphaMode": 0,
|
||||
"m_RenderFace": 2,
|
||||
"m_AlphaClip": false,
|
||||
"m_CustomEditorGUI": ""
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
|
||||
"m_ObjectId": "b433b8300cac497797910d39ee736938",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Position",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Position",
|
||||
"m_StageCapability": 1,
|
||||
"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_Space": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "b81a741094984dcaba9f3c4f4b2c569f",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "SurfaceDescription.BaseColor",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 1160.0,
|
||||
"y": 56.0,
|
||||
"width": 200.0,
|
||||
"height": 41.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "52de36196bed4e02b0ebe7fd42c4dc28"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "b83a28cc618c442680064496bfb9a24d",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "VertexDescription.Tangent",
|
||||
"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": "53b71070ce9a49aaac24251d39e4381c"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "VertexDescription.Tangent"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
||||
"m_ObjectId": "c1f18bbe5e72492085610d42a57ac605",
|
||||
"m_Name": "",
|
||||
"m_ChildObjectList": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "d229e4c1e6e34ec09ecbe5f246bdc99d",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Alpha",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Alpha",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 1.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
||||
"m_ObjectId": "df0ab4dca5be43c9af6fe2851755c7d5",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Normal",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Normal",
|
||||
"m_StageCapability": 1,
|
||||
"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_Space": 0
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 167cdf633a2f9bf4ca90b0d8fbaf2cb0
|
||||
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/Shader Graphs/Other/Fully
|
||||
Transparent.shadergraph
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7331bf470d78f924b9f428d7b2b68a52
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+5508
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48556ccdc22debe4f80d408d07ea0352
|
||||
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/Shader Graphs/Particles/Procedural
|
||||
Smoke.shadergraph
|
||||
uploadId: 916910
|
||||
+3302
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2de871e264d58f247b04acbaa4f88b9f
|
||||
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/Shader Graphs/Particles/Unlit
|
||||
Particle Fog Offset.shadergraph
|
||||
uploadId: 916910
|
||||
+1255
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ade0b32f7c0346e41885c2cf8f01efe0
|
||||
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/Shader Graphs/Particles/Unlit
|
||||
Particle.shadergraph
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2ad777647c470042ae771f1f2422c12
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
// The MIT License
|
||||
// https://www.youtube.com/c/InigoQuilez
|
||||
// https://iquilezles.org/
|
||||
// Copyright © 2015 Inigo Quilez
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
// Analytically integrating quadratically decaying participating media within a sphere.
|
||||
// No raymarching involved.
|
||||
//
|
||||
// Related info: https://iquilezles.org/articles/spherefunctions
|
||||
|
||||
//UNITY_SHADER_NO_UPGRADE
|
||||
#ifndef FOG_INCLUDED
|
||||
#define FOG_INCLUDED
|
||||
|
||||
void ComputeAnalyticalFog_float(float3 fragPos, float3 sphereCenter, float sphereRadius, float3 rayOrigin, float3 rayDir, float depthBuffer,out float Out)
|
||||
{
|
||||
// Normalize the problem to the canonical sphere
|
||||
float normalizedDepthBuffer = depthBuffer / sphereRadius;
|
||||
float3 rc = (rayOrigin - sphereCenter) / sphereRadius;
|
||||
|
||||
// Find intersection with sphere
|
||||
float b = dot(rayDir, rc);
|
||||
float c = dot(rc, rc) - 1.0;
|
||||
float h = b * b - c;
|
||||
|
||||
// Not intersecting
|
||||
if(h < 0.0)
|
||||
{
|
||||
Out = 0.0;
|
||||
return;
|
||||
}
|
||||
|
||||
h = sqrt(h);
|
||||
float t1 = -b - h;
|
||||
float t2 = -b + h;
|
||||
|
||||
// Not visible (behind camera or behind depth buffer)
|
||||
if(t2 < 0.0 || t1 > normalizedDepthBuffer)
|
||||
{
|
||||
Out = 0.0;
|
||||
return;
|
||||
}
|
||||
|
||||
// Clip integration segment from camera to depth buffer
|
||||
t1 = max(t1, 0.0);
|
||||
t2 = min(t2, normalizedDepthBuffer);
|
||||
|
||||
// Analytical integration of an inverse squared density
|
||||
float i1 = -(c * t1 + b * t1 * t1 + t1 * t1 * t1 / 3.0);
|
||||
float i2 = -(c * t2 + b * t2 * t2 + t2 * t2 * t2 / 3.0);
|
||||
Out = (i2 - i1) * (3.0 / 4.0);
|
||||
}
|
||||
|
||||
#endif
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9a20158b5635344458cc73ff7f9253dd
|
||||
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/Shader Graphs/World
|
||||
Fog/Fog.hlsl
|
||||
uploadId: 916910
|
||||
+3696
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 51fa986c9fbb9db4c85b98971833d66e
|
||||
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/Shader Graphs/World
|
||||
Fog/Sphere Analytical Fog Offset.shadergraph
|
||||
uploadId: 916910
|
||||
+3275
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 24a0d0e521dce3249a3743a8f0262978
|
||||
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/Shader Graphs/World
|
||||
Fog/Sphere Analytical Fog.shadergraph
|
||||
uploadId: 916910
|
||||
+2210
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0d85aea6f9039aa478c24324f0a280f9
|
||||
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/Shader Graphs/World
|
||||
Fog/Sphere Fog Offset.shadergraph
|
||||
uploadId: 916910
|
||||
+1272
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4cbcff468f5284c4cbf8b6d66db1c8ad
|
||||
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/Shader Graphs/World
|
||||
Fog/World Fog Offset.shadergraph
|
||||
uploadId: 916910
|
||||
+870
@@ -0,0 +1,870 @@
|
||||
{
|
||||
"m_SGVersion": 3,
|
||||
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||
"m_ObjectId": "8a53184701eb4eb9ac885b55d0123679",
|
||||
"m_Properties": [
|
||||
{
|
||||
"m_Id": "bfd1664ff612468e8f934355c933e492"
|
||||
},
|
||||
{
|
||||
"m_Id": "a8e5e7ad04c04a84905199e6cb304d4c"
|
||||
},
|
||||
{
|
||||
"m_Id": "ade5a58411ba4e2daaace89147ba53d7"
|
||||
}
|
||||
],
|
||||
"m_Keywords": [],
|
||||
"m_Dropdowns": [],
|
||||
"m_CategoryData": [
|
||||
{
|
||||
"m_Id": "d7489783127c456fa919ff72d2e7b5bd"
|
||||
}
|
||||
],
|
||||
"m_Nodes": [
|
||||
{
|
||||
"m_Id": "0e2bd8be14c64b79ab7f17f49e5f3c24"
|
||||
},
|
||||
{
|
||||
"m_Id": "df9e6a045a9948e99315d6123ac8a52c"
|
||||
},
|
||||
{
|
||||
"m_Id": "2970ac63fa2a4dc08b2310099124ee3c"
|
||||
},
|
||||
{
|
||||
"m_Id": "731bfd4d69d34046b9ecc81e042c873d"
|
||||
},
|
||||
{
|
||||
"m_Id": "6ee9e5b20a9c4bd5aaa35a0405516d2d"
|
||||
},
|
||||
{
|
||||
"m_Id": "5399a1afab4f4833905b921ee4a69ac9"
|
||||
},
|
||||
{
|
||||
"m_Id": "a1d433a889c04a8a8d27adb9d480f73e"
|
||||
},
|
||||
{
|
||||
"m_Id": "cfb48506197d4817bc9db94c4e291390"
|
||||
},
|
||||
{
|
||||
"m_Id": "f842c20a62274cd88413f4fc7f8f957c"
|
||||
}
|
||||
],
|
||||
"m_GroupDatas": [],
|
||||
"m_StickyNoteDatas": [],
|
||||
"m_Edges": [
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "5399a1afab4f4833905b921ee4a69ac9"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "cfb48506197d4817bc9db94c4e291390"
|
||||
},
|
||||
"m_SlotId": -150067824
|
||||
}
|
||||
},
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "a1d433a889c04a8a8d27adb9d480f73e"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "731bfd4d69d34046b9ecc81e042c873d"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "cfb48506197d4817bc9db94c4e291390"
|
||||
},
|
||||
"m_SlotId": 1
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "6ee9e5b20a9c4bd5aaa35a0405516d2d"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"m_OutputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "f842c20a62274cd88413f4fc7f8f957c"
|
||||
},
|
||||
"m_SlotId": 0
|
||||
},
|
||||
"m_InputSlot": {
|
||||
"m_Node": {
|
||||
"m_Id": "cfb48506197d4817bc9db94c4e291390"
|
||||
},
|
||||
"m_SlotId": -494514470
|
||||
}
|
||||
}
|
||||
],
|
||||
"m_VertexContext": {
|
||||
"m_Position": {
|
||||
"x": 1994.0,
|
||||
"y": -118.99999237060547
|
||||
},
|
||||
"m_Blocks": [
|
||||
{
|
||||
"m_Id": "0e2bd8be14c64b79ab7f17f49e5f3c24"
|
||||
},
|
||||
{
|
||||
"m_Id": "df9e6a045a9948e99315d6123ac8a52c"
|
||||
},
|
||||
{
|
||||
"m_Id": "2970ac63fa2a4dc08b2310099124ee3c"
|
||||
}
|
||||
]
|
||||
},
|
||||
"m_FragmentContext": {
|
||||
"m_Position": {
|
||||
"x": 1994.0,
|
||||
"y": 81.00001525878906
|
||||
},
|
||||
"m_Blocks": [
|
||||
{
|
||||
"m_Id": "731bfd4d69d34046b9ecc81e042c873d"
|
||||
},
|
||||
{
|
||||
"m_Id": "6ee9e5b20a9c4bd5aaa35a0405516d2d"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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_SubDatas": [],
|
||||
"m_ActiveTargets": [
|
||||
{
|
||||
"m_Id": "262fd1b36caa43f88cd79c7901f42c67"
|
||||
},
|
||||
{
|
||||
"m_Id": "d1ad5652749c468fb5c216b004adcaa9"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
||||
"m_ObjectId": "04eb775ca50249fd9df3479686ccb54e",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Normal",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Normal",
|
||||
"m_StageCapability": 1,
|
||||
"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_Space": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "0e2bd8be14c64b79ab7f17f49e5f3c24",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "VertexDescription.Position",
|
||||
"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": "85442d0b7d044fae948dc1300f2c4038"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": false,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "VertexDescription.Position"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "207248ef80fc4f41bd82f00fbf9e4331",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Distance",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"m_StageCapability": 3,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 2,
|
||||
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
|
||||
"m_ObjectId": "262fd1b36caa43f88cd79c7901f42c67",
|
||||
"m_Datas": [],
|
||||
"m_ActiveSubTarget": {
|
||||
"m_Id": "51c17052fa9347358cb3303961780f75"
|
||||
},
|
||||
"m_AllowMaterialOverride": false,
|
||||
"m_SurfaceType": 1,
|
||||
"m_ZWriteControl": 1,
|
||||
"m_ZTestMode": 4,
|
||||
"m_AlphaMode": 0,
|
||||
"m_RenderFace": 0,
|
||||
"m_AlphaClip": false,
|
||||
"m_CustomEditorGUI": ""
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "2970ac63fa2a4dc08b2310099124ee3c",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "VertexDescription.Tangent",
|
||||
"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": "d3f9ae4aab924796b10607a40fc9db91"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": false,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "VertexDescription.Tangent"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
|
||||
"m_ObjectId": "51c17052fa9347358cb3303961780f75"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||
"m_ObjectId": "5399a1afab4f4833905b921ee4a69ac9",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Property",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 1438.0,
|
||||
"y": 189.00001525878907,
|
||||
"width": 121.0,
|
||||
"height": 33.999969482421878
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "207248ef80fc4f41bd82f00fbf9e4331"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_Property": {
|
||||
"m_Id": "ade5a58411ba4e2daaace89147ba53d7"
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 2,
|
||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
|
||||
"m_ObjectId": "5df64f33a4774bc3913422ed14bd87f6"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "62cde43b008641c18b79aaa18d29bddf",
|
||||
"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.Vector1MaterialSlot",
|
||||
"m_ObjectId": "6a83b19834bf4fa4a681e222c5273e75",
|
||||
"m_Id": -150067824,
|
||||
"m_DisplayName": "Distance",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "_Distance",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "6e87b605fc034c459417576607642184",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Power",
|
||||
"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.BlockNode",
|
||||
"m_ObjectId": "6ee9e5b20a9c4bd5aaa35a0405516d2d",
|
||||
"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": "62cde43b008641c18b79aaa18d29bddf"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "731bfd4d69d34046b9ecc81e042c873d",
|
||||
"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": "8d3a5f05f15b4e629e9a5eaf2ad67115"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": false,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
|
||||
"m_ObjectId": "85442d0b7d044fae948dc1300f2c4038",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Position",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Position",
|
||||
"m_StageCapability": 1,
|
||||
"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_Space": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
||||
"m_ObjectId": "856f57852f0b4422a18e6d3ce7a42517",
|
||||
"m_Id": 1,
|
||||
"m_DisplayName": "Fog",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Fog",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 0.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
||||
"m_ObjectId": "8d3a5f05f15b4e629e9a5eaf2ad67115",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Base Color",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "BaseColor",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": {
|
||||
"x": 0.0,
|
||||
"y": 0.5887942314147949,
|
||||
"z": 1.0
|
||||
},
|
||||
"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.Vector1MaterialSlot",
|
||||
"m_ObjectId": "951c4104c1bf44748c04253276475556",
|
||||
"m_Id": -494514470,
|
||||
"m_DisplayName": "Power",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "_Power",
|
||||
"m_StageCapability": 2,
|
||||
"m_Value": 1.0,
|
||||
"m_DefaultValue": 0.0,
|
||||
"m_Labels": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||
"m_ObjectId": "a1d433a889c04a8a8d27adb9d480f73e",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Property",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 1807.0,
|
||||
"y": 130.0,
|
||||
"width": 105.0,
|
||||
"height": 34.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "dcfb9793eb594026948d10007c926744"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_Property": {
|
||||
"m_Id": "a8e5e7ad04c04a84905199e6cb304d4c"
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 3,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
|
||||
"m_ObjectId": "a8e5e7ad04c04a84905199e6cb304d4c",
|
||||
"m_Guid": {
|
||||
"m_GuidSerialized": "7b963c3f-b408-4c69-9bcf-3eee0c4ad524"
|
||||
},
|
||||
"m_Name": "Color",
|
||||
"m_DefaultRefNameVersion": 1,
|
||||
"m_RefNameGeneratedByDisplayName": "Color",
|
||||
"m_DefaultReferenceName": "_Color",
|
||||
"m_OverrideReferenceName": "",
|
||||
"m_GeneratePropertyBlock": true,
|
||||
"m_UseCustomSlotLabel": false,
|
||||
"m_CustomSlotLabel": "",
|
||||
"m_DismissedVersion": 0,
|
||||
"m_Precision": 0,
|
||||
"overrideHLSLDeclaration": false,
|
||||
"hlslDeclarationOverride": 0,
|
||||
"m_Hidden": false,
|
||||
"m_Value": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.0
|
||||
},
|
||||
"isMainColor": false,
|
||||
"m_ColorMode": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 1,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||
"m_ObjectId": "ade5a58411ba4e2daaace89147ba53d7",
|
||||
"m_Guid": {
|
||||
"m_GuidSerialized": "61b8cc70-ac1b-4175-8578-73243860eb9f"
|
||||
},
|
||||
"m_Name": "Distance",
|
||||
"m_DefaultRefNameVersion": 1,
|
||||
"m_RefNameGeneratedByDisplayName": "Distance",
|
||||
"m_DefaultReferenceName": "_Distance",
|
||||
"m_OverrideReferenceName": "",
|
||||
"m_GeneratePropertyBlock": true,
|
||||
"m_UseCustomSlotLabel": false,
|
||||
"m_CustomSlotLabel": "",
|
||||
"m_DismissedVersion": 0,
|
||||
"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": 1,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
||||
"m_ObjectId": "bfd1664ff612468e8f934355c933e492",
|
||||
"m_Guid": {
|
||||
"m_GuidSerialized": "f851d62e-e89b-4181-ad5b-ce810d3ae9c2"
|
||||
},
|
||||
"m_Name": "Power",
|
||||
"m_DefaultRefNameVersion": 1,
|
||||
"m_RefNameGeneratedByDisplayName": "Power",
|
||||
"m_DefaultReferenceName": "_Power",
|
||||
"m_OverrideReferenceName": "",
|
||||
"m_GeneratePropertyBlock": true,
|
||||
"m_UseCustomSlotLabel": false,
|
||||
"m_CustomSlotLabel": "",
|
||||
"m_DismissedVersion": 0,
|
||||
"m_Precision": 0,
|
||||
"overrideHLSLDeclaration": false,
|
||||
"hlslDeclarationOverride": 0,
|
||||
"m_Hidden": false,
|
||||
"m_Value": 1.0,
|
||||
"m_FloatType": 1,
|
||||
"m_RangeValues": {
|
||||
"x": 1.0,
|
||||
"y": 5.0
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
|
||||
"m_ObjectId": "cfb48506197d4817bc9db94c4e291390",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "World Depth Fog",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 1588.0,
|
||||
"y": 189.00001525878907,
|
||||
"width": 208.0,
|
||||
"height": 277.99993896484377
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "6a83b19834bf4fa4a681e222c5273e75"
|
||||
},
|
||||
{
|
||||
"m_Id": "951c4104c1bf44748c04253276475556"
|
||||
},
|
||||
{
|
||||
"m_Id": "856f57852f0b4422a18e6d3ce7a42517"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": false,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"a34af334bc6669d4bb1c4e9becabe1e5\",\n \"type\": 3\n }\n}",
|
||||
"m_PropertyGuids": [
|
||||
"6b28f533-0676-4efd-96c6-4ea94310957b",
|
||||
"db4e99fd-0e70-4d33-bd32-6cb4eaeb97c0"
|
||||
],
|
||||
"m_PropertyIds": [
|
||||
-150067824,
|
||||
-494514470
|
||||
],
|
||||
"m_Dropdowns": [],
|
||||
"m_DropdownSelectedEntries": []
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 1,
|
||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
||||
"m_ObjectId": "d1ad5652749c468fb5c216b004adcaa9",
|
||||
"m_Datas": [],
|
||||
"m_ActiveSubTarget": {
|
||||
"m_Id": "5df64f33a4774bc3913422ed14bd87f6"
|
||||
},
|
||||
"m_AllowMaterialOverride": false,
|
||||
"m_SurfaceType": 1,
|
||||
"m_ZTestMode": 4,
|
||||
"m_ZWriteControl": 1,
|
||||
"m_AlphaMode": 0,
|
||||
"m_RenderFace": 0,
|
||||
"m_AlphaClip": false,
|
||||
"m_CastShadows": false,
|
||||
"m_ReceiveShadows": true,
|
||||
"m_DisableTint": false,
|
||||
"m_AdditionalMotionVectorMode": 0,
|
||||
"m_AlembicMotionVectors": false,
|
||||
"m_SupportsLODCrossFade": false,
|
||||
"m_CustomEditorGUI": "",
|
||||
"m_SupportVFX": false
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
|
||||
"m_ObjectId": "d3f9ae4aab924796b10607a40fc9db91",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Tangent",
|
||||
"m_SlotType": 0,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Tangent",
|
||||
"m_StageCapability": 1,
|
||||
"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_Space": 0
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
||||
"m_ObjectId": "d7489783127c456fa919ff72d2e7b5bd",
|
||||
"m_Name": "",
|
||||
"m_ChildObjectList": [
|
||||
{
|
||||
"m_Id": "a8e5e7ad04c04a84905199e6cb304d4c"
|
||||
},
|
||||
{
|
||||
"m_Id": "ade5a58411ba4e2daaace89147ba53d7"
|
||||
},
|
||||
{
|
||||
"m_Id": "bfd1664ff612468e8f934355c933e492"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
||||
"m_ObjectId": "dcfb9793eb594026948d10007c926744",
|
||||
"m_Id": 0,
|
||||
"m_DisplayName": "Color",
|
||||
"m_SlotType": 1,
|
||||
"m_Hidden": false,
|
||||
"m_ShaderOutputName": "Out",
|
||||
"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_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||
"m_ObjectId": "df9e6a045a9948e99315d6123ac8a52c",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "VertexDescription.Normal",
|
||||
"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": "04eb775ca50249fd9df3479686ccb54e"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": false,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_SerializedDescriptor": "VertexDescription.Normal"
|
||||
}
|
||||
|
||||
{
|
||||
"m_SGVersion": 0,
|
||||
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
||||
"m_ObjectId": "f842c20a62274cd88413f4fc7f8f957c",
|
||||
"m_Group": {
|
||||
"m_Id": ""
|
||||
},
|
||||
"m_Name": "Property",
|
||||
"m_DrawState": {
|
||||
"m_Expanded": true,
|
||||
"m_Position": {
|
||||
"serializedVersion": "2",
|
||||
"x": 1429.0,
|
||||
"y": 254.0,
|
||||
"width": 0.0,
|
||||
"height": 0.0
|
||||
}
|
||||
},
|
||||
"m_Slots": [
|
||||
{
|
||||
"m_Id": "6e87b605fc034c459417576607642184"
|
||||
}
|
||||
],
|
||||
"synonyms": [],
|
||||
"m_Precision": 0,
|
||||
"m_PreviewExpanded": true,
|
||||
"m_DismissedVersion": 0,
|
||||
"m_PreviewMode": 0,
|
||||
"m_CustomColors": {
|
||||
"m_SerializableColors": []
|
||||
},
|
||||
"m_Property": {
|
||||
"m_Id": "bfd1664ff612468e8f934355c933e492"
|
||||
}
|
||||
}
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc536c772407c254481417c17bc59726
|
||||
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/Shader Graphs/World
|
||||
Fog/World Fog.shadergraph
|
||||
uploadId: 916910
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cc9c527366797144ba6dde99b012828
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a7387fc9c0494274f8a4d1315a27065c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+1097
File diff suppressed because it is too large
Load Diff
+18
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2e6204cf1a7b074aaa63e597956f3d8
|
||||
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/Subgraphs/Better
|
||||
Fog Injections/CustomDepthRemap.shadersubgraph
|
||||
uploadId: 916910
|
||||
Reference in New Issue
Block a user