Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DisplacementFeature

Interface to be implemented by materials that use displacement maps to overlay geometry on elevation data.

Hierarchy

Implemented by

Index

Properties

Optional defines

defines: any

Used internally for material shader defines.

displacementMap

displacementMap: Texture | null

Optional needsUpdate

needsUpdate: undefined | false | true

Informs THREE.js to re-compile material shader (due to change in code or defines).

Optional onBeforeCompile

onBeforeCompile: CompileCallback

Defines callback available in THREE.js materials.

Called before shader program compilation to generate vertex & fragment shader output code.

Optional transparent

transparent: undefined | false | true

Available in all materials in ThreeJS.

Optional uniformsNeedUpdate

uniformsNeedUpdate: undefined | false | true

Hidden ThreeJS value that is made public here. Required to add new uniforms to subclasses of [[THREE.MeshBasicMaterial]]/[[THREE.MeshStandardMaterial]], basically all materials that are not THREE.ShaderMaterial.

deprecated

Changes to this property are ignored.

Generated using TypeDoc