123 lines
3.6 KiB
Plaintext
123 lines
3.6 KiB
Plaintext
%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: ff771ccdf4150419d9ff4d342b069aae, type: 3}
|
|
m_Name: MaterialsPage3
|
|
m_EditorClassIdentifier:
|
|
Title:
|
|
m_Untranslated: Shader Graphs
|
|
m_Paragraphs:
|
|
m_Items:
|
|
- m_Type: 6
|
|
Title:
|
|
m_Untranslated:
|
|
Text:
|
|
m_Untranslated:
|
|
m_Tutorial: {fileID: 0}
|
|
m_Image: {fileID: 2800000, guid: 528b3e28f97638b428a75f85948943b8, type: 3}
|
|
m_Video: {fileID: 0}
|
|
m_CriteriaCompletion: 0
|
|
m_Criteria:
|
|
m_Items: []
|
|
m_MaskingSettings:
|
|
m_MaskingEnabled: 0
|
|
m_UnmaskedViews: []
|
|
m_Summary:
|
|
m_Description:
|
|
m_InstructionBoxTitle:
|
|
m_InstructionText:
|
|
m_TutorialButtonText:
|
|
- m_Type: 0
|
|
Title:
|
|
m_Untranslated:
|
|
Text:
|
|
m_Untranslated: "With the help of <b>Shader Graph,</b> URP can easily simulate
|
|
more advanced materials with translucency and subsurface scattering, as
|
|
observed, for instance, on vegetation materials.\n\n1. Click a palm tree
|
|
prefab, and select its LOD0, for instance <b>Palm_2_LOD0.</b>\n\n2. In
|
|
the <i>Inspector,</i> expand the <b>PalmAtlas_MAT</b> Material.\n\n3. Uncheck
|
|
the <b>SSS Enabled</b> property. Notice how the light does not travel through
|
|
the leaves anymore. \n\n4. Undo your change.\n\n5. In the header of the
|
|
<b>PalmAtlas_MAT</b> material, click the <i>Edit</i> button to open the
|
|
corresponding <b>Shader Graph.</b>\n\n6. Study how this shader was built.\n\nFor
|
|
instance, the wind effect is created by animating the position of vertices
|
|
in the <b>Vertex</b> shader using a Gradient Noise.\n\nThe subsurface scattering,
|
|
on the other hand, relies on the <b>Emission</b> input in the <b>Fragment</b>
|
|
shader."
|
|
m_Tutorial: {fileID: 0}
|
|
m_Image: {fileID: 0}
|
|
m_Video: {fileID: 0}
|
|
m_CriteriaCompletion: 0
|
|
m_Criteria:
|
|
m_Items: []
|
|
m_MaskingSettings:
|
|
m_MaskingEnabled: 0
|
|
m_UnmaskedViews: []
|
|
m_Summary:
|
|
m_Description:
|
|
m_InstructionBoxTitle:
|
|
m_InstructionText:
|
|
m_TutorialButtonText:
|
|
m_CameraSettings:
|
|
m_CameraMode: 1
|
|
m_FocusMode: 0
|
|
m_Orthographic: 0
|
|
m_Size: 2.2357948
|
|
m_Pivot: {x: 14.4643545, y: 0.22470427, z: -139.0873}
|
|
m_Rotation: {x: 0.024084074, y: 0.9753935, z: 0.13785511, w: -0.1704286}
|
|
m_FrameObject:
|
|
m_SceneGuid:
|
|
m_GameObjectGuid:
|
|
m_SerializedComponentType:
|
|
m_TypeName:
|
|
m_ComponentIndex: 0
|
|
m_AssetObject: {fileID: 0}
|
|
m_Prefab: {fileID: 0}
|
|
m_Enabled: 1
|
|
NextButton:
|
|
m_Untranslated: Next
|
|
DoneButton:
|
|
m_Untranslated: Done
|
|
m_CompletedSound: {fileID: 0}
|
|
m_AutoAdvance: 0
|
|
Showing:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
Shown:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
Staying:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
CriteriaValidated:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
MaskingSettingsChanged:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
NonMaskingSettingsChanged:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
m_OnBeforePageShown:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
m_OnAfterPageShown:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
m_OnTutorialPageStay:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
m_OnBeforeTutorialQuit:
|
|
m_PersistentCalls:
|
|
m_Calls: []
|
|
m_NextButton:
|
|
m_DoneButton:
|