# Dispose(), reflection textures and rendering speed

**URL:** <https://forum.babylonjs.com/t/dispose-reflection-textures-and-rendering-speed/43254>\
**Category:** Questions\
**Tags:** meshes\
**Created:** [August 11, 2023, 8:02pm UTC](https://forum.babylonjs.com/t/dispose-reflection-textures-and-rendering-speed/43254 "2023-08-11T20:02:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RainerHeintzmann](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rainerheintzmann/32/32692_2.png) [@RainerHeintzmann](https://forum.babylonjs.com/u/RainerHeintzmann)\
**Post date:** [August 11, 2023, 8:02pm UTC](https://forum.babylonjs.com/t/dispose-reflection-textures-and-rendering-speed/43254/1 "2023-08-11T20:02:37Z")

</div>

There is a problem which is little hard to diagnose. When I switch level, I end up disposing a number of meshes and recreating some new ones. For some reason I found that doing this a couple of time the rendering performance keeps decreasing. Is it possible that meshes with mirror surfaces leave something behind? Is there any way to find out, where the performance is lost?  
Another problem I see is that rotating a mesh using the gizmo shows this sudden interruptions of the otherwise smooth rotation. My suspicion is that also mirror textures may be generated on the fly, and after many megabytes the garbage collector needs to spend some time? If this is true, would it be possible to use a back-buffer scheme instead?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [August 18, 2023, 10:02pm UTC](https://forum.babylonjs.com/t/dispose-reflection-textures-and-rendering-speed/43254/2 "2023-08-18T22:02:09Z")

</div>

Could you create a repro ?

About the backbuffer we do support SSR for this 🙂
