Version: 2020.2
言語: 日本語
public bool automaticHDRTonemapping ;

説明

Describes whether Unity performs HDR tonemapping automatically.

Set automaticHDRTonemapping to be true to instruct Unity to perform an automatic tonemapping of your final image onto the HDR display buffer immediately before it is presented to screen. Set automaticHDRTonemapping to be false to perform your own custom HDR tonemapping onto the display buffer of the active HDR display. This could be achieved as a custom post processing stage or by using Camera.OnRenderImage to blit the cameras output to the HDR display buffer using your own tonemapping shader.

Performing your own tonemapping gives greater flexibility over the final image, whereas using Unity's automatic tonemapping provides a simple route to achieving HDR output.

Some platforms don't support automatic HDR Tonemapping (see SystemInfo.hdrDisplaySupportFlags). In this case, the default value of automaticHDRTonemapping is false and can't be changed. If automatic tonemapping is available, it's enabled by default.

The value of automaticHDRTonemapping is ignored if HDR output is not active on the display.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961