Author the player X-ray glow color and fade timing
Set _XRayColor (HDR orange, alpha 0 = off by default), pulse speed/strength on Player.mat and xrayFadeDuration on the Player prefab.
This commit is contained in:
1 parent
c54e0cf502
commit
c2d535c661
2 files changed
+10
-2
No files matched your search
@@ -11,9 +11,9 @@ Material:
|
||||
m_Shader: {fileID: 4800000, guid: 7b3dd5720b6152047b45788060d64904, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _FORMSOFTNESSMODE_UNIFORM
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
@@ -104,8 +104,12 @@ Material:
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _HalfLambert: 0.5
|
||||
- _HalfLambertBrightness: 0
|
||||
- _HeightNormalIntensity: 1.4
|
||||
- _HeightNormalStrength: 8
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _OcclusionThreshold: 0.2
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
@@ -118,11 +122,14 @@ Material:
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _XRMotionVectorsPass: 1
|
||||
- _XRayPulseSpeed: 10
|
||||
- _XRayPulseStrength: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _XRayColor: {r: 18.379171, g: 0.18941379, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -480,6 +480,7 @@ MonoBehaviour:
|
||||
sprayDotAlphaMin: 0.25
|
||||
sprayDotAlphaMax: 1
|
||||
maxUndoSteps: 20
|
||||
xrayFadeDuration: 0.15
|
||||
useGpu: 1
|
||||
paintAlbedo: 1
|
||||
paintMetallicSmoothness: 0
|
||||
|
||||
Reference in new issue
Block a user