Switch back to using object level normals
This commit is contained in:
parent
cab1b538e6
commit
cdf521f184
BIN
output.png
BIN
output.png
Binary file not shown.
Before Width: | Height: | Size: 574 KiB After Width: | Height: | Size: 568 KiB |
@ -33,7 +33,7 @@ int main(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Model obj = load_obj_file(arena, RESOURCE("head.obj"), RESOURCE("head.pnm"),
|
Model obj = load_obj_file(arena, RESOURCE("head.obj"), RESOURCE("head.pnm"),
|
||||||
RESOURCE("head_nm_tangent.pnm"));
|
RESOURCE("head_nm.pnm"));
|
||||||
if (IS_INVALID_MODEL(obj)) {
|
if (IS_INVALID_MODEL(obj)) {
|
||||||
return TINY_EXIT_MODEL_LOAD_FAILED;
|
return TINY_EXIT_MODEL_LOAD_FAILED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user