Class MeshTangentSpaceGenerator

java.lang.Object
gaiasky.util.gdx.model.gltf.loaders.shared.geometry.MeshTangentSpaceGenerator

public class MeshTangentSpaceGenerator extends Object
  • Constructor Details

    • MeshTangentSpaceGenerator

      public MeshTangentSpaceGenerator()
  • Method Details

    • computeTangentSpace

      public static void computeTangentSpace(IntMesh mesh, Material material, boolean computeNormals, boolean computeTangents)
    • computeTangentSpace

      public static void computeTangentSpace(float[] vertices, int[] indices, com.badlogic.gdx.graphics.VertexAttributes attributesGroup, boolean computeNormals, boolean computeTangents, com.badlogic.gdx.graphics.VertexAttribute normalMapUVs)