51 lines
2.3 KiB
Plaintext
Generated
51 lines
2.3 KiB
Plaintext
Generated
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 78b2425a2284af743826c689403a4924, type: 3}
|
|
m_Name: Shadow Mask
|
|
m_EditorClassIdentifier:
|
|
m_functionInfo: "// Made with Amplify Shader Editor v1.9.1\n// Available at the
|
|
Unity Asset Store - http://u3d.as/y3X \n/*ASEBEGIN\nVersion=19100\nNode;AmplifyShaderEditor.FunctionOutput;0;0,0;Inherit;False;True;-1;Output;0;False;1;0;FLOAT4;0,0,0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionInput;3;-470.5,-3.5;Inherit;False;Lightmap
|
|
UV;2;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.CustomExpressionNode;1;-260.5,-0.5;Half;False;#if
|
|
defined(SHADOWS_SHADOWMASK) && defined(LIGHTMAP_ON)$return SAMPLE_SHADOWMASK(
|
|
LightmapUV.xy )@$#elif !defined (LIGHTMAP_ON)$return unity_ProbesOcclusion@$#else$return
|
|
half4( 1, 1, 1, 1 )@$#endif;4;Create;1;True;LightmapUV;FLOAT2;0,0;In;;Inherit;False;Calculate
|
|
Shadow Mask;True;False;0;;False;1;0;FLOAT2;0,0;False;1;FLOAT4;0\nNode;AmplifyShaderEditor.FunctionNode;5;-706.5,-0.5;Inherit;False;Lightmap
|
|
UV;-1;;3;1940f027d0458684eb0ad486f669d7d5;1,1,0;0;1;FLOAT2;0\nWireConnection;0;0;1;0\nWireConnection;3;0;5;0\nWireConnection;1;0;3;0\nASEEND*/\n//CHKSM=DB75C7A5508A9FEAEED52395B06205E2D0B4ECDA"
|
|
m_functionName:
|
|
m_description: Returns Shadow Mask based on input Lightmap UV coordinates. Default
|
|
Lightmap UVs are Static. Applies only to SRP 10 or greater.
|
|
m_additionalIncludes:
|
|
m_additionalIncludes: []
|
|
m_outsideIncludes: []
|
|
m_additionalPragmas:
|
|
m_additionalPragmas: []
|
|
m_outsidePragmas: []
|
|
m_additionalDirectives:
|
|
m_validData: 0
|
|
m_isDirty: 0
|
|
m_moduleName: ' Additional Directives'
|
|
m_independentModule: 1
|
|
m_customEdited: 0
|
|
m_additionalDirectives: []
|
|
m_shaderFunctionDirectives: []
|
|
m_nativeDirectives: []
|
|
m_nativeDirectivesIndex: -1
|
|
m_nativeDirectivesFoldout: 0
|
|
m_directivesSaveItems: []
|
|
m_nodeCategory: 3
|
|
m_headerStyle: 0
|
|
m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
|
|
m_customNodeCategory:
|
|
m_previewPosition: 0
|
|
m_hidden: 0
|
|
m_url:
|