【unity ebook】9 ways to optimize your game development 【Udemy】Lighting in Unity
- 第一阶段 基本教程
- 第二阶段 交互模块更改
- 移动模块(快速移动 远程传送 视角重置 转身设置 跳跃)
- 菜单 设置按键 装备模式
- 射击模块()瞄准线 自动锁定 交互射击
- 感知增强模块
- 全身显示模组
- 近战攻击模组
- 投掷物模块
- 击碎效果
- 敌方ai模块
- [Bugfix] XR hand no input action
- [Bugfix] Rendering pipeline converter
- XR Rig, XR interaction - default XRI
- XRI - version 2.6.4
- remove 'XRRayInteractor' / 'LineRenderer' / 'XR interactor Line Visual'
- add 'XRDirectInteractor'
- add 'XR grab interactable'
- MonoSingleton
- C# interface
- livecycle - OnDrawGizmos
- World.Space
- PlayerPrefs
- Anchor Presets - ctrl alt
- Light Modes
- Realtime
- Baked
- Mixed
- Lighting Mode - Mixed
- Baked Indirect - 全部光线烘焙,动态物体只受间接光,不投影
- Subtractive - 单光源静态烘焙 + 动态实时(更简化,低端设备推荐)
第一个启用的 Directional Light 为 Main Light。
- Shadowmask - 静态阴影烘焙,动态阴影实时(更真实)
- LightMap resolution/Texel Validity (60)
- Reflection Probe
- Light probe - 存储间接(反射)光照信息,通常布置在光照环境变化较大(色彩,明暗)区域
- Animator.SetTrigger
- PostProcessing
- Add override - bloom, color adjustment
- Emisson, Shape, Renderer
- Shader
- Clipping planes
- Texture optimisation
- Build - max texture size: max 1024
- Maps - reduces texture size(256) if not much complex information
- Base Map
- Metallic Map
- Normal Map
- Occlusion Map
- Enable GPU instancing - render multiple identical objects in a single draw call
- Occulusion Culling - bake