Cannot use textures of PrePassRenderer

I was wrong, because even if the particle system shader does not write to the depth texture, the latter is still bound to the framebuffer by the prepass renderer, which is enough to trigger the error…

I think you should either only use the depth renderer if you only need the depth texture, or the geometry buffer renderer if you also have to generate other textures (normal, position, etc), but not use the prepass renderer.