|
@@ -114,7 +114,7 @@
|
|
|
|
|
|
<h3>[property:Float aoMapIntensity]</h3>
|
|
<h3>[property:Float aoMapIntensity]</h3>
|
|
<p>
|
|
<p>
|
|
- Intensity of the ambient occlusion effect. Default is 1. Zero is no
|
|
|
|
|
|
+ Intensity of the ambient occlusion effect. Default is `1`. Zero is no
|
|
occlusion effect.
|
|
occlusion effect.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
@@ -129,7 +129,7 @@
|
|
<h3>[property:Float bumpScale]</h3>
|
|
<h3>[property:Float bumpScale]</h3>
|
|
<p>
|
|
<p>
|
|
How much the bump map affects the material. Typical ranges are 0-1.
|
|
How much the bump map affects the material. Typical ranges are 0-1.
|
|
- Default is 1.
|
|
|
|
|
|
+ Default is `1`.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Color color]</h3>
|
|
<h3>[property:Color color]</h3>
|
|
@@ -157,13 +157,13 @@
|
|
<p>
|
|
<p>
|
|
How much the displacement map affects the mesh (where black is no
|
|
How much the displacement map affects the mesh (where black is no
|
|
displacement, and white is maximum displacement). Without a displacement
|
|
displacement, and white is maximum displacement). Without a displacement
|
|
- map set, this value is not applied. Default is 1.
|
|
|
|
|
|
+ map set, this value is not applied. Default is `1`.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Float displacementBias]</h3>
|
|
<h3>[property:Float displacementBias]</h3>
|
|
<p>
|
|
<p>
|
|
The offset of the displacement map's values on the mesh's vertices.
|
|
The offset of the displacement map's values on the mesh's vertices.
|
|
- Without a displacement map set, this value is not applied. Default is 0.
|
|
|
|
|
|
+ Without a displacement map set, this value is not applied. Default is `0`.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Color emissive]</h3>
|
|
<h3>[property:Color emissive]</h3>
|
|
@@ -214,7 +214,7 @@
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[property:Float lightMapIntensity]</h3>
|
|
<h3>[property:Float lightMapIntensity]</h3>
|
|
- <p>Intensity of the baked light. Default is 1.</p>
|
|
|
|
|
|
+ <p>Intensity of the baked light. Default is `1`.</p>
|
|
|
|
|
|
<h3>[property:Texture map]</h3>
|
|
<h3>[property:Texture map]</h3>
|
|
<p>
|
|
<p>
|
|
@@ -226,8 +226,8 @@
|
|
<h3>[property:Float metalness]</h3>
|
|
<h3>[property:Float metalness]</h3>
|
|
<p>
|
|
<p>
|
|
How much the material is like a metal. Non-metallic materials such as wood
|
|
How much the material is like a metal. Non-metallic materials such as wood
|
|
- or stone use 0.0, metallic use 1.0, with nothing (usually) in between.
|
|
|
|
- Default is 0.0. A value between 0.0 and 1.0 could be used for a rusty
|
|
|
|
|
|
+ or stone use `0.0`, metallic use `1.0`, with nothing (usually) in between.
|
|
|
|
+ Default is `0.0`. A value between `0.0` and `1.0` could be used for a rusty
|
|
metal look. If metalnessMap is also provided, both values are multiplied.
|
|
metal look. If metalnessMap is also provided, both values are multiplied.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
@@ -263,8 +263,8 @@
|
|
|
|
|
|
<h3>[property:Float roughness]</h3>
|
|
<h3>[property:Float roughness]</h3>
|
|
<p>
|
|
<p>
|
|
- How rough the material appears. 0.0 means a smooth mirror reflection, 1.0
|
|
|
|
- means fully diffuse. Default is 1.0. If roughnessMap is also provided,
|
|
|
|
|
|
+ How rough the material appears. `0.0` means a smooth mirror reflection, `1.0`
|
|
|
|
+ means fully diffuse. Default is `1.0`. If roughnessMap is also provided,
|
|
both values are multiplied.
|
|
both values are multiplied.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
@@ -302,12 +302,12 @@
|
|
|
|
|
|
<h3>[property:Float wireframeLinewidth]</h3>
|
|
<h3>[property:Float wireframeLinewidth]</h3>
|
|
<p>
|
|
<p>
|
|
- Controls wireframe thickness. Default is 1.<br /><br />
|
|
|
|
|
|
+ Controls wireframe thickness. Default is `1`.<br /><br />
|
|
|
|
|
|
Due to limitations of the
|
|
Due to limitations of the
|
|
[link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile]
|
|
[link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile]
|
|
with the [page:WebGLRenderer WebGL] renderer on most
|
|
with the [page:WebGLRenderer WebGL] renderer on most
|
|
- platforms linewidth will always be 1 regardless of the set value.
|
|
|
|
|
|
+ platforms linewidth will always be `1` regardless of the set value.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|