当前位置: 首页 > news >正文

baked lighting

https://docs.unity3d.com/Manual/LightMode-Baked.html

baked lights are light components which have their mode property set to baked.

use baked mode for lights used for local ambience, rather tan fully featured lights. 只对局部的某些灯进行烘焙,而不是全部都是烘焙灯。unity pre-calculates the illumination from these lights before run time, and does not include them in any run-time lighting calculations. this means that there is no run-time overhead 开销 for baked lights.

unity baked direct and indirect lighting from baked lights into light maps (to illuminate static GameObjects) and Light Probes 把baked 灯烘焙为光照贴图或者是光探针. baked lights can not emit specular lighting, even on dynamic GameObjects . baked lights do not change in response to actions taken by the player, or events which take place in the Scene. they are mainly useful for increasing brightness in dark areas without needing to adjust all of the lighting within a Scene.

baked lights are also the only Light type for which dynamic GameObjects can not cast shadows on other dynamic GameObjects.

advantages of baked lighting

high-quality shadows from statics GameObjects on statics GameObjects in the light map at no additional cost.

offers indirect lighting.

all lighting for static GameObjects can be just one Texture fetched from the light map in the Shader.

disadvantages of baked lighting

no real-time direct lighting (that is, no specular effects).
no shadows from dynamic GameObjects on static GameObjects.
u only get low-resolution shadows from static GameObjects on dynamic GameObjects using Light Probes.

increased memory requirements compared to real-time lighting for the light map texture set, because light maps need to be more detailed to contain direct lighting information.

techniques details
for baked lights, unity pre-computes the entire light path, except for the path segment from the Camera to the surface. see documentation on Light Modes for more information about light paths.

unity also precomputes direct baked lighting, which means that light direction information is not available to unity at runtime. instead, a small number of Texture operations handle all light calculations for baked lights in the Scene area. without this information, unity can not carry out calculations for specular and glossy reflections. if u need specular reflections, use reflection probes or use mixed or realtime lights. see documentation on directional light maps for more information.

baked lights never illuminate dynamic gameobjects at runtime. the only way for dynamic game objects to receive light from baked lights is via light probes. this is also the only difference between baked lights and any subtractive mode mixed lights.

相关文章:

  • 201902142017_《Node.js之事件一二事(1)》
  • machine_math
  • baked light+bake indirect+sampling lightmap
  • linux基础随记
  • 随手练——十六进制转八进制 (不限制长度)
  • 认识DiffuseAndSpecularFromMetallic和UNITY_BRDF_PBS
  • 如何将自发光和漫反射添加到烘焙贴图中
  • Qt+QGIS二次开发:QGIS中使用QgsRubberBand类创建临时图形
  • Shadowmask和Distance Shadowmask的区别
  • Angular7_获取异步方法里面的数据
  • maven tomcat jstl 异常
  • maven下载及配置(win7 64位系统)
  • 寒假一:打印沙漏
  • unity depth texture-01
  • LinearEyeDepth和Linear01Depth
  • 「前端」从UglifyJSPlugin强制开启css压缩探究webpack插件运行机制
  • 【跃迁之路】【733天】程序员高效学习方法论探索系列(实验阶段490-2019.2.23)...
  • angular2 简述
  • Apache Zeppelin在Apache Trafodion上的可视化
  • conda常用的命令
  • ES学习笔记(10)--ES6中的函数和数组补漏
  • FastReport在线报表设计器工作原理
  • HTML-表单
  • Python学习之路13-记分
  • vue脚手架vue-cli
  • vue学习系列(二)vue-cli
  • WordPress 获取当前文章下的所有附件/获取指定ID文章的附件(图片、文件、视频)...
  • 欢迎参加第二届中国游戏开发者大会
  • 基于 Ueditor 的现代化编辑器 Neditor 1.5.4 发布
  • 简单易用的leetcode开发测试工具(npm)
  • 开发了一款写作软件(OSX,Windows),附带Electron开发指南
  • 开年巨制!千人千面回放技术让你“看到”Flutter用户侧问题
  • 前端性能优化——回流与重绘
  • 前嗅ForeSpider采集配置界面介绍
  • 什么软件可以提取视频中的音频制作成手机铃声
  • 一些基于React、Vue、Node.js、MongoDB技术栈的实践项目
  • 鱼骨图 - 如何绘制?
  • MiKTeX could not find the script engine ‘perl.exe‘ which is required to execute ‘latexmk‘.
  • 分布式关系型数据库服务 DRDS 支持显示的 Prepare 及逻辑库锁功能等多项能力 ...
  • # Maven错误Error executing Maven
  • #NOIP 2014#day.2 T1 无限网络发射器选址
  • (ctrl.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“
  • (delphi11最新学习资料) Object Pascal 学习笔记---第7章第3节(封装和窗体)
  • (HAL库版)freeRTOS移植STMF103
  • (rabbitmq的高级特性)消息可靠性
  • (ros//EnvironmentVariables)ros环境变量
  • (二)pulsar安装在独立的docker中,python测试
  • (附源码)node.js知识分享网站 毕业设计 202038
  • (免费领源码)python#django#mysql公交线路查询系统85021- 计算机毕业设计项目选题推荐
  • (亲测有效)解决windows11无法使用1500000波特率的问题
  • (淘宝无限适配)手机端rem布局详解(转载非原创)
  • **CI中自动类加载的用法总结
  • **PHP分步表单提交思路(分页表单提交)
  • .desktop 桌面快捷_Linux桌面环境那么多,这几款优秀的任你选
  • .NET 简介:跨平台、开源、高性能的开发平台