Posteffects are color correction effects that are applied to the lighting in certain areas (volumes) on the map map. They are used to tint the lighting for areas where the lighting would be noticable different, i.e. deserts.
All posteffects are found in /Hearts of Iron IV/gfx/posteffect_volumes.txt.
Posteffect Values
File:Ambox outdated info.png | 這部分內容可能已不適合當前版本,最後更新於1.5。 |
A posteffect values entry follows this format:
posteffect_values = { name = <name> inherit = <name> lut = <path> hdr_min_adjustment = <float> hdr_max_adjustment = <float> BLOOM_WIDTH = <float> BLOOM_SCALE = <float> BRIGHT_THRESHOLD = <float> tonemap_middlegrey = <float> }
name is the name of the posteffect values entry.
inherit causes the values for the current posteffect to be inherited from the specified posteffect.
lut is the path for the tone map used for this entry.
hdr_min_adjustment defines the minimum adjustment used in the HDR effect.
hdr_max_adjustment defines the maximum adjustment used in the HDR effect.
BLOOM_WIDTH defines the width of the bloom effect.
BLOOM_SCALE defines the scale of the bloom effect.
BRIGHT_THRESHOLD defines the threshold of the bloom effect.
tonemap_middlegrey defines the middle grey used in the tone map.
Volumes
File:Ambox outdated info.png | 這部分內容可能已不適合當前版本,最後更新於1.5。 |
Position Volume
A volume entry specifies an area on the map in which posteffect values are applied. It follows this format:
posteffect_volumes = { posteffect_volume = { name = <name> posteffect_values_day = <name> posteffect_values_night = <name> posteffect_values_day_winter = <name> posteffect_values_night_winter = <name> position = { <x> <y> <z> } size = { <width> <height> <depth> } fade_distance = <float> } }
name is the name of the volume entry.
posteffect_values_day is the posteffect values entry to use during the day.
posteffect_values_night is the posteffect values entry to use during the night.
posteffect_values_day_winter is the posteffect values entry to use during the day during winter months.
posteffect_values_night_winter is the posteffect values entry to use during the night during winter months.
position defines the location of the volume center.
size defines the size of the volume box.
fade_distance defines the fade distance for the posteffect values.
Height Volume
File:Ambox outdated info.png | 這部分內容可能已不適合當前版本,最後更新於1.5。 |
A height volume entry specifies a height at which to apply posteffect values. It follows this format:
posteffect_volumes = { posteffect_height_volume = { name = <name> posteffect_values_day = <name> posteffect_values_night = <name> height = <float> fade_distance = <float> } }
name is the name of the volume entry.
posteffect_values_day is the posteffect values entry to use during the day.
posteffect_values_night is the posteffect values entry to use during the night.
height defines at which height the values are applied.
fade_distance defines the fade distance for the posteffect values.
Tips
File:Ambox outdated info.png | 這部分內容可能已不適合當前版本,最後更新於1.5。 |
Make use of the console commands: PostEffectVolumes.Enabled
and PostEffectVolumes.Draw
when working with posteffects. Currently developer-only.
You can reload posteffects by using reload posteffectvolumes
in the console.
文件 | 效果 • 條件 • 定義 • 修正 • 修正列表 • 作用域 • 本地化 • on action • 數據結構 (標記, 臨時標記, 國家別名, 變量, 數組) |
腳本 | 成就修改 • AI修改 • AI focuses • 自治領修改 • 權力平衡修改 • 劇本/標籤 (遊戲規則)• 建築修改 • 人物修改 • 修飾性TAG修改 • 國家創建 • 軍隊修改 • 決議製作 • 裝備修改 • 事件修改 • Idea修改 • 意識形態修改 • 軍工商修改 • 國策製作 • 資源修改 • Scripted GUI • 科技製作 • 單位修改 |
地圖 | 地圖 • 省份 • 補給區域 • 戰略區域 |
圖形圖像 | 界面 • 圖形資產 • 實體模型 • 後期特效 • 離子效果 • 字體 |
裝飾性 | 肖像 • 命名列表 • 音樂 • 音效 |
其他 | 控制台指令 • 故障排除 • 模組結構 • 成就代碼分析 • Mod相關 • Nudger修改 |