[][src]Module rg3d::utils::uvgen

UV Map generator. Used to generate second texture coordinates for lightmaps.

Current implementation uses simple planar mapping.

Functions

generate_uvs

Generates UV map for given surface data.

generate_uvs_mesh

Generates UVs for a specified mesh.