Tuning the resurrections version.

This commit is contained in:
Rezmason
2021-10-20 00:13:55 -07:00
parent 80f5aea2a3
commit 3630c6adb0
2 changed files with 4 additions and 3 deletions

View File

@@ -131,8 +131,9 @@ const versions = {
effect:"resurrections",
width:100,
volumetric:true,
density:3,
fallSpeed:0.7
density:1.5,
fallSpeed:1.2,
raindropLength:1.25
}
};
versions.throwback = versions.operator;

View File

@@ -59,7 +59,7 @@ export default (regl, config, inputs) => {
float hue = 0.35 + (length(vUV - vec2(0.5, 1.0)) * -0.4 + 0.2);
vec3 rgb = hslToRgb(hue, 0.8, max(0., brightness.r)) * vec3(0.8, 1.0, 0.7);
vec3 resurrectionRGB = hslToRgb(0.13, 1.0, max(0., brightness.g) * 0.5);
vec3 resurrectionRGB = hslToRgb(0.13, 1.0, max(0., brightness.g) * 0.9);
gl_FragColor = vec4(rgb + resurrectionRGB + backgroundColor, 1.0);
}
`,