OpBaseTextured
Client
Server
Methods
OpBaseTextured Texture(string? tex, Vec3 dir, number? scale, string|boolean|nil normal)
Project an image onto the voxels (works on Add/Paint/Remove). The image replaces color; set a
Color to tint it. Projected along dir (planar): lands only on the face toward dir, fading out on
angled faces (decal-style). Use TriplanarTexture to cover every face without fading instead.
OpBaseTextured TriplanarTexture(string? tex, Vec3? anchor, number? scale, string|boolean|nil normal)
Texture voxels from all three world axes, blended by surface normal (works on Add/Paint/Remove). The image replaces color; set a Color to tint it.