Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions e2e/case/postProcess-HDR-bloom-ACES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
const tonemappingEffect = postProcess.addEffect(TonemappingEffect);
tonemappingEffect.mode.value = TonemappingMode.ACES;

bloomEffect.threshold.value = 0.5;
bloomEffect.intensity.value = 1;
bloomEffect.threshold.value = 1.5;
bloomEffect.intensity.value = 10;

Check warning on line 22 in e2e/case/postProcess-HDR-bloom-ACES.ts

View check run for this annotation

Codecov / codecov/patch

e2e/case/postProcess-HDR-bloom-ACES.ts#L21-L22

Added lines #L21 - L22 were not covered by tests
bloomEffect.dirtTexture.value = dirtTexture;
tonemappingEffect.mode.value = TonemappingMode.ACES;
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/core/src/postProcess/PostProcessUberPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class PostProcessUberPass extends PostProcessPass {
const thresholdKnee = thresholdLinear * 0.5; // Hardcoded soft knee
const bloomParams = bloomShaderData.getVector4(BloomEffect._bloomParams);
const scatterLerp = MathUtil.lerp(0.05, 0.95, scatter.value);
bloomParams.x = threshold.value;
bloomParams.x = thresholdLinear;
bloomParams.y = thresholdKnee;
bloomParams.z = scatterLerp;
const bloomIntensityParams = uberShaderData.getVector4(BloomEffect._bloomIntensityParams);
Expand Down
Loading