入门图形学:光照模型(三)

转载自: https://blog.csdn.net/yinhun2012/article/details/80924102 之前两篇博客,我们学习了一般光照模型对物体颜色的作用公式,如下:        surfaceColor = emissive + ambient + diffuse + specular;          这次我们就来实际在图形引擎中用shader cg实现一下,看下具
相关文章
相关标签/搜索