How to use the LuminanceAlphaFormat function from three

Find comprehensive JavaScript three.LuminanceAlphaFormat code examples handpicked from public code repositorys.

22
23
24
25
26
27
28
29
30
31
32
export const TEXTURE_FORMATS = {
	'RGBAFormat': three.RGBAFormat,
	'RGBFormat': three.RGBFormat,
	'AlphaFormat': three.AlphaFormat,
	'LuminanceFormat': three.LuminanceFormat,
	'LuminanceAlphaFormat': three.LuminanceAlphaFormat
}


export const ARRAY_TYPES = {
	'Float32Array': Float32Array,
fork icon1
star icon0
watch icon0

+ 3 other calls in file

376
377
378
379
380
381
382
383
384
385
var WEBGL_TEXTURE_FORMATS = {
  6406: THREE.AlphaFormat,
  6407: THREE.RGBFormat,
  6408: THREE.RGBAFormat,
  6409: THREE.LuminanceFormat,
  6410: THREE.LuminanceAlphaFormat
};
var WEBGL_TEXTURE_DATATYPES = {
  5121: THREE.UnsignedByteType,
  32819: THREE.UnsignedShort4444Type,
fork icon0
star icon1
watch icon0

+ 9 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)