Light Probes 光照探针 Only static objects are considered by Unity’s Baked or Precomputed Realtime GI systems. In order for dynamic objects such as interactive scene elements or characters to pick up some of the rich bounced light that our static geomet…
  Light Types 灯光类型 We have now covered some of the project settings which need to be considered before beginning work on lighting your scenes in Unity. Hopefully at this point you should have your project configured appropriately for your target plat…
Unity 2018.1.2f1 原文链接:https://www.youtube.com/watch?v=VnG2gOKV9dw Unity Lighting练习最终效果 眼睛.光源与物体 光学基础知识 透射.反射.折射.衍射.吸收.散射 直接光照与间接光照 间接光照:光线经过多次反弹后进入眼睛 Unity内置两种Lightmapper: 1. Progressive lightmapper, 是一个无偏差的蒙特卡罗路径跟踪器,仅支持 Baked GI2. Enlighten lightmap…
  Emissive Materials 自发光材质 Whilst Area Lights are not supported by Precomputed Realtime GI, similar soft lighting effects are still possible using ‘Emissive Materials.’ Like Area Lights, emissive materials emit light across their surface area. They c…
LightProbes (光照探针,光探测器?) 提供了一种方法用于捕获和使用 穿过场景中空白空间的 光(light)的信息. 和光照贴图相似(lightmaps),Light Probes也存储关于场景中光照(lighting)的"baked"信息.两者的区别在于:lightmaps存储的是光线照射场景表面(surfaces)的光照信息,而light probes存储的是光线穿过场景空白空间的信息. 注:图形学中提到"bake"或"baked"…
  Reflections 反射 Reflection Source 反射源 By default, objects in a scene are rendered using Unity’s ‘Standard Shader’. The Standard Shader is a 'physically based shader' (PBS). This attempts to accurately represent the behavior of light on materials by…
  Choosing a Lighting Technique 选择照明技术 https://unity3d.com/cn/learn/tutorials/topics/graphics/choosing-lighting-technique?playlist=17102   Broadly speaking, lighting in Unity can be considered as either ‘realtime’ or ‘precomputed’ in some way and bot…
目录 1. 在Unity Shader中实现高光反射光照模型 1.1 实践:逐顶点光照 1.2 逐像素光照 1.3 Blinn-Phong光照模型 2. 召唤神龙:使用Unity内置的函数 @ 1. 在Unity Shader中实现高光反射光照模型 在前面,我们给出了基本光照模型中高光反射部分的计算公式: 从公式可以看出,要计算高光反射需要知道4个参数:入射光线的颜色和强度Clight,材质的高光反射系数mspecular,视角方向v以及反射方向r.其中反射反射方向r可以由表面法线n和光源方向l…
  The Precompute Process 预计算过程 In Unity, precomputed lighting is calculated in the background - either as an automatic process, or it is initiated manually. In either case, it is possible to continue working in the editor while these processes run be…
1.基本参数与使用 1.1 常规介绍 使用预计算光照需要在Window/Lighting面板下找到预计算光照选项,保持勾选预计算光照并保证场景中有一个光照静态的物体 此时在编辑器内构建后,预计算光照开始生效. 相关的文章有很多,unity官方有一系列文章不错: https://unity3d.com/cn/learn/tutorials/topics/graphics/introduction-precomputed-realtime-gi 在Lighting面板的Scene页签下可以设置全局光…