This assignment we are focusing on light.
Ambient Lighting
Specular Lighting
This is also we talk on the class
diffuseColor * (diffuse lighting + ambient light) + specular lighting
I saw the my classmates work and learn from there to make the our mesh in with 24 vertexes so ,each face will have their own normal.
the code

没有评论:
发表评论