Skip to content

Commit c46869a

Browse files
NickPowers43mrdoob
authored andcommitted
Added depth function constants to material docs (mrdoob#9535)
1 parent 9889425 commit c46869a

File tree

1 file changed

+57
-46
lines changed

1 file changed

+57
-46
lines changed

docs/api/constants/Materials.html

Lines changed: 57 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,58 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
44
<meta charset="utf-8" />
5-
<base href="../../" />
6-
<script src="list.js"></script>
7-
<script src="page.js"></script>
8-
<link type="text/css" rel="stylesheet" href="page.css" />
9-
</head>
10-
<body>
11-
<h1>Material Constants</h1>
12-
13-
<h2>Side</h2>
14-
<div>
15-
THREE.FrontSide<br />
16-
THREE.BackSide<br />
17-
THREE.DoubleSide
18-
</div>
19-
20-
<h2>Shading</h2>
21-
<div>
22-
THREE.FlatShading<br />
23-
THREE.SmoothShading
24-
</div>
25-
26-
<h2>Colors</h2>
27-
<div>
28-
THREE.NoColors<br />
29-
THREE.FaceColors<br />
30-
THREE.VertexColors
31-
</div>
32-
33-
<h2>Blending Mode</h2>
34-
<div>
35-
THREE.NoBlending<br />
36-
THREE.NormalBlending<br />
37-
THREE.AdditiveBlending<br />
38-
THREE.SubtractiveBlending<br />
39-
THREE.MultiplyBlending<br />
40-
THREE.CustomBlending
41-
</div>
42-
43-
<h2>Source</h2>
44-
45-
[link:https://github.com/mrdoob/three.js/blob/master/src/Three.js src/Three.js]
46-
</body>
47-
</html>
5+
<base href="../../" />
6+
<script src="list.js"></script>
7+
<script src="page.js"></script>
8+
<link type="text/css" rel="stylesheet" href="page.css" />
9+
</head>
10+
<body>
11+
<h1>Material Constants</h1>
12+
13+
<h2>Side</h2>
14+
<div>
15+
THREE.FrontSide<br />
16+
THREE.BackSide<br />
17+
THREE.DoubleSide
18+
</div>
19+
20+
<h2>Shading</h2>
21+
<div>
22+
THREE.FlatShading<br />
23+
THREE.SmoothShading
24+
</div>
25+
26+
<h2>Colors</h2>
27+
<div>
28+
THREE.NoColors<br />
29+
THREE.FaceColors<br />
30+
THREE.VertexColors
31+
</div>
32+
33+
<h2>Blending Mode</h2>
34+
<div>
35+
THREE.NoBlending<br />
36+
THREE.NormalBlending<br />
37+
THREE.AdditiveBlending<br />
38+
THREE.SubtractiveBlending<br />
39+
THREE.MultiplyBlending<br />
40+
THREE.CustomBlending
41+
</div>
42+
43+
<h2>Depth Mode</h2>
44+
<div>
45+
THREE.NeverDepth<br />
46+
THREE.AlwaysDepth<br />
47+
THREE.LessDepth<br />
48+
THREE.LessEqualDepth<br />
49+
THREE.GreaterEqualDepth<br />
50+
THREE.GreaterDepth<br />
51+
THREE.NotEqualDepth
52+
</div>
53+
54+
<h2>Source</h2>
55+
56+
[link:https://github.com/mrdoob/three.js/blob/master/src/Three.js src/Three.js]
57+
</body>
58+
</html>

0 commit comments

Comments
 (0)