Shadow Mask.asset 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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: 78b2425a2284af743826c689403a4924, type: 3}
  13. m_Name: Shadow Mask
  14. m_EditorClassIdentifier:
  15. m_functionInfo: "// Made with Amplify Shader Editor v1.9.1\n// Available at the
  16. 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
  17. UV;2;0;False;1;0;FLOAT2;0,0;False;1;FLOAT2;0\nNode;AmplifyShaderEditor.CustomExpressionNode;1;-260.5,-0.5;Half;False;#if
  18. defined(SHADOWS_SHADOWMASK) && defined(LIGHTMAP_ON)$return SAMPLE_SHADOWMASK(
  19. LightmapUV.xy )@$#elif !defined (LIGHTMAP_ON)$return unity_ProbesOcclusion@$#else$return
  20. half4( 1, 1, 1, 1 )@$#endif;4;Create;1;True;LightmapUV;FLOAT2;0,0;In;;Inherit;False;Calculate
  21. 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
  22. 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"
  23. m_functionName:
  24. m_description: Returns Shadow Mask based on input Lightmap UV coordinates. Default
  25. Lightmap UVs are Static. Applies only to SRP 10 or greater.
  26. m_additionalIncludes:
  27. m_additionalIncludes: []
  28. m_outsideIncludes: []
  29. m_additionalPragmas:
  30. m_additionalPragmas: []
  31. m_outsidePragmas: []
  32. m_additionalDirectives:
  33. m_validData: 0
  34. m_isDirty: 0
  35. m_moduleName: ' Additional Directives'
  36. m_independentModule: 1
  37. m_customEdited: 0
  38. m_additionalDirectives: []
  39. m_shaderFunctionDirectives: []
  40. m_nativeDirectives: []
  41. m_nativeDirectivesIndex: -1
  42. m_nativeDirectivesFoldout: 0
  43. m_directivesSaveItems: []
  44. m_nodeCategory: 3
  45. m_headerStyle: 0
  46. m_headerColor: {r: 1, g: 0.4, b: 0, a: 1}
  47. m_customNodeCategory:
  48. m_previewPosition: 0
  49. m_hidden: 0
  50. m_url: