Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@shader-art/plugin-texture

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shader-art/plugin-texture

Texture support for shader-art

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
13
116.67%
Maintainers
1
Weekly downloads
 
Created
Source

<shader-art> TexturePlugin

Installation

Install via NPM:

npm i shader-art @shader-art/plugin-texture

Or use directly via skypack:

import { TexturePlugin } from 'https://cdn.skypack.dev/@shader-art/plugin-texture';

Usage

Texture support can be added via a TexturePlugin.

You can load the texture plugin by importing the TexturePlugin and adding it to the ShaderArt.register call like this:

ShaderArt.register([() => new TexturePlugin()]);
  • Example using textures on CodePen

Keywords

webgl

FAQs

Package last updated on 14 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts