|
@@ -139,10 +139,33 @@
|
|
|
<h3>[property:Vector2 offset]</h3>
|
|
|
<p>
|
|
|
How much a single repetition of the texture is offset from the beginning, in each direction U and V.
|
|
|
- Typical range is *0.0* to *1.0*. _Note:_ The offset property is a convenience modifier and only affects
|
|
|
- the Texture's application to the first set of UVs on a model. If the Texture is used as a map requiring
|
|
|
- additional UV sets (e.g. the aoMap or lightMap of most stock materials), those UVs must be manually
|
|
|
- assigned to achieve the desired offset.
|
|
|
+ Typical range is *0.0* to *1.0*.
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ The below texture types share the *first* uv channel in the engine. The offset (and repeat) setting is evaluated according to
|
|
|
+ the following priorities and then shared by those textures:
|
|
|
+ <ol>
|
|
|
+ <li>color map</li>
|
|
|
+ <li>specular map</li>
|
|
|
+ <li>displacement map</li>
|
|
|
+ <li>normal map</li>
|
|
|
+ <li>bump map</li>
|
|
|
+ <li>roughness map</li>
|
|
|
+ <li>metalness map</li>
|
|
|
+ <li>alpha map</li>
|
|
|
+ <li>emissive map</li>
|
|
|
+ <li>clearcoat map</li>
|
|
|
+ <li>clearcoat normal map</li>
|
|
|
+ <li>clearcoat roughnessMap map</li>
|
|
|
+ </ol>
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ The below texture types share the *second* uv channel in the engine. The offset (and repeat) setting is evaluated according to
|
|
|
+ the following priorities and then shared by those textures:
|
|
|
+ <ol>
|
|
|
+ <li>ao map</li>
|
|
|
+ <li>light map</li>
|
|
|
+ </ol>
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:Vector2 repeat]</h3>
|
|
@@ -150,10 +173,7 @@
|
|
|
How many times the texture is repeated across the surface, in each direction U and V. If repeat is set
|
|
|
greater than 1 in either direction, the corresponding Wrap parameter should also be set to
|
|
|
[page:Textures THREE.RepeatWrapping] or [page:Textures THREE.MirroredRepeatWrapping] to achieve the desired
|
|
|
- tiling effect. _Note:_ The repeat property is a convenience modifier and only affects
|
|
|
- the Texture's application to the first set of UVs on a model. If the Texture is used as a map requiring
|
|
|
- additional UV sets (e.g. the aoMap or lightMap of most stock materials), those UVs must be manually
|
|
|
- assigned to achieve the desired repetiton.
|
|
|
+ tiling effect. Setting different repeat values for textures is restricted in the same way like [page:.offset].
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:number rotation]</h3>
|