lens-studio-camera-texture

Installation
SKILL.md

Camera Textures

Lens Studio allows developers to intercept the background camera feed for customized rendering loops or image processing. On mobile phone lenses, this is straightforward, but on Spectacles, you must specifically address the correct camera IDs (e.g. Right_Color) since the device utilizes multi-camera input for rendering and tracking.

Official docs: Spectacles Home

Requesting the Background Feed

The CameraModule handles raw camera requests.

[!IMPORTANT] Because the Lens Studio Editor cannot simulate dual-camera passthrough, you should use Default_Color when running in the simulation, and Right_Color when compiling for the actual Spectacles device.

@component
export class CameraFeedIntercept extends BaseScriptComponent {
    @input
    camModule: CameraModule;
    
    start() {
        const isEditor = global.deviceInfoSystem.isEditor();
        const camID = isEditor ? CameraModule.CameraId.Default_Color : CameraModule.CameraId.Right_Color;
Related skills

More from rolandsmeenk/lensstudioagents

Installs
3
GitHub Stars
5
First Seen
Mar 28, 2026