Fix barycentric coordinates calculation #2
@ -45,9 +45,9 @@ int main(void) {
|
|||||||
.ambient = 0.3f,
|
.ambient = 0.3f,
|
||||||
.diffuse = 1.5f,
|
.diffuse = 1.5f,
|
||||||
.specular = 2.0f,
|
.specular = 2.0f,
|
||||||
// .ambient = 0.0f,
|
// .ambient = 1.0f,
|
||||||
// .diffuse = 0.0f,
|
// .diffuse = 0.0f,
|
||||||
// .specular = 2.0f,
|
// .specular = 0.0f,
|
||||||
.shininess = 1.5f,
|
.shininess = 1.5f,
|
||||||
};
|
};
|
||||||
obj.material = material;
|
obj.material = material;
|
||||||
|
Loading…
Reference in New Issue
Block a user