基础的光照场景添加镜面光照

镜面光照的计算方式参考:https://blog.csdn.net/auccy/article/details/82840881 镜面光照的计算(包含环境光照与漫反射光照) void main() { // ambient float ambientStrength = 0.1; vec3 ambient = ambientStrength * sunColor;
相关文章
相关标签/搜索