├── .gitignore ├── Assets ├── ImageEffectGraph.meta ├── ImageEffectGraph │ ├── Editor.meta │ ├── Editor │ │ ├── AssetCallbacks.meta │ │ ├── AssetCallbacks │ │ │ ├── CreateImageEffectShaderGraph.cs │ │ │ └── CreateImageEffectShaderGraph.cs.meta │ │ ├── ImageEffectGraph.Editor.asmdef │ │ ├── ImageEffectGraph.Editor.asmdef.meta │ │ ├── Nodes.meta │ │ ├── Nodes │ │ │ ├── BaseUnityTextureNode.cs │ │ │ ├── BaseUnityTextureNode.cs.meta │ │ │ ├── DepthTextureNode.cs │ │ │ ├── DepthTextureNode.cs.meta │ │ │ ├── LastDepthTextureNode.cs │ │ │ ├── LastDepthTextureNode.cs.meta │ │ │ ├── MainTextureNode.cs │ │ │ ├── MainTextureNode.cs.meta │ │ │ ├── Master.meta │ │ │ ├── Master │ │ │ │ ├── IImageEffectSubShader.cs │ │ │ │ ├── IImageEffectSubShader.cs.meta │ │ │ │ ├── ImageEffectMasterNode.cs │ │ │ │ └── ImageEffectMasterNode.cs.meta │ │ │ ├── MotionVectorsTextureNode.cs │ │ │ └── MotionVectorsTextureNode.cs.meta │ │ ├── Pipelines.meta │ │ ├── Pipelines │ │ │ ├── HDRP.meta │ │ │ ├── HDRP │ │ │ │ ├── HDImageEffectSubShader.cs │ │ │ │ ├── HDImageEffectSubShader.cs.meta │ │ │ │ ├── hdEffectPass.template │ │ │ │ └── hdEffectPass.template.meta │ │ │ ├── LWRP.meta │ │ │ ├── LWRP │ │ │ │ ├── LightWeightImageEffectSubShader.cs │ │ │ │ ├── LightWeightImageEffectSubShader.cs.meta │ │ │ │ ├── lightweightEffectPass.template │ │ │ │ └── lightweightEffectPass.template.meta │ │ │ ├── Legacy.meta │ │ │ └── Legacy │ │ │ │ ├── LegacyImageEffectSubShader.cs │ │ │ │ ├── LegacyImageEffectSubShader.cs.meta │ │ │ │ ├── legacyEffectPass.template │ │ │ │ └── legacyEffectPass.template.meta │ │ ├── PostProcessing.meta │ │ ├── PostProcessing │ │ │ ├── RenderWithMaterialEditor.cs │ │ │ └── RenderWithMaterialEditor.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── AspectBlit.mat │ │ │ ├── AspectBlit.mat.meta │ │ │ ├── AspectBlit.shader │ │ │ └── AspectBlit.shader.meta │ ├── Runtime.meta │ └── Runtime │ │ ├── ImageEffectGraph.asmdef │ │ ├── ImageEffectGraph.asmdef.meta │ │ ├── PostProcessing.meta │ │ └── PostProcessing │ │ ├── CameraFlagsParameter.cs │ │ ├── CameraFlagsParameter.cs.meta │ │ ├── MaterialParameter.cs │ │ ├── MaterialParameter.cs.meta │ │ ├── RenderWithMaterial.cs │ │ └── RenderWithMaterial.cs.meta ├── Plugins.meta ├── Plugins │ └── Editor.meta ├── Sample.meta └── Sample │ ├── Assets.meta │ ├── Assets │ ├── HDRP.asset │ ├── HDRP.asset.meta │ ├── LWRP.asset │ ├── LWRP.asset.meta │ ├── OTF_Crumpled_Paper_08.jpg │ ├── OTF_Crumpled_Paper_08.jpg.meta │ ├── PostProcessVolume Profile.asset │ ├── PostProcessVolume Profile.asset.meta │ ├── PostProcessVolume.prefab │ ├── PostProcessVolume.prefab.meta │ ├── Textures.meta │ ├── Textures │ │ ├── angular_pattern.png │ │ ├── angular_pattern.png.meta │ │ ├── criss_cross_pattern.png │ │ ├── criss_cross_pattern.png.meta │ │ ├── diagonal_distort_pattern.png │ │ ├── diagonal_distort_pattern.png.meta │ │ ├── gradient.png │ │ ├── gradient.png.meta │ │ ├── noise_pattern.png │ │ ├── noise_pattern.png.meta │ │ ├── poke_pattern.png │ │ ├── poke_pattern.png.meta │ │ ├── saw_tooth_pattern.png │ │ ├── saw_tooth_pattern.png.meta │ │ ├── simple_patten.png │ │ ├── simple_patten.png.meta │ │ ├── spiral_pattern.png │ │ ├── spiral_pattern.png.meta │ │ ├── test.png │ │ ├── test.png.meta │ │ ├── topbottom_pattern.png │ │ └── topbottom_pattern.png.meta │ ├── secondCamera.renderTexture │ └── secondCamera.renderTexture.meta │ ├── Editor.meta │ ├── Editor │ ├── MyOtherEffectEditor.cs │ └── MyOtherEffectEditor.cs.meta │ ├── Effects.meta │ ├── Effects │ ├── Aesthetics.ShaderGraph │ ├── Aesthetics.ShaderGraph.meta │ ├── Aesthetics.mat │ ├── Aesthetics.mat.meta │ ├── Edge.ShaderGraph │ ├── Edge.ShaderGraph.meta │ ├── Edge.mat │ ├── Edge.mat.meta │ ├── Invert Colors.ShaderGraph │ ├── Invert Colors.ShaderGraph.meta │ ├── Invert Colors.mat │ ├── Invert Colors.mat.meta │ ├── Multiply.ShaderGraph │ ├── Multiply.ShaderGraph.meta │ ├── Multiply.mat │ ├── Multiply.mat.meta │ ├── Overlay.ShaderGraph │ ├── Overlay.ShaderGraph.meta │ ├── Overlay.mat │ ├── Overlay.mat.meta │ ├── Pixelated.ShaderGraph │ ├── Pixelated.ShaderGraph.meta │ ├── Pixelated.mat │ ├── Pixelated.mat.meta │ ├── Regular Hexagon Tiling.ShaderGraph │ ├── Regular Hexagon Tiling.ShaderGraph.meta │ ├── Regular Hexagon Tiling.mat │ ├── Regular Hexagon Tiling.mat.meta │ ├── Stereo.ShaderGraph │ ├── Stereo.ShaderGraph.meta │ ├── Stereo.mat │ ├── Stereo.mat.meta │ ├── TV.ShaderGraph │ ├── TV.ShaderGraph.meta │ ├── TV.mat │ ├── TV.mat.meta │ ├── Transition.ShaderGraph │ ├── Transition.ShaderGraph.meta │ ├── Transition.mat │ ├── Transition.mat.meta │ ├── Wide Screen.ShaderGraph │ ├── Wide Screen.ShaderGraph.meta │ ├── Wide Screen.mat │ └── Wide Screen.mat.meta │ ├── Scenes.meta │ ├── Scenes │ ├── SampleSceneHD.unity │ ├── SampleSceneHD.unity.meta │ ├── SampleSceneLWRP.unity │ ├── SampleSceneLWRP.unity.meta │ ├── SampleSceneLegacy.unity │ ├── SampleSceneLegacy.unity.meta │ ├── SampleSceneLegacyNoPostprocessingStack.unity │ └── SampleSceneLegacyNoPostprocessingStack.unity.meta │ ├── Scripts.meta │ └── Scripts │ ├── CameraImageEffect.cs │ ├── CameraImageEffect.cs.meta │ ├── CycleThroughEffects.cs │ ├── CycleThroughEffects.cs.meta │ ├── MyOtherEffect.cs │ ├── MyOtherEffect.cs.meta │ ├── TransitionController.cs │ └── TransitionController.cs.meta ├── LICENSE ├── Packages └── manifest.json ├── Preview ├── ar.gif ├── graph.png ├── showcase.gif └── transition.gif ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── HDRPProjectVersion.txt ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset └── VFXManager.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | Assets/AssetStoreTools* 7 | 8 | # Visual Studio cache directory 9 | .vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | *.opendb 26 | 27 | # Unity3D generated meta files 28 | *.pidb.meta 29 | *.pdb.meta 30 | 31 | # Unity3D Generated File On Crash Reports 32 | sysinfo.txt 33 | 34 | # Builds 35 | *.apk 36 | *.unitypackage 37 | .idea 38 | Assets/Plugins/Editor/JetBrains 39 | JetBrains.meta 40 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf45e672ab3ee43419f37c0b32779ad2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d24fde5ed2dfd49629cc61394479a688 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/AssetCallbacks.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbea7ac233ed64d47960b63827db4408 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/AssetCallbacks/CreateImageEffectShaderGraph.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using UnityEditor; 3 | using UnityEditor.ProjectWindowCallback; 4 | using UnityEditor.ShaderGraph; 5 | using UnityEngine; 6 | 7 | namespace ImageEffectGraph.Editor 8 | { 9 | public class CreateImageEffectShaderGraph : EndNameEditAction 10 | { 11 | public static bool CreateShaderWithMaterial = true; 12 | 13 | [MenuItem("Assets/Create/Shader/Image Effect Graph", false, 208)] 14 | public static void CreateMaterialGraph() 15 | { 16 | ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, CreateInstance(), 17 | "New Image Effect Graph.ShaderGraph", null, null); 18 | } 19 | 20 | public override void Action(int instanceId, string pathName, string resourceFile) 21 | { 22 | var graph = new MaterialGraph(); 23 | 24 | var mainTextureNode = new MainTextureNode(); 25 | var mainTextureSamplerNode = new SampleTexture2DNode(); 26 | var masterNode = new ImageEffectMasterNode(); 27 | 28 | graph.AddNode(masterNode); 29 | graph.AddNode(mainTextureSamplerNode); 30 | graph.AddNode(mainTextureNode); 31 | 32 | graph.Connect(mainTextureNode.GetSlotReference(MainTextureNode.OutputSlotId), 33 | mainTextureSamplerNode.GetSlotReference(SampleTexture2DNode.TextureInputId)); 34 | 35 | graph.Connect(mainTextureSamplerNode.GetSlotReference(SampleTexture2DNode.OutputSlotRGBAId), 36 | masterNode.GetSlotReference(ImageEffectMasterNode.ColorSlotId)); 37 | 38 | var nodes = new AbstractMaterialNode[] {masterNode, mainTextureSamplerNode, mainTextureNode}; 39 | 40 | for (int i = 0; i < nodes.Length; i++) 41 | { 42 | var node = nodes[i]; 43 | var drawState = node.drawState; 44 | var drawStatePosition = drawState.position; 45 | drawStatePosition.x -= 300 * i; 46 | drawState.position = drawStatePosition; 47 | node.drawState = drawState; 48 | } 49 | 50 | File.WriteAllText(pathName, EditorJsonUtility.ToJson(graph)); 51 | AssetDatabase.Refresh(); 52 | 53 | if (CreateShaderWithMaterial) 54 | { 55 | var shaderName = Path.GetFileNameWithoutExtension(pathName); 56 | var shader = Shader.Find(shaderName); 57 | if (shader == null) return; 58 | var material = new Material(shader); 59 | var materialPath = Path.Combine(Path.GetDirectoryName(pathName), shaderName + ".mat"); 60 | AssetDatabase.CreateAsset(material, materialPath); 61 | AssetDatabase.SaveAssets(); 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/AssetCallbacks/CreateImageEffectShaderGraph.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87a2a8c1cf89540588883746f3105243 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/ImageEffectGraph.Editor.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ImageEffectGraph.Editor", 3 | "references": [ 4 | "ImageEffectGraph", 5 | "Unity.ShaderGraph.Editor", 6 | "Unity.Postprocessing.Runtime", 7 | "Unity.Postprocessing.Editor" 8 | ], 9 | "optionalUnityReferences": [], 10 | "includePlatforms": [ 11 | "Editor" 12 | ], 13 | "excludePlatforms": [], 14 | "allowUnsafeCode": false, 15 | "overrideReferences": false, 16 | "precompiledReferences": [], 17 | "autoReferenced": true, 18 | "defineConstraints": [] 19 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/ImageEffectGraph.Editor.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0374138a503f04a31b8ef2830df08698 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1a8ccf73db4042a2a58771b5c110b3d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/BaseUnityTextureNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEditor.Graphing; 5 | using UnityEditor.ShaderGraph; 6 | 7 | namespace ImageEffectGraph.Editor 8 | { 9 | public abstract class BaseUnityTextureNode : AbstractMaterialNode 10 | { 11 | public const int OutputSlotId = 0; 12 | 13 | const string kOutputSlotName = "Out"; 14 | 15 | private string inputTexture; 16 | public string previewInputTexture; 17 | 18 | public BaseUnityTextureNode(string inputTexture, string previewInputTexture = null) 19 | { 20 | this.inputTexture = inputTexture; 21 | this.previewInputTexture = previewInputTexture; 22 | UpdateNodeAfterDeserialization(); 23 | } 24 | 25 | public sealed override void UpdateNodeAfterDeserialization() 26 | { 27 | AddSlot(new Texture2DMaterialSlot(OutputSlotId, kOutputSlotName, kOutputSlotName, SlotType.Output)); 28 | RemoveSlotsNameNotMatching(new[] {OutputSlotId}); 29 | } 30 | 31 | public override string GetVariableNameForSlot(int slotId) 32 | { 33 | if (slotId == OutputSlotId) 34 | return inputTexture; 35 | 36 | return base.GetVariableNameForSlot(slotId); 37 | } 38 | 39 | public override void CollectShaderProperties(PropertyCollector properties, GenerationMode generationMode) 40 | { 41 | base.CollectShaderProperties(properties, generationMode); 42 | properties.AddShaderProperty(new TextureShaderProperty() 43 | { 44 | displayName = "Main Texture", 45 | overrideReferenceName = inputTexture, 46 | generatePropertyBlock = false 47 | }); 48 | 49 | if (generationMode.IsPreview() && !string.IsNullOrEmpty(previewInputTexture)) 50 | { 51 | properties.AddShaderProperty(new TextureShaderProperty() 52 | { 53 | displayName = "Preview Texture", 54 | overrideReferenceName = previewInputTexture, 55 | generatePropertyBlock = false 56 | }); 57 | } 58 | } 59 | 60 | public override void CollectPreviewMaterialProperties(List properties) 61 | { 62 | base.CollectPreviewMaterialProperties(properties); 63 | properties.Add(new PreviewProperty(PropertyType.Texture2D) 64 | { 65 | name = inputTexture, 66 | textureValue = Shader.GetGlobalTexture(previewInputTexture) 67 | }); 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/BaseUnityTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fb8ac1005de540e3b9df5b4dfce99fa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/DepthTextureNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor.ShaderGraph; 2 | 3 | namespace ImageEffectGraph.Editor 4 | { 5 | [Title("Input", "Image Effects", "Depth Texture")] 6 | public class DepthTextureNode : BaseUnityTextureNode 7 | { 8 | public DepthTextureNode() : base("_CameraDepthTexture") 9 | { 10 | name = "Depth Texture"; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/DepthTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 368469f20977148c28a5145d13ce202a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/LastDepthTextureNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor.ShaderGraph; 2 | 3 | namespace ImageEffectGraph.Editor 4 | { 5 | [Title("Input", "Image Effects", "Last Depth Texture")] 6 | public class LastDepthTextureNode : BaseUnityTextureNode 7 | { 8 | public LastDepthTextureNode() : base("_LastCameraDepthTexture") 9 | { 10 | name = "Last Depth Texture"; 11 | } 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/LastDepthTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11a1447d83e794020b86ff9d54127a74 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/MainTextureNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor.ShaderGraph; 2 | 3 | namespace ImageEffectGraph.Editor 4 | { 5 | [Title("Input", "Image Effects", "Main Texture")] 6 | public class MainTextureNode : BaseUnityTextureNode 7 | { 8 | public MainTextureNode() : base("_MainTex", "_PreviewTexture") 9 | { 10 | name = "Main Texture (Input)"; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/MainTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0c8d291017c54d02b3e04ae7b212696 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/Master.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 777cf4c41b6be4d9fa85a7d9f053370f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/Master/IImageEffectSubShader.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor.ShaderGraph; 2 | 3 | namespace ImageEffectGraph.Editor 4 | { 5 | public interface IImageEffectSubShader : ISubShader 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/Master/IImageEffectSubShader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d40d53e23930e4afe866e19bce143237 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/Master/ImageEffectMasterNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEditor.Graphing; 3 | using UnityEditor.ShaderGraph; 4 | using UnityEngine; 5 | using UnityEngine.Experimental.UIElements; 6 | 7 | namespace ImageEffectGraph.Editor 8 | { 9 | [Serializable] 10 | [Title("Master", "Image Effect")] 11 | public class ImageEffectMasterNode : MasterNode 12 | { 13 | public const string ColorSlotName = "Color"; 14 | 15 | public const int ColorSlotId = 0; 16 | 17 | [SerializeField] SurfaceType m_SurfaceType; 18 | 19 | public SurfaceType surfaceType 20 | { 21 | get { return m_SurfaceType; } 22 | set 23 | { 24 | if (m_SurfaceType == value) 25 | return; 26 | 27 | m_SurfaceType = value; 28 | Dirty(ModificationScope.Graph); 29 | } 30 | } 31 | 32 | [SerializeField] AlphaMode m_AlphaMode; 33 | 34 | public AlphaMode alphaMode 35 | { 36 | get { return m_AlphaMode; } 37 | set 38 | { 39 | if (m_AlphaMode == value) 40 | return; 41 | 42 | m_AlphaMode = value; 43 | Dirty(ModificationScope.Graph); 44 | } 45 | } 46 | 47 | public ImageEffectMasterNode() 48 | { 49 | UpdateNodeAfterDeserialization(); 50 | } 51 | 52 | // public override string documentationURL 53 | // { 54 | // get { return "https://github.com/Unity-Technologies/ShaderGraph/wiki/Unlit-Master-Node"; } 55 | // } 56 | 57 | public sealed override void UpdateNodeAfterDeserialization() 58 | { 59 | base.UpdateNodeAfterDeserialization(); 60 | name = "Image Effect Master (Output)"; 61 | AddSlot(new ColorRGBMaterialSlot(ColorSlotId, ColorSlotName, ColorSlotName, SlotType.Input, Color.grey, 62 | ColorMode.Default, ShaderStageCapability.Fragment)); 63 | 64 | // clear out slot names that do not match the slots 65 | // we support 66 | RemoveSlotsNameNotMatching( 67 | new[] 68 | { 69 | ColorSlotId 70 | }); 71 | } 72 | 73 | public override PreviewMode previewMode 74 | { 75 | get { return PreviewMode.Preview2D; } 76 | } 77 | 78 | } 79 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/Master/ImageEffectMasterNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: daebe58c671c841648a781121cd91c12 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/MotionVectorsTextureNode.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor.ShaderGraph; 2 | 3 | namespace ImageEffectGraph.Editor 4 | { 5 | [Title("Input", "Image Effects", "Motion Vectors Texture")] 6 | public class MotionVectorsTextureNode : BaseUnityTextureNode 7 | { 8 | public MotionVectorsTextureNode() : base("_CameraMotionVectorsTexture") 9 | { 10 | name = "Motion Vectors Texture"; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Nodes/MotionVectorsTextureNode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0016fa14b61ca4dedb48933e98b314ff 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddbd1e8e3f9ac4804b3a12212c066c3f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/HDRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32805ee80b6814e71ae1654b12aacda5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/HDRP/HDImageEffectSubShader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f67edb2915079412e9f578c42cab5367 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/HDRP/hdEffectPass.template: -------------------------------------------------------------------------------- 1 | Pass 2 | { 3 | Name "Effect" 4 | 5 | // Material options generated by graph 6 | ${Culling} 7 | ${ZTest} 8 | ${ZWrite} 9 | HLSLPROGRAM 10 | 11 | #pragma target 4.5 12 | #pragma only_renderers d3d11 ps4 xboxone vulkan metal switch 13 | //#pragma enable_d3d11_debug_symbols 14 | 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | 18 | // Defines generated by graph 19 | ${Defines} 20 | 21 | //Common API include 22 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" 23 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" 24 | #include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl" 25 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl" 26 | #include "Packages/com.unity.shadergraph/ShaderGraphLibrary/Functions.hlsl" 27 | 28 | ${Graph} 29 | struct GraphVertexOutput 30 | { 31 | float4 position : POSITION; 32 | 33 | // Interpolators defined by graph 34 | ${VertexOutputStruct} 35 | UNITY_VERTEX_INPUT_INSTANCE_ID 36 | UNITY_VERTEX_OUTPUT_STEREO 37 | }; 38 | 39 | GraphVertexOutput vert (GraphVertexInput v) 40 | { 41 | GraphVertexOutput o = (GraphVertexOutput)0; 42 | 43 | o.position = float4(v.vertex.xy, 0.0, 1.0); 44 | o.uv0 = float4((v.vertex.xy + 1.0) * 0.5, 0, 0); 45 | 46 | #if UNITY_UV_STARTS_AT_TOP 47 | o.uv0 = o.uv0 * float4(1.0, -1.0, 0, 0) + float4(0.0, 1.0, 0, 0); 48 | #endif 49 | return o; 50 | } 51 | 52 | float4 frag (GraphVertexOutput IN ${FaceSign}) : SV_Target 53 | { 54 | UNITY_SETUP_INSTANCE_ID(IN); 55 | 56 | // Pixel transformations performed by graph 57 | ${PixelShader} 58 | 59 | SurfaceDescriptionInputs surfaceInput = (SurfaceDescriptionInputs)0; 60 | // Surface description inputs defined by graph 61 | ${PixelShaderSurfaceInputs} 62 | 63 | SurfaceDescription surf = PopulateSurfaceData(surfaceInput); 64 | float3 Color = float3(0.5, 0.5, 0.5); 65 | // Surface description remap performed by graph 66 | ${PixelShaderSurfaceRemap} 67 | 68 | return float4(Color, 1); 69 | } 70 | ENDHLSL 71 | } 72 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/HDRP/hdEffectPass.template.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4a3f09285c56476a9e1f091577c3024 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/LWRP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5aa3978849194aa1965c85544ad1d40 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/LWRP/LightWeightImageEffectSubShader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d40239a43507c4db3a36eb07d7f23e12 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/LWRP/lightweightEffectPass.template: -------------------------------------------------------------------------------- 1 | Pass 2 | { 3 | Name "Effect" 4 | 5 | // Material options generated by graph 6 | ${Culling} 7 | ${ZTest} 8 | ${ZWrite} 9 | HLSLPROGRAM 10 | // Required to compile gles 2.0 with standard srp library 11 | #pragma prefer_hlslcc gles 12 | #pragma exclude_renderers d3d11_9x 13 | #pragma target 2.0 14 | 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | 18 | // Defines generated by graph 19 | ${Defines} 20 | 21 | //Common API include 22 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" 23 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" 24 | #include "Packages/com.unity.render-pipelines.lightweight/ShaderLibrary/UnityInput.hlsl" 25 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl" 26 | #include "Packages/com.unity.shadergraph/ShaderGraphLibrary/Functions.hlsl" 27 | 28 | ${Graph} 29 | struct GraphVertexOutput 30 | { 31 | float4 position : POSITION; 32 | 33 | // Interpolators defined by graph 34 | ${VertexOutputStruct} 35 | UNITY_VERTEX_INPUT_INSTANCE_ID 36 | UNITY_VERTEX_OUTPUT_STEREO 37 | }; 38 | 39 | GraphVertexOutput vert (GraphVertexInput v) 40 | { 41 | GraphVertexOutput o = (GraphVertexOutput)0; 42 | 43 | o.position = float4(v.vertex.xy, 0.0, 1.0); 44 | o.uv0 = half4((v.vertex.xy + 1.0) * 0.5, 0, 0); 45 | 46 | #if UNITY_UV_STARTS_AT_TOP 47 | o.uv0 = o.uv0 * half4(1.0, -1.0, 0, 0) + half4(0.0, 1.0, 0, 0); 48 | #endif 49 | return o; 50 | } 51 | 52 | half4 frag (GraphVertexOutput IN ${FaceSign}) : SV_Target 53 | { 54 | UNITY_SETUP_INSTANCE_ID(IN); 55 | 56 | // Pixel transformations performed by graph 57 | ${PixelShader} 58 | 59 | SurfaceDescriptionInputs surfaceInput = (SurfaceDescriptionInputs)0; 60 | // Surface description inputs defined by graph 61 | ${PixelShaderSurfaceInputs} 62 | 63 | SurfaceDescription surf = PopulateSurfaceData(surfaceInput); 64 | float3 Color = float3(0.5, 0.5, 0.5); 65 | // Surface description remap performed by graph 66 | ${PixelShaderSurfaceRemap} 67 | 68 | return half4(Color, 1); 69 | } 70 | ENDHLSL 71 | } 72 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/LWRP/lightweightEffectPass.template.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3d537d2c0c8a473088e79b5192d8e4b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/Legacy.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 296b2fae6b7334480a953bbf26e43c97 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/Legacy/LegacyImageEffectSubShader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2201d352ccff34c23ae517cb90aedb04 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/Legacy/legacyEffectPass.template: -------------------------------------------------------------------------------- 1 | Pass 2 | { 3 | Name "Effect" 4 | 5 | // Material options generated by graph 6 | ${Culling} 7 | ${ZTest} 8 | ${ZWrite} 9 | HLSLPROGRAM 10 | 11 | // Required to compile gles 2.0 with standard srp library, BUT THIS IS LEGACY 12 | //#pragma prefer_hlslcc gles 13 | //#pragma exclude_renderers d3d11_9x 14 | //#pragma target 2.0 15 | 16 | #pragma vertex vert 17 | #pragma fragment frag 18 | 19 | // Defines generated by graph 20 | ${Defines} 21 | 22 | //Using this template assumes that shader graph and SRP core are imported. 23 | //#include "UnityCG.cginc" 24 | 25 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" 26 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" 27 | #include "UnityShaderUtilities.cginc" 28 | #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl" 29 | #include "Packages/com.unity.shadergraph/ShaderGraphLibrary/Functions.hlsl" 30 | 31 | #ifndef TEXTURE2D 32 | #define TEXTURE2D(tex2D) UNITY_DECLARE_TEX2D_NOSAMPLER(tex2D) 33 | #endif 34 | #ifndef SAMPLER 35 | #define SAMPLER(samplerName) SamplerState samplerName 36 | #endif 37 | #ifndef SAMPLE_TEXTURE2D 38 | #define SAMPLE_TEXTURE2D(textureName, samplerName, coord2) textureName.Sample(samplerName, coord2) 39 | #endif 40 | 41 | ${Graph} 42 | struct GraphVertexOutput 43 | { 44 | float4 position : POSITION; 45 | 46 | // Interpolators defined by graph 47 | ${VertexOutputStruct} 48 | UNITY_VERTEX_OUTPUT_STEREO 49 | }; 50 | 51 | GraphVertexOutput vert (GraphVertexInput v) 52 | { 53 | GraphVertexOutput o = (GraphVertexOutput)0; 54 | 55 | //BUG: Keyword added from CS script is ignored. 56 | #ifndef UNITY_POST_PROCESSING_STACK_V2 57 | #define UNITY_POST_PROCESSING_STACK_V2 58 | #endif // UNITY_POST_PROCESSING_STACK_V2 59 | 60 | 61 | #ifdef UNITY_POST_PROCESSING_STACK_V2 62 | o.position = float4(v.vertex.xy, 0.0, 1.0); 63 | o.uv0 = half4((v.vertex.xy + 1.0) * 0.5, 0, 0); 64 | #if UNITY_UV_STARTS_AT_TOP 65 | o.uv0 = o.uv0 * half4(1.0, -1.0, 0, 0) + half4(0.0, 1.0, 0, 0); 66 | #endif 67 | #else 68 | o.position = UnityObjectToClipPos(v.vertex); 69 | o.uv0 = v.vertex; 70 | #endif 71 | return o; 72 | } 73 | 74 | half4 frag (GraphVertexOutput IN ${FaceSign}) : SV_Target 75 | { 76 | // Pixel transformations performed by graph 77 | ${PixelShader} 78 | 79 | SurfaceDescriptionInputs surfaceInput = (SurfaceDescriptionInputs)0; 80 | // Surface description inputs defined by graph 81 | ${PixelShaderSurfaceInputs} 82 | 83 | SurfaceDescription surf = PopulateSurfaceData(surfaceInput); 84 | float3 Color = float3(0.5, 0.5, 0.5); 85 | // Surface description remap performed by graph 86 | ${PixelShaderSurfaceRemap} 87 | 88 | return half4(Color, 1); 89 | } 90 | ENDHLSL 91 | } 92 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Pipelines/Legacy/legacyEffectPass.template.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04830cc88d90e4606ad06be455a20e1f 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/PostProcessing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c2402e01d534491c89dce9f1b30479a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/PostProcessing/RenderWithMaterialEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Reflection; 5 | using ImageEffectGraph.PostProcessing; 6 | using UnityEngine; 7 | using UnityEngine.Rendering.PostProcessing; 8 | using UnityEditor; 9 | using UnityEditor.Rendering.PostProcessing; 10 | 11 | namespace ImageEffectGraph.Editor.PostProcessing 12 | { 13 | [PostProcessEditor(typeof(RenderWithMaterial))] 14 | public class RenderWithMaterialEditor : PostProcessEffectEditor 15 | { 16 | List m_Parameters; 17 | 18 | protected PostProcessEffectSettings target { get; private set; } 19 | protected SerializedObject serializedObject { get; private set; } 20 | 21 | private MaterialEditor materialEditor; 22 | private UnityEditor.Editor cachedEditor; 23 | private Material cachedMaterial; 24 | private MaterialProperty[] properties; 25 | 26 | public override void OnEnable() 27 | { 28 | InitInternals(); 29 | FindProperties(); 30 | } 31 | 32 | public override void OnInspectorGUI() 33 | { 34 | //Show material 35 | OnInspectorGuiDefault(); 36 | serializedObject.ApplyModifiedProperties(); 37 | 38 | EditorGUILayout.Space(); 39 | 40 | //Show material properties 41 | var settings = (RenderWithMaterial) target; 42 | var guiEnabled = GUI.enabled; 43 | GUI.enabled = settings.material.overrideState; 44 | MaterialPropertiesGui(settings.material.value); 45 | GUI.enabled = guiEnabled; 46 | 47 | //TODO: figure out how to duplicate same effect, and get them to render as well 48 | //https://github.com/iBicha/ImageEffectGraph/issues/7 49 | /* 50 | if (GUILayout.Button("Create another effect", EditorStyles.miniButton)) 51 | { 52 | CreateNewRenderWithMaterialEffect(); 53 | } 54 | */ 55 | } 56 | 57 | private void CreateNewRenderWithMaterialEffect() 58 | { 59 | var effectListEditor = FindEffectListContainingThisEditor(); 60 | if (effectListEditor != null) 61 | { 62 | var tyEffectListEditor = typeof(EffectListEditor); 63 | var MIAddEffectOverride = 64 | tyEffectListEditor.GetMethod("AddEffectOverride", BindingFlags.NonPublic | BindingFlags.Instance); 65 | MIAddEffectOverride.Invoke(effectListEditor, new object[] {typeof(RenderWithMaterial)}); 66 | } 67 | } 68 | 69 | private EffectListEditor FindEffectListContainingThisEditor() 70 | { 71 | var tyEffectListEditor = typeof(EffectListEditor); 72 | var tyPostProcessVolumeEditor = 73 | tyEffectListEditor.Assembly.GetType( 74 | "UnityEditor.Rendering.PostProcessing.PostProcessVolumeEditor"); 75 | 76 | var tyPostProcessProfileEditor = 77 | tyEffectListEditor.Assembly.GetType( 78 | "UnityEditor.Rendering.PostProcessing.PostProcessProfileEditor"); 79 | 80 | var volumeEditors = Resources.FindObjectsOfTypeAll(tyPostProcessVolumeEditor); 81 | var profileEditors = Resources.FindObjectsOfTypeAll(tyPostProcessProfileEditor); 82 | 83 | List effectListEditors = new List(); 84 | 85 | if (volumeEditors.Length > 0) 86 | { 87 | var FIm_EffectList = 88 | tyPostProcessVolumeEditor.GetField("m_EffectList", BindingFlags.NonPublic | BindingFlags.Instance); 89 | foreach (var volumeEditor in volumeEditors) 90 | { 91 | var effectListEditor = (EffectListEditor) FIm_EffectList.GetValue(volumeEditor); 92 | if (effectListEditor != null) 93 | { 94 | effectListEditors.Add(effectListEditor); 95 | } 96 | } 97 | } 98 | 99 | if (profileEditors.Length > 0) 100 | { 101 | var FIm_EffectList = 102 | tyPostProcessProfileEditor.GetField("m_EffectList", BindingFlags.NonPublic | BindingFlags.Instance); 103 | foreach (var profileEditor in profileEditors) 104 | { 105 | var effectListEditor = (EffectListEditor) FIm_EffectList.GetValue(profileEditor); 106 | if (effectListEditor != null) 107 | { 108 | effectListEditors.Add(effectListEditor); 109 | } 110 | } 111 | } 112 | 113 | if (effectListEditors.Count > 0) 114 | { 115 | var FIm_Editors = 116 | tyEffectListEditor.GetField("m_Editors", BindingFlags.NonPublic | BindingFlags.Instance); 117 | foreach (var effectListEditor in effectListEditors) 118 | { 119 | List m_Editors = 120 | (List) FIm_Editors.GetValue(effectListEditor); 121 | if (m_Editors != null) 122 | { 123 | if (m_Editors.Contains(this)) 124 | { 125 | return effectListEditor; 126 | } 127 | } 128 | } 129 | } 130 | 131 | return null; 132 | } 133 | 134 | 135 | public override string GetDisplayTitle() 136 | { 137 | var settings = (RenderWithMaterial) target; 138 | var material = settings.material.value; 139 | return ObjectNames.GetInspectorTitle(material); 140 | } 141 | 142 | protected void MaterialPropertiesGui(Material material) 143 | { 144 | if (material == null) 145 | return; 146 | 147 | if (materialEditor == null || cachedMaterial != material) 148 | { 149 | cachedMaterial = material; 150 | UnityEditor.Editor.CreateCachedEditor(cachedMaterial, typeof(MaterialEditor), ref cachedEditor); 151 | materialEditor = (MaterialEditor) cachedEditor; 152 | properties = MaterialEditor.GetMaterialProperties(new UnityEngine.Object[] {cachedMaterial}); 153 | } 154 | 155 | materialEditor.PropertiesDefaultGUI(properties); 156 | } 157 | 158 | 159 | protected static SerializedParameterOverride CreateSerializedParameterOverride(SerializedProperty property, 160 | Attribute[] attributes) 161 | { 162 | BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Instance; 163 | return (SerializedParameterOverride) Activator.CreateInstance(typeof(SerializedParameterOverride), flags, 164 | null, 165 | new object[] {property, attributes}, null); 166 | } 167 | 168 | protected void InitInternals() 169 | { 170 | target = (PostProcessEffectSettings) typeof(PostProcessEffectBaseEditor) 171 | .GetProperty("target", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) 172 | ?.GetValue(this); 173 | 174 | serializedObject = (SerializedObject) typeof(PostProcessEffectBaseEditor) 175 | .GetProperty("serializedObject", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) 176 | ?.GetValue(this); 177 | } 178 | 179 | protected void FindProperties() 180 | { 181 | m_Parameters = new List(); 182 | 183 | var fields = target.GetType() 184 | .GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic) 185 | .Where(t => t.FieldType.IsSubclassOf(typeof(ParameterOverride)) && t.Name != "enabled") 186 | .Where(t => 187 | (t.IsPublic && t.GetCustomAttributes(typeof(NonSerializedAttribute), false).Length == 0) 188 | || (t.GetCustomAttributes(typeof(UnityEngine.SerializeField), false).Length > 0) 189 | ) 190 | .ToList(); 191 | 192 | foreach (var field in fields) 193 | { 194 | var property = serializedObject.FindProperty(field.Name); 195 | var attributes = field.GetCustomAttributes(false).Cast().ToArray(); 196 | var parameter = CreateSerializedParameterOverride(property, attributes); 197 | m_Parameters.Add(parameter); 198 | } 199 | } 200 | 201 | protected void OnInspectorGuiDefault() 202 | { 203 | foreach (var parameter in m_Parameters) 204 | PropertyField(parameter); 205 | } 206 | } 207 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/PostProcessing/RenderWithMaterialEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9552519a9e26f45bab4313563c569f10 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b97a603a7a7144c5f9ce1c6f95271a22 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Resources/AspectBlit.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: AspectBlit 11 | m_Shader: {fileID: 4800000, guid: addd102dff2274b2f842d2a1e11a9d8a, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _MainTex: 23 | m_Texture: {fileID: 2800000, guid: 1db943b91aed04d78b03bbd05f921477, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _MainTex2: 27 | m_Texture: {fileID: 2800000, guid: eb3feefd835775241a204200cc0c3a96, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | m_Floats: [] 31 | m_Colors: [] 32 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Resources/AspectBlit.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91b8827f15e3846bfbf8e3c8f551c72b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Resources/AspectBlit.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/AspectBlit" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | _AspectRatio ("Aspect Ratio", float) = 1 7 | _BackgroundColor ("Background Color", Color) = (0, 0, 0, 0) 8 | } 9 | SubShader 10 | { 11 | // No culling or depth 12 | Cull Off ZWrite Off ZTest Always 13 | 14 | Pass 15 | { 16 | CGPROGRAM 17 | #pragma vertex vert 18 | #pragma fragment frag 19 | 20 | #include "UnityCG.cginc" 21 | 22 | struct appdata 23 | { 24 | float4 vertex : POSITION; 25 | float2 uv : TEXCOORD0; 26 | }; 27 | 28 | struct v2f 29 | { 30 | float2 uv : TEXCOORD0; 31 | float4 vertex : SV_POSITION; 32 | }; 33 | 34 | sampler2D _MainTex; 35 | float _AspectRatio; 36 | fixed4 _BackgroundColor; 37 | 38 | v2f vert (appdata v) 39 | { 40 | v2f o; 41 | o.vertex = UnityObjectToClipPos(v.vertex); 42 | 43 | float aspectXScale = max(1/_AspectRatio, 1); 44 | float aspectYScale = max(_AspectRatio, 1); 45 | 46 | float aspectXOffset = -(aspectXScale-1) / 2; 47 | float aspectYOffset = -(aspectYScale-1) / 2; 48 | 49 | o.uv = float2(v.uv.x * aspectXScale + aspectXOffset, v.uv.y * aspectYScale + aspectYOffset); 50 | return o; 51 | } 52 | 53 | 54 | fixed4 frag (v2f i) : SV_Target 55 | { 56 | if(i.uv.x < 0 || i.uv.x > 1 || i.uv.y < 0 || i.uv.y > 1) 57 | return _BackgroundColor; 58 | return tex2D(_MainTex, i.uv); 59 | } 60 | ENDCG 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Editor/Resources/AspectBlit.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: addd102dff2274b2f842d2a1e11a9d8a 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 509a53f808dc64e47a7b4f9452257eb0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/ImageEffectGraph.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ImageEffectGraph", 3 | "references": [ 4 | "Unity.Postprocessing.Runtime" 5 | ], 6 | "optionalUnityReferences": [], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [] 14 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/ImageEffectGraph.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0afbacd20116e45f1a44c8ba8b30115c 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 154452155ee7842158aa38f3e5d687ab 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing/CameraFlagsParameter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.Rendering.PostProcessing; 4 | 5 | namespace ImageEffectGraph.PostProcessing 6 | { 7 | [Serializable] 8 | public sealed class CameraFlagsParameter : ParameterOverride 9 | { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing/CameraFlagsParameter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdfb649172e0c4215a1137f425c254c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing/MaterialParameter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.Rendering.PostProcessing; 4 | 5 | namespace ImageEffectGraph.PostProcessing 6 | { 7 | [Serializable] 8 | public sealed class MaterialParameter : ParameterOverride 9 | { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing/MaterialParameter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07c8f0c1a7ce945e8a399258eecafc74 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing/RenderWithMaterial.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using UnityEngine; 4 | using UnityEngine.Rendering; 5 | using UnityEngine.Rendering.PostProcessing; 6 | 7 | namespace ImageEffectGraph.PostProcessing 8 | { 9 | [Serializable] 10 | [PostProcess(typeof(RenderWithMaterialRenderer), PostProcessEvent.AfterStack, "Custom/Render With Material")] 11 | public class RenderWithMaterial : PostProcessEffectSettings 12 | { 13 | [Tooltip("Material used for rendering.")] 14 | public MaterialParameter material = new MaterialParameter(); 15 | 16 | [Tooltip("Depth texture mode.")] 17 | public CameraFlagsParameter depthMode = new CameraFlagsParameter() {value = DepthTextureMode.None}; 18 | 19 | [Tooltip("Apply to Game Mode Only")] 20 | public BoolParameter gameModeOnly = new BoolParameter() {value = false}; 21 | } 22 | 23 | public class RenderWithMaterialRenderer : PostProcessEffectRenderer 24 | { 25 | private static readonly int _MainTex = Shader.PropertyToID("_MainTex"); 26 | 27 | #if UNITY_EDITOR 28 | 29 | private static readonly int _PreviewTexture = Shader.PropertyToID("_PreviewTexture"); 30 | private static readonly int AspectRatio = Shader.PropertyToID("_AspectRatio"); 31 | private static readonly int BackgroundColor = Shader.PropertyToID("_BackgroundColor"); 32 | 33 | private RenderTexture previewRenderTexture; 34 | private Material aspectBlit; 35 | 36 | public override void Init() 37 | { 38 | base.Init(); 39 | //BUG: Can't add more keywords. How to tell shader we're on the stack? 40 | const string keyword = "UNITY_POST_PROCESSING_STACK_V2"; 41 | Shader.EnableKeyword(keyword); 42 | 43 | previewRenderTexture = new RenderTexture(512, 512, 32, RenderTextureFormat.ARGB32); 44 | var materialGuid = UnityEditor.AssetDatabase.FindAssets("AspectBlit").FirstOrDefault(); 45 | if (!string.IsNullOrEmpty(materialGuid)) 46 | { 47 | var path = UnityEditor.AssetDatabase.GUIDToAssetPath(materialGuid); 48 | aspectBlit = UnityEditor.AssetDatabase.LoadAssetAtPath(path); 49 | } 50 | } 51 | 52 | public override void Release() 53 | { 54 | base.Release(); 55 | UnityEngine.Object.DestroyImmediate(previewRenderTexture); 56 | } 57 | #endif 58 | 59 | public override DepthTextureMode GetCameraFlags() 60 | { 61 | return settings.depthMode; 62 | } 63 | 64 | public override void Render(PostProcessRenderContext context) 65 | { 66 | #if UNITY_EDITOR 67 | if (context.camera.cameraType == CameraType.Game) 68 | { 69 | if (aspectBlit != null) 70 | { 71 | aspectBlit.SetFloat(AspectRatio, context.width / (float) context.height); 72 | aspectBlit.SetColor(BackgroundColor, context.camera.backgroundColor); 73 | } 74 | 75 | context.command.Blit(context.source, previewRenderTexture, aspectBlit); 76 | context.command.SetGlobalTexture(_PreviewTexture, previewRenderTexture); 77 | } 78 | else if(settings.gameModeOnly) 79 | { 80 | // We don't apply the post processing in Scene View. 81 | context.command.Blit(context.source, context.destination); 82 | return; 83 | } 84 | #endif 85 | 86 | var sampleName = $"RenderWithMaterial({settings.material})"; 87 | context.command.BeginSample(sampleName); 88 | Blit(context.command, context.source, context.destination, settings.material); 89 | context.command.EndSample(sampleName); 90 | } 91 | 92 | private static void Blit(CommandBuffer command, RenderTargetIdentifier source, 93 | RenderTargetIdentifier destination, Material material, int pass = -1) 94 | { 95 | if (material == null) 96 | { 97 | command.BuiltinBlit(source, destination); 98 | return; 99 | } 100 | 101 | command.SetGlobalTexture(_MainTex, source); 102 | command.SetRenderTargetWithLoadStoreAction(destination, RenderBufferLoadAction.DontCare, 103 | RenderBufferStoreAction.Store); 104 | 105 | command.DrawMesh(RuntimeUtilities.fullscreenTriangle, Matrix4x4.identity, material, 0, pass); 106 | } 107 | } 108 | } -------------------------------------------------------------------------------- /Assets/ImageEffectGraph/Runtime/PostProcessing/RenderWithMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b48fb662878e43d6b0a99ca0c1a8c24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 144cda6ea9f1948eea5701ac4035e199 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc6ee58ebc33b4c67bf69b6e1fe59500 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f25391f860c44ba5b57213eaaa05c13 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2e6afe15c0b34798a0fd46e6c7ac776 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/HDRP.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} 13 | m_Name: HDRP 14 | m_EditorClassIdentifier: 15 | m_Version: 1 16 | m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, 17 | type: 2} 18 | m_FrameSettings: 19 | overrides: 0 20 | enableShadow: 1 21 | enableContactShadows: 1 22 | enableShadowMask: 1 23 | enableSSR: 0 24 | enableSSAO: 1 25 | enableSubsurfaceScattering: 1 26 | enableTransmission: 1 27 | enableAtmosphericScattering: 1 28 | enableVolumetrics: 1 29 | enableReprojectionForVolumetrics: 1 30 | enableLightLayers: 1 31 | diffuseGlobalDimmer: 1 32 | specularGlobalDimmer: 1 33 | shaderLitMode: 1 34 | enableDepthPrepassWithDeferredRendering: 0 35 | enableTransparentPrepass: 1 36 | enableMotionVectors: 1 37 | enableObjectMotionVectors: 1 38 | enableDecals: 1 39 | enableRoughRefraction: 1 40 | enableTransparentPostpass: 1 41 | enableDistortion: 1 42 | enablePostprocess: 1 43 | enableOpaqueObjects: 1 44 | enableTransparentObjects: 1 45 | enableRealtimePlanarReflection: 1 46 | enableMSAA: 0 47 | enableAsyncCompute: 1 48 | runLightListAsync: 1 49 | runSSRAsync: 1 50 | runSSAOAsync: 1 51 | runContactShadowsAsync: 1 52 | runVolumeVoxelizationAsync: 1 53 | lightLoopSettings: 54 | overrides: 0 55 | enableTileAndCluster: 1 56 | enableComputeLightEvaluation: 1 57 | enableComputeLightVariants: 1 58 | enableComputeMaterialVariants: 1 59 | enableFptlForForwardOpaque: 1 60 | enableBigTilePrepass: 1 61 | isFptlEnabled: 1 62 | m_BakedOrCustomReflectionFrameSettings: 63 | overrides: 0 64 | enableShadow: 1 65 | enableContactShadows: 1 66 | enableShadowMask: 1 67 | enableSSR: 0 68 | enableSSAO: 1 69 | enableSubsurfaceScattering: 1 70 | enableTransmission: 1 71 | enableAtmosphericScattering: 1 72 | enableVolumetrics: 1 73 | enableReprojectionForVolumetrics: 1 74 | enableLightLayers: 1 75 | diffuseGlobalDimmer: 1 76 | specularGlobalDimmer: 1 77 | shaderLitMode: 1 78 | enableDepthPrepassWithDeferredRendering: 0 79 | enableTransparentPrepass: 1 80 | enableMotionVectors: 1 81 | enableObjectMotionVectors: 1 82 | enableDecals: 1 83 | enableRoughRefraction: 1 84 | enableTransparentPostpass: 1 85 | enableDistortion: 1 86 | enablePostprocess: 1 87 | enableOpaqueObjects: 1 88 | enableTransparentObjects: 1 89 | enableRealtimePlanarReflection: 1 90 | enableMSAA: 0 91 | enableAsyncCompute: 1 92 | runLightListAsync: 1 93 | runSSRAsync: 1 94 | runSSAOAsync: 1 95 | runContactShadowsAsync: 1 96 | runVolumeVoxelizationAsync: 1 97 | lightLoopSettings: 98 | overrides: 0 99 | enableTileAndCluster: 1 100 | enableComputeLightEvaluation: 1 101 | enableComputeLightVariants: 1 102 | enableComputeMaterialVariants: 1 103 | enableFptlForForwardOpaque: 1 104 | enableBigTilePrepass: 1 105 | isFptlEnabled: 1 106 | m_RealtimeReflectionFrameSettings: 107 | overrides: 0 108 | enableShadow: 1 109 | enableContactShadows: 0 110 | enableShadowMask: 0 111 | enableSSR: 0 112 | enableSSAO: 0 113 | enableSubsurfaceScattering: 1 114 | enableTransmission: 1 115 | enableAtmosphericScattering: 0 116 | enableVolumetrics: 1 117 | enableReprojectionForVolumetrics: 1 118 | enableLightLayers: 1 119 | diffuseGlobalDimmer: 1 120 | specularGlobalDimmer: 1 121 | shaderLitMode: 1 122 | enableDepthPrepassWithDeferredRendering: 0 123 | enableTransparentPrepass: 1 124 | enableMotionVectors: 1 125 | enableObjectMotionVectors: 1 126 | enableDecals: 1 127 | enableRoughRefraction: 0 128 | enableTransparentPostpass: 1 129 | enableDistortion: 0 130 | enablePostprocess: 0 131 | enableOpaqueObjects: 1 132 | enableTransparentObjects: 1 133 | enableRealtimePlanarReflection: 1 134 | enableMSAA: 0 135 | enableAsyncCompute: 1 136 | runLightListAsync: 1 137 | runSSRAsync: 1 138 | runSSAOAsync: 1 139 | runContactShadowsAsync: 1 140 | runVolumeVoxelizationAsync: 1 141 | lightLoopSettings: 142 | overrides: 0 143 | enableTileAndCluster: 1 144 | enableComputeLightEvaluation: 1 145 | enableComputeLightVariants: 1 146 | enableComputeMaterialVariants: 1 147 | enableFptlForForwardOpaque: 1 148 | enableBigTilePrepass: 1 149 | isFptlEnabled: 1 150 | renderPipelineSettings: 151 | supportShadowMask: 1 152 | supportSSR: 0 153 | supportSSAO: 1 154 | supportSubsurfaceScattering: 1 155 | increaseSssSampleCount: 0 156 | supportVolumetrics: 1 157 | increaseResolutionOfVolumetrics: 0 158 | supportLightLayers: 0 159 | supportDistortion: 1 160 | supportTransparentBackface: 1 161 | supportTransparentDepthPrepass: 1 162 | supportTransparentDepthPostpass: 1 163 | supportedLitShaderMode: 3 164 | supportDecals: 1 165 | msaaSampleCount: 1 166 | supportMotionVectors: 1 167 | supportRuntimeDebugDisplay: 1 168 | supportDitheringCrossFade: 1 169 | supportRayTracing: 0 170 | lightLoopSettings: 171 | cookieSize: 128 172 | cookieTexArraySize: 16 173 | pointCookieSize: 128 174 | cubeCookieTexArraySize: 16 175 | planarReflectionProbeCacheSize: 2 176 | planarReflectionTextureSize: 1024 177 | reflectionProbeCacheSize: 64 178 | reflectionCubemapSize: 256 179 | reflectionCacheCompressed: 0 180 | planarReflectionCacheCompressed: 0 181 | skyReflectionSize: 256 182 | skyLightingOverrideLayerMask: 183 | serializedVersion: 2 184 | m_Bits: 0 185 | supportFabricConvolution: 0 186 | maxDirectionalLightsOnScreen: 16 187 | maxPunctualLightsOnScreen: 512 188 | maxAreaLightsOnScreen: 64 189 | maxEnvLightsOnScreen: 64 190 | maxDecalsOnScreen: 512 191 | hdShadowInitParams: 192 | shadowAtlasResolution: 4096 193 | maxShadowRequests: 128 194 | shadowMapsDepthBits: 32 195 | useDynamicViewportRescale: 1 196 | shadowQuality: 0 197 | decalSettings: 198 | drawDistance: 1000 199 | atlasWidth: 4096 200 | atlasHeight: 4096 201 | perChannelMask: 0 202 | allowShaderVariantStripping: 1 203 | enableSRPBatcher: 0 204 | enableVariantStrippingLog: 0 205 | diffusionProfileSettings: {fileID: 0} 206 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/HDRP.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0031ff17f68443a68207816acdbc302 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/LWRP.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} 13 | m_Name: LWRP 14 | m_EditorClassIdentifier: 15 | k_AssetVersion: 4 16 | m_RequireDepthTexture: 0 17 | m_RequireOpaqueTexture: 0 18 | m_OpaqueDownsampling: 1 19 | m_SupportsHDR: 0 20 | m_MSAA: 4 21 | m_RenderScale: 1 22 | m_MainLightRenderingMode: 1 23 | m_MainLightShadowsSupported: 1 24 | m_MainLightShadowmapResolution: 2048 25 | m_AdditionalLightsRenderingMode: 1 26 | m_AdditionalLightsPerObjectLimit: 4 27 | m_AdditionalLightShadowsSupported: 0 28 | m_AdditionalLightsShadowmapResolution: 512 29 | m_ShadowDistance: 50 30 | m_ShadowCascades: 2 31 | m_Cascade2Split: 0.25 32 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} 33 | m_ShadowDepthBias: 1 34 | m_ShadowNormalBias: 1 35 | m_SoftShadowsSupported: 0 36 | m_SupportsDynamicBatching: 1 37 | m_MixedLightingSupported: 1 38 | m_ShadowType: 1 39 | m_LocalShadowsSupported: 0 40 | m_LocalShadowsAtlasResolution: 256 41 | m_MaxPixelLights: 0 42 | m_ShadowAtlasResolution: 256 43 | m_ResourcesAsset: {fileID: 11400000, guid: aac5a08c32552a14c89394b703f1978a, type: 2} 44 | m_ShaderVariantLogLevel: 0 45 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/LWRP.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2d93c362caea40bead32308290945bc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/OTF_Crumpled_Paper_08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/OTF_Crumpled_Paper_08.jpg -------------------------------------------------------------------------------- /Assets/Sample/Assets/OTF_Crumpled_Paper_08.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1db943b91aed04d78b03bbd05f921477 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/PostProcessVolume Profile.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 8e6292b2c06870d4495f009f912b9600, type: 3} 13 | m_Name: PostProcessVolume Profile 14 | m_EditorClassIdentifier: 15 | settings: 16 | - {fileID: 114772218429231290} 17 | --- !u!114 &114772218429231290 18 | MonoBehaviour: 19 | m_ObjectHideFlags: 3 20 | m_CorrespondingSourceObject: {fileID: 0} 21 | m_PrefabInstance: {fileID: 0} 22 | m_PrefabAsset: {fileID: 0} 23 | m_GameObject: {fileID: 0} 24 | m_Enabled: 1 25 | m_EditorHideFlags: 0 26 | m_Script: {fileID: 11500000, guid: 9b48fb662878e43d6b0a99ca0c1a8c24, type: 3} 27 | m_Name: RenderWithMaterial 28 | m_EditorClassIdentifier: 29 | active: 1 30 | enabled: 31 | overrideState: 1 32 | value: 1 33 | material: 34 | overrideState: 1 35 | value: {fileID: 2100000, guid: 25435d20b534145198b6504ed75ea06f, type: 2} 36 | depthMode: 37 | overrideState: 1 38 | value: 1 39 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/PostProcessVolume Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62afa178baf1545b0b73c71cba1254bc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/PostProcessVolume.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &478552695324407199 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 478552695324407197} 12 | - component: {fileID: 478552695324407194} 13 | - component: {fileID: 478552695324407195} 14 | - component: {fileID: 478552695324407196} 15 | m_Layer: 8 16 | m_Name: PostProcessVolume 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &478552695324407197 23 | Transform: 24 | m_ObjectHideFlags: 0 25 | m_CorrespondingSourceObject: {fileID: 0} 26 | m_PrefabInstance: {fileID: 0} 27 | m_PrefabAsset: {fileID: 0} 28 | m_GameObject: {fileID: 478552695324407199} 29 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 30 | m_LocalPosition: {x: 0, y: 0, z: 0} 31 | m_LocalScale: {x: 1, y: 1, z: 1} 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 36 | --- !u!114 &478552695324407194 37 | MonoBehaviour: 38 | m_ObjectHideFlags: 0 39 | m_CorrespondingSourceObject: {fileID: 0} 40 | m_PrefabInstance: {fileID: 0} 41 | m_PrefabAsset: {fileID: 0} 42 | m_GameObject: {fileID: 478552695324407199} 43 | m_Enabled: 1 44 | m_EditorHideFlags: 0 45 | m_Script: {fileID: 11500000, guid: 621596ad687ad4eca991108f26e9673a, type: 3} 46 | m_Name: 47 | m_EditorClassIdentifier: 48 | cycleInterval: 2 49 | materials: 50 | - {fileID: 2100000, guid: 25435d20b534145198b6504ed75ea06f, type: 2} 51 | - {fileID: 2100000, guid: b94234e7349dc4e5bbd5575b9377d263, type: 2} 52 | - {fileID: 2100000, guid: 4dd0daa9715c0ba4bb16018308ce9000, type: 2} 53 | - {fileID: 2100000, guid: b41ba31a89ccb4d8fa96e9ec09253174, type: 2} 54 | - {fileID: 2100000, guid: e43b144c336254275838ae41faea7954, type: 2} 55 | - {fileID: 2100000, guid: a3ada1b7a85244e51b2f69766a8cd669, type: 2} 56 | - {fileID: 2100000, guid: 1c6e4499c090e434cbdd22314f4daf82, type: 2} 57 | - {fileID: 2100000, guid: d61a9fb14d8ab492e98445f0729db5ca, type: 2} 58 | - {fileID: 2100000, guid: 8aa06232ec54c4303a216328e6938a97, type: 2} 59 | - {fileID: 2100000, guid: ab546805727fd4c04b014d0575d440dc, type: 2} 60 | - {fileID: 2100000, guid: a0b5d09605efa4932a029f45121f9706, type: 2} 61 | --- !u!114 &478552695324407195 62 | MonoBehaviour: 63 | m_ObjectHideFlags: 0 64 | m_CorrespondingSourceObject: {fileID: 0} 65 | m_PrefabInstance: {fileID: 0} 66 | m_PrefabAsset: {fileID: 0} 67 | m_GameObject: {fileID: 478552695324407199} 68 | m_Enabled: 1 69 | m_EditorHideFlags: 0 70 | m_Script: {fileID: 11500000, guid: 1742a5216af1a441d9b5e8b6f3de6c96, type: 3} 71 | m_Name: 72 | m_EditorClassIdentifier: 73 | material: {fileID: 2100000, guid: b94234e7349dc4e5bbd5575b9377d263, type: 2} 74 | speed: 1 75 | --- !u!114 &478552695324407196 76 | MonoBehaviour: 77 | m_ObjectHideFlags: 0 78 | m_CorrespondingSourceObject: {fileID: 0} 79 | m_PrefabInstance: {fileID: 0} 80 | m_PrefabAsset: {fileID: 0} 81 | m_GameObject: {fileID: 478552695324407199} 82 | m_Enabled: 1 83 | m_EditorHideFlags: 0 84 | m_Script: {fileID: 11500000, guid: 8b9a305e18de0c04dbd257a21cd47087, type: 3} 85 | m_Name: 86 | m_EditorClassIdentifier: 87 | sharedProfile: {fileID: 11400000, guid: 62afa178baf1545b0b73c71cba1254bc, type: 2} 88 | isGlobal: 1 89 | blendDistance: 0 90 | weight: 1 91 | priority: 0 92 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/PostProcessVolume.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f2fad38a52c4404a8bd376f490915dc 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e78cbf12aafbd474fa75bebc6e6558cf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/angular_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/angular_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/angular_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba6a1098712f522418697e7a4893fb62 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/criss_cross_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/criss_cross_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/criss_cross_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6dda137af8358a248b686c09e34733f2 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/diagonal_distort_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/diagonal_distort_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/diagonal_distort_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb3feefd835775241a204200cc0c3a96 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/gradient.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/gradient.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 295aa096549e1485c8a5940aa2a84a68 3 | timeCreated: 1471247406 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/noise_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/noise_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/noise_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9847281c7fd00f945b2084a536c4d400 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/poke_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/poke_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/poke_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 135e0911962cbb24098894598acf44b7 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/saw_tooth_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/saw_tooth_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/saw_tooth_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5896b76872c676488ab81350f954ba3 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/simple_patten.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/simple_patten.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/simple_patten.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbe6e80cd9587334fb840031de89c672 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/spiral_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/spiral_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/spiral_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea1ad820d45466d4795f65b8bcdfaac9 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/test.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/test.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5d36249d943a446ba141319c715e982 3 | timeCreated: 1471248774 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: -1 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/topbottom_pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Assets/Sample/Assets/Textures/topbottom_pattern.png -------------------------------------------------------------------------------- /Assets/Sample/Assets/Textures/topbottom_pattern.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed5355cd5f09dcb4c9f33267d904d07a 3 | timeCreated: 1464212570 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 256 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 0 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/secondCamera.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: secondCamera 10 | m_ImageContentsHash: 11 | serializedVersion: 2 12 | Hash: 00000000000000000000000000000000 13 | m_ForcedFallbackFormat: 4 14 | m_DownscaleFallback: 0 15 | m_Width: 640 16 | m_Height: 360 17 | m_AntiAliasing: 1 18 | m_DepthFormat: 0 19 | m_ColorFormat: 0 20 | m_MipMap: 0 21 | m_GenerateMips: 1 22 | m_SRGB: 0 23 | m_UseDynamicScale: 0 24 | m_BindMS: 0 25 | m_TextureSettings: 26 | serializedVersion: 2 27 | m_FilterMode: 1 28 | m_Aniso: 0 29 | m_MipBias: 0 30 | m_WrapU: 1 31 | m_WrapV: 1 32 | m_WrapW: 1 33 | m_Dimension: 2 34 | m_VolumeDepth: 1 35 | -------------------------------------------------------------------------------- /Assets/Sample/Assets/secondCamera.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4cbb265595964cf5905ef434583d399 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fff7a07414624ecbb4d11bb20f40a9d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Editor/MyOtherEffectEditor.cs: -------------------------------------------------------------------------------- 1 | using ImageEffectGraph.Demo; 2 | using ImageEffectGraph.Editor.PostProcessing; 3 | using UnityEditor.Rendering.PostProcessing; 4 | 5 | namespace ImageEffectGraph.Editor.Demo 6 | { 7 | [PostProcessEditor(typeof(MyOtherEffect))] 8 | public class MyOtherEffectEditor : RenderWithMaterialEditor 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Assets/Sample/Editor/MyOtherEffectEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ba345c37141c4173aa465ffc333662c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Sample/Effects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2ef20eea8e8645438f0a74e96daeb67 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Aesthetics.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cb39e73fea3e4fefbbb765b31a19183 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Aesthetics.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Aesthetics 11 | m_Shader: {fileID: 4800000, guid: 8cb39e73fea3e4fefbbb765b31a19183, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _EmissionMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _MainTex: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MetallicGlossMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _OcclusionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _SampleTexture2D_982979A9_Texture: 43 | m_Texture: {fileID: 2800000, guid: a0fc465d6cf04254a2938578735e2383, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _SpecGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | m_Floats: 51 | - Vector1_72634A28: 1 52 | - Vector1_CD4DA2BD: 0.89 53 | - _AlphaClip: 0 54 | - _Blend: 0 55 | - _BumpScale: 1 56 | - _Cull: 2 57 | - _Cutoff: 0.5 58 | - _DstBlend: 0 59 | - _GlossMapScale: 1 60 | - _Glossiness: 0.5 61 | - _GlossyReflections: 1 62 | - _Metallic: 0 63 | - _OcclusionStrength: 1 64 | - _ReceiveShadows: 1 65 | - _SmoothnessTextureChannel: 0 66 | - _SpecularHighlights: 1 67 | - _SrcBlend: 1 68 | - _Surface: 0 69 | - _WorkflowMode: 1 70 | - _ZWrite: 1 71 | m_Colors: 72 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 73 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 74 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 75 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Aesthetics.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b41ba31a89ccb4d8fa96e9ec09253174 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Edge.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7693fd76f91154e0aab1643281bd520c 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Edge.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Edge 11 | m_Shader: {fileID: 4800000, guid: 7693fd76f91154e0aab1643281bd520c, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: [] 22 | m_Floats: [] 23 | m_Colors: [] 24 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Edge.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d61a9fb14d8ab492e98445f0729db5ca 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Invert Colors.ShaderGraph: -------------------------------------------------------------------------------- 1 | { 2 | "m_SerializedProperties": [], 3 | "m_GUID": { 4 | "m_GuidSerialized": "a0d6b167-00b3-49e4-af70-dc1b64117781" 5 | }, 6 | "m_SerializableNodes": [ 7 | { 8 | "typeInfo": { 9 | "fullName": "ImageEffectGraph.Editor.ImageEffectMasterNode" 10 | }, 11 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"105ba81f-96cf-4cb5-9ba6-85516a17379e\",\n \"m_Name\": \"Image Effect Master (Output)\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -59.41379165649414,\n \"y\": -144.33468627929688,\n \"width\": 214.0,\n \"height\": 278.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.ColorRGBMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Color\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Color\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.5,\\n \\\"y\\\": 0.5,\\n \\\"z\\\": 0.5\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\",\\n \\\"Z\\\"\\n ],\\n \\\"m_ColorMode\\\": 0\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_SerializableSubShaders\": [\n {\n \"typeInfo\": {\n \"fullName\": \"ImageEffectGraph.Editor.LightweightPipeline.LightWeightImageEffectSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"ImageEffectGraph.Editor.Legacy.LegacyImageEffectSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"ImageEffectGraph.Editor.HDPipeline.HDImageEffectSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n }\n ],\n \"m_SurfaceType\": 0,\n \"m_AlphaMode\": 0\n}" 12 | }, 13 | { 14 | "typeInfo": { 15 | "fullName": "UnityEditor.ShaderGraph.InvertColorsNode" 16 | }, 17 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"08cde4f3-a067-4469-b30b-b7d39ed68073\",\n \"m_Name\": \"Invert Colors\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -347.9496154785156,\n \"y\": -44.693302154541019,\n \"width\": 208.0,\n \"height\": 387.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"In\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"In\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicVectorMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_RedChannel\": true,\n \"m_GreenChannel\": true,\n \"m_BlueChannel\": true\n}" 18 | }, 19 | { 20 | "typeInfo": { 21 | "fullName": "UnityEditor.ShaderGraph.SampleTexture2DNode" 22 | }, 23 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"d5a68201-1576-4df0-b832-3361b37fdbba\",\n \"m_Name\": \"Sample Texture 2D\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -636.9669189453125,\n \"y\": -45.032752990722659,\n \"width\": 208.0,\n \"height\": 431.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector4MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"RGBA\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 6,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 7,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DInputMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Texture\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Texture\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Texture\\\": {\\n \\\"m_SerializedTexture\\\": \\\"\\\",\\n \\\"m_Guid\\\": \\\"\\\"\\n },\\n \\\"m_DefaultType\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.UVMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\"\\n ],\\n \\\"m_Channel\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.SamplerStateMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Sampler\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Sampler\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_TextureType\": 0,\n \"m_NormalMapSpace\": 0\n}" 24 | }, 25 | { 26 | "typeInfo": { 27 | "fullName": "ImageEffectGraph.Editor.MainTextureNode" 28 | }, 29 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"38e0cdcf-ce7e-4d03-9409-8ade9c1ae734\",\n \"m_Name\": \"Main Texture (Input)\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -925.1359252929688,\n \"y\": -66.4826431274414,\n \"width\": 152.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true\n}" 30 | } 31 | ], 32 | "m_SerializableEdges": [ 33 | { 34 | "typeInfo": { 35 | "fullName": "UnityEditor.Graphing.Edge" 36 | }, 37 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"08cde4f3-a067-4469-b30b-b7d39ed68073\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"105ba81f-96cf-4cb5-9ba6-85516a17379e\"\n }\n}" 38 | }, 39 | { 40 | "typeInfo": { 41 | "fullName": "UnityEditor.Graphing.Edge" 42 | }, 43 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"d5a68201-1576-4df0-b832-3361b37fdbba\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"08cde4f3-a067-4469-b30b-b7d39ed68073\"\n }\n}" 44 | }, 45 | { 46 | "typeInfo": { 47 | "fullName": "UnityEditor.Graphing.Edge" 48 | }, 49 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"38e0cdcf-ce7e-4d03-9409-8ade9c1ae734\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"d5a68201-1576-4df0-b832-3361b37fdbba\"\n }\n}" 50 | } 51 | ], 52 | "m_PreviewData": { 53 | "serializedMesh": { 54 | "m_SerializedMesh": "", 55 | "m_Guid": "" 56 | } 57 | }, 58 | "m_Path": "" 59 | } -------------------------------------------------------------------------------- /Assets/Sample/Effects/Invert Colors.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: caac0beb472404c96b95ba0e449144f5 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Invert Colors.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Invert Colors 11 | m_Shader: {fileID: 4800000, guid: caac0beb472404c96b95ba0e449144f5, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Invert Colors.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25435d20b534145198b6504ed75ea06f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Multiply.ShaderGraph: -------------------------------------------------------------------------------- 1 | { 2 | "m_SerializedProperties": [ 3 | { 4 | "typeInfo": { 5 | "fullName": "UnityEditor.ShaderGraph.ColorShaderProperty" 6 | }, 7 | "JSONnodeData": "{\n \"m_Value\": {\n \"r\": 1.0,\n \"g\": 0.0,\n \"b\": 0.0,\n \"a\": 0.0\n },\n \"m_Name\": \"Color\",\n \"m_GeneratePropertyBlock\": true,\n \"m_Guid\": {\n \"m_GuidSerialized\": \"a38160ce-5b2a-4853-8cdb-224c562fce59\"\n },\n \"m_OverrideReferenceName\": \"\",\n \"m_ColorMode\": 0,\n \"m_Hidden\": false\n}" 8 | } 9 | ], 10 | "m_GUID": { 11 | "m_GuidSerialized": "e380d241-cde0-4f4c-b49b-08c3ac90aea0" 12 | }, 13 | "m_SerializableNodes": [ 14 | { 15 | "typeInfo": { 16 | "fullName": "ImageEffectGraph.Editor.MainTextureNode" 17 | }, 18 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"5088a149-17d3-4dd0-9466-4b0458cf9c26\",\n \"m_Name\": \"Main Texture (Input)\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -662.4876708984375,\n \"y\": -8.030029296875,\n \"width\": 152.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true\n}" 19 | }, 20 | { 21 | "typeInfo": { 22 | "fullName": "UnityEditor.ShaderGraph.SampleTexture2DNode" 23 | }, 24 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"69a7aa5c-78ea-42a2-b194-5fb77b651e52\",\n \"m_Name\": \"Sample Texture 2D\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -362.4877624511719,\n \"y\": -8.030029296875,\n \"width\": 208.0,\n \"height\": 431.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector4MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"RGBA\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"RGBA\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 4,\\n \\\"m_DisplayName\\\": \\\"R\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"R\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 5,\\n \\\"m_DisplayName\\\": \\\"G\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"G\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 6,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector1MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 7,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": 0.0,\\n \\\"m_DefaultValue\\\": 0.0,\\n \\\"m_Labels\\\": [\\n \\\"X\\\"\\n ]\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Texture2DInputMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"Texture\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Texture\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Texture\\\": {\\n \\\"m_SerializedTexture\\\": \\\"\\\",\\n \\\"m_Guid\\\": \\\"\\\"\\n },\\n \\\"m_DefaultType\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.UVMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"UV\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"UV\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\"\\n ],\\n \\\"m_Channel\\\": 0\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.SamplerStateMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 3,\\n \\\"m_DisplayName\\\": \\\"Sampler\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Sampler\\\",\\n \\\"m_StageCapability\\\": 3\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_TextureType\": 0,\n \"m_NormalMapSpace\": 0\n}" 25 | }, 26 | { 27 | "typeInfo": { 28 | "fullName": "ImageEffectGraph.Editor.ImageEffectMasterNode" 29 | }, 30 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"6ac7976f-fce6-4ef9-a396-57fb8677e2b3\",\n \"m_Name\": \"Image Effect Master (Output)\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 304.8034973144531,\n \"y\": 198.35269165039063,\n \"width\": 0.0,\n \"height\": 0.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.ColorRGBMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Color\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Color\\\",\\n \\\"m_StageCapability\\\": 2,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.5,\\n \\\"y\\\": 0.5,\\n \\\"z\\\": 0.5\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0\\n },\\n \\\"m_Labels\\\": [\\n \\\"X\\\",\\n \\\"Y\\\",\\n \\\"Z\\\"\\n ],\\n \\\"m_ColorMode\\\": 0\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_SerializableSubShaders\": [\n {\n \"typeInfo\": {\n \"fullName\": \"ImageEffectGraph.Editor.LightweightPipeline.LightWeightImageEffectSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"ImageEffectGraph.Editor.Legacy.LegacyImageEffectSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"ImageEffectGraph.Editor.HDPipeline.HDImageEffectSubShader\"\n },\n \"JSONnodeData\": \"{}\"\n }\n ],\n \"m_SurfaceType\": 0,\n \"m_AlphaMode\": 0\n}" 31 | }, 32 | { 33 | "typeInfo": { 34 | "fullName": "UnityEditor.ShaderGraph.MultiplyNode" 35 | }, 36 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"842b8dd9-7321-45de-887e-7a8a77ca5356\",\n \"m_Name\": \"Multiply\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": 37.7535400390625,\n \"y\": 197.69313049316407,\n \"width\": 208.0,\n \"height\": 302.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"A\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"A\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 0.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 0.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 0.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 1,\\n \\\"m_DisplayName\\\": \\\"B\\\",\\n \\\"m_SlotType\\\": 0,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"B\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 2.0,\\n \\\"e01\\\": 2.0,\\n \\\"e02\\\": 2.0,\\n \\\"e03\\\": 2.0,\\n \\\"e10\\\": 2.0,\\n \\\"e11\\\": 2.0,\\n \\\"e12\\\": 2.0,\\n \\\"e13\\\": 2.0,\\n \\\"e20\\\": 2.0,\\n \\\"e21\\\": 2.0,\\n \\\"e22\\\": 2.0,\\n \\\"e23\\\": 2.0,\\n \\\"e30\\\": 2.0,\\n \\\"e31\\\": 2.0,\\n \\\"e32\\\": 2.0,\\n \\\"e33\\\": 2.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n },\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.DynamicValueMaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 2,\\n \\\"m_DisplayName\\\": \\\"Out\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"e00\\\": 0.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 0.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 0.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"e00\\\": 1.0,\\n \\\"e01\\\": 0.0,\\n \\\"e02\\\": 0.0,\\n \\\"e03\\\": 0.0,\\n \\\"e10\\\": 0.0,\\n \\\"e11\\\": 1.0,\\n \\\"e12\\\": 0.0,\\n \\\"e13\\\": 0.0,\\n \\\"e20\\\": 0.0,\\n \\\"e21\\\": 0.0,\\n \\\"e22\\\": 1.0,\\n \\\"e23\\\": 0.0,\\n \\\"e30\\\": 0.0,\\n \\\"e31\\\": 0.0,\\n \\\"e32\\\": 0.0,\\n \\\"e33\\\": 1.0\\n }\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true\n}" 37 | }, 38 | { 39 | "typeInfo": { 40 | "fullName": "UnityEditor.ShaderGraph.PropertyNode" 41 | }, 42 | "JSONnodeData": "{\n \"m_GuidSerialized\": \"db5449d5-f6f7-4c57-991c-b1df01604732\",\n \"m_Name\": \"Property\",\n \"m_DrawState\": {\n \"m_Expanded\": true,\n \"m_Position\": {\n \"serializedVersion\": \"2\",\n \"x\": -282.5814514160156,\n \"y\": 482.5142517089844,\n \"width\": 92.0,\n \"height\": 77.0\n }\n },\n \"m_SerializableSlots\": [\n {\n \"typeInfo\": {\n \"fullName\": \"UnityEditor.ShaderGraph.Vector4MaterialSlot\"\n },\n \"JSONnodeData\": \"{\\n \\\"m_Id\\\": 0,\\n \\\"m_DisplayName\\\": \\\"Color\\\",\\n \\\"m_SlotType\\\": 1,\\n \\\"m_Priority\\\": 2147483647,\\n \\\"m_Hidden\\\": false,\\n \\\"m_ShaderOutputName\\\": \\\"Out\\\",\\n \\\"m_StageCapability\\\": 3,\\n \\\"m_Value\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n },\\n \\\"m_DefaultValue\\\": {\\n \\\"x\\\": 0.0,\\n \\\"y\\\": 0.0,\\n \\\"z\\\": 0.0,\\n \\\"w\\\": 0.0\\n }\\n}\"\n }\n ],\n \"m_PreviewExpanded\": true,\n \"m_PropertyGuidSerialized\": \"a38160ce-5b2a-4853-8cdb-224c562fce59\"\n}" 43 | } 44 | ], 45 | "m_SerializableEdges": [ 46 | { 47 | "typeInfo": { 48 | "fullName": "UnityEditor.Graphing.Edge" 49 | }, 50 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 2,\n \"m_NodeGUIDSerialized\": \"842b8dd9-7321-45de-887e-7a8a77ca5356\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"6ac7976f-fce6-4ef9-a396-57fb8677e2b3\"\n }\n}" 51 | }, 52 | { 53 | "typeInfo": { 54 | "fullName": "UnityEditor.Graphing.Edge" 55 | }, 56 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"5088a149-17d3-4dd0-9466-4b0458cf9c26\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"69a7aa5c-78ea-42a2-b194-5fb77b651e52\"\n }\n}" 57 | }, 58 | { 59 | "typeInfo": { 60 | "fullName": "UnityEditor.Graphing.Edge" 61 | }, 62 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"69a7aa5c-78ea-42a2-b194-5fb77b651e52\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"842b8dd9-7321-45de-887e-7a8a77ca5356\"\n }\n}" 63 | }, 64 | { 65 | "typeInfo": { 66 | "fullName": "UnityEditor.Graphing.Edge" 67 | }, 68 | "JSONnodeData": "{\n \"m_OutputSlot\": {\n \"m_SlotId\": 0,\n \"m_NodeGUIDSerialized\": \"db5449d5-f6f7-4c57-991c-b1df01604732\"\n },\n \"m_InputSlot\": {\n \"m_SlotId\": 1,\n \"m_NodeGUIDSerialized\": \"842b8dd9-7321-45de-887e-7a8a77ca5356\"\n }\n}" 69 | } 70 | ], 71 | "m_PreviewData": { 72 | "serializedMesh": { 73 | "m_SerializedMesh": "", 74 | "m_Guid": "" 75 | } 76 | }, 77 | "m_Path": "" 78 | } -------------------------------------------------------------------------------- /Assets/Sample/Effects/Multiply.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa74f157e431e4c8184fb6364f44ee39 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Multiply.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Multiply 11 | m_Shader: {fileID: 4800000, guid: fa74f157e431e4c8184fb6364f44ee39, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: [] 22 | m_Floats: [] 23 | m_Colors: [] 24 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Multiply.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0b5d09605efa4932a029f45121f9706 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Overlay.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c015dc41c83c44ceaabb37483dcbf6f9 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Overlay.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Overlay 11 | m_Shader: {fileID: 4800000, guid: c015dc41c83c44ceaabb37483dcbf6f9, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - Texture2D_406BF99B: 23 | m_Texture: {fileID: 2800000, guid: 1db943b91aed04d78b03bbd05f921477, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _BumpMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _EmissionMap: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MainTex: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _MetallicGlossMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _OcclusionMap: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _SpecGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | m_Floats: 51 | - Vector1_1F4B8044: 0.496 52 | - Vector1_67D65D0D: 10 53 | - Vector1_E169D960: 0.2 54 | - _AlphaClip: 0 55 | - _Blend: 0 56 | - _BumpScale: 1 57 | - _Cull: 2 58 | - _Cutoff: 0.5 59 | - _DstBlend: 0 60 | - _GlossMapScale: 1 61 | - _Glossiness: 0.5 62 | - _GlossyReflections: 1 63 | - _Metallic: 0 64 | - _OcclusionStrength: 1 65 | - _ReceiveShadows: 1 66 | - _SmoothnessTextureChannel: 0 67 | - _SpecularHighlights: 1 68 | - _SrcBlend: 1 69 | - _Surface: 0 70 | - _WorkflowMode: 1 71 | - _ZWrite: 1 72 | m_Colors: 73 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 74 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 75 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 76 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Overlay.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e43b144c336254275838ae41faea7954 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Pixelated.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f74ec9a8918a455394a82571470f614 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Pixelated.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Pixelated 11 | m_Shader: {fileID: 4800000, guid: 9f74ec9a8918a455394a82571470f614, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - Vector1_4501DE73: 64 60 | - Vector1_C8210AFA: 64 61 | - _BumpScale: 1 62 | - _Cutoff: 0.5 63 | - _DetailNormalMapScale: 1 64 | - _DstBlend: 0 65 | - _GlossMapScale: 1 66 | - _Glossiness: 0.5 67 | - _GlossyReflections: 1 68 | - _Metallic: 0 69 | - _Mode: 0 70 | - _OcclusionStrength: 1 71 | - _Parallax: 0.02 72 | - _SmoothnessTextureChannel: 0 73 | - _SpecularHighlights: 1 74 | - _SrcBlend: 1 75 | - _UVSec: 0 76 | - _ZWrite: 1 77 | m_Colors: 78 | - _Color: {r: 1, g: 1, b: 1, a: 1} 79 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 80 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Pixelated.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c6e4499c090e434cbdd22314f4daf82 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Regular Hexagon Tiling.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9ef7d5ce2e13448c86f3dc51c784d9a 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Regular Hexagon Tiling.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Regular Hexagon Tiling 11 | m_Shader: {fileID: 4800000, guid: d9ef7d5ce2e13448c86f3dc51c784d9a, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: [] 22 | m_Floats: 23 | - Vector1_667B6DBD: 0.05 24 | m_Colors: 25 | - Vector2_87004923: {r: 0.5, g: 0.5, b: 0, a: 0} 26 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Regular Hexagon Tiling.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab546805727fd4c04b014d0575d440dc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Stereo.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dca3e450311c427da41edf010029655 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Stereo.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Stereo 11 | m_Shader: {fileID: 4800000, guid: 9dca3e450311c427da41edf010029655, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _EmissionMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _MainTex: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MetallicGlossMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _OcclusionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _SpecGlossMap: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | m_Floats: 47 | - Vector1_A15F0C7: -0.27 48 | - Vector1_E7657229: 0.12 49 | - _AlphaClip: 0 50 | - _Blend: 0 51 | - _BumpScale: 1 52 | - _Cull: 2 53 | - _Cutoff: 0.5 54 | - _DstBlend: 0 55 | - _GlossMapScale: 1 56 | - _Glossiness: 0.5 57 | - _GlossyReflections: 1 58 | - _Metallic: 0 59 | - _OcclusionStrength: 1 60 | - _ReceiveShadows: 1 61 | - _SmoothnessTextureChannel: 0 62 | - _SpecularHighlights: 1 63 | - _SrcBlend: 1 64 | - _Surface: 0 65 | - _WorkflowMode: 1 66 | - _ZWrite: 1 67 | m_Colors: 68 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 69 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 70 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 71 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Stereo.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3ada1b7a85244e51b2f69766a8cd669 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/TV.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa4217becbc1e424691005313c6be665 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/TV.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: TV 11 | m_Shader: {fileID: 4800000, guid: aa4217becbc1e424691005313c6be665, type: 3} 12 | m_ShaderKeywords: _EMISSION 13 | m_LightmapFlags: 6 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - Texture2D_60305D7A: 23 | m_Texture: {fileID: 2800000, guid: 8a4569df886e73e41a7c73caaa89ba5a, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - Texture2D_A49E801E: 27 | m_Texture: {fileID: 2800000, guid: 8a4569df886e73e41a7c73caaa89ba5a, type: 3} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - Texture_60305D7A: 31 | m_Texture: {fileID: 2800000, guid: 8a4569df886e73e41a7c73caaa89ba5a, type: 3} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _BumpMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _DetailAlbedoMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _DetailMask: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _DetailNormalMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _EmissionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _MainTex: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | - _MetallicGlossMap: 59 | m_Texture: {fileID: 0} 60 | m_Scale: {x: 1, y: 1} 61 | m_Offset: {x: 0, y: 0} 62 | - _OcclusionMap: 63 | m_Texture: {fileID: 0} 64 | m_Scale: {x: 1, y: 1} 65 | m_Offset: {x: 0, y: 0} 66 | - _ParallaxMap: 67 | m_Texture: {fileID: 0} 68 | m_Scale: {x: 1, y: 1} 69 | m_Offset: {x: 0, y: 0} 70 | - _SpecGlossMap: 71 | m_Texture: {fileID: 0} 72 | m_Scale: {x: 1, y: 1} 73 | m_Offset: {x: 0, y: 0} 74 | m_Floats: 75 | - _BumpScale: 1 76 | - _Cutoff: 0.5 77 | - _DetailNormalMapScale: 1 78 | - _DstBlend: 0 79 | - _GlossMapScale: 1 80 | - _Glossiness: 0.5 81 | - _GlossyReflections: 1 82 | - _Metallic: 0 83 | - _Mode: 0 84 | - _OcclusionStrength: 1 85 | - _Parallax: 0.02 86 | - _SmoothnessTextureChannel: 0 87 | - _SpecularHighlights: 1 88 | - _SrcBlend: 1 89 | - _UVSec: 0 90 | - _WorkflowMode: 1 91 | - _ZWrite: 1 92 | m_Colors: 93 | - _Color: {r: 1, g: 1, b: 1, a: 1} 94 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 95 | - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} 96 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/TV.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4dd0daa9715c0ba4bb16018308ce9000 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Transition.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 555fab4040de54d6aa2391d551035191 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Transition.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Transition 11 | m_Shader: {fileID: 4800000, guid: 555fab4040de54d6aa2391d551035191, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - Texture2D_17903686: 23 | m_Texture: {fileID: 2800000, guid: 3b6071dd835be4512ac8b530084b0ddb, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - Texture2D_26D7A71E: 27 | m_Texture: {fileID: 8400000, guid: b4cbb265595964cf5905ef434583d399, type: 2} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _BumpMap: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailAlbedoMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _DetailMask: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _DetailNormalMap: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _EmissionMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _MainTex: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _MetallicGlossMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | - _OcclusionMap: 59 | m_Texture: {fileID: 0} 60 | m_Scale: {x: 1, y: 1} 61 | m_Offset: {x: 0, y: 0} 62 | - _ParallaxMap: 63 | m_Texture: {fileID: 0} 64 | m_Scale: {x: 1, y: 1} 65 | m_Offset: {x: 0, y: 0} 66 | - _SecondTex: 67 | m_Texture: {fileID: 8400000, guid: b4cbb265595964cf5905ef434583d399, type: 2} 68 | m_Scale: {x: 1, y: 1} 69 | m_Offset: {x: 0, y: 0} 70 | - _TransitionTex: 71 | m_Texture: {fileID: 2800000, guid: ba6a1098712f522418697e7a4893fb62, type: 3} 72 | m_Scale: {x: 1, y: 1} 73 | m_Offset: {x: 0, y: 0} 74 | m_Floats: 75 | - Vector1_DEEDF9: 2.6 76 | - Vector1_F25166D2: 0.295 77 | - _BumpScale: 1 78 | - _Cutoff: 0.5 79 | - _DetailNormalMapScale: 1 80 | - _DstBlend: 0 81 | - _GlossMapScale: 1 82 | - _Glossiness: 0.5 83 | - _GlossyReflections: 1 84 | - _Metallic: 0 85 | - _Mode: 0 86 | - _OcclusionStrength: 1 87 | - _Parallax: 0.02 88 | - _Progress: 0 89 | - _SmoothnessTextureChannel: 0 90 | - _SpecularHighlights: 1 91 | - _SrcBlend: 1 92 | - _TransitionPower: 10 93 | - _UVSec: 0 94 | - _ZWrite: 1 95 | m_Colors: 96 | - _Color: {r: 1, g: 1, b: 1, a: 1} 97 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 98 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Transition.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b94234e7349dc4e5bbd5575b9377d263 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Wide Screen.ShaderGraph.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39ddb859705e4430184d1304d3083658 3 | ScriptedImporter: 4 | fileIDToRecycleName: 5 | 4800000: MainAsset 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} 11 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Wide Screen.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Wide Screen 11 | m_Shader: {fileID: 4800000, guid: 39ddb859705e4430184d1304d3083658, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: [] 22 | m_Floats: 23 | - Vector1_6CCFCD23: 0.15 24 | m_Colors: [] 25 | -------------------------------------------------------------------------------- /Assets/Sample/Effects/Wide Screen.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8aa06232ec54c4303a216328e6938a97 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f704ae4b4f98ae41a0bce26658850c1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Scenes/SampleSceneHD.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa6c21e398beb414486d4d4b793fe4e6 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Sample/Scenes/SampleSceneLWRP.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52787187e848c464bbf1dc42b3b74aa6 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Sample/Scenes/SampleSceneLegacy.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99c9720ab356a0642a771bea13969a05 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Sample/Scenes/SampleSceneLegacyNoPostprocessingStack.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 170076734} 41 | m_IndirectSpecularColor: {r: 0.18028355, g: 0.22571374, b: 0.30692255, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 58 | m_Resolution: 2 59 | m_BakeResolution: 10 60 | m_AtlasSize: 512 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 256 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 2 74 | m_BakeBackend: 1 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 256 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 1 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &170076733 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 170076735} 124 | - component: {fileID: 170076734} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &170076734 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInstance: {fileID: 0} 137 | m_PrefabAsset: {fileID: 0} 138 | m_GameObject: {fileID: 170076733} 139 | m_Enabled: 1 140 | serializedVersion: 8 141 | m_Type: 1 142 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 143 | m_Intensity: 1 144 | m_Range: 10 145 | m_SpotAngle: 30 146 | m_CookieSize: 10 147 | m_Shadows: 148 | m_Type: 2 149 | m_Resolution: -1 150 | m_CustomResolution: -1 151 | m_Strength: 1 152 | m_Bias: 0.05 153 | m_NormalBias: 0.4 154 | m_NearPlane: 0.2 155 | m_Cookie: {fileID: 0} 156 | m_DrawHalo: 0 157 | m_Flare: {fileID: 0} 158 | m_RenderMode: 0 159 | m_CullingMask: 160 | serializedVersion: 2 161 | m_Bits: 4294967295 162 | m_Lightmapping: 1 163 | m_LightShadowCasterMode: 0 164 | m_AreaSize: {x: 1, y: 1} 165 | m_BounceIntensity: 1 166 | m_ColorTemperature: 6570 167 | m_UseColorTemperature: 0 168 | m_ShadowRadius: 0 169 | m_ShadowAngle: 0 170 | --- !u!4 &170076735 171 | Transform: 172 | m_ObjectHideFlags: 0 173 | m_CorrespondingSourceObject: {fileID: 0} 174 | m_PrefabInstance: {fileID: 0} 175 | m_PrefabAsset: {fileID: 0} 176 | m_GameObject: {fileID: 170076733} 177 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 178 | m_LocalPosition: {x: 0, y: 3, z: 0} 179 | m_LocalScale: {x: 1, y: 1, z: 1} 180 | m_Children: [] 181 | m_Father: {fileID: 0} 182 | m_RootOrder: 2 183 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 184 | --- !u!1 &534669902 185 | GameObject: 186 | m_ObjectHideFlags: 0 187 | m_CorrespondingSourceObject: {fileID: 0} 188 | m_PrefabInstance: {fileID: 0} 189 | m_PrefabAsset: {fileID: 0} 190 | serializedVersion: 6 191 | m_Component: 192 | - component: {fileID: 534669905} 193 | - component: {fileID: 534669904} 194 | - component: {fileID: 534669903} 195 | - component: {fileID: 534669908} 196 | - component: {fileID: 534669906} 197 | - component: {fileID: 534669907} 198 | m_Layer: 0 199 | m_Name: Main Camera 200 | m_TagString: MainCamera 201 | m_Icon: {fileID: 0} 202 | m_NavMeshLayer: 0 203 | m_StaticEditorFlags: 0 204 | m_IsActive: 1 205 | --- !u!81 &534669903 206 | AudioListener: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 534669902} 212 | m_Enabled: 1 213 | --- !u!20 &534669904 214 | Camera: 215 | m_ObjectHideFlags: 0 216 | m_CorrespondingSourceObject: {fileID: 0} 217 | m_PrefabInstance: {fileID: 0} 218 | m_PrefabAsset: {fileID: 0} 219 | m_GameObject: {fileID: 534669902} 220 | m_Enabled: 1 221 | serializedVersion: 2 222 | m_ClearFlags: 1 223 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 224 | m_projectionMatrixMode: 1 225 | m_SensorSize: {x: 36, y: 24} 226 | m_LensShift: {x: 0, y: 0} 227 | m_GateFitMode: 2 228 | m_FocalLength: 50 229 | m_NormalizedViewPortRect: 230 | serializedVersion: 2 231 | x: 0 232 | y: 0 233 | width: 1 234 | height: 1 235 | near clip plane: 0.3 236 | far clip plane: 1000 237 | field of view: 60 238 | orthographic: 0 239 | orthographic size: 5 240 | m_Depth: -1 241 | m_CullingMask: 242 | serializedVersion: 2 243 | m_Bits: 4294967295 244 | m_RenderingPath: -1 245 | m_TargetTexture: {fileID: 0} 246 | m_TargetDisplay: 0 247 | m_TargetEye: 3 248 | m_HDR: 1 249 | m_AllowMSAA: 1 250 | m_AllowDynamicResolution: 0 251 | m_ForceIntoRT: 1 252 | m_OcclusionCulling: 1 253 | m_StereoConvergence: 10 254 | m_StereoSeparation: 0.022 255 | --- !u!4 &534669905 256 | Transform: 257 | m_ObjectHideFlags: 0 258 | m_CorrespondingSourceObject: {fileID: 0} 259 | m_PrefabInstance: {fileID: 0} 260 | m_PrefabAsset: {fileID: 0} 261 | m_GameObject: {fileID: 534669902} 262 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 263 | m_LocalPosition: {x: 0, y: 1, z: -10} 264 | m_LocalScale: {x: 1, y: 1, z: 1} 265 | m_Children: [] 266 | m_Father: {fileID: 0} 267 | m_RootOrder: 0 268 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 269 | --- !u!114 &534669906 270 | MonoBehaviour: 271 | m_ObjectHideFlags: 0 272 | m_CorrespondingSourceObject: {fileID: 0} 273 | m_PrefabInstance: {fileID: 0} 274 | m_PrefabAsset: {fileID: 0} 275 | m_GameObject: {fileID: 534669902} 276 | m_Enabled: 1 277 | m_EditorHideFlags: 0 278 | m_Script: {fileID: 11500000, guid: 3e24ef00b2c654bb98b41804c985fe55, type: 3} 279 | m_Name: 280 | m_EditorClassIdentifier: 281 | material: {fileID: 2100000, guid: 25435d20b534145198b6504ed75ea06f, type: 2} 282 | --- !u!114 &534669907 283 | MonoBehaviour: 284 | m_ObjectHideFlags: 0 285 | m_CorrespondingSourceObject: {fileID: 0} 286 | m_PrefabInstance: {fileID: 0} 287 | m_PrefabAsset: {fileID: 0} 288 | m_GameObject: {fileID: 534669902} 289 | m_Enabled: 1 290 | m_EditorHideFlags: 0 291 | m_Script: {fileID: 11500000, guid: 1742a5216af1a441d9b5e8b6f3de6c96, type: 3} 292 | m_Name: 293 | m_EditorClassIdentifier: 294 | material: {fileID: 2100000, guid: b94234e7349dc4e5bbd5575b9377d263, type: 2} 295 | speed: 1 296 | --- !u!114 &534669908 297 | MonoBehaviour: 298 | m_ObjectHideFlags: 0 299 | m_CorrespondingSourceObject: {fileID: 0} 300 | m_PrefabInstance: {fileID: 0} 301 | m_PrefabAsset: {fileID: 0} 302 | m_GameObject: {fileID: 534669902} 303 | m_Enabled: 1 304 | m_EditorHideFlags: 0 305 | m_Script: {fileID: 11500000, guid: 621596ad687ad4eca991108f26e9673a, type: 3} 306 | m_Name: 307 | m_EditorClassIdentifier: 308 | cycleInterval: 2 309 | materials: 310 | - {fileID: 2100000, guid: 25435d20b534145198b6504ed75ea06f, type: 2} 311 | - {fileID: 2100000, guid: b94234e7349dc4e5bbd5575b9377d263, type: 2} 312 | - {fileID: 2100000, guid: 4dd0daa9715c0ba4bb16018308ce9000, type: 2} 313 | - {fileID: 2100000, guid: b41ba31a89ccb4d8fa96e9ec09253174, type: 2} 314 | - {fileID: 2100000, guid: e43b144c336254275838ae41faea7954, type: 2} 315 | - {fileID: 2100000, guid: a3ada1b7a85244e51b2f69766a8cd669, type: 2} 316 | - {fileID: 2100000, guid: 1c6e4499c090e434cbdd22314f4daf82, type: 2} 317 | - {fileID: 2100000, guid: d61a9fb14d8ab492e98445f0729db5ca, type: 2} 318 | - {fileID: 2100000, guid: 8aa06232ec54c4303a216328e6938a97, type: 2} 319 | - {fileID: 2100000, guid: ab546805727fd4c04b014d0575d440dc, type: 2} 320 | - {fileID: 2100000, guid: a0b5d09605efa4932a029f45121f9706, type: 2} 321 | --- !u!1 &1140052746 322 | GameObject: 323 | m_ObjectHideFlags: 0 324 | m_CorrespondingSourceObject: {fileID: 0} 325 | m_PrefabInstance: {fileID: 0} 326 | m_PrefabAsset: {fileID: 0} 327 | serializedVersion: 6 328 | m_Component: 329 | - component: {fileID: 1140052750} 330 | - component: {fileID: 1140052749} 331 | - component: {fileID: 1140052748} 332 | - component: {fileID: 1140052747} 333 | m_Layer: 0 334 | m_Name: Cube 335 | m_TagString: Untagged 336 | m_Icon: {fileID: 0} 337 | m_NavMeshLayer: 0 338 | m_StaticEditorFlags: 0 339 | m_IsActive: 1 340 | --- !u!65 &1140052747 341 | BoxCollider: 342 | m_ObjectHideFlags: 0 343 | m_CorrespondingSourceObject: {fileID: 0} 344 | m_PrefabInstance: {fileID: 0} 345 | m_PrefabAsset: {fileID: 0} 346 | m_GameObject: {fileID: 1140052746} 347 | m_Material: {fileID: 0} 348 | m_IsTrigger: 0 349 | m_Enabled: 1 350 | serializedVersion: 2 351 | m_Size: {x: 1, y: 1, z: 1} 352 | m_Center: {x: 0, y: 0, z: 0} 353 | --- !u!23 &1140052748 354 | MeshRenderer: 355 | m_ObjectHideFlags: 0 356 | m_CorrespondingSourceObject: {fileID: 0} 357 | m_PrefabInstance: {fileID: 0} 358 | m_PrefabAsset: {fileID: 0} 359 | m_GameObject: {fileID: 1140052746} 360 | m_Enabled: 1 361 | m_CastShadows: 1 362 | m_ReceiveShadows: 1 363 | m_DynamicOccludee: 1 364 | m_MotionVectors: 1 365 | m_LightProbeUsage: 1 366 | m_ReflectionProbeUsage: 1 367 | m_RenderingLayerMask: 1 368 | m_RendererPriority: 0 369 | m_Materials: 370 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 371 | m_StaticBatchInfo: 372 | firstSubMesh: 0 373 | subMeshCount: 0 374 | m_StaticBatchRoot: {fileID: 0} 375 | m_ProbeAnchor: {fileID: 0} 376 | m_LightProbeVolumeOverride: {fileID: 0} 377 | m_ScaleInLightmap: 1 378 | m_PreserveUVs: 0 379 | m_IgnoreNormalsForChartDetection: 0 380 | m_ImportantGI: 0 381 | m_StitchLightmapSeams: 0 382 | m_SelectedEditorRenderState: 3 383 | m_MinimumChartSize: 4 384 | m_AutoUVMaxDistance: 0.5 385 | m_AutoUVMaxAngle: 89 386 | m_LightmapParameters: {fileID: 0} 387 | m_SortingLayerID: 0 388 | m_SortingLayer: 0 389 | m_SortingOrder: 0 390 | --- !u!33 &1140052749 391 | MeshFilter: 392 | m_ObjectHideFlags: 0 393 | m_CorrespondingSourceObject: {fileID: 0} 394 | m_PrefabInstance: {fileID: 0} 395 | m_PrefabAsset: {fileID: 0} 396 | m_GameObject: {fileID: 1140052746} 397 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 398 | --- !u!4 &1140052750 399 | Transform: 400 | m_ObjectHideFlags: 0 401 | m_CorrespondingSourceObject: {fileID: 0} 402 | m_PrefabInstance: {fileID: 0} 403 | m_PrefabAsset: {fileID: 0} 404 | m_GameObject: {fileID: 1140052746} 405 | m_LocalRotation: {x: 0.04004227, y: -0.39548567, z: 0.33010873, w: 0.8561635} 406 | m_LocalPosition: {x: 0, y: 0, z: 0} 407 | m_LocalScale: {x: 1.9977, y: 1.9977, z: 1.9977} 408 | m_Children: [] 409 | m_Father: {fileID: 0} 410 | m_RootOrder: 3 411 | m_LocalEulerAnglesHint: {x: 19.249, y: -43.575, z: 34.415} 412 | --- !u!1 &1235551315 413 | GameObject: 414 | m_ObjectHideFlags: 0 415 | m_CorrespondingSourceObject: {fileID: 0} 416 | m_PrefabInstance: {fileID: 0} 417 | m_PrefabAsset: {fileID: 0} 418 | serializedVersion: 6 419 | m_Component: 420 | - component: {fileID: 1235551317} 421 | - component: {fileID: 1235551316} 422 | m_Layer: 0 423 | m_Name: Second Camera 424 | m_TagString: Untagged 425 | m_Icon: {fileID: 0} 426 | m_NavMeshLayer: 0 427 | m_StaticEditorFlags: 0 428 | m_IsActive: 1 429 | --- !u!20 &1235551316 430 | Camera: 431 | m_ObjectHideFlags: 0 432 | m_CorrespondingSourceObject: {fileID: 0} 433 | m_PrefabInstance: {fileID: 0} 434 | m_PrefabAsset: {fileID: 0} 435 | m_GameObject: {fileID: 1235551315} 436 | m_Enabled: 1 437 | serializedVersion: 2 438 | m_ClearFlags: 2 439 | m_BackGroundColor: {r: 0.735849, g: 0.21173012, b: 0.21173012, a: 0} 440 | m_projectionMatrixMode: 1 441 | m_SensorSize: {x: 36, y: 24} 442 | m_LensShift: {x: 0, y: 0} 443 | m_GateFitMode: 2 444 | m_FocalLength: 50 445 | m_NormalizedViewPortRect: 446 | serializedVersion: 2 447 | x: 0 448 | y: 0 449 | width: 1 450 | height: 1 451 | near clip plane: 0.3 452 | far clip plane: 1000 453 | field of view: 60 454 | orthographic: 0 455 | orthographic size: 5 456 | m_Depth: 0 457 | m_CullingMask: 458 | serializedVersion: 2 459 | m_Bits: 4294967295 460 | m_RenderingPath: -1 461 | m_TargetTexture: {fileID: 8400000, guid: b4cbb265595964cf5905ef434583d399, type: 2} 462 | m_TargetDisplay: 0 463 | m_TargetEye: 3 464 | m_HDR: 1 465 | m_AllowMSAA: 1 466 | m_AllowDynamicResolution: 0 467 | m_ForceIntoRT: 0 468 | m_OcclusionCulling: 1 469 | m_StereoConvergence: 10 470 | m_StereoSeparation: 0.022 471 | --- !u!4 &1235551317 472 | Transform: 473 | m_ObjectHideFlags: 0 474 | m_CorrespondingSourceObject: {fileID: 0} 475 | m_PrefabInstance: {fileID: 0} 476 | m_PrefabAsset: {fileID: 0} 477 | m_GameObject: {fileID: 1235551315} 478 | m_LocalRotation: {x: 0.33686924, y: -0, z: -0, w: 0.94155145} 479 | m_LocalPosition: {x: 0.4, y: 8.5, z: -7.5} 480 | m_LocalScale: {x: 1, y: 1, z: 1} 481 | m_Children: [] 482 | m_Father: {fileID: 0} 483 | m_RootOrder: 1 484 | m_LocalEulerAnglesHint: {x: 39.372, y: 0, z: 0} 485 | -------------------------------------------------------------------------------- /Assets/Sample/Scenes/SampleSceneLegacyNoPostprocessingStack.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08d0da28e9d2c453fa9a2fc279442cf3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b657e5b854de44fbabfa9ac152fb8306 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/CameraImageEffect.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace ImageEffectGraph.Demo 4 | { 5 | [ExecuteInEditMode] 6 | [RequireComponent(typeof(Camera))] 7 | public class CameraImageEffect : MonoBehaviour 8 | { 9 | private void OnEnable() 10 | { 11 | //If this component is active, we are probably not running post processing stack. 12 | //TODO: Does this work? 13 | Shader.DisableKeyword("UNITY_POST_PROCESSING_STACK_V2"); 14 | } 15 | 16 | public Material material; 17 | 18 | void OnRenderImage(RenderTexture src, RenderTexture dest) 19 | { 20 | if (material == null) 21 | { 22 | Graphics.Blit(src, dest); 23 | return; 24 | } 25 | Graphics.Blit(src, dest, material); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/CameraImageEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e24ef00b2c654bb98b41804c985fe55 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/CycleThroughEffects.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using ImageEffectGraph.PostProcessing; 4 | using UnityEngine; 5 | using UnityEngine.Rendering.PostProcessing; 6 | 7 | namespace ImageEffectGraph.Demo 8 | { 9 | public class CycleThroughEffects : MonoBehaviour 10 | { 11 | public float cycleInterval = 1f; 12 | public Material[] materials; 13 | 14 | private RenderWithMaterial settings; 15 | private CameraImageEffect cameraImageEffect; 16 | private int effectIndex = -1; 17 | 18 | private TransitionController transitionController; 19 | private GUIStyle styleLabel; 20 | private GUIStyle styleButton; 21 | 22 | void Start() 23 | { 24 | var volume = GetComponent(); 25 | if(volume != null) 26 | { 27 | if (!volume.profile.HasSettings()) 28 | { 29 | Debug.LogWarning("RenderWithMaterial effect not found"); 30 | Destroy(this); 31 | return; 32 | } 33 | settings = volume.profile.GetSetting(); 34 | } 35 | 36 | cameraImageEffect = GetComponent(); 37 | transitionController = GetComponent(); 38 | 39 | InvokeRepeating("SetNextEffect", 0, cycleInterval); 40 | } 41 | 42 | public void SetNextEffect() 43 | { 44 | StepToEffect(1); 45 | } 46 | 47 | public void SetPreviousEffect() 48 | { 49 | StepToEffect(-1); 50 | } 51 | 52 | private void StepToEffect(int step) 53 | { 54 | effectIndex = (effectIndex + materials.Length + step) % materials.Length; 55 | 56 | if (settings != null) 57 | { 58 | settings.material.value = materials[effectIndex]; 59 | } 60 | else 61 | { 62 | cameraImageEffect.material = materials[effectIndex]; 63 | } 64 | 65 | if (materials[effectIndex] == transitionController.material) 66 | { 67 | transitionController.StartTransition(); 68 | } 69 | } 70 | 71 | private void OnGUI() 72 | { 73 | //This is not good, but whatever. 74 | if (styleLabel == null || styleButton == null) 75 | { 76 | styleLabel = new GUIStyle(GUI.skin.box) {fontSize = 28}; 77 | styleButton = new GUIStyle(GUI.skin.button) {fontSize = 28}; 78 | } 79 | 80 | GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height)); 81 | GUILayout.BeginHorizontal(); 82 | 83 | if (GUILayout.Button("Previous effect", styleButton)) 84 | { 85 | //Stop auto cycle if clicked on next 86 | CancelInvoke(); 87 | SetPreviousEffect(); 88 | } 89 | 90 | GUILayout.FlexibleSpace(); 91 | 92 | if (effectIndex != -1) 93 | { 94 | GUILayout.Label(materials[effectIndex].name, styleLabel); 95 | GUILayout.FlexibleSpace(); 96 | } 97 | 98 | if (GUILayout.Button("Next effect", styleButton)) 99 | { 100 | //Stop auto cycle if clicked on next 101 | CancelInvoke(); 102 | SetNextEffect(); 103 | } 104 | 105 | GUILayout.EndHorizontal(); 106 | GUILayout.EndArea(); 107 | } 108 | } 109 | } -------------------------------------------------------------------------------- /Assets/Sample/Scripts/CycleThroughEffects.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 621596ad687ad4eca991108f26e9673a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/MyOtherEffect.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using ImageEffectGraph.PostProcessing; 3 | using UnityEngine.Rendering.PostProcessing; 4 | 5 | namespace ImageEffectGraph.Demo 6 | { 7 | [Serializable] 8 | [PostProcess(typeof(RenderWithMaterialRenderer), PostProcessEvent.AfterStack, "Custom/My Other Effect")] 9 | public class MyOtherEffect : RenderWithMaterial 10 | { 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/MyOtherEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be0b374093b6243edbabfab21c5c5f2c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/TransitionController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace ImageEffectGraph.Demo 6 | { 7 | public class TransitionController : MonoBehaviour 8 | { 9 | public Material material; 10 | public float speed = 1f; 11 | 12 | public void StartTransition() 13 | { 14 | StopAllCoroutines(); 15 | var startPosition = material.GetFloat("_Progress"); 16 | var direction = startPosition > 0.5 ? -1f : 1f; 17 | StartCoroutine(TransitionRoutine(startPosition, direction)); 18 | } 19 | 20 | 21 | IEnumerator TransitionRoutine(float startPosition, float direction) 22 | { 23 | while (direction > 0 && !Mathf.Approximately(startPosition, 1) || 24 | direction < 0 && !Mathf.Approximately(startPosition, 0)) 25 | { 26 | startPosition = Mathf.Clamp01(startPosition + Time.deltaTime * direction * speed); 27 | material.SetFloat("_Progress", startPosition); 28 | yield return null; 29 | } 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/Sample/Scripts/TransitionController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1742a5216af1a441d9b5e8b6f3de6c96 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Brahim Hadriche 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.package-manager-ui": "2.0.13", 4 | "com.unity.postprocessing": "2.3.0", 5 | "com.unity.render-pipelines.core": "4.10.0-preview", 6 | "com.unity.render-pipelines.high-definition": "4.10.0-preview", 7 | "com.unity.render-pipelines.lightweight": "4.10.0-preview", 8 | "com.unity.shadergraph": "4.10.0-preview", 9 | "com.unity.textmeshpro": "1.3.0", 10 | "com.unity.modules.ai": "1.0.0", 11 | "com.unity.modules.animation": "1.0.0", 12 | "com.unity.modules.assetbundle": "1.0.0", 13 | "com.unity.modules.audio": "1.0.0", 14 | "com.unity.modules.cloth": "1.0.0", 15 | "com.unity.modules.director": "1.0.0", 16 | "com.unity.modules.imageconversion": "1.0.0", 17 | "com.unity.modules.imgui": "1.0.0", 18 | "com.unity.modules.jsonserialize": "1.0.0", 19 | "com.unity.modules.particlesystem": "1.0.0", 20 | "com.unity.modules.physics": "1.0.0", 21 | "com.unity.modules.physics2d": "1.0.0", 22 | "com.unity.modules.screencapture": "1.0.0", 23 | "com.unity.modules.terrain": "1.0.0", 24 | "com.unity.modules.terrainphysics": "1.0.0", 25 | "com.unity.modules.tilemap": "1.0.0", 26 | "com.unity.modules.ui": "1.0.0", 27 | "com.unity.modules.uielements": "1.0.0", 28 | "com.unity.modules.umbra": "1.0.0", 29 | "com.unity.modules.unityanalytics": "1.0.0", 30 | "com.unity.modules.unitywebrequest": "1.0.0", 31 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 32 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 33 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 34 | "com.unity.modules.unitywebrequestwww": "1.0.0", 35 | "com.unity.modules.vehicles": "1.0.0", 36 | "com.unity.modules.video": "1.0.0", 37 | "com.unity.modules.vr": "1.0.0", 38 | "com.unity.modules.wind": "1.0.0", 39 | "com.unity.modules.xr": "1.0.0" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Preview/ar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Preview/ar.gif -------------------------------------------------------------------------------- /Preview/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Preview/graph.png -------------------------------------------------------------------------------- /Preview/showcase.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Preview/showcase.gif -------------------------------------------------------------------------------- /Preview/transition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iBicha/ImageEffectGraph/b0407d15eb09ee375bd91e609269b84bbd5b653b/Preview/transition.gif -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 8 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Sample/Scenes/SampleSceneLegacy.unity 10 | guid: 99c9720ab356a0642a771bea13969a05 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInPlayMode: 1 24 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 1 62 | m_LightsUseColorTemperature: 1 63 | -------------------------------------------------------------------------------- /ProjectSettings/HDRPProjectVersion.txt: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Next 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: page down 334 | altNegativeButton: 335 | altPositiveButton: joystick button 5 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Previous 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page up 350 | altNegativeButton: 351 | altPositiveButton: joystick button 4 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Validate 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: return 366 | altNegativeButton: 367 | altPositiveButton: joystick button 0 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Persistent 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: right shift 382 | altNegativeButton: 383 | altPositiveButton: joystick button 2 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Multiplier 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: left shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 3 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Horizontal 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: left 413 | positiveButton: right 414 | altNegativeButton: 415 | altPositiveButton: 416 | gravity: 1000 417 | dead: 0.001 418 | sensitivity: 1000 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Vertical 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: down 429 | positiveButton: up 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 2 454 | axis: 6 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Horizontal 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: left 461 | positiveButton: right 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 5 471 | joyNum: 0 472 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 0 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.4.0f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 4 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 2 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 2 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 2 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 2 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 40 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 1 164 | antiAliasing: 4 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 1 199 | antiAliasing: 4 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Nintendo 3DS: 5 222 | Nintendo Switch: 5 223 | PS4: 5 224 | PSP2: 2 225 | Standalone: 5 226 | Tizen: 2 227 | WebGL: 3 228 | WiiU: 5 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - PostProcessing 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ImageEffectGraph 2 | Image effects for post processing stack created with shader graph for Unity 3 | 4 |

