You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constgeometry=newPlaneGeometry(200,200,4,4)constmaterial=newMeshBasicMaterial({map: Material.fromTexture(Texture.l2TrollStoneGround04,{flags: ArxPolygonFlags.DoubleSided}),})constmesh=newMesh(geometry,material)geometry.rotateX(MathUtils.degToRad(-90))// every tile has 1 texture being fit ontoscaleUV(newVector2(4,4),geometry)// normalizeUV(geometry)applyTransformations(mesh)mesh.translateX(map.config.offset.x)mesh.translateY(map.config.offset.y)mesh.translateZ(map.config.offset.z)applyTransformations(mesh)map.polygons.addThreeJsMesh(mesh,{tryToQuadify: QUADIFY,shading: SHADING_SMOOTH})
Enabling normalizeUV(geometry) will make it look like this:
It should instead make all UV coordinates go from 0.00 to 1.00
The text was updated successfully, but these errors were encountered:
Enabling
normalizeUV(geometry)
will make it look like this:It should instead make all UV coordinates go from 0.00 to 1.00
The text was updated successfully, but these errors were encountered: