Skip to content

Commit 2609805

Browse files
committed
Add ball component to ball prefab.
1 parent 115d39c commit 2609805

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

Assets/Resources/Materials/ChromeBall.mat

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ Material:
128128
m_Texture: {fileID: 0}
129129
m_Scale: {x: 1, y: 1}
130130
m_Offset: {x: 0, y: 0}
131+
- _TransmissionMaskMap:
132+
m_Texture: {fileID: 0}
133+
m_Scale: {x: 1, y: 1}
134+
m_Offset: {x: 0, y: 0}
131135
- _TransmittanceColorMap:
132136
m_Texture: {fileID: 0}
133137
m_Scale: {x: 1, y: 1}
@@ -157,6 +161,8 @@ Material:
157161
- _AlphaCutoffPrepass: 0.5
158162
- _AlphaCutoffShadow: 0.5
159163
- _AlphaDstBlend: 0
164+
- _AlphaRemapMax: 1
165+
- _AlphaRemapMin: 0
160166
- _AlphaSrcBlend: 1
161167
- _AlphaToMask: 0
162168
- _AlphaToMaskInspectorValue: 0
@@ -222,6 +228,8 @@ Material:
222228
- _MetallicRemapMin: 0
223229
- _NormalMapSpace: 0
224230
- _NormalScale: 1
231+
- _ObjectSpaceUVMapping: 0
232+
- _ObjectSpaceUVMappingEmissive: 0
225233
- _OpaqueCullMode: 2
226234
- _PPDLodThreshold: 5
227235
- _PPDMaxSamples: 15
@@ -245,17 +253,18 @@ Material:
245253
- _StencilRefGBuffer: 10
246254
- _StencilRefMV: 40
247255
- _StencilWriteMask: 6
248-
- _StencilWriteMaskDepth: 8
256+
- _StencilWriteMaskDepth: 9
249257
- _StencilWriteMaskDistortionVec: 4
250-
- _StencilWriteMaskGBuffer: 14
251-
- _StencilWriteMaskMV: 40
258+
- _StencilWriteMaskGBuffer: 15
259+
- _StencilWriteMaskMV: 41
252260
- _SubsurfaceMask: 1
253261
- _SupportDecals: 1
254262
- _SurfaceType: 0
255263
- _TexWorldScale: 1
256264
- _TexWorldScaleEmissive: 1
257265
- _Thickness: 1
258266
- _TransmissionEnable: 1
267+
- _TransmissionMask: 1
259268
- _TransparentBackfaceEnable: 0
260269
- _TransparentCullMode: 2
261270
- _TransparentDepthPostpassEnable: 0

Assets/Resources/Prefabs/Ball.prefab

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ GameObject:
9292
serializedVersion: 6
9393
m_Component:
9494
- component: {fileID: 7359349221216736378}
95+
- component: {fileID: 5334748073631674742}
9596
m_Layer: 0
9697
m_Name: Ball
9798
m_TagString: Untagged
@@ -115,3 +116,17 @@ Transform:
115116
m_Father: {fileID: 0}
116117
m_RootOrder: 0
117118
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
119+
--- !u!114 &5334748073631674742
120+
MonoBehaviour:
121+
m_ObjectHideFlags: 0
122+
m_CorrespondingSourceObject: {fileID: 0}
123+
m_PrefabInstance: {fileID: 0}
124+
m_PrefabAsset: {fileID: 0}
125+
m_GameObject: {fileID: 7581969690477629512}
126+
m_Enabled: 1
127+
m_EditorHideFlags: 0
128+
m_Script: {fileID: 11500000, guid: a04fca20ce2246b9abf456441b587efd, type: 3}
129+
m_Name:
130+
m_EditorClassIdentifier:
131+
Radius: 25
132+
Mass: 1

0 commit comments

Comments
 (0)