博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
色调映射 Tonemapping
阅读量:3611 次
发布时间:2019-05-21

本文共 2900 字,大约阅读时间需要 9 分钟。

Tonemapping is usually understood as the process of mapping color values from  (high dynamic range) to LDR (low dynamic range). In Unity, this means for most platforms that arbitrary 16-bit floating point color values will be mapped to traditional 8-bit values in the [0,1] range.

Tonemapping 通常被理解为将颜色值从高动态范围(HDR)映射到低动态范围(LDR) 的过程。在Unity中,这意味着对于大多数平台上任意16 位的浮点型颜色值将被映射为 [0,1] 范围内的传统8位颜色值。

Tonemapping will only properly work if the used camera has  enabled. It is also recommended to give light sources higher than normal intensity values to make use of the bigger range. Additionally, the  supports HDR and can help giving your lights higher ranges and is typically used in conjunction with Tonemapping.

Tonemapping只有在相机启用HDR时才能正常工作。建议给光源高于正常强度的亮度,从而让其具有更大的范围。此外,辉光(Bloom)图像特效支持 HDR,并且可以帮助让您的灯光拥有更高的范围,通常与 Tonemapping 一起使用。

There is many different ways on how to map intensities to LDR (as selected by Mode). This effect provides several techniques, two of them being adaptive (AdaptiveReinhard and AdaptiveReinhardAutoWhite), which means that color changes are carried out delayed as the change in intensities is fully registered. Cameras and the human eye have this effect. This enables interesting dynamic effects such as a simulation of the natural adaption happening when entering or leaving a dark tunnel into bright sunlight.

对于如何将亮度映射到低动态范围有许多种不同的方法,这种特效提供多种技术,其中两个是自适应的(AdaptiveReinhard 和 AdaptiveReinhardAutoWhite),这意味着颜色的变化可以滞后于亮度的变化。相机和人眼都具有这种效应。这样可以实现一些有趣的动态特效,比如模拟突然间从明亮的阳光下进入或离开阴暗桥洞的颜色自然调整过程。

As with the other , this effect is only available in Unity Pro and you must have the  installed before it becomes available.

和其他图像特效一样,该特效只能在Unity Pro上进行使用,并且在使用之前必须安装。

Properties 属性

  • Mode 
    模式
    Choose the desired tonemapping algorithm.
    选择想要的颜色映射算法
  • Exposure 
    曝光度
    Simulated exposure, defining the actual range of luminances.
    模拟曝光度,定义真实的亮度范围
  • Average grey 
    平均灰度
    Average grey value of the scene that defines the intensity of the result.
    平均场景中亮度的灰度值
  • White 
    白色
    Smallest value that will be mapped white.
    最小的值将被映射为白色
  • Adaption speed 
    调整速度
    Adjustment speed for all adaptive tonemappers.
    对于所有自适应色调映射器的调整速度
  • Texture size 
    纹理大小
    Size of the internal texture for all adaptive tonemappers. Bigger values capture more details when calculating the new intensity and lower performance.
    所有自适应色调映射器的内部纹理,比较大的值可以在计算新亮度时获得更多的细节,但具有较低的性能

Hardware support 硬件支持

This effect requires a graphics card with pixel shaders (2.0) or OpenGL ES 2.0. PC: NVIDIA cards since 2003 (GeForce FX), AMD cards since 2004 (Radeon 9500), Intel cards since 2005 (GMA 900); Mobile: OpenGL ES 2.0; Consoles: Xbox 360, PS3.

这个特效需要显卡拥有像素着色器(2.0)或者OpenGL ES 2.0。台式机:2003年以后的NVIDIA显卡(GeForce FX),2004年以后的AMD显卡(Radeon 9500),2005年以后的Intel卡(GMA 900);移动设备:OpenGL ES 2.0;控制台: Xbox 360、 PS3。

All image effects automatically disable themselves when they can not run on end-users graphics card.

所有图像特效如果无法在用户显卡上运行时将会自动被关闭。

页面最后更新:2012-01-09

标签:   
分类: | 
翻译: Amazonzx

转载地址:http://awzkn.baihongyu.com/

你可能感兴趣的文章
面向对象的三个基本特征
查看>>
页面左侧二级菜单20种案例
查看>>
前端有用网站合集
查看>>
基于node.js的express框架
查看>>
更改node默认模板引擎
查看>>
简单点赞(js)和收藏(jquery)功能
查看>>
用jquery实现简单的浏览历史功能
查看>>
bootstrap-table的简单使用
查看>>
点击按钮增加或减少本文框的数字
查看>>
express+nodejs+mysql实现数据在前台页面的展示
查看>>
基本数据类型与引用数据类型的区别
查看>>
gitbook与Typora的使用
查看>>
vscode的缩放
查看>>
React 中的props与state
查看>>
react native 环境搭建与项目创建
查看>>
react-native 使用 iconfont
查看>>
mysql安装与配置
查看>>
nodejs express mysql实现多表查询
查看>>
mysql 中select * from查询数据时出现中文乱码
查看>>
若干个div,点击其中任意一个添加背景色,且只有当前被点击的div有背景色
查看>>