lock threat: increase chromatic aberration multiplier for low threat visibility
This commit is contained in:
parent
130627f39c
commit
2c370afe8e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ void main() {
|
||||||
float intensity = threat + pulse * threat * 0.4;
|
float intensity = threat + pulse * threat * 0.4;
|
||||||
|
|
||||||
// Chromatic aberration - RGB channel split increasing with threat
|
// Chromatic aberration - RGB channel split increasing with threat
|
||||||
float aberration = intensity * 0.008;
|
float aberration = intensity * 0.02;
|
||||||
float r = texture(source, uv + vec2(aberration, 0.0)).r;
|
float r = texture(source, uv + vec2(aberration, 0.0)).r;
|
||||||
float g = texture(source, uv).g;
|
float g = texture(source, uv).g;
|
||||||
float b = texture(source, uv - vec2(aberration, 0.0)).b;
|
float b = texture(source, uv - vec2(aberration, 0.0)).b;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue