2021年4月14日 星期三

【】week08 texture、lighting【】

複習貼圖

新增成兩張圖

————————————————————————

打光

從最原始的程式碼中找到light的部分,複製到自己的程式裡(放的位置在圖片裡)

沒有留言:

張貼留言

距地表面160 Week11

 #include "glm.h" GLMmodel* pmodel = NULL; void drawmodel(void) {     if (!pmodel) { pmodel = glmReadOBJ("data/porsche.obj...