在 高清渲染管线 (HDRP) 中,您可以在使用 着色器图 创建的 着色器在 GPU 上运行的程序。 更多信息
参见 术语表 中使用流式虚拟纹理 (SVT)。
某些其他控制台平台支持此功能。请查阅目标平台的文档,以确定它是否支持流式虚拟纹理。
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 将采样钳制到此 mipmap 级别,因此您可以在一定距离内看到内容的混叠现象。
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.