Additive lighting (#685)

* Additive lighting

* adds options for all your optional needs

* one last tiny adjustment before we hit the create pr button

* spaghetti condensing

* add ccvar

* overlight correction

* fix requested changes

* cvar fix

* last fix

* nice

---------

Co-authored-by: deathride58 <deathride58@users.noreply.github.com>
Co-authored-by: MetalSage <metalsage.official@gmail.com>
Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
Co-authored-by: Ed <edwardxperia2000@gmail.com>
This commit is contained in:
MetalSage
2025-01-12 14:33:06 +04:00
committed by GitHub
parent a6847c08e8
commit 89b9a5c1fe
13 changed files with 168 additions and 12 deletions

View File

@@ -108,4 +108,4 @@
- type: shader
id: Hologram
kind: source
path: "/Textures/Shaders/hologram.swsl"
path: "/Textures/Shaders/hologram.swsl"

View File

@@ -69,7 +69,7 @@
drawdepth: Mobs
offset: 0,0.9
- type: PointLight
energy: 5
energy: 2.5
radius: 8
- type: entity

View File

@@ -90,7 +90,7 @@
shader: unshaded
- type: PointLight
color: "#e67c34"
energy: 5
energy: 2
radius: 8
- type: AmbientSound
enabled: true

View File

@@ -20,7 +20,7 @@
map: [ "light" ]
visible: false
- type: PointLight
energy: 2
energy: 1
radius: 8
color: "#b2ceeb"
enabled: false

View File

@@ -1,4 +1,21 @@
- type: shader
id: Wave
kind: source
path: "/Textures/_CP14/Shaders/wave.swsl"
path: "/Textures/_CP14/Shaders/wave.swsl"
# Base post-processing
- type: shader
id: BasePostProcess
kind: source
path: "/Textures/_CP14/Shaders/base_postprocess.swsl"
params:
CircleRadius: 420.0
CircleMinDist: 0.0
CirclePow: 1.0
CircleMax: 4.0
CircleMult: 0.25
FalloffClampMin: 0.075
FalloffClampMax: 1.0
FalloffStrength: 0.75
FalloffPow: 3.0
HDR: 1.5