# Scaling Box reflection Capture is painfully slow

**URL:** <https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594>\
**Category:** Asset Creation\
**Tags:** reflection-captures, unreal-engine, question\
**Created:** [May 19, 2021, 1:27am UTC](https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594 "2021-05-19T01:27:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThinVeil](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thinveil/32/1105876_2.png) [@ThinVeil](https://forums.unrealengine.com/u/ThinVeil)\
**Post date:** [May 19, 2021, 1:27am UTC](https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594/1 "2021-05-19T01:27:54Z")

</div>

This has been an issue since the box reflection capture has been around, but when scaling it with the scale tool it is so slow, like it a missed place decimal in the code when it comes to the scale. Compared to scaling the sphere reflection it is much quicker.

Would be nice to get this fixed, not sure if this has been reported already, I couldn’t find anything when I did a quick google.

---

<div class="post-metadata">

**Author:** ![Rene\_Zwaan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rene\_Zwaan](https://forums.unrealengine.com/u/Rene_Zwaan)\
**Post date:** [May 19, 2021, 5:05am UTC](https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594/2 "2021-05-19T05:05:53Z")

</div>

This is because the Box reflection capture default Scale is 1 cm (or 1 UU), Wile most other object default scale is 1 Meter. or (100 uu). This is why the scaling feels slow. It is scaling at the same rate. It is just a lot smaller at scale 1.

---

<div class="post-metadata">

**Author:** ![Rene\_Zwaan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rene\_Zwaan](https://forums.unrealengine.com/u/Rene_Zwaan)\
**Post date:** [May 19, 2021, 5:08am UTC](https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594/3 "2021-05-19T05:08:59Z")

</div>

I do think this is a bit strange since other volumes are scaled to 1Meter.

---

<div class="post-metadata">

**Author:** ![ThinVeil](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thinveil/32/1105876_2.png) [@ThinVeil](https://forums.unrealengine.com/u/ThinVeil)\
**Post date:** [May 19, 2021, 5:20am UTC](https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594/4 "2021-05-19T05:20:50Z")

</div>

Thanks, for the explanation. That is exactly what it is! I feel like this could be a quick fix just slide that decimal over.

---

<div class="post-metadata">

**Author:** ![Aherys](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aherys/32/1194650_2.png) [@Aherys](https://forums.unrealengine.com/u/Aherys)\
**Post date:** [May 9, 2022, 12:22pm UTC](https://forums.unrealengine.com/t/scaling-box-reflection-capture-is-painfully-slow/483594/5 "2022-05-09T12:22:09Z")

</div>

If some people want to fix it, you need to edit the engine source :

```auto
void ABoxReflectionCapture::EditorApplyScale(const FVector& DeltaScale, const FVector* PivotLocation, bool bAltDown, bool bShiftDown, bool bCtrlDown)
{
	UBoxReflectionCaptureComponent* BoxComponent = Cast<UBoxReflectionCaptureComponent>(GetCaptureComponent());
	check(BoxComponent);
	const FVector ModifiedScale = DeltaScale * ( AActor::bUsePercentageBasedScaling ? 5000.0f : 50.0f );
	FVector NewScale = BoxComponent->GetRelativeScale3D() + ModifiedScale;
	BoxComponent->SetRelativeScale3D(NewScale);
	GetCaptureComponent()->InvalidateLightingCache();
	PostEditChange();
}

```

in reflectioncapturecomponent.cpp, of course, add the signature to the .h.
