Unity烘焙神器Bakery使用流程

1 篇文章 0 订阅
1 篇文章 0 订阅

bakery的烘焙速度在同等质量下,速度比引擎本身的烘焙系统快很多很多倍

1.首先给场景添加一个方向光,为方向光添加Bakery Direct Light脚本

点击Match lightmapped to real-time按钮可以将方向光中的信息同步到脚本中

2.点光源选择Bakery Point Light脚本

3.点击导航栏中的Bakery-Render lightmap进入Bakery编辑页面

1)Simle:简单模式,速度快,效果差

Advanced:高级模式,速度慢,效果好,适合最后烘焙

Experimental:实验模式,速度中快,效果尚可,平时最常用

2)Render mode:Shadowmask
3)  Texels per unit:在这里选择了4(这个属性是每个世界单位的近似光照贴图中Texel的数量,他会影响生成的光照贴图的数量和分辨率。)
     参考:大型户外区:1-5
                中等室外面积:10-20
                高品质内饰:100
4)Bounces(反射):4(这个属性表示光线应从表面反射多少次,通常较低的值对于室外场景是足够的,而对于更封闭的场景则需要更高的值)
5)Samples(采样):20(这个属性会影响GI的质量参考值为16-20)
6)Ambient occlusion(环境光遮蔽):intensity:0.8
7)Output options:光照贴图所存放的位置
8)最后烘焙的选项,1直接烘焙   2选择一个组里的物件烘焙    3烘焙反射探针   4烘焙光照信息data和反射探针   5烘焙天空反射    一般是选择1然后点击4
 
 
最后的效果
(但是我发现我的点光源信息并没有烘焙上去)
而后我将Render mode模式改为了Full Lighting 
 上效果(此时点光源信息已经在了)窃喜.....
烘焙速度非常的理想
  • 7
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
https://assetstore.unity.com/packages/tools/level-design/bakery-gpu-lightmapper-122218 Bakery is a high-end, production-ready, hassle-free GPU lightmapper, designed as an alternative to Enlighten and Progressive. NOTE: Requires modern Nvidia GPU (6xx or newer) and 64-bit Windows (7 or higher). Doesn't support AMD cards for baking. Doesn't support Macs. Tested on everything from Unity 5.6 to 2019.3.4. Resulting lightmaps are compatible with all platforms. Manual - make sure you read FAQ Forum thread Features: - Physically correct baked lighting. All results were compared against Mitsuba offline renderer. - Performance: uses GPU for ray-tracing. - Can take advantage of (but not requires) RTX hardware. - Uses NVidia AI Denoiser to remove noise, powered by deep learning. - Fixes common baking artifacts, such as lighting leaks and UV seams. - Global Illumination (supports custom shaders). - Sky lighting (HDRI or color). - Emissive textured meshes. - IES Lights. - Directional, point, spot light sources. - Materials: supports albedo, emissive, opacity. - Can produce both complete and indirect lightmaps, or even mix both per-light. - Can produce shadowmasks. - Supports directional baking (bump/specular) with 4 modes: dominant direction (compatible with most shaders), Radiosity Normal Mapping, per-pixel spherical harmonics, as well as simply baking normal maps to diffuse. - Selective render is supported. - Light probes. - Automatic atlas packing. - Supports Mesh Renderers, Skinned Meshes and Terrains. - Supports LODs. - Supports baked prefabs. - Real-time ray traced preview can be additionally installed. Some notable games shipped using Bakery: Call of Duty Mobile Totally Accurate Battle Simulator Dead and Buried II ... and many more!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值