# Simple inefficient postprocess in WEBXR

**URL:** <https://discourse.threejs.org/t/simple-inefficient-postprocess-in-webxr/56567>\
**Category:** Questions\
**Tags:** webxr, postprocessing, react-three-fiber\
**Created:** [October 1, 2023, 5:09pm UTC](https://discourse.threejs.org/t/simple-inefficient-postprocess-in-webxr/56567 "2023-10-01T17:09:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danmaf](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@danmaf](https://discourse.threejs.org/u/danmaf)\
**Post date:** [October 1, 2023, 5:09pm UTC](https://discourse.threejs.org/t/simple-inefficient-postprocess-in-webxr/56567/1 "2023-10-01T17:09:18Z")

</div>

Hi everyone,  
I know there’s no an efficient outofthebox solution for postprocessing in WebXr.  
Anyway maybe someone could suggest some easy alternative to implement what I’m looking for: I need to dynamically decrease resolution of the render as the camera move away from the scene origin.

I try to implement this codesandbox:

> **[WebXR - postprocessing (forked) - CodeSandbox](https://codesandbox.io/s/webxr-postprocessing-forked-8hzc9l?file=%2Fsrc%2FEffects.js)**
>
> WebXR - postprocessing (forked) by daniele\_maffeis using @react-three/drei, @react-three/fiber, postprocessing, react, react-dom, react-scripts, three

(just a basic variation from the Cody Bennet one: [WebXR - postprocessing - CodeSandbox](https://codesandbox.io/s/webxr-postprocessing-7x7p3q))

When I use a webxr emulator I can correctly see the two side by side render, but sadly when I try it with a Pico4 the scene renders black as soon as I uncomment the component.

 ![Cattura](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/c/3/c3d7a4a5304c66d4209b72b994c44dc327bb42d4.jpeg)

This is the desktop version of my final project (realized in r3f): basically moving away form the central tower the player experiences a general decrease in performance  
[https://floating-realities-cyqxeeyf6-paolocorti87.vercel.app/carminati](https://floating-realities-cyqxeeyf6-paolocorti87.vercel.app/carminati)

This is one of the rare cases in which deteriorating performance is not a problem but the goal  
Maybe someone could point me in the right direction… 🤍
