1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!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>
- [page:Material] → [page:MeshStandardMaterial] →
- <h1>[name]</h1>
- <div class="desc">An extension of the [page:MeshStandardMaterial] that allows for greater control over reflectivity.</div>
- <!-- <iframe id="scene" src="scenes/material-browser.html#MeshStandardMaterial"></iframe>
- <script>
- // iOS iframe auto-resize workaround
- if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
- var scene = document.getElementById( 'scene' );
- scene.style.width = getComputedStyle( scene ).width;
- scene.style.height = getComputedStyle( scene ).height;
- scene.setAttribute( 'scrolling', 'no' );
- }
- </script> -->
- <h2>Examples</h2>
- [example:webgl_materials_variations_physical materials / variations / physical]<br />
- [example:webgl_materials_reflectivity materials / reflectivity]
- <h2>Constructor</h2>
- <h3>[name]( [page:Object parameters] )</h3>
- <div>
- parameters -- see [page:MeshStandardMaterial]
- </div>
- <h2>Properties</h2>
- <div>See the base [page:Material] and [page:MeshStandardMaterial] classes for common properties.</div>
- <h3>[property:Float reflectivity]</h3>
- <div>
- Degree of reflectivity, from *0.0* to *1.0*. Default is *0.5*.<br />
-
- This models the reflectivity of non-metallic materials. It has no effect when [page:MeshStandardMaterial.metalness metalness] is *1.0*
- </div>
- <h3>[property:Float clearCoat]</h3>
- <div>
- ClearCoat level, from *0.0* to *1.0*. Default is *0.0*.
- </div>
- <h3>[property:Float clearCoatRoughness]</h3>
- <div>
- How rough the clearCoat appears, from *0.0* to *1.0*. Default is *0.0*.
- </div>
- <h2>Source</h2>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </body>
- </html>
|