提交日志-20240627-1349

1、更改相机初始位置
2、修复了漫游高度改变导致的视角滚转问题
3、优化了高亮的显示效果
This commit is contained in:
AFeiJia 2024-06-27 13:50:59 +08:00
parent e0fd887014
commit e46f02a6bc
6 changed files with 10774 additions and 3758 deletions

View File

@ -124,9 +124,10 @@ Material:
- _DetailNormalMapScale: 1 - _DetailNormalMapScale: 1
- _DstBlend: 0 - _DstBlend: 0
- _EMISSION_WEIGHT: 1 - _EMISSION_WEIGHT: 1
- _ENABLE: 0
- _EnableOutLine: 0 - _EnableOutLine: 0
- _EnvironmentReflections: 1 - _EnvironmentReflections: 1
- _FresnelPower: 5 - _FresnelPower: 1.01
- _GlossMapScale: 1 - _GlossMapScale: 1
- _Glossiness: 0.5 - _Glossiness: 0.5
- _GlossyReflections: 1 - _GlossyReflections: 1
@ -145,6 +146,7 @@ Material:
- _SmoothnessTextureChannel: 0 - _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1 - _SpecularHighlights: 1
- _SrcBlend: 1 - _SrcBlend: 1
- _Strength: 0
- _Surface: 0 - _Surface: 0
- _TRANSPARENCY: 0 - _TRANSPARENCY: 0
- _UVSec: 0 - _UVSec: 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -75,8 +75,10 @@ public class CameraRoamManager : Singleton<CameraRoamManager>
{ {
if (isRoaming) if (isRoaming)
{ {
m_Position = transform.position; m_Position = TargetCamera.position;
m_Rotation = transform.rotation; m_Rotation = TargetCamera.rotation;
TargetCamera.rotation = Quaternion.Euler(m_Rotation.eulerAngles.x, m_Rotation.eulerAngles.y, 0);
} }
} }
@ -117,6 +119,7 @@ public class CameraRoamManager : Singleton<CameraRoamManager>
/// <param name="_roming_finish_callback"></param> /// <param name="_roming_finish_callback"></param>
public void AutoRoaming(bool _roaming, bool _looping = false, bool _roam_continue = true, Action _roming_finish_callback = null) public void AutoRoaming(bool _roaming, bool _looping = false, bool _roam_continue = true, Action _roming_finish_callback = null)
{ {
isRoaming = _roaming;
if (_roaming) if (_roaming)
{ {
CameraMove.Instance.ShieldingOperation = true; CameraMove.Instance.ShieldingOperation = true;

View File

@ -52,10 +52,12 @@ Material:
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
m_Ints: [] m_Ints: []
m_Floats: m_Floats:
- _ENABLE: 0
- _EnableOutLine: 0 - _EnableOutLine: 0
- _FresnelPower: 2 - _FresnelPower: 2
- _QueueControl: 0 - _QueueControl: 0
- _QueueOffset: 0 - _QueueOffset: 0
- _Strength: 0
m_Colors: m_Colors:
- _Color: {r: 0, g: 4, b: 0.4705882, a: 1} - _Color: {r: 0, g: 4, b: 0.4705882, a: 1}
m_BuildTextureStacks: [] m_BuildTextureStacks: []