在高清渲染管线 (HDRP) 中,可以在您使用 Shader Graph 创建的着色器中使用 Streaming Virtual Texturing (SVT)。
Some additional console platforms support this functionality. Consult the documentation for your target platform to determine if it supports Streaming Virtual Texturing.
SVT 建立在 Texture2D 上。SVT 纹理通过相同的导入器,这限制了最大纹理大小。SVT 不支持大于 16K x 16K 的纹理。它也不支持 UDIM 纹理或将平铺图像文件合并为一个大纹理。
SVT 不支持所有纹理图形格式。支持的格式如下:
GraphicsFormat::kFormatRGBA_DXT1_SRGB
GraphicsFormat::kFormatRGBA_DXT1_UNorm
GraphicsFormat::kFormatRGBA_DXT3_SRGB
GraphicsFormat::kFormatRGBA_DXT3_UNorm
GraphicsFormat::kFormatR_BC4_UNorm
GraphicsFormat::kFormatRG_BC5_UNorm
GraphicsFormat::kFormatRGB_BC6H_SFloat
GraphicsFormat::kFormatRGB_BC6H_UFloat
GraphicsFormat::kFormatRGBA_BC7_SRGB
GraphicsFormat::kFormatRGBA_BC7_UNorm
GraphicsFormat::kFormatR8_SRGB
GraphicsFormat::kFormatR8_UNorm
GraphicsFormat::kFormatR8G8_SRGB
GraphicsFormat::kFormatR8G8_UNorm
GraphicsFormat::kFormatR8G8B8_SRGB
GraphicsFormat::kFormatR8G8B8_UNorm
GraphicsFormat::kFormatR8G8B8A8_SRGB
GraphicsFormat::kFormatR8G8B8A8_UNorm
GraphicsFormat::kFormatR16_SFloat
GraphicsFormat::kFormatR16_UNorm
GraphicsFormat::kFormatR16G16_SFloat
GraphicsFormat::kFormatR16G16_UNorm
GraphicsFormat::kFormatR16G16B16A16_SFloat
GraphicsFormat::kFormatR16G16B16A16_UNorm
GraphicsFormat::kFormatR32_SFloat
GraphicsFormat::kFormatR32G32_SFloat
GraphicsFormat::kFormatR32G32B32A32_SFloat
GraphicsFormat::kFormatA2B10G10R10_UNormPack32
SVT 不支持:
SVT 中的纹理没有小于平铺大小(128 x 128 像素)的 Mipmap。SVT 将采样钳制到此 mip,因此您可以在远处看到某些内容的锯齿。
SVT 仅在播放器中支持三线性过滤,在编辑器中不支持。
SVT 仅支持在播放器中从磁盘的串流,而在编辑器中不支持。
最大各向异性过滤级别为 8。这是因为每个瓦片都有一个 8 像素的边框。
不能在播放器中动态设置属于堆栈一部分的纹理。在播放器中,不能调用 Material.SetTexture
或 Renderer.SetPropertyBlock
来修改纹理堆栈。
SVT 不支持:
堆叠层的纵横比必须匹配。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.