ios非线性_Android和iOS上的线性渲染支持

ios非线性

One of the new features in Unity 5.5 is linear rendering on Android and iOS. With linear rendering, you’re sure that the inputs, the outputs and the computation are in the correct color space. The brightness of the final image will go linearly with the amount of light in the scene. That means more consistent lighting across your scenes and assets.

Unity 5.5 的新功能之一 是 在Android和iOS上进行 线性渲染 。 使用线性渲染时,请确保输入,输出和计算在正确的色彩空间中。 最终图像的亮度将与场景中的光量成线性关系。 这意味着您的场景和资产上的照明更加一致。

With the alternative, ‘Gamma’ Color Space, brightness will quickly begin to turn to white as values go up, which is bad for image quality – you can see an example below:

使用“ Gamma”色彩空间作为替代方案,亮度会随着值的增加而Swift开始变为白色,这对图像质量不利–您可以在下面看到一个示例:

image01

With Unity 5.5, linear rendering is now available on Android and iOS. On Android, linear rendering requires OpenGL ES 3 graphics API which represents 61.1% of the Android devices. On iOS, linear rendering requires Metal graphics API which represents 71.1% of the iOS devices.

使用Unity 5.5,线性渲染现在可在Android和iOS上使用。 在Android上,线性渲染需要OpenGL ES 3图形API,该API 占Android设备的61.1% 。 在iOS上,线性渲染需要Metal graphics API,该API代表 iOS设备的71.1%

Due to the major differences between linear and gamma rendering, there is no fallback to gamma rendering because the assets would need to be reauthored. This means that a game using linear rendering won’t run on Android and iOS devices that only support OpenGL ES 2.0.

由于线性渲染和伽玛渲染之间的主要差异,因此伽玛渲染没有后退之处,因为需要重新授权资产。 这意味着使用线性渲染的游戏将无法在仅支持OpenGL ES 2.0的Android和iOS设备上运行。

We rely on filters on Google Play to ensure that games, that uses linear rendering and couldn’t run properly on OpenGL ES 2.0 only devices, won’t be listed in Google Play. We proceed similarly on iOS relying on iOS Keys to filter linear rendering games on the iOS store.

我们依靠 Google Play 上的 过滤器 来确保使用线性渲染且无法在仅OpenGL ES 2.0的设备上正常运行的游戏不会在Google Play中列出。 我们对iOS的处理类似,它依赖于 iOS键 来过滤iOS商店中的线性渲染游戏。

Additionally, Unity 5.3 introduced support for the OpenGL ES graphics API in the Windows editor and standalone to improve mobile developers iteration time. We worked with a number of GPU vendors to enable linear rendering with OpenGL ES on Windows. This functionality is already available on GeForce 376.09 drivers, thanks to Piers Daniell from NVIDIA for his help.

此外,Unity 5.3在Windows编辑器中引入了对OpenGL ES图形API的支持,并独立运行,以缩短移动开发人员的迭代时间。 我们与许多GPU供应商合作,以在Windows上使用OpenGL ES启用线性渲染。 感谢NVIDIA的Piers Daniell的帮助 , GeForce 376.09驱动程序 已经可以使用此功能 。

To have a look at linear rendering, we made a simple test scene for mobile and desktop with correct assets that you can freely download here.

为了了解线性渲染,我们为手机和台式机制作了一个简单的测试场景,其中包含正确的资源,您可以 在此处 免费下载 。

screenshot-2016-12-07-15-22-21

Currently, WebGL 2.0 doesn’t support linear rendering in Unity, but we have been working with the Khronos WebGL group and the Chrome team to provide such feature in a future release.

目前,WebGL 2.0在Unity中不支持线性渲染,但是我们一直在与Khronos WebGL小组和Chrome小组合作,以在将来的版本中提供此类功能。

翻译自: https://blogs.unity3d.com/2016/12/07/linear-rendering-support-on-android-and-ios/

ios非线性

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值