{"id":1089,"date":"2020-01-14T10:44:31","date_gmt":"2020-01-14T02:44:31","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=1089"},"modified":"2020-12-05T17:56:37","modified_gmt":"2020-12-05T09:56:37","slug":"unity%e7%9a%84%e5%85%89%e7%85%a7%e7%83%98%e7%84%99%e6%8a%80%e6%9c%af%ef%bc%88%e4%b8%8b%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=1089","title":{"rendered":"Unity\u7684\u5149\u7167\u70d8\u7119\u6280\u672f\uff08\u4e0b\uff09"},"content":{"rendered":"\n<p>\u5728Unity\u7684\u5149\u7167\u70d8\u7119\u6280\u672f\uff08\u4e0a\uff09\u4e2d\uff0cUnity\u6280\u672f\u7f8e\u672f\u674e\u4e07\u91cc\u4ecb\u7ecd\u4e86Unity\u7684\u5149\u7167\u7cfb\u7edf\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Unity\u7684Progressive\u5de5\u5177\u53bb\u6b63\u786e\u7684\u70d8\u7119\u5149\u7167\u4ee5\u53ca\u8bbe\u7f6e\u4e00\u4e9b\u5149\u7167\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6f14\u8bb2\u5185\u5bb9<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u8c08\u4e86\u5f88\u591a\u5149\u7167\u70d8\u57f9\u7684\u5185\u5bb9\uff0c\u4f46\u4e5f\u8981\u8003\u8651\u5230\u70d8\u57f9\u7684\u4ee3\u4ef7\u662f\u975e\u5e38\u9ad8\u7684\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5982\u679c\u6211\u4eec\u70d8\u57f9\u4e00\u4e2a\u5730\u56fe\uff0c\u6574\u4e2a\u573a\u666f\u4e0d\u53ef\u80fd\u90fd\u662fBox\u5792\u8d77\u6765\u7684\uff0c\u8fd8\u6709\u5927\u91cf\u7684\u7269\u4f53\u3002\u5982\u679c\u8fd9\u4e9b\u7269\u4f53\u5168\u90e8\u90fd\u8981\u70d8\u57f9\uff0c\u9700\u8981\u6709\u5f88\u5f3a\u7684\u7535\u8111\u548c\u96c6\u7fa4\u670d\u52a1\u5668\u8fdb\u884c\u6e32\u67d3\u3002<br><\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u8fd8\u9762\u4e34\u4e00\u4e2a\u95ee\u9898\uff1a\u70d8\u57f9\u8d34\u56fe\u7684\u6570\u91cf\u548c\u4f53\u79ef\u975e\u5e38\u7684\u5927\uff0c\u56e0\u4e3a\u5b83\u662fRGB\u901a\u9053\u7684\u4e00\u4e9b\u5f69\u8272\u56fe\u7247\uff0c\u6240\u4ee5\u662f\u65e0\u6cd5\u6539\u53d8\u7684\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u53ea\u80fd\u901a\u8fc7\u683c\u5f0f\u538b\u7f29\uff0c\u4f46\u538b\u7f29\u4f1a\u51fa\u73b0\u8d28\u91cf\u4e0b\u964d\u7684\u60c5\u51b5\u3002\u8d34\u56fe\u52a0\u8f7d\u4f1a\u5360\u7528\u5927\u91cf\u7684\u663e\u5b58\uff0c\u6240\u4ee5\u4f18\u5316\u6574\u4e2a\u5149\u7167\u5f88\u91cd\u8981\u3002<\/p>\n\n\n\n<p>\u3000\u3000Unity\u63d0\u4f9b\u4e86\u4e24\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u529f\u80fd\uff1aLight Probe\u548cLight Probe Proxy Volume\uff0c\u4e8c\u8005\u53ef\u4ee5\u914d\u5408\u4f7f\u7528\u3002Light Probe\u662f\u7403\u5f62\u5149\u7167\uff0c\u63d0\u4f9b\u6bd4\u8f83\u7b80\u5355\u7684\u95f4\u63a5\u7167\u660e\uff0c\u53ef\u4ee5\u4e3a\u5c0f\u7269\u4f53\u63d0\u4f9b\u95f4\u63a5\u5149\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5982\u679c\u6e38\u620f\u573a\u666f\u5728\u5ba4\u5916\uff0c\u50cf\u4e00\u4e9b\u690d\u88ab\uff0c\u8349\u548c\u5c0f\u578b\u5ca9\u77f3\u53ef\u4ee5\u4e0d\u7528\u70d8\u57f9\u3002\u56e0\u4e3a\u5b83\u4eec\u867d\u7136\u5f88\u5c0f\uff0c\u4f46\u662f\u6574\u4f53\u7684\u6570\u91cf\u662f\u5f88\u5e9e\u5927\u7684\u3002\u5c24\u5176\u662f\u4e00\u4e9b\u5c0f\u7684\u7ec6\u8282\uff0c\u5982\u679c\u7cbe\u5ea6\u4e0d\u591f\uff0c\u70d8\u57f9\u7684\u6548\u679c\u4f1a\u975e\u5e38\u5dee\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/ef05214b3fc649dceae3c071ee95e5ba.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5982\u4e0a\u56fe\u6240\u793a\uff0cLight Probe Proxy Volume\u7528\u6765\u7ed9\u8fd9\u4e2a\u5c0f\u706b\u8f66\u8fdb\u884c\u95f4\u63a5\u7167\u660e\uff0c\u5b83\u4e0a\u9762\u7684\u8fd9\u4e9b\u70b9\u53ef\u4ee5\u5438\u53d6\u5de6\u4fa7Light Probe\u4e0a\u79bb\u5b83\u6700\u8fd1\u7684\u503c\uff0c\u5b83\u4f1a\u5728\u51e0\u4e2a\u7403\u4e4b\u95f4\u8fdb\u884c\u989c\u8272\u7684\u6df7\u5408\uff0c\u6df7\u5408\u51fa\u4e00\u4e2a\u7b26\u5408\u5c0f\u706b\u8f66\u5f62\u72b6\u7684\u95f4\u63a5\u5149\u7684\u4f53\u79ef\u3002\u5c3d\u7ba1\u672c\u8eab\u5c0f\u706b\u8f66\u6ca1\u6709\u8fdb\u884c\u5149\u7167\u8ba1\u7b97\uff0c\u4f46\u5b83\u4e5f\u62e5\u6709\u4e86\u95f4\u63a5\u5149\u3002<\/p>\n\n\n\n<p>\u3000\u3000Light Probe Proxy Volume\u76ee\u524d\u4e0d\u652f\u6301\u79fb\u52a8\u5e73\u53f0\uff0c\u5b83\u53ea\u652f\u6301\u4e00\u4e9bPC\u6216\u4e3b\u673a\u5e73\u53f0\uff0c\u4e4b\u540e\u6211\u4eec\u53ef\u80fd\u6539\u8fdb\uff0c\u652f\u6301\u79fb\u52a8\u5e73\u53f0\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/c47499d763b123c5cf86aad5a927b0d9.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5927\u5bb6\u53ef\u4ee5\u6309\u7167\u9879\u76ee\u7684\u60c5\u51b5\uff0c\u6b63\u786e\u7684\u4f7f\u7528\u53ef\u4ee5\u7f29\u51cfLightmap\u7684\u6570\u91cf\u548c\u70d8\u7119\u65f6\u95f4\uff0c\u63d0\u9ad8\u6548\u7387\u3002\u4eba\u7269\u548c\u8f66\u8f86\u8fd9\u7c7b\u52a8\u6001\u7269\u4f53\uff0c\u4e00\u5b9a\u662f\u4f7f\u7528Light Probe\u8fdb\u884c\u7167\u660e\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u7528\u4e8e\u7ed3\u6784\u590d\u6742\u7684\u5c0f\u7269\u4f53\uff0c\u6ee1\u8db3\u4e0b\u5217\u9700\u6c42\u5373\u53ef\uff1a<\/p>\n\n\n\n<p>\u3000\u3000\u7ed3\u6784\u590d\u6742\uff0c\u5355\u4f53\u90e8\u4ef6\u8868\u9762\u8d77\u4f0f\u8fc7\u5927\uff0cUV\u590d\u6742\u7684\u7269\u4f53\u3002\u5c24\u5176\u5728Enlighten\u4e2d\u8ba1\u7b97\u7684\u65f6\u5019\uff0c\u56e0\u4e3a\u590d\u6742\u6027\u662f\u96be\u4ee5\u903e\u8d8a\u7684\u969c\u788d\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f53\u79ef\u5c0f\uff0c\u4e0d\u663e\u773c\u7684\u3002\u4f8b\u5982\uff1a\u955c\u6846\u548c\u7535\u7ebf\u6746\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4e0d\u91cd\u8981\u7684\uff0c\u5e76\u975e\u6e38\u620f\u573a\u666f\u7684\u91cd\u8981\u90e8\u4ef6\u3002\u4f8b\u5982\uff1a\u4e00\u575780%\u57cb\u5728\u5730\u4e0b\u7684\u5ca9\u77f3\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6811\u548c\u690d\u88ab\u4e5f\u4f7f\u7528Light Probe\u7167\u660e\uff0c\u56e0\u4e3aEnlighten\u5bf9\u6811\u548c\u690d\u88ab\u4e5f\u975e\u5e38\u7684\u4e0d\u53cb\u597d\u3002<\/p>\n\n\n\n<p>\u3000\u3000Lightmap\u4f18\u5316\u65b9\u9762\uff0c\u53ef\u4ee5\u5927\u91cf\u4f7f\u7528Light Probe\uff0c\u4ece\u800c\u4f18\u5316\u63891\/3\u52301\/5\u7684Lightmap\u6570\u91cf\uff0c\u52a0\u901f\u70d8\u7119\u65f6\u95f4\uff0c\u4f7f\u70d8\u7119\u6d4b\u8bd5\u7684\u65f6\u5019\u66f4\u52a0\u6d41\u7545\uff0c\u4e0d\u5fc5\u7b49\u5f85\u592a\u957f\u65f6\u95f4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/b6a0d70cbebada5c2ee3b5909c4ac401.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u8fd9\u5f20\u56fe\u662f\u7528Enlighten\u70d8\u7119\u7684\u3002\u8bf4\u5230Enlighten\uff0c\u4e0d\u5f97\u4e0d\u63d0Enlighten\u6700\u6838\u5fc3\u7684\u4e09\u4e2a\u6982\u5ff5\uff1aSystems\u3001Clustering\u3001UV Charts\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u628aSystems\u4f5c\u4e3aUnity\u8ba9Enlighten\u628a\u573a\u666f\u4e2d\u7684\u90e8\u4ef6\u6309\u7167\u5149\u7167\u548c\u5b83\u7684\u8ddd\u79bb\u5173\u7cfb\u6765\u6784\u5efa\u51fa\u6765\u4e00\u4e2a\u627f\u63a5\u5149\u7167\u7684\u6700\u5927\u5355\u5143\u3002\u6211\u4eec\u4f1a\u770b\u5230\u5b83\u7684\u989c\u8272\u4e0d\u540c\uff0c\u4ee3\u8868\u662f\u4e0d\u540c\u7684System\uff0c\u8fd9\u79cd\u4f9d\u5b58\u5173\u7cfb\u51b3\u5b9aEnlighten\u6784\u5efa\u7684\u590d\u6742\u5ea6\u3002<\/p>\n\n\n\n<p>\u3000\u3000Enlighten\u4f1a\u6839\u636e\u4f7f\u7528\u4ec0\u4e48\u6750\u8d28\uff0c\u54ea\u4e2a\u5149\u7167\u5bf9\u5b83\u6709\u5f71\u54cd\uff0c\u5b83\u548c\u54ea\u4e2a\u7269\u4f53\u4f4d\u7f6e\u6bd4\u8f83\u8fd1\uff0c\u81ea\u52a8\u6784\u5efaSystem\u3002\u6784\u5efa\u5f97\u8d8a\u590d\u6742\uff0c\u8ba1\u7b97\u91cf\u4e5f\u4f1a\u8d8a\u591a\u3002<\/p>\n\n\n\n<p>\u3000\u3000Clustering\u662f\u6700\u6838\u5fc3\u7684Enlighten\u6982\u5ff5\u3002Enlighten\u672c\u8eab\u5149\u7167\u8fdb\u884c\u7167\u660e\u662f\u4e0d\u9700\u8981\u8ba1\u7b97\u7684\uff0c\u5b83\u8ba1\u7b97\u7684\u662f\u5149\u7167\u73af\u5883\u3002\u6240\u4ee5\u6784\u5efa\u5149\u7167\u73af\u5883\u65f6\uff0c\u624d\u53ef\u4ee5\u521b\u9020\u8fd9\u4e9bClustering\u3002<\/p>\n\n\n\n<p>\u3000\u3000UV Chart\u662fLightmap\u5149\u7167\u8d34\u56fe\u7684UV\uff0c\u800c\u6784\u5efa\u5149\u7167\u73af\u5883\u6700\u6838\u5fc3\u7684\u4e1c\u897f\u662fUV Chart\uff0c\u5982\u679c\u6ca1\u6709UV Chart\uff0c\u5b83\u5c31\u6ca1\u6709\u7a7a\u95f4\u53ef\u4ee5\u5b58\u50a8Clustering\u4f5c\u4e3a\u8ba1\u7b97\u5355\u5143\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/e3b70c5a08a45b2e0029f414e9216cf7.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u4e3a\u4ec0\u4e48\u6211\u4eec\u6b64\u524d\u8bf4\u8fc7Enlighten\u4e0d\u9002\u5408\u7528\u4e8e\u690d\u88ab\u548c\u6811\u5462\uff1f<\/p>\n\n\n\n<p>\u3000\u3000\u56e0\u4e3a\u6211\u4eec\u5236\u4f5c\u4e86\u4e00\u4e2a\u6811\uff0c\u6709\u591a\u5c11\u7247\u6811\u53f6\uff0c\u5c31\u6709\u591a\u5c11UV Charts\uff0c\u6bcf\u4e2aUV Chart\u90fd\u8981\u8fdb\u884c\u5149\u7167\u8ba1\u7b97\uff0c\u5149\u7167\u8ba1\u7b97\u6700\u4f4e\u4ee3\u4ef7\u662f4&#215;4\uff0c\u53734\u4e2a\u50cf\u7d20\u4e584\u4e2a\u50cf\u7d20\u7684\u4ee3\u4ef7\u53bb\u751f\u6210\u6574\u4e2a\u8ba1\u7b97UV Chart\u7684\u5149\u7167\u7a7a\u95f4\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u8ba1\u7b97Clustering\u65f6\uff0c\u6bcf\u4e2a\u81f3\u5c11\u4fdd\u755916\u4e2a\u50cf\u7d20\u3002\u5982\u679c\u4e00\u68f5\u6811\u8fd8\u597d\uff0c\u5982\u679c\u6709500\u7247\u53f6\u5b50\uff0c\u8fd8\u53ef\u4ee5\u63a5\u53d7\u3002\u5982\u679c\u6709\u4e00\u7247\u6811\u6797\uff0c\u90a3\u5c31\u4f7f\u7528Enlighten\u8ba1\u7b97\u4e0d\u52a8\u4e86\uff0c\u6240\u4ee5\u4e0d\u5efa\u8bae\u4f7f\u7528Enlighten\u5bf9\u6811\u6728\u8fdb\u884c\u95f4\u63a5\u5149\u7167\u8ba1\u7b97\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u9700\u8981\u5c3d\u53ef\u80fd\u7684\u7f29\u51cf\u5355\u4e2a\u7269\u4f53\u7684Lightmap\u7684UV\u533a\u5757\u6765\u964d\u4f4eUV Charts\uff0c\u5728\u5206Lightmap UV\u65f6\u4e00\u5b9a\u8981\u6ce8\u610f\uff0c\u5c3d\u53ef\u80fd\u5c06UV\u8fde\u5728\u4e00\u8d77\uff0c\u8fd9\u6837\u4f1a\u8ba9Enlighten\u8ba1\u7b97\u91cf\u964d\u4f4e\u3002<\/p>\n\n\n\n<p>\u3000\u3000Clustering\u57fa\u672c\u4e0a\u7528\u6bcf\u4e2a\u8272\u5757\u4f5c\u4e3a\u4e00\u4e2a\u8ba1\u7b97\u5355\u5143\uff0c\u5b83\u53ef\u4ee5\u53d1\u5c04\u4f4e\u9891\u5149\u5bf9\u5468\u56f4\u8fdb\u884c\u5f71\u54cd\uff0c\u7cbe\u5ea6\u8d8a\u9ad8\uff0c\u5757\u8d8a\u5c0f\uff0c\u6574\u4f53\u7684\u8ba1\u7b97\u91cf\u5c31\u4f1a\u52a0\u5927\uff0c\u6574\u4e2a\u8ba1\u7b97\u95f4\u63a5\u5149\u7684\u65f6\u95f4\u5c31\u4f1a\u66f4\u957f\u4e00\u4e9b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/ef1b322eac920b7cfa4e942c1c19133e.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u81ea\u52a8\u751f\u6210\u7684\u4e00\u4e9bUV\u53ef\u4ee5\u4f7f\u7528Unity\u7684\u529f\u80fd\uff0c\u5728\u7269\u4f53\u4e0a\u6709UV Charting Control\uff0c\u8fdb\u884c\u52a8\u6001\u5408\u5e76\u3002\u5728\u5408\u5e76\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u8fdb\u884c\u9884\u8ba1\u7b97\uff0c\u770b\u770b\u5408\u5e76\u4e0a\u6709\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5408\u5e76UV\u7684\u65f6\u5019\u53ef\u80fd\u4f1a\u51fa\u73b0\u626d\u66f2\u73b0\u8c61\uff0c\u8fd9\u79cd\u626d\u66f2\u73b0\u8c61\u5728\u70d8\u7119Lightmap\u65f6\u662f\u975e\u5e38\u6709\u95ee\u9898\u7684\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/ae251fede75376715ac4e15ef0de0654.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u4e0a\u56fe\u4e2d\u7684\u4e24\u4e2a\u793a\u4f8b\uff0cUV Charts\u7b49\u4e8e6\u7684\u60c5\u51b5\u4e0b\uff0c\u5982\u679cBox\u5206\u6210\u5de6\u8fb9\u662f\u6bd4\u8f83\u5408\u7406\u7684\uff0c\u53f3\u8fb9\u8fd9\u4e48\u5206\u5728Enlighten\u7684\u8ba1\u7b97\u91cf\u6700\u8d77\u7801\u8981\u589e\u52a03\u500d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/06bf47166a42d4b8aecae581bc1c654f.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u6765\u4e86\u89e3\u4e00\u4e0bUnity\u7684\u5149\u7167\u8d34\u56fe\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<p>\u3000\u3000<strong>Resolution<\/strong>&nbsp;\uff1a\u63a7\u5236Clustering\u7684\u5206\u8fa8\u7387\uff0c\u4f1a\u548cLightmapping Settings\u7684Indirect Resolution\u76f8\u4e58\u83b7\u5f97\u6700\u7ec8\u7684Resolution\u3002<br><\/p>\n\n\n\n<p>\u3000\u3000<strong>Cluster Resolution\uff1a<\/strong>&nbsp;\u63a7\u5236Clustering\uff0c\u7ed3\u679c\u4f1a\u548cResolution\u76f8\u4e58\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5bf9\u8fd9\u4e9b\u53c2\u6570\u8fdb\u884c\u642d\u914d\uff0c\u8c03\u51fa\u4e0d\u540c\u7684Resolution\u3002<br><\/p>\n\n\n\n<p>\u3000\u3000<strong>Lightmap parameters\uff1a<\/strong>&nbsp;\u6211\u4eec\u53ef\u4ee5\u4e3a\u5173\u5361\u4e2d\u6bcf\u4e00\u7c7b\u7269\u4f53\u90fd\u8bbe\u7f6e\u4e0d\u540c\u7684Lightmap parameters\uff0c\u6765\u63a7\u5236\u4e0d\u540c\u7269\u4f53\u7684Clustering Resolution\uff0c\u4ece\u800c\u63d0\u9ad8lightmap\u70d8\u7119\u6548\u7387\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f8b\u5982\uff1a\u4e00\u4e9b\u4e0d\u9700\u8981\u8ba1\u7b97\u7684\u690d\u88ab\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u65b0\u7684Lightmap parameters\u7ec4\uff0c\u8ba9\u5b83\u53ea\u63a5\u53d7\u522b\u7684\u7269\u4f53\u7684\u95f4\u63a5\u5149\uff0c\u81ea\u5df1\u4e0d\u518d\u4ea7\u751f\u95f4\u63a5\u5149\uff0c\u964d\u4f4e\u8ba1\u7b97\u65f6\u95f4\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/1db83e4253b500bf038fe53af9d0924e.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u4ece\u5de6\u5230\u53f3\u4f9d\u6b21\u662fCluster Resolution\u662f3\u7c73\u30011.2\u7c73\u30010.72\u7c73\u7684\u6548\u679c\u3002\u6211\u4eec\u53ef\u4ee5\u770b\u51fa\uff0c\u53ea\u6709\u5728Cluster Resolution\uff1d0.72\u7c73\u7684\u65f6\u5019\uff0c\u5728\u5ba4\u5185\u7684\u6548\u679c\u57fa\u672c\u624d\u662f\u5408\u683c\u7684\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/34d0990bf35c94d049cc5b8ed67fd915.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u4e0b\u9762\u662f\u6211\u4eec\u7ed9\u51fa\u7684\u4e00\u4e2a\u8ba1\u7b97\u5355\u5143\u7684\u5efa\u8bae\uff0c\u5927\u5bb6\u53ef\u4ee5\u6839\u636e\u8fd9\u4e2a\u5efa\u8bae\u6765\u8bbe\u7f6e\u6e38\u620f\u4e2d\u7684\u4e00\u4e9b\u7cbe\u5ea6\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5e38\u89c1\u7684\u7269\u4f53Cluster Resolution \u53c2\u8003\uff08\u6bcf\u5355\u5143\u5927\u5c0f\uff09\uff1a<br><\/p>\n\n\n\n<p>\u3000\u3000\u5ba4\u5185\u5899\u58c1\u7cbe\u5ea6\u4e3a0.5-1\u7c73<\/p>\n\n\n\n<p>\u3000\u3000\u5ba4\u5185\u91cd\u8981\u9053\u5177\u7cbe\u5ea60.5\u7c73<\/p>\n\n\n\n<p>\u3000\u3000\u5ba4\u5916\u5efa\u7b51\u7cbe\u5ea61-2\u7c73<\/p>\n\n\n\n<p>\u3000\u3000\u5ba4\u5916\u5730\u9762\u7cbe\u5ea62-4\u7c73<\/p>\n\n\n\n<p>\u3000\u3000\u5ba4\u5916\u91cd\u8981\u6e38\u620f\u9053\u5177\u7cbe\u5ea61-2\u7c73<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/e6806f2455ada6725caf294476b5d692.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0bProgressive Baking\uff0c\u5b83\u7684\u60c5\u51b5\u975e\u5e38\u7684\u66b4\u529b\uff0c\u5c31\u662f\u4f60\u6709\u591a\u5c11\u5149\u5b50\uff0c\u76f4\u63a5\u5149\u7684Samples\uff0c\u6709\u591a\u5c11\u95f4\u63a5\u5149\u7684Samples\uff0c\u6700\u7ec8\u53ef\u4ee5\u83b7\u5f97\u600e\u6837\u7684\u7cbe\u5ea6\uff0c\u6700\u7ec8\u53d6\u51b3\u4e8e\u4f60\u7684\u7535\u8111\u6709\u591a\u5f3a\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u503c\u8d8a\u9ad8\u6548\u679c\u5c31\u8d8a\u597d\uff0c\u4f46\u662f\u4e0d\u8981\u7279\u522b\u9ad8\u3002\u6211\u4eec\u5efa\u8bae\u5728\u5ba4\u5916\uff0cDirect Samples\u4e3a50\uff0c\u5ba4\u5185\u6700\u5c11\u898180-100\u3002Indirect Samples\u5728\u5ba4\u5916\u5927\u6982\u7528400\uff0c\u5ba4\u5185800\uff0c\u4e0d\u7136\u4f1a\u51fa\u73b0\u9ed1\u6591\u95ee\u9898\uff0c\u5f39\u5c04\u6b21\u6570\u5efa\u8bae\u4e3a4\u6b21\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/b3d7c0a8a4f1479948948172d0c884c4.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u73b0\u5728\u63d0\u4f9b\u7ed9\u5927\u5bb6\u4e00\u4e9b\u5149\u7167\u7ecf\u9a8c\u603b\u7ed3\uff0c\u57fa\u672c\u4e0a\u4ee3\u8868\u4e86\u73b0\u5728\u5149\u7167\u6280\u672f\uff0c\u4f7f\u7528Unity\u5236\u4f5c\u79fb\u52a8\u5e73\u53f0\u5149\u7167\u65f6\u6700\u91cd\u8981\u7684\u5efa\u8bae\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u9996\u9009\u7ebf\u6027\u7a7a\u95f4\u4f5c\u4e3a\u9879\u76ee\u7684\u5f00\u53d1\u73af\u5883\uff0cGamma\u7a7a\u95f4\u9002\u5408Opengl3.0\u4e4b\u524d\u65f6\u4ee3\u7684\u9879\u76ee\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5728\u7ebf\u6027\u7a7a\u95f4\u4e0b\uff0cDirection light\uff08\u4e3b\u5149\u6e90\uff09\u767d\u5929\u5f3a\u5ea6\u57281.5-1.8\u4e4b\u95f4\uff0c\u591c\u95f4\u6708\u5149\u57280.4-0.7\u4e4b\u95f4\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5728Gamma\u7a7a\u95f4\u4e0b\uff0cDirection light\uff08\u4e3b\u5149\u6e90\uff09\u767d\u5929\u5f3a\u5ea6\u57280.5-1\u4e4b\u95f4\uff0c\u591c\u95f4\u6708\u5149\u57280.2\uff0d0.5\u4e4b\u95f4\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5149\u7167\u7684Indirect\u5f3a\u5ea6\u4e0d\u80fd\u9ad8\u8fc7\u76f4\u63a5\u5149\u7684\u5f3a\u5ea6\uff0c\u5728\u7ebf\u6027\u7a7a\u95f4\u4e0b\u95f4\u63a5\u5149\u4e00\u822c\u5c0f\u4e8e1\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5728Englighten\u6e32\u67d3\u6a21\u5f0f\u4e0b\uff0c\u5c3d\u53ef\u80fd\u7684\u964d\u4f4e\u690d\u88ab\u7684Cluster Resolution\uff0c\u63d0\u9ad8\u6e32\u67d3\u6548\u7387\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u9759\u6001\u7269\u4f53\u5c3d\u53ef\u80fd\u4f18\u5316\u6389\u4e0d\u9700\u8981\u70d8\u7119\u7684\u90e8\u5206\uff0c\u63d0\u9ad8\u91cd\u8981\u7269\u4f53\u7684Lightmap\u7cbe\u5ea6\u3002\u4e0d\u53c2\u4e0e\u70d8\u7119\u7684\u7269\u4f53\u4f7f\u7528Light Probe\u7167\u660e\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f18\u5316UV Chart\uff0c\u5355\u4e2a\u7269\u4f53UV Chart\u8d8a\u5c11\u8d8a\u597d\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f18\u5316\u4e0d\u540c\u79cd\u7c7b\u7684Cluster Resolution\uff0c\u4fdd\u8bc1\u4e0d\u540c\u79cd\u7c7b\u7684\u7269\u4f53\u90fd\u6709\u5408\u7406\u7684\u8ba1\u7b97\u5206\u8fa8\u7387\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6df7\u5408\u5149\u7167\u624b\u673a\u5e73\u53f0\u5efa\u8bae\u5b9e\u65f6\u9634\u5f71\u8ddd\u79bb\u63a7\u5236\u5728\u4e0d\u8d85\u8fc720\u7c73\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f7f\u7528Unity\u63d0\u4f9b\u7684Procudral Skybox\u8fdb\u884c\u70d8\u7119\u5149\u7167\u8d34\u56fe\u3002\u53ef\u4ee5\u83b7\u5f97\u66f4\u771f\u5b9e\u7684Lightmap\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4e0d\u8f7b\u6613\u7684\u8c03\u6574Unity\u7684Albedo boost\u548cIndirect intensity\u5f3a\u5ea6\u3002\u5c3d\u53ef\u80fd\u7684\u4fdd\u8bc1Albedo boost =1, indirect intensity=1\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4e0b\u9762\u662f\u70d8\u57f9\u7684\u4e00\u4e9b\u6548\u679c\uff0c\u8fd9\u662f\u53ef\u4ee5\u5728\u79fb\u52a8\u5e73\u53f0\u4e0a\u8fd0\u884c\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/23500af6585dacc39dae28e9c9509569.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/a51d00318d8d56313f01c5c1f3a00160.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/528f60c17b22b1cc90274ab60f80b787.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/9af3fc3c19cf91dbbc79609d1b1a1047.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/f600f89277a71f253282fc53f6b0bb19.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u73b0\u5728\u6211\u4eec\u6765\u8fdb\u884c\u4e00\u4e2a\u6f14\u793a\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u8fd9\u662f\u4e00\u4e2a\u706b\u8f66\u7684\u573a\u666f\uff0c\u6211\u4eec\u521a\u521a\u770b\u5230\u5b83\u7684\u9884\u89c8\u6548\u679c\u3002\u90a3\u4e48\u573a\u666f\u8fdb\u884c\u4e86\u54ea\u4e9b\u4f18\u5316\u5462\uff1f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/0933bcac50848802e58e708500fc847c.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u706b\u8f66\u548c\u94c1\u8f68\u90fd\u662f\u6ca1\u6709\u70d8\u57f9\u7684\uff0c\u4e3a\u4ec0\u4e48\u5462\uff1f\u56e0\u4e3a\u8fd9\u4e9b\u4e1c\u897f\u53c8\u5c0f\u53c8\u4e0d\u663e\u773c\uff0c\u800c\u4e14\u6241\u5e73\u5316\u4e00\u5757\u4e00\u5757\u7684\uff0c\u6211\u4eec\u4e0d\u9700\u8981\u5bf9\u5b83\u8fdb\u884c\u70d8\u57f9\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5982\u679c\u628a\u8fd9\u4e9b\u5185\u5bb9\u5168\u90e8\u4f7f\u7528Enlighten\u8fdb\u884c\u70d8\u57f9\uff0c\u5927\u6982\u9700\u8981\u82b12\u4e2a\u5c0f\u65f6\u3002\u5982\u679c\u4f18\u5316\u540e\uff0c\u5927\u6982\u662f3-5\u5206\u949f\u5c31\u53ef\u4ee5\u70d8\u57f9\u5b8c\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/2a88d0a363e261c023a586a108d0b201.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6211\u4eec\u5bf9\u5c0f\u706b\u8f66\u505a\u4e86\u4e00\u4e2aLight Probe Proxy Volume\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u63a7\u5236\u63a5\u53d7\u95f4\u63a5\u5149\u7684\u60c5\u51b5\u3002<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/1aab7714cf2ee09857e2d30d347a780d.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u63a7\u5236\u5b83\u7684\u7cbe\u5ea6\uff0c\u7136\u540e\u53ef\u4ee5\u83b7\u5f97\u66f4\u9ad8\u7684\u7eb5\u5411\u7684\u91c7\u6837\u503c\uff0c\u5982\u679c\u8ba4\u4e3a\u5b83\u592a\u591a\u4e86\uff0c\u53ef\u4ee5\u4f18\u5316\u6389\u4e00\u90e8\u5206\u3002\u5982\u679c\u4fa7\u9762\u9700\u8981\u66f4\u591a\u7684\u7ec6\u8282\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\u5bf9\u95f4\u63a5\u5149\u8fdb\u884c\u91c7\u6837\uff0c\u4f46\u662f\u9700\u8981\u6ce8\u610f\u8fd9\u79cd\u65b9\u5f0f\u76ee\u524d\u4e0d\u652f\u6301\u79fb\u52a8\u5e73\u53f0\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f46\u662f\u5982\u679c\u4e0d\u4f7f\u7528\u8fd9\u79cd\u65b9\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Blend Probes\u8fdb\u884c\u878d\u5408\uff0c\u5207\u6362\u4e3aBlend Probes\u65f6\uff0c\u6548\u679c\u4f1a\u6709\u4e00\u4e9b\u5dee\u5f02\uff0c\u5149\u7167\u7cbe\u5ea6\u4e0a\u662f\u6709\u4e00\u4e9b\u635f\u5931\u7684\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u9879\u76ee\u4e2d\u7684\u6574\u4f53\u5730\u9762\uff0c\u90fd\u662f\u4f7f\u7528\u7684Blend Probes\u6a21\u5f0f\u7684\u6df7\u5408\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/8b7081ccb90785da3941b7931a2a0a12.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u8fd9\u79cd\u65b9\u5f0f\u662f\u5b8c\u5168\u652f\u6301\u79fb\u52a8\u5e73\u53f0\u7684\uff0c\u6bd4\u8f83\u5c0f\u6216\u8005\u4e0d\u663e\u773c\u7684\u7269\u4f53\uff0c\u5e76\u975e\u6e38\u620f\u91cd\u8981\u7269\u4f53\u7684\u90fd\u53ef\u4ee5\u4f7f\u7528Blend Probes\u8fdb\u884c\u7167\u660e\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u9700\u8981\u52fe\u9009Static\u7c7b\u578b\uff0c\u5b83\u4eec\u4e00\u5b9a\u5728Static\u6279\u6b21\u4e2d\uff0c\u540e\u9762\u628a\u5b83Lightmap Static\u53bb\u6389\u5c31\u53ef\u4ee5\u4e86\uff0c\u53bb\u6389\u540e\u5c31\u4e0d\u4f1a\u751f\u6210Lightmap\uff0c\u4f46\u662f\u4f1a\u63a5\u6536Light Probe\u7684\u5f71\u54cd\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5728\u8fd9\u4e2a\u9879\u76ee\u4e2d\u50cf\u680f\u6746\u548c\u4e00\u4e9b\u6839\u672c\u4e0d\u91cd\u8981\u7684\u5185\u90e8\u7269\u4f53\uff0c\u90fd\u53ef\u4ee5\u4f7f\u7528Blend Probes\u8fdb\u884c\u7167\u660e\uff0c\u8fd9\u4e9b\u4e1c\u897f\u70d8\u57f9\u4e0b\u6765\uff0c\u6574\u4f53\u4ee3\u4ef7\u548c\u8d34\u56fe\u5bb9\u91cf\u90fd\u8981\u5927\u5927\u7684\u8d85\u6807\u7684\u3002<br><\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u518d\u6765\u770b\u770b\u53e6\u4e00\u4e2a\u573a\u666f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/d361b3cd3a81a8c18875a29ed94cf0d3.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u5728\u6574\u4e2a\u5149\u7167\u5f53\u4e2d\uff0c\u6211\u4eec\u52a0\u4e86\u4e00\u4e9b\u9762\u5149\u6e90\uff0c\u8fd9\u662f\u4e3a\u4e86\u63d0\u9ad8\u573a\u666f\u7684\u7a97\u6237\u900f\u5149\u7684\u5149\u4eae\u3002\u5982\u679c\u4e0d\u52a0\uff0c\u5c31\u6ca1\u6cd5\u6309\u7a97\u6237\u5f62\u6210\u9762\u5149\u6e90\uff0c\u5411\u5185\u90e8\u8fdb\u884c\u7167\u660e\u7684\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u9700\u8981\u6ce8\u610f\uff0c\u9762\u5149\u6e90\u5728\u79fb\u52a8\u5e73\u53f0\u4e0a\uff0c\u5982\u679c\u4e0d\u662fHDRP\u7684\u8bdd\uff0c\u5c31\u53ea\u652f\u6301\u9759\u6001\u7684\uff0c\u53ea\u652f\u6301\u70d8\u57f9\uff0c\u4e0d\u662f\u70d8\u57f9\u7684\u6a21\u578b\u5b83\u662f\u4e0d\u652f\u6301\u7684\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4e0b\u56fe\u662f\u573a\u666f\u7684\u5149\u7167\u8d34\u56fe\u5927\u6982\u662f\u8fd9\u6837\u7684\uff0c\u6bd4\u8f83\u7b26\u5408\u767d\u5929\u7684\u5149\u7167\u6548\u679c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/0273be4b54cfa0f037100b20e6cc412b.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u770b\u770b\u5b83\u7684\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u9996\u5148Procedural Skybox\u5728\u8fd9\u91cc\u52a0\u8fdb\u6765\u3002\u5728Enlighten\u5f53\u4e2d\uff0c\u5343\u4e07\u4e0d\u8981\u4f7f\u7528\u6e10\u53d8\u548c\u989c\u8272\u8fdb\u884c\u70d8\u7119\uff0c\u4e24\u8005\u70d8\u7119\u51fa\u6765\u7684\u4e1c\u897f\u4f1a\u6bd4\u8f83\u98ce\u683c\u5316\uff0c\u5e76\u4e0d\u5199\u5b9e\u3002\u6709\u5f88\u591a\u4eba\u9009\u62e9\u7528\u67d0\u4e2a\u989c\u8272\u70d8\u6e10\u53d8\uff0c\u4f46\u6548\u679c\u4f1a\u975e\u5e38\u4e0d\u7406\u60f3\uff0c\u6240\u4ee5\u4e00\u822c\u9009\u62e9Skybox\u8fdb\u884c\u70d8\u7119\uff0c\u800cSkybox\u4e00\u822c\u4f7f\u7528Procedural Skybox\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u70d8\u7119\u5b8c\u540e\uff0c\u518d\u66ff\u6362\u4e3a\u81ea\u5df1\u573a\u666f\u7684\u98ce\u683c\u5316Skybox\u4f5c\u4e3a\u6700\u7ec8\u663e\u793a\u6548\u679c\u3002Procedural Skybox\u662f\u4ec5\u7528\u4e8e\u70d8\u7119\u7684\uff0c\u4e0d\u662f\u7528\u4e8e\u5236\u4f5c\u6700\u7ec8\u7684Skybox\u6548\u679c\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u518d\u4e3e\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\u3002\u5982\u679c\u8981\u5f62\u6210\u4e00\u4e2a\u7279\u522b\u9893\u5e9f\u548c\u538b\u6291\u7684\u73af\u5883\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5927\u6c14\u5bc6\u5ea6\u63d0\u5230\u5f88\u9ad8\uff0c\u7136\u540e\u5c06\u67d3\u8272\u964d\u4e00\u4e0b\uff0c\u6216\u8005\u504f\u5411\u4e00\u4e2a\u8272\u5f69\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u5c06\u6574\u4e2a\u66dd\u5149\u5ea6\u8c03\u4f4e\uff0c\u628a\u5927\u6c14\u5bc6\u5ea6\u8c03\u9ad8\uff0c\u5b9e\u73b0\u8ba9\u4eba\u5f88\u538b\u6291\u7684\u73af\u5883\uff0c\u8fd9\u79cd\u73af\u5883\u70d8\u7119\u51fa\u6765\u7684Lightmap\u6bd4\u8f83\u63a5\u8fd1\u4e8e\u6bd4\u8f83\u90aa\u6076\u7684\u5730\u65b9\uff0c\u4ece\u800c\u83b7\u5f97\u66f4\u52a0\u538b\u6291\u7684\u5149\u7167\u6548\u679c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/8ee852a2a7e29f72e6e2212d7ca7bbba.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u8fd8\u6709\u4e00\u70b9\uff0c\u5f53Atmosphere Thickness\u63d0\u9ad8\u4e86\u4ee5\u540e\uff0c\u5b83\u4f5c\u4e3a\u504f\u5149\u7684\u53ef\u7167\u660e\u533a\u57df\u4f1a\u7f29\u51cf\u3002\u7f29\u51cf\u7684\u610f\u601d\u662f\uff1a\u9ed1\u8272\u533a\u57df\u57fa\u672c\u4e0a\u4e0d\u8d21\u732e\u5149\u7ebf\u4e86\uff0c\u6574\u4e2aSkybox\u53d8\u4e3a\u4e0d\u662f\u534a\u7403\u5f62\u4e86\uff0c\u53d8\u5f97\u6ca1\u6709\u539f\u6765\u7684\u5149\u7167\u9762\u79ef\u5927\uff0c\u6240\u4ee5\u70d8\u7119\u51fa\u6765\u7684\u56fe\u5c31\u4e0d\u90a3\u4e48\u5254\u900f\u4e86\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u56e0\u4e3a\u5b83\u7684\u5468\u56f4\u5b58\u5728\u67d3\u8272\u95ee\u9898\uff0c\u5bfc\u81f4\u5b83\u63a7\u5236\u5728\u504f\u7ea2\uff0c\u504f\u538b\u6291\u7684\u73af\u5883\uff0c\u5c31\u80fd\u70d8\u6258\u51fa\u6765\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5bf9\u4e00\u4e9b\u67d3\u8272\u4ee5\u540e\uff0c\u5bf9\u5149\u7ebf\u7684\u53cd\u6620\u6765\u8c03\u51fa\u9002\u5408\u7684\u89c6\u89c9\u6548\u679c\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u4e0d\u5efa\u8bae\u5728\u5ba4\u5185\u7684\u65f6\u5019\u4f7f\u7528Light Probes\u8fdb\u884c\u7167\u660e\uff0c\u56e0\u4e3a\u5b83\u7684\u7269\u4f53\u8981\u6c42\u7cbe\u5ea6\u5f88\u9ad8\uff0c\u906e\u6321\u5173\u7cfb\u5168\u9760\u9700\u8981\u4f4e\u9891\u5149\u8fdb\u884c\u5f71\u54cd\uff0c\u6ca1\u6cd5\u505a\u51fa\u5f88\u591a\u53d8\u5316\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/7ea1f105c0750436a51ad950d6236b15.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u5c24\u5176\u662f\u4e00\u4e9b\u975e\u5e38\u5c0f\u7684\u7269\u4f53\uff0c\u5982\u679c\u60f3\u8981\u8868\u73b0\u51fa\u597d\u7684\u6548\u679c\uff0c\u4e00\u5b9a\u8981\u5bf9Lightmap\u5927\u5c0f\u8fdb\u884c\u653e\u5927\u3002\u4f8b\u5982\uff1a\u94c5\u7b14\u5728Scale In Lightmap\u91cc\u8981\u653e\u5927\u4e00\u500d\uff0c\u4e0d\u7136\u70d8\u51fa\u6765\u57fa\u672c\u4e0a\u6ca1\u6548\u679c\u3002\u4f46\u5bf9\u4e8e\u6709\u7684\u7269\u4f53\uff0c\u6211\u4eec\u8981\u4fdd\u8bc1\u7edf\u4e00\u6027\uff0c\u5982\u679c\u80fd\u4fdd\u8bc1\u7edf\u4e00\u6027\uff0c\u6709\u7684\u5730\u65b9\u4f1a\u51fa\u73b0\u4e00\u4e9b\u8272\u6591\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5728\u793a\u4f8b\u573a\u666f\u4e2d\uff0c\u6211\u4eec\u4f18\u5316\u6389\u4e86\u4e00\u90e8\u5206\u7684\u4e1c\u897f\uff0c\u6574\u4e2aLightmap\u7684\u7167\u660e\u8fd8\u53ef\u4ee5\uff0c\u4f46\u662f\u4f60\u4f1a\u770b\u5230\u8fd9\u4e9b\u4e1c\u897f\u90fd\u6d6e\u8d77\u6765\u4e86\uff0c\u9760\u5c4f\u5e55\u7a7a\u95f4\u7684AO\u662f\u63a7\u5236\u4e0d\u4f4f\u7684\uff0c\u6548\u679c\u4f1a\u4ea7\u751f\u5927\u91cf\u7684\u635f\u5931\u3002\u6240\u4ee5\u8fd9\u6837\u7684\u4e1c\u897f\u53ea\u5728\u5ba4\u5916\u6709\u7528\uff0c\u5ba4\u5185\u7684\u8bdd\u662f\u4e0d\u5efa\u8bae\u8fd9\u4e48\u7528\u3002<\/p>\n\n\n\n<p>\u3000\u3000Enlighten\u70d8\u7119\u5728\u793a\u4f8b\u573a\u666f\u4e2d\u7684\u6548\u7387\uff0c\u4ee3\u4ef7\u662f\u975e\u5e38\u5927\u7684\uff0c\u56e0\u4e3a\u573a\u666f\u4e2d\u7684\u7269\u4f53\u975e\u5e38\u7684\u591a\uff0c\u5b83\u7684UV Charts\u57fa\u672c\u4e0a\u6ca1\u529e\u6cd5\u770b\u5230\uff0c\u975e\u5e38\u788e\uff0c\u6240\u4ee5\u70d8\u7119\u65f6\u95f4\u4e5f\u975e\u5e38\u957f\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5728\u5c0f\u706b\u8f66\u7684\u573a\u666f\u4e2d\uff0c\u4f7f\u7528Enlighten\u5927\u6982\u70d8\u71194\u5206\u949f\u3002\u5728\u8fd9\u4e2a\u6559\u5ba4\u573a\u666f\uff0c\u56e0\u4e3a\u7269\u4f53\u975e\u5e38\u591a\u800c\u6742\uff0c\u5927\u6982\u662f\u5c0f\u706b\u8f66\u573a\u666f\u76845\u500d\u5de6\u53f3\u65f6\u95f4\uff0c\u5927\u698220\u5206\u949f\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4f7f\u7528Progressive\u70d8\u57f9\u5219\u5f88\u7a33\u5b9a\uff0c\u5b83\u53ea\u770b\u573a\u666f\u6709\u591a\u5927\u7684\u7cbe\u5ea6\uff0c\u4e0d\u7ba1\u573a\u666f\u6709\u591a\u5c11\u7269\u4f53\uff0c\u8fd9\u5c31\u662fProgressive\u548cEnlighten\u4e4b\u95f4\u7684\u5dee\u5f02\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/01\/61402c5fea8c7cabd73afb3c721957a5.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u3000\u3000\u6211\u7684\u6f14\u8bb2\u5230\u6b64\u7ed3\u675f\uff0c\u8c22\u8c22\u5927\u5bb6\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5c0f\u7ed3<\/p>\n\n\n\n<p>\u3000\u3000\u6211\u4eec\u5e0c\u671b\u901a\u8fc7\u672c\u6b21\u6f14\u8bb2\u5185\u5bb9\uff0c\u8ba9\u4f60\u719f\u7ec3\u638c\u63e1Unity\u5149\u7167\u7cfb\u7edf\u4ee5\u53ca\u70d8\u57f9\u6280\u672f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Unity\u7684\u5149\u7167\u70d8\u7119\u6280\u672f\uff08\u4e0a\uff09\u4e2d\uff0cUnity\u6280\u672f\u7f8e\u672f\u674e\u4e07\u91cc\u4ecb\u7ecd\u4e86Unity\u7684\u5149\u7167\u7cfb\u7edf\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Un [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1089"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1089"}],"version-history":[{"count":4,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1089\/revisions"}],"predecessor-version":[{"id":1263,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/1089\/revisions\/1263"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}