shading model Jun 2 2025 4 minutes read (About 664 words) Lambert Model$$I_o = D * I_i\cos(\theta)$$ $$D = \frac{\rho_d}{\pi}$$ Read More
SRT represent's disadvantage Jun 2 2025 5 minutes read (About 676 words) $SRT$是指使用缩放,旋转,平移来表示变换矩阵 Read More
unity _WorldSpaceLightDir in forwardBase lightMode Jun 2 2025 2 minutes read (About 341 words) 现象将方向光的旋转全部设为0,此时方向光朝向+Z,因此方向光的朝向为(0,0,1) Read More
use hexo deploy github page Jun 2 2025 6 minutes read (About 872 words) Create Github PageCreate a new repo named <username>.github.io,<username> is your username on Github Create a new branch named source Read More
visual studio code convert tab to space Jun 2 2025 a few seconds read (About 47 words) 使用空格缩进打开VSCode控制面板,选择Indent Using Spaces Read More
why Not PI in BRDF implement Jun 2 2025 4 minutes read (About 535 words) 案例分析Lambert的BRDF为$\frac{c_{d}}{\pi}$,在Unity中,Lambert光照实现为: Read More
why normal transform use inverse-transpose matrix Jun 2 2025 a few seconds read (About 81 words) 定义$T$为切线,$N$为法线,$M$为切线的变换矩阵,$Q$为法线的变换矩阵 Read More