@@ -32,7 +32,7 @@ <h1>[name]</h1>
3232 being somewhat more computationally expensive. [name] uses per-fragment
3333 shading.< br /> < br />
3434
35- Note that for best results you should always specify an [page:.envMap environment map]
35+ Note that for best results you should always specify an [page:.envMap environment map]
3636 when using this material.< br /> < br />
3737
3838 For a non-technical introduction to the concept of PBR and how to set up a
@@ -50,7 +50,7 @@ <h1>[name]</h1>
5050 < p >
5151 Technical details of the approach used in three.js (and most other PBR
5252 systems) can be found is this
53- [link:https://media.disneyanimation.com/uploads/production/publication_asset/48/asset/s2012_pbs_disney_brdf_notes_v3.pdf paper from Disney]
53+ [link:https://media.disneyanimation.com/uploads/production/publication_asset/48/asset/s2012_pbs_disney_brdf_notes_v3.pdf paper from Disney]
5454 (pdf), by Brent Burley.
5555 </ p >
5656
@@ -165,9 +165,10 @@ <h3>[property:Float displacementScale]</h3>
165165 < h3 > [property:Float displacementBias]</ h3 >
166166 < p >
167167 The offset of the displacement map's values on the mesh's vertices.
168- Without a displacement map set, this value is not applied. Default is `0`.
168+ Without a displacement map set, this value is not applied. The formula is
169+ `position * displacementScale + displacementBias` so the bias is added
170+ after the scaling. Default is `0`.
169171 </ p >
170-
171172 < h3 > [property:Color emissive]</ h3 >
172173 < p >
173174 Emissive (light) color of the material, essentially a solid color
@@ -226,7 +227,7 @@ <h3>[property:Float lightMapIntensity]</h3>
226227 < h3 > [property:Texture map]</ h3 >
227228 < p >
228229 The color map. May optionally include an alpha channel, typically combined
229- with [page:Material.transparent .transparent] or [page:Material.alphaTest .alphaTest].
230+ with [page:Material.transparent .transparent] or [page:Material.alphaTest .alphaTest].
230231 Default is null. The texture map color is modulated by the diffuse [page:.color].
231232 </ p >
232233
@@ -293,7 +294,7 @@ <h3>[property:String wireframeLinecap]</h3>
293294 "square". Default is 'round'.< br /> < br />
294295
295296 This corresponds to the
296- [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap 2D Canvas lineCap]
297+ [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap 2D Canvas lineCap]
297298 property and it is ignored by the [page:WebGLRenderer WebGL] renderer.
298299 </ p >
299300
@@ -303,7 +304,7 @@ <h3>[property:String wireframeLinejoin]</h3>
303304 "miter". Default is 'round'.< br /> < br />
304305
305306 This corresponds to the
306- [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineJoin 2D Canvas lineJoin]
307+ [link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineJoin 2D Canvas lineJoin]
307308 property and it is ignored by the [page:WebGLRenderer WebGL] renderer.
308309 </ p >
309310
@@ -312,7 +313,7 @@ <h3>[property:Float wireframeLinewidth]</h3>
312313 Controls wireframe thickness. Default is `1`.< br /> < br />
313314
314315 Due to limitations of the
315- [link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile]
316+ [link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile]
316317 with the [page:WebGLRenderer WebGL] renderer on most
317318 platforms linewidth will always be `1` regardless of the set value.
318319 </ p >
0 commit comments