Skip to content

Commit

Permalink
Merge pull request #66 from CesiumGS/magic-leap-sample
Browse files Browse the repository at this point in the history
Add sample for Magic Leap integration
  • Loading branch information
j9liu authored Mar 28, 2024
2 parents 6cdee13 + 225f8ce commit ed1ac08
Show file tree
Hide file tree
Showing 27 changed files with 5,831 additions and 25 deletions.
18 changes: 3 additions & 15 deletions Assets/CesiumForUnitySamples/Materials/CesiumSamplesOneOverlay.mat
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _overlay0Texture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _overlay1Texture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _overlay2Texture:
- _overlayTexture_0:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
Expand Down Expand Up @@ -122,17 +114,13 @@ Material:
- _normalTextureCoordinateIndex: 0
- _occlusionStrength: 0
- _occlusionTextureCoordinateIndex: 0
- _overlay0TextureCoordinateIndex: 0
- _overlay1TextureCoordinateIndex: 0
- _overlay2TextureCoordinateIndex: 0
- _overlayTextureCoordinateIndex_0: 0
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 0}
- _baseColorFactor: {r: 1, g: 1, b: 1, a: 1}
- _emissiveFactor: {r: 0, g: 0, b: 0, a: 0}
- _metallicRoughnessFactor: {r: 0, g: 0, b: 0, a: 0}
- _overlay0TranslationAndScale: {r: 0, g: 0, b: 1, a: 1}
- _overlay1TranslationAndScale: {r: 0, g: 0, b: 1, a: 1}
- _overlay2TranslationAndScale: {r: 0, g: 0, b: 1, a: 1}
- _overlayTranslationAndScale_0: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!114 &3735925112415471796
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "6ddd4c9aa57045799048b6c3512dcb9d",
"m_Id": 0,
"m_DisplayName": "overlay0Texture",
"m_DisplayName": "overlayTexture_0",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
Expand Down Expand Up @@ -1587,10 +1587,10 @@
"m_Guid": {
"m_GuidSerialized": "beff4a7f-447f-4346-86e3-30293bd4cd64"
},
"m_Name": "overlay0Texture",
"m_Name": "overlayTexture_0",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "overlay0Texture",
"m_DefaultReferenceName": "_overlay0Texture",
"m_RefNameGeneratedByDisplayName": "overlayTexture_0",
"m_DefaultReferenceName": "_overlayTexture_0",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
Expand Down Expand Up @@ -1755,10 +1755,10 @@
"m_Guid": {
"m_GuidSerialized": "89712bfa-4317-45a9-a834-00be8d12e0bc"
},
"m_Name": "overlay0TranslationAndScale",
"m_Name": "overlayTranslationAndScale_0",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "overlay0TranslationAndScale",
"m_DefaultReferenceName": "_overlay0TranslationAndScale",
"m_RefNameGeneratedByDisplayName": "overlayTranslationAndScale_0",
"m_DefaultReferenceName": "_overlayTranslationAndScale_0",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
Expand Down Expand Up @@ -2039,7 +2039,7 @@
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "c93430b52d2743f8a47d0da77a62080d",
"m_Id": 0,
"m_DisplayName": "overlay0TranslationAndScale",
"m_DisplayName": "overlayTranslationAndScale_0",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
Expand Down
Loading

0 comments on commit ed1ac08

Please sign in to comment.