#3849 Score: 0
wffancy
Participant
1 pt

助教你好,phong着色器没问题了,可是我想添加texture时还是会报Segmentation fault: 11的错误。。我获取纹理值的方式是:
return_color = payload.texture->getColor(payload.tex_coords(0), payload.tex_coords(1));
其余地方应该是没有修改了,还麻烦给予指点