|
@@ -8,7 +8,7 @@
|
|
|
<link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
</head>
|
|
|
<body>
|
|
|
- [page:Material] → [page:ShaderMaterial] →
|
|
|
+ [page:Material] →
|
|
|
|
|
|
<h1>[name]</h1>
|
|
|
|
|
@@ -23,7 +23,7 @@
|
|
|
</p>
|
|
|
|
|
|
<code>
|
|
|
-var planeGeometry = new THREE.PlaneGeometry( 2000, 2000 );
|
|
|
+var planeGeometry = new THREE.PlaneBufferGeometry( 2000, 2000 );
|
|
|
planeGeometry.rotateX( - Math.PI / 2 );
|
|
|
|
|
|
var planeMaterial = new THREE.ShadowMaterial();
|
|
@@ -40,18 +40,18 @@ scene.add( plane );
|
|
|
<h3>[name]( [param:Object parameters] )</h3>
|
|
|
<p>
|
|
|
[page:Object parameters] - (optional) an object with one or more properties defining the material's appearance.
|
|
|
- Any property of the material (including any property inherited from [page:Material] and [page:ShaderMaterial]) can be passed in here.<br /><br />
|
|
|
+ Any property of the material (including any property inherited from [page:Material]) can be passed in here.<br /><br />
|
|
|
</p>
|
|
|
|
|
|
|
|
|
<h2>Properties</h2>
|
|
|
- <p>See the base [page:Material] and [page:ShaderMaterial] classes for common properties.</p>
|
|
|
+ <p>See the base [page:Material] classes for common properties.</p>
|
|
|
|
|
|
<h3>[property:Boolean transparent]</h3>
|
|
|
<p>Defines whether this material is transparent. Default is *true*.</p>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
- <p>See the base [page:Material] and [page:ShaderMaterial] classes for common methods.</p>
|
|
|
+ <p>See the base [page:Material] classes for common methods.</p>
|
|
|
|
|
|
<h2>Source</h2>
|
|
|
|