Blinn-Phong优化phong模型的数学依据
代码层面分析: phong模型中的高光代码 float spec pow(max(dot(viewDir, reflectDir), 0.0), shininess); vec3 specular specularStrength * spec * lightColor; blinn-phong模型中的高光代码 float spec pow(max(dot(normal, halfwayDir), 0.0), shininess…
2025-01-26