Skip to content

Conversation

@TheEnderek0
Copy link
Contributor

New PR based on the old one, with clean history. I still don't know how the old one broke.

This is a comp entity that allows users to set presets for tone mapping, fog and color correction, all handled by one entity.

For tone mapping this entity supports setting: AutoExposureMax, AutoExposureMin, Bloom, BloomExponent
For fog: Primary color, Fog Start, Fog End, Fog Max Density, Lerping (for the values specified before)
For CC: Filename (which gets specified as an actual filename, evaluates to: materials/correction/.raw)

When Apply is fired to this entity, it fires respective IO to specified fog_controller, tonemapper and color_correction entity, as mentioned before it features lerping. It also automatically disables other comp_visual_presets making sure only one is active at a time.

Not specifying cc_filename, tonemapper or fog_controller just disables these features respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant