How to apply a shader to the camera feed before it is processed by 8th Wall

Hi everyone,
I’m currently working on a project using 8th Wall with Three.js, and I’m trying to apply a shader to the camera feed before the image target recognition process begins. I want to ensure that the shader is applied not only as a visual layer for the user but also affects the image recognition process itself. Specifically, I’m trying to adjust the exposure of the camera feed because my project will be used in a dark environment, and I want to reduce the glow from other lights in the feed.

I found this example: 8th Wall Camera Shaders, but as far as I understand, it only changes the user’s view because it’s applied in onUpdate. Or maybe I’m wrong, and it actually affects the image recognition? If not, is this something that can’t be done? I also noticed a couple of functions that seem like they might be the right place to hook into, but I’m unsure if they will achieve what I want.

Thanks in advance for your help!