Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/threejs_4_deno/src/Three.js>ShaderMaterial

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class ShaderMaterial
extends Material
Re-export
import { ShaderMaterial } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";

Constructors

new
ShaderMaterial(parameters?: ShaderMaterialParameters)

Properties

clipping: boolean
defaultAttributeValues: any
defines: { [key: string]: any; }
deprecated
derivatives: any
extensions: { derivatives: boolean; fragDepth: boolean; drawBuffers: boolean; shaderTextureLOD: boolean; }
fog: boolean
fragmentShader: string
glslVersion: GLSLVersion | null
index0AttributeName: string | undefined
lights: boolean
linewidth: number
morphNormals: boolean
morphTargets: boolean
skinning: boolean
type: string
uniforms: { [uniform: string]: IUniform; }
uniformsNeedUpdate: boolean
vertexShader: string
wireframe: boolean
wireframeLinewidth: number

Methods

toJSON(meta: any): any