Add a mod for all games with bloom targets that blurs the bloom based on resolution using a custom material. The shader exposes bloom brightness and the amount of spread through uniforms (not exposed in the UI yet). The original shader logic was done by TryTwo. This shader was reworked for graphics mods and cleaned up slightly. Co-authored-by: TryTwo <[email protected]>
24 lines
454 B
Plaintext
24 lines
454 B
Plaintext
{
|
|
"properties":[
|
|
{
|
|
"code_name": "HORIZONTAL",
|
|
"default": true,
|
|
"description": "Whether to apply the blur horizontally or vertically",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"code_name": "SPREAD_MULTIPLIER",
|
|
"default": 1.0,
|
|
"description": "How much to spread the blur",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"code_name": "BRIGHTNESS_MULTIPLIER",
|
|
"default": 1.0,
|
|
"description": "How bright the blur is",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"samplers":[]
|
|
}
|