基礎的光照場景添加鏡面光照

鏡面光照的計算方式參考:https://blog.csdn.net/auccy/article/details/82840881 鏡面光照的計算(包含環境光照與漫反射光照) void main() { // ambient float ambientStrength = 0.1; vec3 ambient = ambientStrength * sunColor;
相關文章
相關標籤/搜索