Unity3D 烘焙参数自我实践

本文深入解析Unity中的光照参数,如IndirectResolution间接光采样、LightMapResolution烘焙贴图采样、IndirectionIntensity间接光强度及AlbedoBoost材质增强等,探讨其对场景渲染效果的影响及设置技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Indirect Resolution 间接光采样:数据越大,对间接光采样越多,对物体边缘影响越大,这个影响两个物体之间的阴影、溢色,如果数值很大,周围就会成为白色(官网解释说 只能在 实时光渲染 开始时才起作用)

 

LightMap Resolution: 烘焙贴图采样:值越大,效果越好,场景越干净;相应的烘焙时间会延长

Directional Mode:

 

 

Indirection Intensity:间接光强度 小于1,降低间接光;大于1,提高间接光。取值范围 1~5。5 屏幕一片白

Albedo Boost: Material: 通过增强场景中材质的反照率,从1到10之间的值来控制Unity在表面之间反弹的光量。增加此值会将反照率值绘制为白色以进行间接光照计算。默认值为1,这在物理上是准确的。

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!
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值