vec3 ambient = light.ambient * vec3(texture(material.diffuse, TexCoords));. And that's all it takes to use a diffuse map. As you can see it is nothing new, ...
確定! 回上一頁