I am currently working on incorporating a SEA3D model into my project, which is loaded as BufferGeometry
, and I'm trying to add an external aoMap
.
However, I have encountered issues with both maps.
- The
aoMap
does not seem to be influencing the color of the model at all.
According to the documentation for three.js:
The aoMap requires a second set of UVs.
In the case of BufferGeometry
, I am aware that the UV information can be found in geometry.attributes.uv
.
How can I obtain the necessary second set of UVs in order to successfully apply the aoMap
?
Thank you