Materials.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <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. <h2>Side</h2>
  13. <div>
  14. THREE.FrontSide<br />
  15. THREE.BackSide<br />
  16. THREE.DoubleSide
  17. </div>
  18. <h2>Shading</h2>
  19. <div>
  20. THREE.FlatShading<br />
  21. THREE.SmoothShading
  22. </div>
  23. <h2>Colors</h2>
  24. <div>
  25. THREE.NoColors<br />
  26. THREE.FaceColors<br />
  27. THREE.VertexColors
  28. </div>
  29. <h2>Blending Mode</h2>
  30. <div>
  31. THREE.NoBlending<br />
  32. THREE.NormalBlending<br />
  33. THREE.AdditiveBlending<br />
  34. THREE.SubtractiveBlending<br />
  35. THREE.MultiplyBlending<br />
  36. THREE.CustomBlending
  37. </div>
  38. <h2>Depth Mode</h2>
  39. <div>
  40. THREE.NeverDepth<br />
  41. THREE.AlwaysDepth<br />
  42. THREE.LessDepth<br />
  43. THREE.LessEqualDepth<br />
  44. THREE.GreaterEqualDepth<br />
  45. THREE.GreaterDepth<br />
  46. THREE.NotEqualDepth
  47. </div>
  48. <h2>Source</h2>
  49. [link:https://github.com/mrdoob/three.js/blob/master/src/Three.js src/Three.js]
  50. </body>
  51. </html>