Skip to content

Z.CameraTexture

The Z.CameraTexture node makes it possible to use the device’s camera feed as a texture.

Due to the internal workings of this node, no use of wrap and mipmap should be made. Texture transforms position, scale, and rotation may produce unexpected results.

var mycameratexture = Z.CameraTexture();
var myplane = Z.Object("plane.aro");
myplane.skin(mycameratexture);