unity _WorldSpaceLightDir in forwardBase lightMode Oct 15 2025 2 minutes 读完 (约 341 字) 现象将方向光的旋转全部设为0,此时方向光朝向+Z,因此方向光的朝向为(0,0,1) 阅读更多
use hexo deploy github page Oct 15 2025 6 minutes 读完 (约 872 字) Create Github PageCreate a new repo named <username>.github.io,<username> is your username on Github Create a new branch named source 阅读更多
visual studio code convert tab to space Oct 15 2025 a few seconds 读完 (约 47 字) 使用空格缩进打开VSCode控制面板,选择Indent Using Spaces 阅读更多
why Not PI in BRDF implement Oct 15 2025 4 minutes 读完 (约 535 字) 案例分析Lambert的BRDF为$\frac{c_{d}}{\pi}$,在Unity中,Lambert光照实现为: 阅读更多
why normal transform use inverse-transpose matrix Oct 15 2025 a few seconds 读完 (约 81 字) 定义$T$为切线,$N$为法线,$M$为切线的变换矩阵,$Q$为法线的变换矩阵 阅读更多