File tree Expand file tree Collapse file tree 2 files changed +172
-237
lines changed
examples_tests/41.VisibilityBuffer Expand file tree Collapse file tree 2 files changed +172
-237
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ int main()
351
351
//
352
352
auto * qnc = am->getMeshManipulator ()->getQuantNormalCache ();
353
353
// loading cache from file
354
- qnc->loadNormalQuantCacheFromFile <asset::CQuantNormalCache::E_CACHE_TYPE::ECT_2_10_10_10 >(fs, " ../../tmp/normalCache101010.sse" , true );
354
+ qnc->loadCacheFromFile <asset::EF_A2B10G10R10_SNORM_PACK32 >(fs, " ../../tmp/normalCache101010.sse" , true );
355
355
356
356
// register the zip
357
357
device->getFileSystem ()->addFileArchive (" ../../media/sponza.zip" );
@@ -363,7 +363,7 @@ int main()
363
363
auto mesh_raw = static_cast <asset::ICPUMesh*>(mesh.get ());
364
364
365
365
// saving cache to file
366
- qnc->saveCacheToFile ( asset::CQuantNormalCache::E_CACHE_TYPE::ECT_2_10_10_10, fs, " ../../tmp/normalCache101010.sse" );
366
+ qnc->saveCacheToFile < asset::EF_A2B10G10R10_SNORM_PACK32>( fs, " ../../tmp/normalCache101010.sse" );
367
367
368
368
// TODO: change it to vector of smart pointers
369
369
core::vector<ICPUMeshBuffer*> meshBuffers;
You can’t perform that action at this time.
0 commit comments