FVirtualTextureBuiltData::GetNumMips() can return 1 fewer mip than it should due to a potential clamping issue at the end of FVirtualTextureBuilderDerivedInfo::InitializeFromBuildSettings() where it is clamped to VIRTUALTEXTURE_LOG2_MAX_PAGETABLE_SIZE (12) . The clamping is presumably to make sure that the texture can fit in the page table, so any clamping should be against VIRTUALTEXTURE_LOG2_MAX_PAGETABLE_SIZE + log2(TileSize)
Create a Virtual Texture of size 4K or above. Look in the texture editor at the number of mips reported. Note that it gets clamped at 12. Convert to a regular texture to see correct behavior.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-252260 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Fix Commit | 40422943 |
---|
Created | Feb 27, 2025 |
---|---|
Resolved | Mar 3, 2025 |
Updated | Mar 3, 2025 |