To support foveated Rendering in a modified version of the Engine I would like to add saliency textures (which will be derived from an object’s texture) as derived data to the DDC.
I think using the DDC would be the best possibility because data in the DDC can be regenerated at any time from data stored in .uasset files, just like saliency textures.
Here are my questions:
- Some of the caching code was put into preprocessor directives such that the code won’t compile without the Editor. So what happens to the DDC functionality in standalone Games? Is it just not there or replaced by another mechanism?
- Are there better/easier ways of realizing that feature?
- Are there any good resources on how the DDC generally works? Where should I start looking for beside Engine/Private/TextureDerivedData.cpp?
Thanks in advance!