5 |
6 |
7 | ImageEffectGraph running on an AR Foundation app 8 |

9 | 10 | This repo is attempt to extend ShaderGraph to create postprocessing effects compatible with the Postprocessing Stack, using the either the new Scriptable Render Pipeline (HD/Lightweight) or legacy graphics. 11 | 12 | ##### :warning: Unity is working to officially add "Single-pass post-effects support" to the Shader Graph package (so you don't need this repository anymore). If this feature is important to you, check out the card on our Public Roadmap about Single-pass PostFX support, which would be a good place for you to share your thoughts and vote. 13 | ##### :warning: 2019.1 is not supported. Unity made its shadergraph api less accessible, making custom master nodes not possible. See #11 14 | ##### :warning: This repo is extremely experimental, hacky and buggy. For now, it is everything you don't want to use in production. 15 | (In simpler words, things are constantly getting fixes, and there are constant changes to serialization and shader generation, which might not be backward compatible with effects created with a previous version of this tool. This shall change once this repo gets to a stable state) 16 | 17 | ### Getting started 18 | To get started, create a effect graph using the context menu `Assets -> Create -> Shader -> Image Effect Graph`. Create a material, and assign the shader to it. Finally, add the `Render With Material` effect to your postprocessing volume, and assign the material to it. 19 | 20 | Please note that there are a couple of effect examples (Invert colors, camera transitions, TV flicker, etc...) 21 | The demo scenes will cycle through them automatically to showcase the examples. 22 | 23 | ``` 24 | Please note that the example comes with 3 scenes, for legacy, HD pipeline, and lightweight graphics. 25 | Make sure to select an appropriate pipeline asset when trying a scene. 26 | ``` 27 |

