forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMaterials.html
More file actions
58 lines (51 loc) · 1.15 KB
/
Materials.html
File metadata and controls
58 lines (51 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>Material Constants</h1>
<h2>Side</h2>
<div>
THREE.FrontSide<br />
THREE.BackSide<br />
THREE.DoubleSide
</div>
<h2>Shading</h2>
<div>
THREE.FlatShading<br />
THREE.SmoothShading
</div>
<h2>Colors</h2>
<div>
THREE.NoColors<br />
THREE.FaceColors<br />
THREE.VertexColors
</div>
<h2>Blending Mode</h2>
<div>
THREE.NoBlending<br />
THREE.NormalBlending<br />
THREE.AdditiveBlending<br />
THREE.SubtractiveBlending<br />
THREE.MultiplyBlending<br />
THREE.CustomBlending
</div>
<h2>Depth Mode</h2>
<div>
THREE.NeverDepth<br />
THREE.AlwaysDepth<br />
THREE.LessDepth<br />
THREE.LessEqualDepth<br />
THREE.GreaterEqualDepth<br />
THREE.GreaterDepth<br />
THREE.NotEqualDepth
</div>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/Three.js src/Three.js]
</body>
</html>