Fix bugs. In progress cube map loading.

This commit is contained in:
castano
2011-09-30 01:52:27 +00:00
parent dc13d9e9d2
commit eb10483faf
12 changed files with 825 additions and 235 deletions

View File

@ -65,7 +65,7 @@ namespace nvtt
for (uint i = 0; i < 6; i++) {
face[i].detach();
face[i].m->image = new nv::FloatImage;
face[i].m->image->allocate(edgeLength, edgeLength, 1);
face[i].m->image->allocate(4, edgeLength, edgeLength, 1);
}
}