# Cannot use textures of PrePassRenderer

**URL:** <https://forum.babylonjs.com/t/cannot-use-textures-of-prepassrenderer/51489>\
**Category:** Bugs\
**Tags:** prepassrenderer, texture\
**Created:** [June 20, 2024, 9:57am UTC](https://forum.babylonjs.com/t/cannot-use-textures-of-prepassrenderer/51489 "2024-06-20T09:57:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Joe\_Kerr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joe_kerr/32/39017_2.png) [@Joe\_Kerr](https://forum.babylonjs.com/u/Joe_Kerr)\
**Post date:** [June 27, 2024, 7:49am UTC](https://forum.babylonjs.com/t/cannot-use-textures-of-prepassrenderer/51489/4 "2024-06-27T07:49:32Z")

</div>

For instance getting [DepthTexture for SoftParticles](https://forum.babylonjs.com/t/getting-depth-texture-from-prepassrenderer-into-particle-effect/51253) or [PositionTexture (or Normals)](https://forum.babylonjs.com/t/new-feature-gpu-picking/51106/31) into GPUPicking.

There is indeed the DepthRenderer or the GBuffer. But assume the PrePassRenderer is **already active** in the scene from DeferredLIghting. Adding the DepthRenderer on top costs 1 extra draw call while the GBuffer doubles all draw calls.

---

_[View the full topic](https://forum.babylonjs.com/t/cannot-use-textures-of-prepassrenderer/51489)._
