feat: evolve portfolio into an authored midnight grand tour

This commit is contained in:
2026-09-05 03:55:18 +03:00
parent 642f5b583d
commit c9ac36e249
41 changed files with 812 additions and 65 deletions

View File

@@ -64,7 +64,7 @@ const productionFactories: PostProcessingFactories = {
createComposer: (renderer) => new EffectComposer(renderer),
createRenderPass: (scene, camera) => new RenderPass(scene, camera),
createBloomPass: () =>
new UnrealBloomPass(new THREE.Vector2(1, 1), 0.54, 0.42, 0.88),
new UnrealBloomPass(new THREE.Vector2(1, 1), 0.3, 0.38, 1.05),
createOutputPass: () => new OutputPass(),
};
@@ -100,9 +100,9 @@ export function createPostProcessor(
setDynamics(acceleration) {
if (disposed) return;
const energy = clamp(acceleration, 0, 1);
bloomPass.strength = 0.54 + energy * 0.22;
bloomPass.radius = 0.42 + energy * 0.08;
bloomPass.threshold = 0.88 - energy * 0.03;
bloomPass.strength = 0.3 + energy * 0.12;
bloomPass.radius = 0.38 + energy * 0.06;
bloomPass.threshold = 1.05 - energy * 0.03;
},
render(scene, camera) {
if (disposed) return;