28 |
29 |
30 |

31 | 32 | ### Using multiple effects 33 | Please refer to [this](https://github.com/iBicha/ImageEffectGraph/issues/7) 34 | 35 | ### Acknowledgements 36 | ##### Camera transition effect textures 37 | I think the original idea of the camera transition effect was from [here](https://www.youtube.com/watch?v=LnAoD7hgDxw) (the shader is pretty different though, and is created with shader graph) 38 | Nonetheless, the [texture files](Assets/Sample/Assets/Textures) for the transitions were definitely from the package of that tutorial (Thus belongs to their creator, and are not under MIT license - but under CC 4.0 last time I checked). 39 | ##### TV effect 40 | Taken straight from [keijiro/ShaderGraphExamples](https://github.com/keijiro/ShaderGraphExamples/tree/master/Assets/Examples/TV) 41 | ##### Overlay effect texture 42 | Texture from [keijiro/SketchyFx (OTF_Crumpled_Paper_08.jpg)](https://github.com/keijiro/SketchyFx/blob/master/Assets/Textures/OTF_Crumpled_Paper_08.jpg) by Brent Leimenstoll 43 | ##### Regular Hexagon Tiling effect 44 | Translated from [ShaderToy](https://www.shadertoy.com/view/4ldGWB), original shader by [_pwd_](https://www.shadertoy.com/user/_pwd_) 45 | --------------------------------------------------------------------------------