Background Texture
Hello, I want to make some environment lighting mapping through shader. How can i extract background texture rendered from camera?
Hello inchkiev.
The camera buffer can be obtained via GetImage as follows.
public void UpdateCameraBackgroundImage(TrackingState state) { .. TrackedImage image = state.GetImage(rg16TextureSupported); .. }
However, we do not provide environment light mapping. You will have to create your own environment map using the functions we provide.
Good luck to you.
Leo
Maxst Support Team