佚名通过本文主要向大家介绍了unity3d安装选项,unity3d 性能优化,unity3d,unity3d下载,unity3d培训等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: unity3d打包时这两个选项的意义是什么?对性能有影响吗?
描述:
官网:
Use 32-bit Display Buffer:Specifies if Display Buffer should be created to hold 32-bit color values (16-bit by default). Use it if you see banding, or need alpha in your ImageEffects, as they will create RTs in same format as Display Buffer.
Use 24-bit Depth Buffer:If set Depth Buffer will be created to hold (at least) 24-bit depth values. Use it only if you see 'z-fighting' or other artifacts, as it may have performance implications.
24位深度缓冲这个我还能理解,主要通过unity3d自己解决z-fighting,我们项目没有能造成这种情况的shader,所以我可以不用。
(我是安卓环境)
但是:
32位显示缓存,这个我感觉说的好模糊,是创建RenderTexture吗?那岂不是很耗内存了?
对32bit显示缓存
1、求解32位是否应该使用?我显示关闭了打包也看不出什么问题
2、是否影响性能?如果影响,瓶颈是不是在这里?
谢谢各位了!!
解决方案1:
描述:
shaderunity3dcgandroidz-fighting

官网:
Use 32-bit Display Buffer:Specifies if Display Buffer should be created to hold 32-bit color values (16-bit by default). Use it if you see banding, or need alpha in your ImageEffects, as they will create RTs in same format as Display Buffer.
Use 24-bit Depth Buffer:If set Depth Buffer will be created to hold (at least) 24-bit depth values. Use it only if you see 'z-fighting' or other artifacts, as it may have performance implications.
24位深度缓冲这个我还能理解,主要通过unity3d自己解决z-fighting,我们项目没有能造成这种情况的shader,所以我可以不用。
(我是安卓环境)
但是:
32位显示缓存,这个我感觉说的好模糊,是创建RenderTexture吗?那岂不是很耗内存了?
对32bit显示缓存
1、求解32位是否应该使用?我显示关闭了打包也看不出什么问题
2、是否影响性能?如果影响,瓶颈是不是在这里?
谢谢各位了!!
解决方案1:
耗显存,开着就是了,现在的手机基本都支持