parent
d871623d69
commit
3e07a0220b
7 changed files with 1388 additions and 14 deletions
@ -0,0 +1,83 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!21 &2100000 |
||||
Material: |
||||
serializedVersion: 8 |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInstance: {fileID: 0} |
||||
m_PrefabAsset: {fileID: 0} |
||||
m_Name: New Material |
||||
m_Shader: {fileID: 4800000, guid: e725077edca1a344e8712b48ab06ca6f, type: 3} |
||||
m_Parent: {fileID: 0} |
||||
m_ModifiedSerializedProperties: 0 |
||||
m_ValidKeywords: [] |
||||
m_InvalidKeywords: [] |
||||
m_LightmapFlags: 4 |
||||
m_EnableInstancingVariants: 0 |
||||
m_DoubleSidedGI: 0 |
||||
m_CustomRenderQueue: -1 |
||||
stringTagMap: {} |
||||
disabledShaderPasses: [] |
||||
m_LockedProperties: |
||||
m_SavedProperties: |
||||
serializedVersion: 3 |
||||
m_TexEnvs: |
||||
- _BumpMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _DetailAlbedoMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _DetailMask: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _DetailNormalMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _EmissionMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _MainTex: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _MetallicGlossMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _OcclusionMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
- _ParallaxMap: |
||||
m_Texture: {fileID: 0} |
||||
m_Scale: {x: 1, y: 1} |
||||
m_Offset: {x: 0, y: 0} |
||||
m_Ints: [] |
||||
m_Floats: |
||||
- _BumpScale: 1 |
||||
- _Cutoff: 0.5 |
||||
- _DetailNormalMapScale: 1 |
||||
- _DstBlend: 0 |
||||
- _GlossMapScale: 1 |
||||
- _Glossiness: 0.5 |
||||
- _GlossyReflections: 1 |
||||
- _Metallic: 0 |
||||
- _Mode: 0 |
||||
- _OcclusionStrength: 1 |
||||
- _Parallax: 0.02 |
||||
- _SmoothnessTextureChannel: 0 |
||||
- _SpecularHighlights: 1 |
||||
- _SrcBlend: 1 |
||||
- _UVSec: 0 |
||||
- _ZWrite: 1 |
||||
m_Colors: |
||||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
||||
m_BuildTextureStacks: [] |
||||
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 115ec6e5c38076447ad803c5bef69618 |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 2100000 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,105 @@ |
||||
Shader "Unlit/NewUnlitShader" |
||||
{ |
||||
Properties |
||||
{ |
||||
_MainTex ("Texture", 2D) = "white" {} |
||||
} |
||||
SubShader |
||||
{ |
||||
Tags { "RenderType"="Opaque" } |
||||
LOD 100 |
||||
|
||||
Pass |
||||
{ |
||||
CGPROGRAM |
||||
#pragma vertex vert |
||||
#pragma fragment frag |
||||
// make fog work |
||||
#pragma multi_compile_fog |
||||
|
||||
#include "UnityCG.cginc" |
||||
|
||||
struct appdata |
||||
{ |
||||
float4 vertex : POSITION; |
||||
float2 uv : TEXCOORD0; |
||||
}; |
||||
|
||||
struct v2f |
||||
{ |
||||
float2 uv : TEXCOORD0; |
||||
UNITY_FOG_COORDS(1) |
||||
float4 vertex : SV_POSITION; |
||||
}; |
||||
|
||||
sampler2D _MainTex; |
||||
float4 _MainTex_ST; |
||||
|
||||
v2f vert (appdata v) |
||||
{ |
||||
v2f o; |
||||
o.vertex = UnityObjectToClipPos(v.vertex); |
||||
o.uv = TRANSFORM_TEX(v.uv, _MainTex); |
||||
UNITY_TRANSFER_FOG(o,o.vertex); |
||||
return o; |
||||
} |
||||
|
||||
fixed4 blur(float2 uv, sampler2D tex, float blurAmount, int iterations) |
||||
{ |
||||
fixed4 color = tex2D(tex, uv); |
||||
fixed2 offsets[4] = { float2(-blurAmount, 0), float2(blurAmount, 0), float2(0, -blurAmount), float2(0, blurAmount) }; |
||||
for (int iter = 0; iter < iterations; iter++) |
||||
{ |
||||
for (int i = 0; i < 4; i++) |
||||
{ |
||||
color += tex2D(tex, uv + offsets[i] * (iter + 1)); |
||||
} |
||||
} |
||||
return color / (1.0 + 4.0 * iterations); |
||||
} |
||||
|
||||
fixed luminance(fixed4 color) { |
||||
return 0.2125 * color.r + 0.7154 * color.g + 0.0721 * color.b; |
||||
} |
||||
fixed4 bloom(fixed4 col, float threshold, float intensity) |
||||
{ |
||||
// fixed4 col = tex2D(tex, uv); |
||||
fixed lum = luminance(col); |
||||
fixed val = clamp(lum - threshold, 0.0, 1.0); |
||||
|
||||
return col * (val * intensity); // Apply bloom effect by multiplying color with intensity |
||||
// } |
||||
} |
||||
|
||||
float2 fisheyeWarp(float2 uv, float strength) |
||||
{ |
||||
float2 center = float2(0.5, 0.5); |
||||
float2 delta = uv - center; |
||||
float dist = length(delta); |
||||
float theta = atan2(delta.y, delta.x); |
||||
float warpedDist = pow(dist, strength); |
||||
float2 warpedDelta = float2(cos(theta), sin(theta)) * warpedDist; |
||||
return center + warpedDelta; |
||||
} |
||||
|
||||
|
||||
fixed4 frag (v2f i) : SV_Target |
||||
{ |
||||
// sample the texture |
||||
v2f o; |
||||
o.uv = fisheyeWarp(i.uv, 1.1); // Apply fisheye warp effect |
||||
|
||||
|
||||
fixed4 col_raw = tex2D(_MainTex, o.uv); |
||||
fixed4 col_blur = blur(o.uv, _MainTex, 0.01, 2); // Apply blur with a small amount |
||||
fixed4 col_bloom = bloom(col_blur, 0.25, 5.0); // Apply bloom with threshold and intensity |
||||
fixed4 col = col_raw+col_blur * col_bloom; // Combine raw color with blurred and bloom effects |
||||
|
||||
// apply fog |
||||
UNITY_APPLY_FOG(i.fogCoord, col); |
||||
return col; |
||||
} |
||||
ENDCG |
||||
} |
||||
} |
||||
} |
||||
@ -0,0 +1,9 @@ |
||||
fileFormatVersion: 2 |
||||
guid: e725077edca1a344e8712b48ab06ca6f |
||||
ShaderImporter: |
||||
externalObjects: {} |
||||
defaultTextures: [] |
||||
nonModifiableTextures: [] |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
@ -0,0 +1,975 @@ |
||||
{ |
||||
"m_SGVersion": 3, |
||||
"m_Type": "UnityEditor.ShaderGraph.GraphData", |
||||
"m_ObjectId": "472b4be5d3fc416f9b063eaf6389d058", |
||||
"m_Properties": [ |
||||
{ |
||||
"m_Id": "103470a8242d471bab773c8f9e042a07" |
||||
} |
||||
], |
||||
"m_Keywords": [], |
||||
"m_Dropdowns": [], |
||||
"m_CategoryData": [ |
||||
{ |
||||
"m_Id": "597181667bbf46a08a1df9124aec5f44" |
||||
} |
||||
], |
||||
"m_Nodes": [ |
||||
{ |
||||
"m_Id": "e9b3119f7dbd4af8823a8e453162d249" |
||||
}, |
||||
{ |
||||
"m_Id": "f5093052ca3b4a739eab4c2cd35a985b" |
||||
}, |
||||
{ |
||||
"m_Id": "98e23922be894d398a8b1632a029eb9e" |
||||
}, |
||||
{ |
||||
"m_Id": "2d58610621e24a32aa46d41e28aaa93f" |
||||
}, |
||||
{ |
||||
"m_Id": "cf73feb3736f42e0a0dfd999ad84aed9" |
||||
}, |
||||
{ |
||||
"m_Id": "9722af12d15f478f8d799e38d288ea64" |
||||
}, |
||||
{ |
||||
"m_Id": "795761e1599241c4acbc5ac83544b96f" |
||||
}, |
||||
{ |
||||
"m_Id": "7c96d59b46c44d609cdfe06151757f61" |
||||
}, |
||||
{ |
||||
"m_Id": "d8e6b05bef42420781044c8f2345e8b8" |
||||
} |
||||
], |
||||
"m_GroupDatas": [], |
||||
"m_StickyNoteDatas": [], |
||||
"m_Edges": [ |
||||
{ |
||||
"m_OutputSlot": { |
||||
"m_Node": { |
||||
"m_Id": "9722af12d15f478f8d799e38d288ea64" |
||||
}, |
||||
"m_SlotId": 0 |
||||
}, |
||||
"m_InputSlot": { |
||||
"m_Node": { |
||||
"m_Id": "2d58610621e24a32aa46d41e28aaa93f" |
||||
}, |
||||
"m_SlotId": 0 |
||||
} |
||||
}, |
||||
{ |
||||
"m_OutputSlot": { |
||||
"m_Node": { |
||||
"m_Id": "cf73feb3736f42e0a0dfd999ad84aed9" |
||||
}, |
||||
"m_SlotId": 0 |
||||
}, |
||||
"m_InputSlot": { |
||||
"m_Node": { |
||||
"m_Id": "9722af12d15f478f8d799e38d288ea64" |
||||
}, |
||||
"m_SlotId": 1 |
||||
} |
||||
}, |
||||
{ |
||||
"m_OutputSlot": { |
||||
"m_Node": { |
||||
"m_Id": "d8e6b05bef42420781044c8f2345e8b8" |
||||
}, |
||||
"m_SlotId": 0 |
||||
}, |
||||
"m_InputSlot": { |
||||
"m_Node": { |
||||
"m_Id": "9722af12d15f478f8d799e38d288ea64" |
||||
}, |
||||
"m_SlotId": 2 |
||||
} |
||||
} |
||||
], |
||||
"m_VertexContext": { |
||||
"m_Position": { |
||||
"x": -465.0, |
||||
"y": -258.0 |
||||
}, |
||||
"m_Blocks": [ |
||||
{ |
||||
"m_Id": "e9b3119f7dbd4af8823a8e453162d249" |
||||
}, |
||||
{ |
||||
"m_Id": "f5093052ca3b4a739eab4c2cd35a985b" |
||||
}, |
||||
{ |
||||
"m_Id": "98e23922be894d398a8b1632a029eb9e" |
||||
} |
||||
] |
||||
}, |
||||
"m_FragmentContext": { |
||||
"m_Position": { |
||||
"x": 336.00006103515627, |
||||
"y": 304.79998779296877 |
||||
}, |
||||
"m_Blocks": [ |
||||
{ |
||||
"m_Id": "2d58610621e24a32aa46d41e28aaa93f" |
||||
} |
||||
] |
||||
}, |
||||
"m_PreviewData": { |
||||
"serializedMesh": { |
||||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", |
||||
"m_Guid": "" |
||||
}, |
||||
"preventRotation": false |
||||
}, |
||||
"m_Path": "Shader Graphs", |
||||
"m_GraphPrecision": 1, |
||||
"m_PreviewMode": 2, |
||||
"m_OutputNode": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_SubDatas": [], |
||||
"m_ActiveTargets": [ |
||||
{ |
||||
"m_Id": "bd817a2150074fbda754cf2bb3d500a7" |
||||
} |
||||
] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", |
||||
"m_ObjectId": "03c0dcaec0cf447d93547222c09d2806", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Tangent", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Tangent", |
||||
"m_StageCapability": 1, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_Labels": [], |
||||
"m_Space": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty", |
||||
"m_ObjectId": "103470a8242d471bab773c8f9e042a07", |
||||
"m_Guid": { |
||||
"m_GuidSerialized": "659d868c-f00a-4641-9248-c60473b9c5ac" |
||||
}, |
||||
"m_Name": "Texture2D", |
||||
"m_DefaultRefNameVersion": 1, |
||||
"m_RefNameGeneratedByDisplayName": "Texture2D", |
||||
"m_DefaultReferenceName": "_Texture2D", |
||||
"m_OverrideReferenceName": "", |
||||
"m_GeneratePropertyBlock": true, |
||||
"m_UseCustomSlotLabel": false, |
||||
"m_CustomSlotLabel": "", |
||||
"m_DismissedVersion": 0, |
||||
"m_Precision": 0, |
||||
"overrideHLSLDeclaration": false, |
||||
"hlslDeclarationOverride": 0, |
||||
"m_Hidden": false, |
||||
"m_Value": { |
||||
"m_SerializedTexture": "{\"texture\":{\"fileID\":8400000,\"guid\":\"03a5ea2ccdc34a645ae9ebab8b7f7a8d\",\"type\":2}}", |
||||
"m_Guid": "" |
||||
}, |
||||
"isMainTexture": false, |
||||
"useTilingAndOffset": false, |
||||
"m_Modifiable": true, |
||||
"m_DefaultType": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "1535a387194647b592d48095836cf999", |
||||
"m_Id": 3, |
||||
"m_DisplayName": "FadeContrast", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "FadeContrast", |
||||
"m_StageCapability": 2, |
||||
"m_Value": 1.0, |
||||
"m_DefaultValue": 1.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget", |
||||
"m_ObjectId": "262a002f701c455f9a819fd3071d4da5" |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "2beffe9c3d844db9bde85a2be035eda3", |
||||
"m_Id": 6, |
||||
"m_DisplayName": "G", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "G", |
||||
"m_StageCapability": 3, |
||||
"m_Value": 0.0, |
||||
"m_DefaultValue": 0.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode", |
||||
"m_ObjectId": "2d58610621e24a32aa46d41e28aaa93f", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "SurfaceDescription.BaseColor", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"width": 0.0, |
||||
"height": 0.0 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "e2236f284b5c4b09a648685a83d9c365" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
}, |
||||
"m_SerializedDescriptor": "SurfaceDescription.BaseColor" |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "2d6be45bd5b94d68b1b4577fc3c55cae", |
||||
"m_Id": 1, |
||||
"m_DisplayName": "NoiseValue", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "NoiseValue", |
||||
"m_StageCapability": 2, |
||||
"m_Value": 0.5, |
||||
"m_DefaultValue": 0.5, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "2ee7fbd94f0b448184709d3559fb08ef", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Fade", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Fade", |
||||
"m_StageCapability": 2, |
||||
"m_Value": 0.0, |
||||
"m_DefaultValue": 0.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot", |
||||
"m_ObjectId": "344c7d60d5414e27a7da3b01d0ddd5c6", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Texture2D", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Out", |
||||
"m_StageCapability": 3, |
||||
"m_BareResource": false |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "4eba627177ea4af4bdf54690f354e771", |
||||
"m_Id": 5, |
||||
"m_DisplayName": "R", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "R", |
||||
"m_StageCapability": 3, |
||||
"m_Value": 0.0, |
||||
"m_DefaultValue": 0.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.CategoryData", |
||||
"m_ObjectId": "597181667bbf46a08a1df9124aec5f44", |
||||
"m_Name": "", |
||||
"m_ChildObjectList": [ |
||||
{ |
||||
"m_Id": "103470a8242d471bab773c8f9e042a07" |
||||
} |
||||
] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", |
||||
"m_ObjectId": "6dab8154d70043e7aa23ebfb1cf295d1", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "In", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "In", |
||||
"m_StageCapability": 3, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", |
||||
"m_ObjectId": "74d3d558695f4afc9fe86837708921fd", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Out", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Out", |
||||
"m_StageCapability": 3, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0, |
||||
"w": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0, |
||||
"w": 0.0 |
||||
}, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", |
||||
"m_ObjectId": "78f812ec846c4ed5bd94baedeed85cd5", |
||||
"m_Id": 2, |
||||
"m_DisplayName": "Out", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Out", |
||||
"m_StageCapability": 3, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.SaturationNode", |
||||
"m_ObjectId": "795761e1599241c4acbc5ac83544b96f", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "Saturation", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": -391.00006103515627, |
||||
"y": 701.0, |
||||
"width": 208.00006103515626, |
||||
"height": 302.0 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "6dab8154d70043e7aa23ebfb1cf295d1" |
||||
}, |
||||
{ |
||||
"m_Id": "90d8a48dfceb4f99a70d67ff33e4658f" |
||||
}, |
||||
{ |
||||
"m_Id": "78f812ec846c4ed5bd94baedeed85cd5" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
} |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.FadeTransitionNode", |
||||
"m_ObjectId": "7c96d59b46c44d609cdfe06151757f61", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "Fade Transition", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": -464.9999694824219, |
||||
"y": 1062.0, |
||||
"width": 208.0, |
||||
"height": 326.0001220703125 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "2ee7fbd94f0b448184709d3559fb08ef" |
||||
}, |
||||
{ |
||||
"m_Id": "2d6be45bd5b94d68b1b4577fc3c55cae" |
||||
}, |
||||
{ |
||||
"m_Id": "ecc7d6c1cbf3415ba7f580fd77f537b7" |
||||
}, |
||||
{ |
||||
"m_Id": "1535a387194647b592d48095836cf999" |
||||
} |
||||
], |
||||
"synonyms": [ |
||||
"fade" |
||||
], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
} |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", |
||||
"m_ObjectId": "7d132b2f08624ac3adcbbc528db5d4d6", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Position", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Position", |
||||
"m_StageCapability": 1, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_Labels": [], |
||||
"m_Space": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", |
||||
"m_ObjectId": "8589718c4ee44324bd80f7c48149edb7", |
||||
"m_Id": 2, |
||||
"m_DisplayName": "UV", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "UV", |
||||
"m_StageCapability": 3, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0 |
||||
}, |
||||
"m_Labels": [], |
||||
"m_Channel": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot", |
||||
"m_ObjectId": "884bfb4a3e2c42a794330bddef900ee0", |
||||
"m_Id": 3, |
||||
"m_DisplayName": "Sampler", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Sampler", |
||||
"m_StageCapability": 3, |
||||
"m_BareResource": false |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "90d8a48dfceb4f99a70d67ff33e4658f", |
||||
"m_Id": 1, |
||||
"m_DisplayName": "Saturation", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Saturation", |
||||
"m_StageCapability": 3, |
||||
"m_Value": 1.0, |
||||
"m_DefaultValue": 1.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.GatherTexture2DNode", |
||||
"m_ObjectId": "9722af12d15f478f8d799e38d288ea64", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "Gather Texture 2D", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": -205.5999755859375, |
||||
"y": 304.79998779296877, |
||||
"width": 208.0, |
||||
"height": 373.60003662109377 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "d775b380c1194f4aac906c4805a237fb" |
||||
}, |
||||
{ |
||||
"m_Id": "4eba627177ea4af4bdf54690f354e771" |
||||
}, |
||||
{ |
||||
"m_Id": "2beffe9c3d844db9bde85a2be035eda3" |
||||
}, |
||||
{ |
||||
"m_Id": "c9dd723135ef4b2ab1b424700a7f5069" |
||||
}, |
||||
{ |
||||
"m_Id": "ea9ffef802e248458fba483f0ce405b1" |
||||
}, |
||||
{ |
||||
"m_Id": "d423ce101593478eab13a4539963740c" |
||||
}, |
||||
{ |
||||
"m_Id": "8589718c4ee44324bd80f7c48149edb7" |
||||
}, |
||||
{ |
||||
"m_Id": "884bfb4a3e2c42a794330bddef900ee0" |
||||
}, |
||||
{ |
||||
"m_Id": "abd7e83fdbfd4ebb84074d269b52ff62" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
} |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode", |
||||
"m_ObjectId": "98e23922be894d398a8b1632a029eb9e", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "VertexDescription.Tangent", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"width": 0.0, |
||||
"height": 0.0 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "03c0dcaec0cf447d93547222c09d2806" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
}, |
||||
"m_SerializedDescriptor": "VertexDescription.Tangent" |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", |
||||
"m_ObjectId": "abd7e83fdbfd4ebb84074d269b52ff62", |
||||
"m_Id": 4, |
||||
"m_DisplayName": "Offset", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Offset", |
||||
"m_StageCapability": 3, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0 |
||||
}, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 2, |
||||
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget", |
||||
"m_ObjectId": "bd817a2150074fbda754cf2bb3d500a7", |
||||
"m_ActiveSubTarget": { |
||||
"m_Id": "262a002f701c455f9a819fd3071d4da5" |
||||
}, |
||||
"m_AllowMaterialOverride": false, |
||||
"m_SurfaceType": 0, |
||||
"m_ZWriteControl": 0, |
||||
"m_ZTestMode": 4, |
||||
"m_AlphaMode": 0, |
||||
"m_RenderFace": 2, |
||||
"m_AlphaClip": false, |
||||
"m_CustomEditorGUI": "" |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", |
||||
"m_ObjectId": "c2d71ceda96442e5baed01fe0c9350eb", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Normal", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Normal", |
||||
"m_StageCapability": 1, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_Labels": [], |
||||
"m_Space": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "c9dd723135ef4b2ab1b424700a7f5069", |
||||
"m_Id": 7, |
||||
"m_DisplayName": "B", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "B", |
||||
"m_StageCapability": 3, |
||||
"m_Value": 0.0, |
||||
"m_DefaultValue": 0.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.PropertyNode", |
||||
"m_ObjectId": "cf73feb3736f42e0a0dfd999ad84aed9", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "Property", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": -533.5999755859375, |
||||
"y": 237.60000610351563, |
||||
"width": 138.39996337890626, |
||||
"height": 33.5999755859375 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "344c7d60d5414e27a7da3b01d0ddd5c6" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
}, |
||||
"m_Property": { |
||||
"m_Id": "103470a8242d471bab773c8f9e042a07" |
||||
} |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot", |
||||
"m_ObjectId": "d423ce101593478eab13a4539963740c", |
||||
"m_Id": 1, |
||||
"m_DisplayName": "Texture", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "Texture", |
||||
"m_StageCapability": 3, |
||||
"m_BareResource": false, |
||||
"m_Texture": { |
||||
"m_SerializedTexture": "", |
||||
"m_Guid": "" |
||||
}, |
||||
"m_DefaultType": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", |
||||
"m_ObjectId": "d775b380c1194f4aac906c4805a237fb", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "RGBA", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "RGBA", |
||||
"m_StageCapability": 3, |
||||
"m_Value": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0, |
||||
"w": 0.0 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0, |
||||
"w": 0.0 |
||||
}, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.UVNode", |
||||
"m_ObjectId": "d8e6b05bef42420781044c8f2345e8b8", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "UV", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": -501.5999755859375, |
||||
"y": 331.1999816894531, |
||||
"width": 145.5999755859375, |
||||
"height": 126.39999389648438 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "74d3d558695f4afc9fe86837708921fd" |
||||
} |
||||
], |
||||
"synonyms": [ |
||||
"texcoords", |
||||
"coords", |
||||
"coordinates" |
||||
], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": false, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
}, |
||||
"m_OutputChannel": 0 |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", |
||||
"m_ObjectId": "e2236f284b5c4b09a648685a83d9c365", |
||||
"m_Id": 0, |
||||
"m_DisplayName": "Base Color", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "BaseColor", |
||||
"m_StageCapability": 2, |
||||
"m_Value": { |
||||
"x": 0.5, |
||||
"y": 0.5, |
||||
"z": 0.5 |
||||
}, |
||||
"m_DefaultValue": { |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"z": 0.0 |
||||
}, |
||||
"m_Labels": [], |
||||
"m_ColorMode": 0, |
||||
"m_DefaultColor": { |
||||
"r": 0.5, |
||||
"g": 0.5, |
||||
"b": 0.5, |
||||
"a": 1.0 |
||||
} |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode", |
||||
"m_ObjectId": "e9b3119f7dbd4af8823a8e453162d249", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "VertexDescription.Position", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"width": 0.0, |
||||
"height": 0.0 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "7d132b2f08624ac3adcbbc528db5d4d6" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
}, |
||||
"m_SerializedDescriptor": "VertexDescription.Position" |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "ea9ffef802e248458fba483f0ce405b1", |
||||
"m_Id": 8, |
||||
"m_DisplayName": "A", |
||||
"m_SlotType": 1, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "A", |
||||
"m_StageCapability": 3, |
||||
"m_Value": 0.0, |
||||
"m_DefaultValue": 0.0, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", |
||||
"m_ObjectId": "ecc7d6c1cbf3415ba7f580fd77f537b7", |
||||
"m_Id": 2, |
||||
"m_DisplayName": "FadeValue", |
||||
"m_SlotType": 0, |
||||
"m_Hidden": false, |
||||
"m_ShaderOutputName": "FadeValue", |
||||
"m_StageCapability": 2, |
||||
"m_Value": 0.5, |
||||
"m_DefaultValue": 0.5, |
||||
"m_Labels": [] |
||||
} |
||||
|
||||
{ |
||||
"m_SGVersion": 0, |
||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode", |
||||
"m_ObjectId": "f5093052ca3b4a739eab4c2cd35a985b", |
||||
"m_Group": { |
||||
"m_Id": "" |
||||
}, |
||||
"m_Name": "VertexDescription.Normal", |
||||
"m_DrawState": { |
||||
"m_Expanded": true, |
||||
"m_Position": { |
||||
"serializedVersion": "2", |
||||
"x": 0.0, |
||||
"y": 0.0, |
||||
"width": 0.0, |
||||
"height": 0.0 |
||||
} |
||||
}, |
||||
"m_Slots": [ |
||||
{ |
||||
"m_Id": "c2d71ceda96442e5baed01fe0c9350eb" |
||||
} |
||||
], |
||||
"synonyms": [], |
||||
"m_Precision": 0, |
||||
"m_PreviewExpanded": true, |
||||
"m_DismissedVersion": 0, |
||||
"m_PreviewMode": 0, |
||||
"m_CustomColors": { |
||||
"m_SerializableColors": [] |
||||
}, |
||||
"m_SerializedDescriptor": "VertexDescription.Normal" |
||||
} |
||||
|
||||
@ -0,0 +1,10 @@ |
||||
fileFormatVersion: 2 |
||||
guid: f1557197ff75d21428f4ce29ce4f7a72 |
||||
ScriptedImporter: |
||||
internalIDToNameTable: [] |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
||||
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} |
||||
Loading…
Reference in new issue