Unity version: 2020.1.0b9 or newer
In Unity 2020.1, with High Definition Render Pipeline versions 9.0.0-preview and newer, you can use Streaming Virtual Texturing (SVT) in Shaders you create with Shader Graph.
SVT is built on top of Unity Texture2D. SVT textures go through the same importer, which limits the maximum texture size. Currently, SVT doesn’t support textures larger than 16K x 16K. It also does not support UDIM Textures, or merging tiled image files into one large texture.
SVT doesn’t support all texture graphics formats. The supported formats are:
GraphicsFormat::kFormatRGBA_DXT1_SRGBGraphicsFormat::kFormatRGBA_DXT1_UNormGraphicsFormat::kFormatRGBA_DXT3_SRGBGraphicsFormat::kFormatRGBA_DXT3_UNormGraphicsFormat::kFormatR_BC4_UNormGraphicsFormat::kFormatRG_BC5_UNormGraphicsFormat::kFormatRGB_BC6H_SFloatGraphicsFormat::kFormatRGB_BC6H_UFloatGraphicsFormat::kFormatRGBA_BC7_SRGBGraphicsFormat::kFormatRGBA_BC7_UNormGraphicsFormat::kFormatR8_SRGBGraphicsFormat::kFormatR8_UNormGraphicsFormat::kFormatR8G8_SRGBGraphicsFormat::kFormatR8G8_UNormGraphicsFormat::kFormatR8G8B8_SRGBGraphicsFormat::kFormatR8G8B8_UNormGraphicsFormat::kFormatR8G8B8A8_SRGBGraphicsFormat::kFormatR8G8B8A8_UNormGraphicsFormat::kFormatR16_SFloatGraphicsFormat::kFormatR16_UNormGraphicsFormat::kFormatR16G16_SFloatGraphicsFormat::kFormatR16G16_UNormGraphicsFormat::kFormatR16G16B16A16_SFloatGraphicsFormat::kFormatR16G16B16A16_UNormGraphicsFormat::kFormatR32_SFloatGraphicsFormat::kFormatR32G32_SFloatGraphicsFormat::kFormatR32G32B32A32_SFloatGraphicsFormat::kFormatA2B10G10R10_UNormPack32SVT 不支持:
SVT 中的纹理没有小于平铺大小(128 x 128 像素)的 Mipmap。SVT 将采样钳制到此 mip,因此您可以在远处看到某些内容的锯齿。
SVT supports trilinear filtering only in the Player, and not in the Editor.
SVT supports streaming from disk only in the Player, and not in the Editor.
The maximum anisotropic filtering level is 8, because each tile has an 8-pixel border.
You cannot set textures that are part of a stack dynamically in the Player. In the Player, you cannot call Material.SetTexture or Renderer.SetPropertyBlock to modify the Texture Stack.
SVT 不支持:
堆叠层的纵横比必须匹配。