Skip to content

Commit

Permalink
Link mesh and mouse tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
gleblebedev committed Dec 2, 2023
1 parent 4e97f4b commit 8925c36
Show file tree
Hide file tree
Showing 16 changed files with 458 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Content/Common/Data/Images/Emoji/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Emoji images are under the Apache license, version 2.0.

https://github.com/googlefonts/noto-emoji
Binary file added Content/Common/Data/Images/Emoji/emoji_u1f431.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Content/Common/Data/Images/Emoji/emoji_u1f436.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Content/Common/Data/Images/LICENSE

This file was deleted.

Binary file added Content/Common/Data/Images/TouchCursor512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Content/Common/Data/Images/emoji_u1f446.png
Binary file not shown.
25 changes: 25 additions & 0 deletions Content/Common/Data/Materials/Emoji/emoji_u1f431.material
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/UnlitOpaque.xml" quality="0" loddistance="0.000000" />
<texture slot="Albedo" name="Images/Emoji/emoji_u1f431.png" />
<shader vsdefines="ALPHAMASK " psdefines="ALPHAMASK " />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="NormalScale" value="1.000000" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="DielectricReflectance" value="0.500000" />
<parameter name="Metallic" value="1.000000" />
<parameter name="MatSpecColor" value="0 0 0 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="AlphaCutoff" value="0.500000" />
<parameter name="Roughness" value="1.000000" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0.000000" slopescaled="0.000000" normaloffset="0.000000" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
25 changes: 25 additions & 0 deletions Content/Common/Data/Materials/Emoji/emoji_u1f436.material
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/UnlitOpaque.xml" quality="0" loddistance="0.000000" />
<texture slot="Albedo" name="Images/Emoji/emoji_u1f436.png" />
<shader vsdefines="ALPHAMASK " psdefines="ALPHAMASK " />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="NormalScale" value="1.000000" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="DielectricReflectance" value="0.500000" />
<parameter name="Metallic" value="1.000000" />
<parameter name="MatSpecColor" value="0 0 0 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="AlphaCutoff" value="0.500000" />
<parameter name="Roughness" value="1.000000" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0.000000" slopescaled="0.000000" normaloffset="0.000000" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
23 changes: 23 additions & 0 deletions Content/Common/Data/Materials/White.material
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/UnlitOpaque.xml" quality="0" loddistance="0.000000" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="NormalScale" value="1.000000" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="DielectricReflectance" value="0.500000" />
<parameter name="Metallic" value="1.000000" />
<parameter name="MatSpecColor" value="0 0 0 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="AlphaCutoff" value="0.500000" />
<parameter name="Roughness" value="1.000000" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0.000000" slopescaled="0.000000" normaloffset="0.000000" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
Binary file added Content/Common/Data/Models/Link.mdl
Binary file not shown.
144 changes: 144 additions & 0 deletions Content/Common/Data/Objects/Link.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"components": [
{
"_typeName": "Octree"
}
],
"nodes": [
{
"components": [
{
"_typeName": "AnimatedModel",
"attributes": [
{
"name": "Model",
"type": "ResourceRef",
"value": "Model;Models/Link.mdl"
},
{
"name": "Material",
"type": "ResourceRefList",
"value": "Material;Materials/White.material"
},
{
"name": "Bone Animation Enabled",
"type": "VariantVector",
"value": [
{
"type": "Bool",
"value": true
},
{
"type": "Bool",
"value": true
},
{
"type": "Bool",
"value": true
}
]
}
]
}
],
"nodes": [
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "Root"
}
],
"nodes": [
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "A"
}
]
},
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "B"
}
]
}
]
}
]
},
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "Default Skybox"
}
],
"components": [
{
"_typeName": "Skybox",
"attributes": [
{
"name": "Model",
"type": "ResourceRef",
"value": "Model;Models/Box.mdl"
},
{
"name": "Material",
"type": "ResourceRefList",
"value": "Material;Materials/DefaultSkybox.xml"
}
]
}
]
},
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "Default Zone"
}
],
"components": [
{
"_typeName": "Zone",
"attributes": [
{
"name": "Bounding Box Min",
"type": "Vector3",
"value": "-1000 -1000 -1000"
},
{
"name": "Bounding Box Max",
"type": "Vector3",
"value": "1000 1000 1000"
},
{
"name": "Ambient Color",
"type": "Color",
"value": "0 0 0 1"
},
{
"name": "Background Brightness",
"type": "Float",
"value": 1.0
},
{
"name": "Zone Texture",
"type": "ResourceRef",
"value": "TextureCube;Textures/DefaultSkybox.xml"
}
]
}
]
}
]
}
124 changes: 124 additions & 0 deletions Content/Common/Data/Objects/Tile.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"components": [
{
"_typeName": "Octree"
},
{
"_typeName": "PhysicsWorld"
},
{
"_typeName": "RenderPipeline"
},
{
"_typeName": "ReflectionProbeManager"
}
],
"nodes": [
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "Tile"
}
],
"components": [
{
"_typeName": "StaticModel",
"attributes": [
{
"name": "Model",
"type": "ResourceRef",
"value": "Model;Models/Plane.mdl"
},
{
"name": "Material",
"type": "ResourceRefList",
"value": "Material;Materials/Emoji/emoji_u1f431.material"
}
]
},
{
"_typeName": "CollisionShape",
"attributes": [
{
"name": "Size",
"type": "Vector3",
"value": "1 0.1 1"
}
]
},
{
"_typeName": "RigidBody"
}
]
},
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "Default Skybox"
}
],
"components": [
{
"_typeName": "Skybox",
"attributes": [
{
"name": "Model",
"type": "ResourceRef",
"value": "Model;Models/Box.mdl"
},
{
"name": "Material",
"type": "ResourceRefList",
"value": "Material;Materials/DefaultSkybox.xml"
}
]
}
]
},
{
"attributes": [
{
"name": "Name",
"type": "String",
"value": "Default Zone"
}
],
"components": [
{
"_typeName": "Zone",
"attributes": [
{
"name": "Bounding Box Min",
"type": "Vector3",
"value": "-1000 -1000 -1000"
},
{
"name": "Bounding Box Max",
"type": "Vector3",
"value": "1000 1000 1000"
},
{
"name": "Ambient Color",
"type": "Color",
"value": "0 0 0 1"
},
{
"name": "Background Brightness",
"type": "Float",
"value": 1.0
},
{
"name": "Zone Texture",
"type": "ResourceRef",
"value": "TextureCube;Textures/DefaultSkybox.xml"
}
]
}
]
}
]
}
Loading

0 comments on commit 8925c36

Please sign in to comment.