Class CustomMesh

It contains a THREE.Mesh object in which you can custom its base material (which is based on THREE-CustomShaderMaterial). Also, it provides all the shadertoy uniforms.

Demo: https://kokomi-js.vercel.app/examples/#customMesh

Hierarchy (view full)

Constructors

Properties

base: Base
container: Scene
emitter: Emitter<any>
mesh: Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
uniformInjector: UniformInjector

Methods