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!