Skip to content

Feat: comp_visual_preset#289

Open
TheEnderek0 wants to merge 80 commits into
TeamSpen210:devfrom
Project-Collapse-Studios:van-dev
Open

Feat: comp_visual_preset#289
TheEnderek0 wants to merge 80 commits into
TeamSpen210:devfrom
Project-Collapse-Studios:van-dev

Conversation

@TheEnderek0

Copy link
Copy Markdown
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.

ozxybox and others added 30 commits December 21, 2024 13:17
We don't have any changes to it yet, but this way we're getting the latest and greatest, rather than just the old version on pypi
Getting a bit hacky here! Find a better solution later on...
TheEnderek0 and others added 30 commits July 5, 2025 23:05
Add DOF support for comp_visual_preset
add: workaround for the named lights with Static Bounce selected
fix: missing classname kv in workaround_ptex
changer: Re-enable dynamic priority (requires hijackcompiler)
change: Forgot to add appliesto and autovis to comp_light_bounce FGDs
add: Automatic mic enabling/disabling for comp_choreo_sceneset
fix: weapon_alyxgun having problems compiling
Update from TeamSpen210/HammerAddons
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.

2 participants