{"id":363,"date":"2026-03-15T14:12:36","date_gmt":"2026-03-15T06:12:36","guid":{"rendered":"http:\/\/chenglixue.top\/?p=363"},"modified":"2026-03-22T15:26:56","modified_gmt":"2026-03-22T07:26:56","slug":"363","status":"publish","type":"post","link":"http:\/\/chenglixue.top\/?p=363","title":{"rendered":"DX12 DDGI\u4f18\u5316"},"content":{"rendered":"<p><div class=\"has-toc have-toc\"><\/div><\/p>\n<h1>\u6570\u636e\u538b\u7f29<\/h1>\n<h2>\u95ee\u9898<\/h2>\n<p>DDGI\u9700\u8981\u7528\u5230\u8bb8\u591abuffer\u548cTexture\uff0c\u5982Irradiance\u3001Distance\u3001Probe pos offset\u3001Probe State\u3001Ray Data\u3001TLAS\uff0c\u867d\u7136DDGI\u4e0e\u5c4f\u5e55\u5206\u8fa8\u7387\u65e0\u5173\uff0c\u4f46\u4e0e\u573a\u666f\u6709\u5173\uff0c\u968f\u7740\u573a\u666f\u7684\u4e0d\u65ad\u53d8\u5927\uff0cprobe\u4e2a\u6570\u4e5f\u4f1a\u968f\u4e4b\u589e\u957f\u3002\u6709\u6ca1\u6709\u4ec0\u4e48\u65b9\u6cd5\u53ef\u4ee5\u964d\u4f4eProbe pos offset\u7684\u5e26\u5bbd\u5f00\u9500\u5462\uff1f\u6709\u7684\uff0c\u6839\u636e\u547d\u8fd0\u6273\u673a\u7684\u6f14\u8bb2\u5206\u4eab\uff0c\u5b83\u4eec\u5c06Probe pos offset\u538b\u7f29\u6210UINT8\uff0c\u6bcf\u4e2aProbe pos offset\u5b57\u8282\u6570\u4ece12\uff08\u7b14\u8005\u5b9e\u73b0\u7684Probe pos offset\u683c\u5f0f\u662ffloat3\uff09\u964d\u5230\u4e861<br \/>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a67c70219e0617d4fea3bd.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a67c70219e0617d4fea3bd.png\" alt=\"\" \/><\/p><\/noscript>\n<h2>\u5b9e\u73b0\u7b97\u6cd5<\/h2>\n<ul>\n<li>\u7b97\u6cd5\n<ul>\n<li>\u56e0\u4e3aProbe pos offset\u4e3b\u8981\u7528\u4e8e\u5c06Probe\u63a8\u51fa\u5899\u5916\uff0c\u4e0d\u9700\u8981\u7279\u522b\u7cbe\u51c6\uff0c\u53ea\u8981\u6ee1\u8db3\u4e0d\u5728\u5899\u5185\uff0c\u4e0d\u7279\u522b\u8d34\u8fd1\u5899\u9762\u5373\u53ef\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u8c03\u6362\u601d\u8def\uff0c\u4e0d\u9700\u8981\u5728RelocateProbes\u5c06\u7cbe\u51c6\u7684\u8ba1\u7b97Probe pos offset\u5b58\u50a8\u5728float3\u7684buffer\u4e2d\uff0c\u56e0\u4e3a\u6bcf\u4e2aprobe grid space\u7684\u5927\u5c0f\u662f\u6052\u5b9a\u7684\uff0cRelocateProbes\u7684\u504f\u79fb\u8303\u56f4\u4e5f\u5728\u5176\u4e2d\uff0c\u90a3\u4e48\u53ef\u4ee5\u5728probe grid space\u5927\u5c0f\u8303\u56f4\u4e2d\uff0c<strong>\u9884\u751f\u621064\u7ec4\u6590\u6ce2\u90a3\u5951\u7403\u9762\u5411\u91cf\uff0c\u6bcf\u7ec44\u4e2a\u5411\u91cf\uff0c\u6bcf\u7ec4\u5411\u91cf\u65b9\u5411\u76f8\u540c\uff0c\u4e0d\u540c\u7684\u662f\u5411\u91cf\u7f29\u653e<\/strong>\uff08RelocateProbes\u4f1a\u4e00\u70b9\u70b9\u7684\u5e73\u79fbprobe\uff0c\u6240\u4ee5\u9700\u8981\u9884\u5236\u56db\u79cd\u5927\u5c0f\u4e0d\u540c\u7684\u5411\u91cf\uff09\uff0c\u8fd9\u4e9b\u5411\u91cf\u5b58\u50a8\u5728<strong>LUT<\/strong>\u4e2d\uff0c\u7528\u4e8e\u540e\u7eed\u67e5\u8868\uff1b\u518d\u751f\u6210\u4e00\u4e2aUINT8 Texture\uff08\u53eb\u505aProbe Index Tex\uff09\uff0c\u7528\u4e8e<strong>\u8bb0\u5f55\u5728LUT\u8868\u4e2d\u627e\u5230\u7684index<\/strong>\uff0c<strong>Probe Index Tex<\/strong>\u5bf9\u5e94\u573a\u666f\u4e2d\u7684\u6240\u6709probe<\/li>\n<\/ul>\n<pre><code class=\"line-numbers\">float GetDistScale(int i)\n{\n    \/\/ \u5206\u914d 4 \u79cd\u4e0d\u540c\u7684\u8ddd\u79bb\u6743\u91cd\n    int distStep = i \/ 64;\n    float distScale = (distStep + 1) \/ 4.0f;\n\n    return distScale;\n}\nstd::vector&lt;Vector4&gt; GenerateRelocationLUT(Vector3 probeSpacing)\n{\n    std::vector&lt;Vector4&gt; lut(256);\n    const auto maxOffset = probeSpacing * 0.45f; \/\/ \u9650\u5236\u5728\u534a\u4e2a\u7f51\u683c\u5185\uff0c\u9632\u6b62\u8d8a\u754c \n\n    \/\/ \u7b2c\u4e00\u9879\u901a\u5e38\u8bbe\u4e3a (0,0,0)\uff0c\u4ee3\u8868\u201c\u4e0d\u504f\u79fb\u201d \n    lut[0] = Vector4(0, 0, 0, 0);\n\n    for (int i = 1; i &lt; 256; ++i)\n    {\n        \/\/ \u4f7f\u7528\u6590\u6ce2\u90a3\u5951\u7403\u9762\u7b97\u6cd5\u751f\u6210 64 \u4e2a\u65b9\u5411 \n        auto dir = GetFibonacciDir(i);\n        float distScale = GetDistScale(i);\n\n        Vector3 finalOffset = dir * maxOffset * distScale;\n\n        lut[i] = Vector4(finalOffset.x, finalOffset.y, finalOffset.z, 0.0f);\n    }\n    return lut;\n}\n<\/code><\/pre>\n<ul>\n<li>\u5728RelocateProbes\u4e2d\u4f9d\u65e7\u8ba1\u7b97offset\uff0c\u4f46\u8ba1\u7b97\u51faoffset\u540e\uff0c\u5c06currentOffset + offset\u4e0eLUT\u7684\u5411\u91cf\u4e00\u4e00\u6bd4\u8f83\u5927\u5c0f\uff0c\u5bfb\u627e\u5927\u5c0f\u6700\u8d34\u8fd1\u7684\uff0c\u627e\u5230\u540e\u8bb0\u5f55LUT Index<\/li>\n<\/ul>\n<pre><code class=\"line-numbers\">UINT currIndex = DDGI_Load_Probe_Offset_Index(texCoord);\nfloat3 currentOffset = relocationLUT[index].xyz;\n\nUINT bestIndex = 0;\nfloat minError = 1e27f;\nfloat3 normalizedOffset = fullOffset \/ max(g_GridSpacing * PROBE_MAX_OFFSET_FRACTION, 1e-6);\nif (dot(normalizedOffset, normalizedOffset) &lt; 0.2025f)\n{\n    \/\/ \u627e\u79bb\u4f4d\u7f6e\u6700\u8fd1\u7684\n    for (uint i = 0; i &lt; 32 * 4; ++i)\n    {\n        float d = distance(relocationLUT[i].xyz, fullOffset);\n        if (d &lt; minError)\n        {\n            minError = d;\n            bestIndex = i;\n        }\n    }\n}\nelse\n{\n    bestIndex = currIndex;\n}\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>\u6548\u679c<\/h2>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a694f0cb3bc062952e734b.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a694f0cb3bc062952e734b.png\" alt=\"\" \/><br \/><\/noscript>\n\u4e0b\u56fe\u662f\u4f18\u5316\u524d\u7684\uff0c\u4e0a\u56fe\u662f\u4f18\u5316\u540e\u7684\uff0c\u53ef\u4ee5\u770b\u5230\u964d\u4e86\u63a5\u8fd120ms<\/p>\n<p>\u518d\u6765\u770b\u770b\u6027\u80fd\u6307\u6807\u6570\u636e\uff1a<\/p>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a69552cb3bc062952e73ab.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a69552cb3bc062952e73ab.png\" alt=\"\" \/><br \/><\/noscript>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a695e8cb3bc062952e73f8.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a695e8cb3bc062952e73f8.png\" alt=\"\" \/><br \/><\/noscript>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a69943cb3bc062952e76e5.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a69943cb3bc062952e76e5.png\" alt=\"\" \/><br \/><\/noscript>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a699efcb3bc062952e7757.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a699efcb3bc062952e7757.png\" alt=\"\" \/><br \/><\/noscript>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a69abacb3bc062952e77cb.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a69abacb3bc062952e77cb.png\" alt=\"\" \/><br \/><\/noscript>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a69e3bcb3bc062952e7adf.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a69e3bcb3bc062952e7adf.png\" alt=\"\" \/><br \/><\/noscript>\n\u6b63\u5411\u6536\u76ca\uff1a\u5149\u8ffd\u8ba1\u7b97\u548cSM Instruction\u8ba1\u7b97\u3001L2\u7f13\u5b58\u4e0e\u547d\u4e2d\u7387\u3001VRAM\u90fd\u6709\u63d0\u5347\uff0cCompute Warp Latency\u5927\u91cf\u964d\u4f4e\u3001Warp Can't Launch\u964d\u4f4e<\/p>\n<h1>SharedMemory<\/h1>\n<h2>\u95ee\u9898<\/h2>\n<p>\u5728ProbeBlending\u4e2d\uff0c\u9700\u8981\u4ece\u663e\u5b58\u4e2d\u52a0\u8f7d\u8bb8\u591a\u6570\u636e\uff0c\u5982\uff1aRay Data\u3001Distance\uff0c\u4ee5\u53ca\u6bcf\u4e2afor\u5faa\u73af\u90fd\u4f1a\u8ba1\u7b97\u4e00\u6b21\u6590\u6ce2\u62c9\u5951\u7403\u9762\u5411\u91cf\uff0c\u8fd9\u6837\u4f1a\u5f88\u6d6a\u8d39L2\u3001VRAM\u5e26\u5bbd<\/p>\n<p>\u5982\u679c\u4f7f\u7528shared memory\u5c06\u8fd9\u4e9b\u6570\u636e\u7f13\u5b58\uff0c\u4e0d\u4f46\u4e0d\u4f1a\u6d6a\u8d39L2\u3001VRAM\u5e26\u5bbd\uff0c\u8fd8\u80fd\u964d\u4f4e\u5ef6\u8fdf\uff08SharedMemory\u5c5e\u4e8eSM\u5185\u90e8\u7684\u9ad8\u901f\u3001\u4f4e\u5ef6\u8fdf\u5185\u5b58\u7a7a\u95f4\uff09<\/p>\n<h2>\u7b97\u6cd5<\/h2>\n<p>\u6ca1\u4ec0\u4e48\u597d\u8bf4\u7684\uff0c\u5c06Ray Data\u3001Distance\uff0c\u4ee5\u53ca\u6bcf\u4e2afor\u5faa\u73af\u90fd\u4f1a\u8ba1\u7b97\u4e00\u6b21\u6590\u6ce2\u62c9\u5951\u7403\u9762\u5411\u91cf\u5b58\u50a8\u5728Shared Memory<\/p>\n<h2>\u6548\u679c<\/h2>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a710636f7a54338add58af.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a710636f7a54338add58af.png\" alt=\"\" \/><\/p><\/noscript>\n<p>\u53ef\u4ee5\u770b\u5230\u6027\u80fd\u8017\u65f6\u4ece1.15ms\u964d\u5230\u4e860.67ms<br \/>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a711066f7a54338add5903.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a711066f7a54338add5903.png\" alt=\"\" \/><br \/><\/noscript>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69a711c16f7a54338add594f.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69a711c16f7a54338add594f.png\" alt=\"\" \/><br \/><\/noscript>\n\u5ef6\u8fdf\u3001shader\u4ee3\u7801\u590d\u6742\u5ea6\u8fdb\u4e00\u6b65\u964d\u4f4e<\/p>\n<h1>\u7b5b\u9009\u5149\u7ebf<\/h1>\n<h2>\u95ee\u9898<\/h2>\n<p>\u76ee\u524d\u5149\u8ffd\u7684irradiance\u662f\u5728\u201dclosesthit\u201c\u4e2d\u8ba1\u7b97\u7684\uff0c\u6bcf\u6839\u5149\u7ebf\u53ea\u8981\u672a\u6253\u4e2d\u80cc\u9762\uff0c\u90fd\u4f1a\u8ba1\u7b97direct light\u3001shadow\u3001indirect light\uff0c\u4e0d\u4ec5\u5f00\u9500\u5927\uff08\u7c7b\u4f3c\u524d\u5411\u6e32\u67d3\uff09\u3001\u5206\u652f\u591a\uff0c\u4e14\u8fd9\u91cc\u7684\u5149\u7ebf\u6ca1\u6709\u7ecf\u8fc7\u6392\u5e8f\uff0c\u4e0d\u80fd\u5145\u5206\u5229\u7528L2\u7f13\u5b58\uff0c\u5927\u5927\u589e\u9ad8\u4e86\u5ef6\u8fdf<\/p>\n<p>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\uff0c\u9700\u8981\u5c06closesthit\u7684\u5149\u7167\u8ba1\u7b97\u79fb\u51fa\uff0c\u53ea\u8bb0\u5f55hit data\uff0c\u518d\u5728compute shader\u4e2d\u8fdb\u884c\u5168\u5c40\u5149\u7167\u8ba1\u7b97<\/p>\n<h2>\u7b97\u6cd5<\/h2>\n<p>\u7531\u4e8e\u8bb0\u5f55hit data\u5305\u62ecback face hit\u3001miss\u3001hit\uff0c\u82e5\u76f4\u63a5\u5c06hit data\u7528\u4e8e\u540e\u7eed\u7684compute shader\uff0ccompute shader\u4f1a\u8ba1\u7b97\u8bb8\u591a\u5206\u652f\uff0c\u5bfc\u81f4\u7ebf\u7a0b\u7b49\u5f85\uff1b\u56e0\u6b64\u5149\u8ffd\u7ed3\u675f\u540e\uff0c\u9700\u8981\u5bf9ray data\uff08\u5149\u7ebf\uff09\u6392\u5e8f\uff0c\u7b5b\u9009\u51fa\u6709\u6548\u5149\u7ebf\uff0c\u907f\u514d\u540e\u7eedcompute shader\u7684\u5206\u652f\u5bfc\u81f4\u7684\u7b49\u5f85\u5ef6\u8fdf<\/p>\n<p>\u5728\u7b5b\u9009\u6709\u6548\u5149\u7ebf\u65f6\uff0c\u6211\u4eec\u8fd8\u4f1a\u8bb0\u5f55<strong>\u6709\u6548\u5149\u7ebf\u7684\u4e2a\u6570<\/strong>\uff0c\u7528\u4e8e\u540e\u7eedcompute shader dispatch\u8ba1\u7b97\u5149\u7167\uff0c\u8fd9\u6837\u5206\u53d1\u7684\u7ebf\u7a0b\u4e00\u5b9a\u4e0d\u4f1a\u9047\u5230\u65e0\u6548\u5149\u7ebf\u5bfc\u81f4L2\u7684\u547d\u4e2d\u7387<\/p>\n<p>\u4f46\u6709\u4e00\u4e2a\u95ee\u9898\uff1a\u5982\u4f55\u9ad8\u6548\u7684\u62ff\u5230\u6709\u6548\u5149\u7ebf\u7684\u6570\u91cf\uff0c\u7b14\u8005\u9996\u5148\u60f3\u5230\u7684\u662f\u7528<strong>\u56de\u8bfb\u5806<\/strong>\uff0c\u4f46\u56de\u8bfb\u5806\u7684\u4f20\u8f93\u6548\u7387\u4e0d\u5982default heap\u9ad8\uff0c\u4e5f\u4f1a\u5bfc\u81f4\u7b49\u5f85\u3002\u540e\u6765\u7b14\u8005\u60f3\u5230\u4e86<strong>ExecuteIndirect<\/strong>\uff0c\u8fd9\u5c0f\u5b50\u5c31\u50cf\u5bfc\u6f14\u4e00\u6837\uff0c\u544a\u8bc9GPU\u5982\u4f55\u89e3\u6790buffer\u53ca\u6267\u884c\u591a\u5c11\u6761\u6307\u4ee4\uff0c\u5176\u4e2d\u5b83\u4e5f\u652f\u6301dispatch\uff0c\u8fd9\u6837\u5c31\u65e0\u9700\u5c06\u6709\u6548\u5149\u7ebf\u7684\u6570\u91cf\u4eceGPU\u4f20\u56de\uff0c\u76f4\u63a5\u4f7f\u7528ExecuteIndirect\u544a\u77e5GPU \u9700\u8981dispatch\u7ebf\u7a0b\u7ec4<\/p>\n<ul>\n<li>\u6d41\u7a0b\n<ul>\n<li>\u8ba1\u7b97\u6709\u6548\u5149\u7ebf\u6570\u91cf\u3001\u6709\u6548\u5149\u7ebf\u7684index\u3001\u6709\u6548\u5149\u7ebf\u7684\u6570\u636e<\/li>\n<\/ul>\n<p>\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528<strong>Wave Intrinsics<\/strong>\u5feb\u901f\u8ba1\u7b97\u51fa\u6bcf\u4e2awarp\u5185\u6709\u6548\u7684\u5149\u7ebf\u6570\u91cf\uff0c\u53caindex\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u51cf\u5c11\u663e\u5b58\u7ade\u4e89<\/p>\n<ul>\n<li>\u8ba1\u7b97dispatch\u6709\u6548\u5149\u7ebf\u9700\u8981\u591a\u5c11\u4e2a\u7ebf\u7a0b\u7ec4<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528ExecuteIndirect \u8bbf\u95ee\u8bb0\u5f55\u6709\u6548\u5149\u7ebf\u6570\u91cfbuffer\uff0c\u5e76dispatch<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6548\u679c<br \/>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69aef630afde4f1fb1c8e38f.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><br \/ >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69aef630afde4f1fb1c8e38f.png\" alt=\"\" \/><br \/><\/noscript>\n\u5982\u4e0a\u56fe\u6240\u793a\uff0cdispatch \u7684\u7ebf\u7a0b\u7ec43951\u4e2a\uff0c\u6709\u6548\u5149\u7ebf3951 * 64\uff0c\u964d\u4f4e\u4e861\/3<\/p>\n<\/li>\n<\/ul>\n<h1>LOD<\/h1>\n<h2>\u95ee\u9898<\/h2>\n<p>\u76ee\u524d\u4e0d\u7ba1\u8fd1\u5904\u3001\u8fdc\u7a0b\u5904\u7406probe\u7684\u9891\u7387\u90fd\u662f\u76f8\u540c\u7684\uff0c\u4f46\u5b9e\u9645\u4e0a\u8fdc\u5904\u7684probe\u5904\u7406\u9891\u7387\u4e0d\u9700\u8981\u90a3\u4e48\u9ad8\uff0c\u53ef\u4ee5\u6839\u636edistance\uff0c\u505a\u4e09\u7ea7\u7684\u5206\u5e27\u5904\u7406<\/p>\n<p>\u8fdc\u666f\u5149\u7167\u53d8\u5316\u9891\u7387\u8f83\u4f4e\uff0c\u4e0d\u7528\u6bcf\u6b21\u90fd\u8dd1\u4e00\u904dRT\uff0c\u53ef\u4ee5\u590d\u7528\u4e0a\u4e00\u5e27\u9644\u8fd1probe\u7684\u7ed3\u679c<\/p>\n<h2>\u7b97\u6cd5<\/h2>\n<ul>\n<li>distance\u591a\u7ea7\u5904\u7406\u9891\u7387\n<ul>\n<li>\u8ba1\u7b97probe\u5230camera\u7684distance\uff0c\u6839\u636edistance\u8fdc\u8fd1\uff0c\u5206\u6210\u6bcf4\u5e27\u66f4\u65b0\u3001\u6bcf16\u5e27\u66f4\u65b0\u3001\u6bcf64\u5e27\u66f4\u65b0<\/p>\n<\/li>\n<li>\n<p>\u5f53\u63a2\u9488\u7a81\u7136\u4ece\u6bcf16\u5e27\u66f4\u65b0\u8fdb\u5165\u5230\u6bcf4\u5e27\u66f4\u65b0\uff0c\u4f1a\u5bfc\u81f4\u5149\u7167\u66f4\u65b0\u7f13\u6162\u3002\u4e3a\u6b64\uff0c\u9700\u8981\u8bb0\u5f55\u4e0a\u4e00\u5e27probe\u7684\u66f4\u65b0\u9891\u7387\uff0c\u82e5\u4ece\u4f4e\u9891\u8fdb\u5165\u9ad8\u9891\uff0c\u5c06\u5386\u53f2\u6743\u91cdhysteresis \u8bbe\u4e3a0.f<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u8fdc\u666f\u590d\u7528<\/p>\n<ul>\n<li>\u5728\u8ba1\u7b97\u76f4\u63a5\u5149\u95f4\u63a5\u5149\u65f6\uff0c\u6839\u636eray hit distance\u5224\u65ad\u662f\u5426\u591f\u8fdc\uff0c\u591f\u8fdc\uff0c\u5c31\u590d\u7528\u4e0a\u4e00\u5e27\u7684\u5168\u5c40\u5149\u7167\u7ed3\u679c\uff0c\u5e76lerp\u5468\u56f4\u51e0\u4e2aprobe\u7684\u5168\u5c40\u5149\u7167\u503c<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u6548\u679c<\/h2>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69b154541685501a52de10c3.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69b154541685501a52de10c3.png\" alt=\"\" \/><\/p><\/noscript>\n<h1>\u65f6\u57df\u91cd\u91c7\u6837\u91cd\u8981\u6027\u91c7\u6837<\/h1>\n<h2>\u95ee\u9898<\/h2>\n<p>\u73b0\u5728\u5149\u7ebf\u751f\u6210\u662f\u5747\u5300\u5206\u5e03\uff0c\u8fd9\u5bf9\u4e8e\u660e\u4eae\u548c\u6697\u5904\u6295\u5c04\u7684\u5149\u7ebf\u6570\u662f\u76f8\u540c\u7684\uff0c\u4f46\u5b9e\u9645\u4e0a\u660e\u4eae\u5904\u9700\u8981\u66f4\u591a\u5149\u7ebf\uff0c\u6697\u5904\u4e0d\u9700\u8981\u5f88\u591a<\/p>\n<h2>\u7b97\u6cd5<\/h2>\n<p>\u4e3a\u6b64\u53ef\u4ee5\u57fa\u4e8e\u4e0a\u5e27\u8ba1\u7b97\u7684irradiance\u56fe\uff0c\u5728raygeneration\u4e2dprobe\u751f\u6210\u5149\u7ebf\u65f6\uff0c\u91c7\u6837irradiance\uff0c\u8ba1\u7b97\u660e\u4eae\u5ea6\uff0c\u8ba9\u66f4\u591a\u7684\u5149\u7ebf\u504f\u5411\u66f4\u4eae\u7684\u533a\u57df<br \/>\n<img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69b016a989a0c32ecc508638.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69b016a989a0c32ecc508638.png\" alt=\"\" \/><\/p><\/noscript>\n<p>\u7531\u4e8e\u91cd\u8981\u6027\u91c7\u6837\u8981\u4f7f\u7528\u8499\u7279\u5361\u6d1b\uff0c\u56e0\u6b64irradiance\u4e0d\u80fd\u518d\u4f7f\u7528\u5747\u5300\u91c7\u6837\u7684\u516c\u5f0f\uff0c\u516c\u5f0f\u9700\u8981\u4ece\uff1a<span class=\"katex math inline\">2 * \\frac{\\sum^N L_i *\u03c9_i}{\\sum^N \u03c9_i}<\/span>\u53d8\u6210<span class=\"katex math inline\">\\frac{1}{N}\\sum^N\\frac{L_i * \u03c9_i}{p(\u03c9_i)}<\/span>\uff0c\u9700\u8981\u9664\u4ee5pdf\u548cray count<\/p>\n<p>\u7531\u4e8e\u662f\u5747\u5300\u7403\u9762\u53d6\u5176\u4e2d\u4e00\u6761\u6700\u4eae\u7684\uff0c\u90a3\u4e48pdf\u516c\u5f0f\u4e3a$pdf = \\frac{finalweight}{sumweight}<em>N<\/em>\\frac{1}{4PI}$<\/p>\n<p>\u4f46\u4e3a\u4e86\u9632\u6b62\u8fc7\u4e8e\u9ed1\uff0c\u8fd8\u662f\u9700\u8981\u6709\u90e8\u5206\u5149\u7ebf\u8d70\u5747\u5300\u91c7\u6837<\/p>\n<p>\u90e8\u5206\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"line-numbers\">\/\/ \u56db\u6839\u5149\u7ebf\u4e3a\u4e00\u7ec4\nconst uint N = 4;\nfloat3 candidateDirs[N];\nfloat weights[N];\nfloat sumWeight = 0.0f;\n\nfor (UINT i = 0; i &lt; N; ++i)\n{\n    candidateDirs[i] = DDGIGetProbeRayDir(rayIndex + i * N, RAYS_PER_PROBE, g_RandomRotation);\n\n    float2 uv = OctEncode(candidateDirs[i]);\n    uv = (uv * 0.5f + 0.5f) * (DDGI_PROBE_IRRADIANCE_NUM_TEXELS - 2.f) + 1.0f;\n    uv = (float2(atlasPos * DDGI_PROBE_IRRADIANCE_NUM_TEXELS) + uv) * g_IrradianceTexSize.zw;\n\n    float3 irradiance = SampleTexture2D_LOD(g_IrradianceTexIndex, uv, ClampLinearSampler, 0);\n\n    weights[i] = Luminance(irradiance) + 0.1f;  \/\/ \u6a21\u7cca\u540e\u7684\n    weights[i] *= Luminance(g_GIDataBuffer[probeIndex * RAYS_PER_PROBE + rayIndex + i * N].Irradiance) + 0.1f;  \/\/ \u51c6\u786e\u7684\n    sumWeight += weights[i];\n}\n\n\/\/ \u4eae\u5ea6\u6700\u5927\u7684\u80dc\u51fa\nfloat r = blueNoiseTex.SampleLevel(g_WarpPointSampler, bnUV, 0).r * sumWeight;  \/\/ \u968f\u673a\u6982\u7387\nfloat cumulativeWeight = 0.f;\nfinalRayDir = candidateDirs[0];\nfloat finalWeight = weights[0];\n\/\/ \u91c7\u7528\u4fc4\u7f57\u65af\u8f6e\u76d8\u8d4c\uff0c\u7d2f\u79ef\u5206\u5e03\u51fd\u6570\nfor (UINT i = 0; i &lt; N; ++i)\n{\n    cumulativeWeight += weights[i];\n    if (r &lt;= cumulativeWeight)\n    {\n        finalRayDir = candidateDirs[i];\n        finalWeight = weights[i];\n        break;\n    }\n}\n\npdf = (finalWeight \/ (sumWeight + 1e-4)) * N * INV_FOUR_PI;\n<\/code><\/pre>\n<h1>RESTRI GI<\/h1>\n<h2>\u95ee\u9898<\/h2>\n<p>\u867d\u7136\u91cd\u8981\u6027\u91c7\u6837\u80fd\u5c06\u5149\u7ebf\u6307\u5411\u66f4\u9700\u8981\u5149\u7ebf\u7684\u5730\u65b9\uff0c\u4f46\u8fd9\u8fd8\u4e0d\u591f\uff0c\u56e0\u4e3a\u91cd\u8981\u6027\u91c7\u6837\u53ea\u5728\u56db\u4e2aray\u4e2d\u6289\u62e9\uff0c\u4f9d\u65e7\u6709\u53ef\u80fd\u6307\u5411\u6697\u5904\uff0c\u8fd9\u5bfc\u81f4TraceRay\u4f9d\u65e7\u662f\u5927\u5934\uff0c\u5360\u670930ms<\/p>\n<p>\u4e3a\u4e86\u5927\u5e45\u51cf\u5c11\u5149\u7ebf\u6570\u91cf\uff0c\u8fd9\u91cc\u5f15\u8fdb<strong>RESTRI<\/strong>\u3002\u5982\u679c\u6289\u62e9\u7684ray\u4f9d\u65e7\u4e0d\u7406\u60f3\uff0cRESTRI\u4f1a<strong>\u4ece\u4e0a\u4e00\u5e27\u548c\u9694\u58c1probe\u767d\u5ad6<\/strong>\uff0c\u8fd9\u6837\u968f\u7740\u65f6\u95f4\u7684\u7d2f\u79ef\uff0cray\u53ea\u4f1a\u8d8a\u6765\u8d8a\u597d<\/p>\n<h2>\u7b97\u6cd5<\/h2>\n<ul>\n<li>\u65f6\u57df\u91cd\u91c7\u6837\u91cd\u8981\u6027\u91c7\u6837\n<ul>\n<li>\u521b\u5efa\u4e24\u4e2aReservoir Buffer\uff0c\u5b58\u50a8\u627e\u5230\u7684ray\u7684\u76f8\u5173\u4fe1\u606f<strong>Reservoir<\/strong><\/li>\n<\/ul>\n<pre><code class=\"line-numbers\">struct Reservoir\n{\n    Vector3 direction;\n    float weightSum;\n    float numSamples;      \/\/ \u89c1\u8fc7\u7684\u6837\u672c\u603b\u6570\n    float estimatorWeight; \/\/ \u5f52\u4e00\u5316\u6743\u91cd\n};\n<\/code><\/pre>\n<ul>\n<li>\u9009\u62e9n\u4e2a\u6837\u672c\uff0c\u5728n\u4e2a\u6837\u672c\u4e2d\u9009\u51fa\u6743\u91cd(\u4eae\u5ea6)\u6700\u5927\u7684\u4e00\u4e2a<\/p>\n<\/li>\n<li>\n<p>\u5206\u6d41\u91c7\u6837<\/p>\n<p>\u4e3a\u4e86\u9632\u6b62\u6697\u90e8\u8fc7\u4e8e\u6697\uff0c\u8ba91\/4\u7684ray\u5747\u5300\u91c7\u6837\uff0c3\/4\u7684ray\u91cd\u8981\u6027\u91c7\u6837<\/p>\n<\/li>\n<li>\n<p>\u8ba1\u7b97\u6743\u91cd<\/p>\n<p>\u91c7\u6837irradiance Tex\u5e76\u8ba1\u7b97\u4eae\u5ea6\uff0c\u4e3a\u6bcf\u4e2a\u6837\u672c\u8ba1\u7b97\u6743\u91cd<\/p>\n<\/li>\n<li>\n<p>CDF\u8f6e\u76d8\u8d4c<\/p>\n<ul>\n<li>bluenoise\u8ba1\u7b97\u968f\u673a\u6570<\/li>\n<li>\u7d2f\u52a0\u6837\u672c\u6743\u91cd\uff0c\u5e94\u7528\u7d2f\u79ef\u5206\u5e03\u51fd\u6570CDF\uff0c\u9009\u51fa\u4f18\u80dc\u8005ray<\/li>\n<li>\u8ba1\u7b97pdf<\/li>\n<\/ul>\n<\/li>\n<li>\u521d\u59cb\u5316Reservoir<\/p>\n<\/li>\n<li>\n<p><strong>direction<\/strong>\uff1a\u4f18\u80dc\u8005ray<\/p>\n<\/li>\n<li>\n<p><strong>weightSum<\/strong>\uff1a<span class=\"katex math inline\">\\frac{finalWeight}{pdf}<\/span>\uff0cfinalWeight\u4e3a\u4f18\u80dc\u8005ray\u7684\u6743\u91cd<\/p>\n<p>\u4fdd\u6301\u65e0\u504f\uff0c\u8ba9pdf\u9ad8\u7684\uff0c\u5355\u6b21\u8d21\u732e\u964d\u4f4e\uff0cpdf\u4f4e\u7684\uff0c\u5355\u8bcd\u8d21\u732e\u63d0\u9ad8\uff08\u9632\u6b62\u9ed1\u7684\u5730\u65b9\u8fc7\u9ed1\uff09<\/p>\n<\/li>\n<li>\n<p><strong>numSamples<\/strong>\uff1a1<\/p>\n<\/li>\n<li>\n<p>\u65f6\u57df\u91cd\u91c7\u6837\u91cd\u8981\u6027\u91c7\u6837<\/p>\n<\/li>\n<li>\n<p>\u8bfb\u53d6\u4e0a\u4e00\u5e27Reservoir<\/p>\n<ul>\n<li>\u8ba1\u7b97\u4e0a\u4e00\u5e27\u7684\u6743\u91cd<\/p>\n<\/li>\n<li>\n<p>\u8ba1\u7b97\u4e0a\u4e00\u5e27\u5728\u8fd9\u4e00\u5e27\u7d2f\u52a0\u7684\u603b\u6743\u91cd(\u4e0d\u80fd\u76f4\u63a5\u7528weightSum\uff0cweightSum\u662f\u57fa\u4e8e\u4e0a\u4e0a\u5e27\u7684\u5149\u7167\u7ed3\u679c\uff0c\u9700\u8981\u8bc4\u4f30\u4e0a\u4e00\u5e27\u7684\uff0c\u5426\u5219\u4f1a\u5bfc\u81f4\u95ea\u70c1)<\/p>\n<\/li>\n<\/ul>\n<p>\u516c\u5f0f\uff1a<span class=\"katex math inline\">preAccuWeight = preWeight * preReservoir.estimatorWeight * preReservoir.numSamples<\/span>\uff0c\u56e0\u4e3a<span class=\"katex math inline\">estimatorWeight = \\frac{1}{finalWeight}\u00b7\\frac{preReservoir.preAccuWeight }{preReservoir.num}<\/span><\/p>\n<\/li>\n<li>\n<p>Battle\u9009\u51fa\u4f18\u80dc\u8005<\/p>\n<ul>\n<li>\u4f9d\u65e7\u8f6e\u76d8\u8d4c\uff0c\u8ba1\u7b97\u4e0a\u4e00\u5e27\u5728\u5f53\u524d\u5e27(\u5f53\u524d\u5e27\u6743\u91cd+\u4e0a\u4e00\u5e27\u6743\u91cd)\u7684\u5360\u6bd4\uff0c\u5360\u6bd4\u5927\u4e8e\u5219\u80dc\u51fa\uff0c\u66f4\u65b0ray\u3001weight<\/li>\n<\/ul>\n<\/li>\n<li>\u5f52\u4e00\u5316<\/p>\n<\/li>\n<\/ul>\n<p>\u7c7b\u4f3cpdf\uff0c\u8ba1\u7b97\u7cfb\u6570\u7528\u4e8e\u8c03\u6574\u80fd\u91cf\uff0c\u9632\u6b62\u753b\u9762\u7206\u70b8<\/p>\n<pre><code class=\"line-numbers\">currReservoir.estimatorWeight = currReservoir.weightSum \/ (currReservoir.numSamples * finalWeight + 1e-6f);\n<\/code><\/pre>\n<\/li>\n<li>\u7a7a\u95f4\u91cd\u91c7\u6837\n<p>\u7a7a\u95f4\u91cd\u91c7\u6837\u6bd4\u65f6\u95f4\u91cd\u91c7\u6837\u66f4\u52a0\u590d\u6742\uff0c\u56e0\u4e3a\u7a7a\u95f4\u91cd\u91c7\u6837\u590d\u7528\u4e34\u8fd1\u7684probe\uff0c\u6781\u6709\u53ef\u80fd\u5bfc\u81f4\u6f0f\u5149\uff0c\u4e14probe\u4f4d\u7f6e\u4e0d\u540c\uff0chit distance\u4e5f\u4e0d\u4e00\u6837\uff0c\u5982\u4f55\u77eb\u6b63\u662f\u4e2a\u95ee\u9898<\/p>\n<ul>\n<li>\u8ba1\u7b97\u8981\u590d\u7528\u7684\u4e34\u8fd1\u7684probe index\uff0c\u8bb0\u4e3a<strong>neighborProbeIdx<\/strong><\/li>\n<\/ul>\n<p>\u4f9d\u65e7\u4f7f\u7528blue noise<\/p>\n<ul>\n<li>\u8ba1\u7b97neighborProbe\u7684world pos\u8bb0\u4e3a<strong>neighborPos<\/strong>\u3001neighborProbe hit\u7684world pos\u8bb0\u4e3a<strong>hitPos<\/strong>\uff0c\u6839\u636e\u8fd9\u4e24\u4e2apos\u8ba1\u7b97neighborPos\u5230hitPos\u7684\u5411\u91cf\u4e0e\u8ddd\u79bb\u8bb0\u4e3a<strong>dirToHitNor\u3001distToHit<\/strong><\/p>\n<\/li>\n<li>\n<p>\u6267\u884cshadow TraceRay\uff0c\u8d77\u70b9\u662fraygeneration\u5149\u7ebf\u7684\u8d77\u70b9\uff0c\u7ec8\u70b9\u662fhitPos\uff0c\u65b9\u5411\u662fdirToHitNor\uff0c\u8ddd\u79bb\u662fdistToHit<\/p>\n<\/li>\n<\/ul>\n<p>\u5982\u6b64\u53ef\u4ee5\u89e3\u51b3\u6f0f\u5149\u95ee\u9898<\/p>\n<ul>\n<li>\u8ba1\u7b97neighbor\u7684\u6743\u91cd\u3001neighbor\u5728\u8fd9\u4e00\u5e27\u7d2f\u52a0\u7684\u603b\u6743\u91cd\u3001<strong>\u96c5\u53ef\u6bd4\u4fee\u6b63<\/strong>\uff0cBattle\u9009\u51fa\u4f18\u80dc\u8005<\/p>\n<\/li>\n<li>\n<p>\u4e3a\u4ec0\u4e48\u9700\u8981\u96c5\u53ef\u6bd4\u4fee\u6b63<\/p>\n<p>\u5f53\u590d\u7528probe\u65f6\uff0c<strong>\u4e24\u4e2aprobe\u770b\u5411\u67d0\u4e2a\u4f4d\u7f6e\u7684\u6743\u91cd\u5927\u6982\u7387\u662f\u4e0d\u540c\u7684<\/strong>\uff0c \u76f4\u63a5\u4f7f\u7528\u6743\u91cd\u80af\u5b9a\u5bfc\u81f4\u4eae\u5ea6\u51fa\u9519\u3002\u56e0\u6b64RESTRI GI\u63d0\u51fa\u96c5\u53ef\u6bd4\u4fee\u6b63\uff0c\u4fee\u6b63\u4e0d\u540c\u4f4d\u7f6eprobe\u7684\u6743\u91cd\u7f29\u653e<\/p>\n<\/li>\n<li>\n<p>\u4ec0\u4e48\u662f\u96c5\u53ef\u6bd4\u4fee\u6b63<\/p>\n<p>\u96c5\u53ef\u6bd4\u4fee\u6b63\u63cf\u8ff0\u4e86<strong>\u5750\u6807\u53d8\u6362\u65f6\u7a7a\u95f4\u4f53\u79ef\u7684\u7f29\u653e\u6bd4\u4f8b<\/strong><\/p>\n<p>\u5728DDGI\u4e2d\uff0c\u5c06hitPos\u4eceprobe A\u7684\u5750\u6807\u7cfb\u6295\u5f71\u5230probe B\u7684\u5750\u6807\u7cfb\uff0c\u7531\u4e8e\u4e24\u4e2aprobe\u7684\u4f4d\u7f6e\u4e0d\u540c\uff0c\u6295\u5f71\u4f1a\u5bfc\u81f4\u62c9\u4f38\uff0c\u96c5\u53ef\u6bd4\u4fee\u6b63\u53ef\u4ee5\u4fee\u6b63\u8fd9\u79cd\u62c9\u4f38<\/p>\n<ul>\n<li>\u516c\u5f0f\uff1a$G(P, X) = \\frac{d^2_{neighbor}}{d^2_{curr}}\u00b7\\frac{cos\u03b8<em>{curr}}{cos\u03b8<\/em>{neighbor}}$<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u6548\u679c<\/h2>\n<p><img decoding=\"async\"   class=\"lazyload\" data-src=\"https:\/\/pic1.imgdb.cn\/item\/69b53ec70ee6511f188bc298.png\" src=\"https:\/\/cdn.jsdelivr.net\/gh\/moezx\/cdn@3.0.2\/img\/svg\/loader\/trans.ajax-spinner-preloader.svg\" onerror=\"imgError(this)\"  alt=\"\" \/><\/p >\n<noscript><img decoding=\"async\" src=\"https:\/\/pic1.imgdb.cn\/item\/69b53ec70ee6511f188bc298.png\" alt=\"\" \/><\/p><\/noscript>\n<h1>Reference<\/h1>\n<p>[UFSH2025&#93;\u300a\u547d\u8fd0\u6273\u673a\u300b\u7684\u5149\u4e0e\u5f71](https:\/\/search.bilibili.com\/all?vt=74086063&amp;keyword=\u547d\u8fd0\u6273\u673a usf&amp;from_source=webtop_search&amp;spm_id_from=333.1007&amp;search_source=5)<\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.youtube.com\/watch?v=2GYXuM10riw\" target=\"_blank\"  rel=\"nofollow\" >Radiance Caching for Real-Time Global Illumination<\/a><\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/zhuanlan.zhihu.com\/p\/12636727339\" target=\"_blank\"  rel=\"nofollow\" >RealtimeGI \u5b9e\u6218\u7bc7\uff08\u4e0b\uff09ReSTIR \u65f6\u7a7a\u91cd\u91c7\u6837\u964d\u566a\u7ba1\u7ebf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u538b\u7f29 \u95ee\u9898 DDGI\u9700\u8981\u7528\u5230\u8bb8\u591abuffer\u548cTexture\uff0c\u5982Irradiance\u3001Distance\u3001Probe pos o &#8230;<\/p>","protected":false},"author":1,"featured_media":364,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,5],"tags":[],"_links":{"self":[{"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/posts\/363"}],"collection":[{"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/chenglixue.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=363"}],"version-history":[{"count":3,"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/posts\/363\/revisions"}],"predecessor-version":[{"id":369,"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/posts\/363\/revisions\/369"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/chenglixue.top\/index.php?rest_route=\/wp\/v2\/media\/364"}],"wp:attachment":[{"href":"http:\/\/chenglixue.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chenglixue.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=363"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chenglixue.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}