📄 threejs/Addons/Shaders/module-BasicShader

File: module-BasicShader.md | Updated: 11/15/2025


title: module-BasicShader category: Unknown layout: docs

BasicShader

Import

BasicShader is an addon, and must be imported explicitly, see Installation#Addons.

import { BasicShader } from 'three/addons/shaders/BasicShader.js';

Properties

.BasicShader : ShaderMaterial~Shader (inner, constant)

Simple shader for testing.

Source

examples/jsm/shaders/BasicShader.js