Skip to content

Commit

Permalink
Fix the grip-to-scale bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Rongxuan2024 committed Oct 17, 2022
1 parent 72525b5 commit 3f96da3
Show file tree
Hide file tree
Showing 19 changed files with 296,515 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DressForm_FloorBackground
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _EMISSION _NORMALMAP
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 0.2
- _Cutoff: 0.5
Expand All @@ -82,3 +85,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
- _WorldSpaceFogRange: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DressForm_FloorForeground
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _DETAIL_MULX2 _EMISSION _NORMALMAP
m_ValidKeywords:
- _DETAIL_MULX2
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +62,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 0.2
- _Cutoff: 0.5
Expand All @@ -82,3 +86,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
- _WorldSpaceFogRange: {r: 75, g: 500, b: 0, a: 1}
m_BuildTextureStacks: []
8 changes: 6 additions & 2 deletions Assets/Environments/DressForm/Materials/DressForm_Spikes.mat
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DressForm_Spikes
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _EMISSION _NORMALMAP
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 0.2
- _Cutoff: 0.5
Expand All @@ -82,3 +85,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
- _WorldSpaceFogRange: {r: 75, g: 700, b: 0, a: 1}
m_BuildTextureStacks: []
8 changes: 6 additions & 2 deletions Assets/Environments/Materials/concrete_tinycracks.mat
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: concrete_tinycracks
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _EMISSION _NORMALMAP
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 2
- _Cutoff: 0.5
Expand All @@ -80,3 +83,4 @@ Material:
- _Color: {r: 0.44117647, g: 0.44117647, b: 0.44117647, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19117647, g: 0.19117647, b: 0.19117647, a: 1}
m_BuildTextureStacks: []
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: NightSky_FloorForeground
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _DETAIL_MULX2 _NORMALMAP
m_ValidKeywords:
- _DETAIL_MULX2
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
Expand All @@ -82,3 +85,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
- _WorldSpaceFogRange: {r: 75, g: 500, b: 0, a: 1}
m_BuildTextureStacks: []
10 changes: 7 additions & 3 deletions Assets/Environments/NightSky/Materials/NightSky_Spikes.mat
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: NightSky_Spikes
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
Expand All @@ -82,3 +85,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 0}
- _WorldSpaceFogRange: {r: 75, g: 700, b: 0, a: 1}
m_BuildTextureStacks: []
8 changes: 6 additions & 2 deletions Assets/Environments/NightSky/Materials/NightSky_Stage.mat
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: NightSky_Stage
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _DETAIL_MULX2 _NORMALMAP
m_ValidKeywords:
- _NORMALMAP
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
Expand All @@ -80,3 +83,4 @@ Material:
- _Color: {r: 0.1102941, g: 0.1102941, b: 0.1102941, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Pedestal_FloorForeground
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords: _DETAIL_MULX2 _NORMALMAP
m_ValidKeywords:
- _DETAIL_MULX2
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 0.2
- _Cutoff: 0.5
Expand All @@ -82,3 +85,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
- _WorldSpaceFogRange: {r: 75, g: 500, b: 0, a: 1}
m_BuildTextureStacks: []
10 changes: 7 additions & 3 deletions Assets/Environments/Pedestal/Materials/Pedestal_Spikes.mat
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Pedestal_Spikes
m_Shader: {fileID: 4800000, guid: 85879211e00239541bb63f3b43929f20, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
Expand Down Expand Up @@ -59,6 +61,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
Expand All @@ -82,3 +85,4 @@ Material:
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0, g: 0, b: 0, a: 0}
- _WorldSpaceFogRange: {r: 75, g: 700, b: 0, a: 1}
m_BuildTextureStacks: []
2 changes: 1 addition & 1 deletion Assets/Scripts/Input/UnityXRInput.inputactions
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
"path": "<XRController>{LeftHand}/grip",
"interactions": "",
"processors": "",
"groups": "HTC Vive Controller;Oculus Touch Controller;WMR Controller",
"groups": "HTC Vive Controller;Oculus Touch Controller;WMR Controller;Pico Controller",
"action": "GripAxis",
"isComposite": false,
"isPartOfComposite": false
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Input/UnityXRInputAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ public @UnityXRInputAction()
""path"": ""<XRController>{LeftHand}/grip"",
""interactions"": """",
""processors"": """",
""groups"": ""HTC Vive Controller;Oculus Touch Controller;WMR Controller"",
""groups"": ""HTC Vive Controller;Oculus Touch Controller;WMR Controller;Pico Controller"",
""action"": ""GripAxis"",
""isComposite"": false,
""isPartOfComposite"": false
Expand Down
Binary file added Assets/Textures/Trademarked/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3f96da3

Please sign in to comment.