ToneMappingEffect¶
类位于 Infernux.renderstack
继承自: FullScreenEffect
描述¶
色调映射效果。把 HDR 颜色压到屏幕可显示范围。
description
属性¶
| 名称 | 类型 | 描述 |
|---|---|---|
| name | str |
(只读) |
| injection_point | str |
(只读) |
| default_order | int |
(只读) |
| menu_path | str |
(只读) |
| mode | ToneMappingMode |
映射模式(ACES / Reinhard / Neutral 等)。 |
| exposure | float |
|
| gamma | float |
properties
公共方法¶
| 方法 | 描述 |
|---|---|
get_shader_list() → List[str] |
|
setup_passes(graph: RenderGraph, bus: ResourceBus) → None |
|
set_params_dict(params: Dict[str, Any]) → None |
Restore parameters from a dictionary, normalizing the mode value. |
public_methods
示例¶
example
另请参阅¶
see_also