Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

uniform

Firtina Ozbalikci edited this page Jul 29, 2017 · 11 revisions

Wiki » Internal Components » Materials » shaderMaterial » uniforms » uniform

uniform

A single uniform value for a shader material.

See THREE.ShaderMaterial.

Any modifications to uniforms will result in the recompilation of the shader.

Attributes

type

string required: See THREE.ShaderMaterial for information about uniform types.

name

string required: The name of the uniform. This will act as the key in the uniforms dictionary.

value

any: See THREE.ShaderMaterial for information about uniform values.

Default: null

===

View Source
Clone this wiki locally