mirror of
https://github.com/Relintai/mesh_utils.git
synced 2025-02-04 16:05:55 +01:00
Texel size should be smaller.
This commit is contained in:
parent
3698ee9849
commit
f6ccb049fa
@ -530,7 +530,7 @@ PoolVector2Array MeshUtils::uv_unwrap(Array arrays) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//unwrap
|
//unwrap
|
||||||
float p_texel_size = 1;
|
float p_texel_size = 0.05;
|
||||||
float *p_vertices = vertices.ptr();
|
float *p_vertices = vertices.ptr();
|
||||||
float *p_normals = normals.ptr();
|
float *p_normals = normals.ptr();
|
||||||
int p_vertex_count = vertices.size() / 3;
|
int p_vertex_count = vertices.size() / 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user