Class MeshTangentSpaceGenerator
java.lang.Object
gaiasky.util.gdx.model.gltf.loaders.shared.geometry.MeshTangentSpaceGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
computeTangentSpace
(float[] vertices, int[] indices, com.badlogic.gdx.graphics.VertexAttributes attributesGroup, boolean computeNormals, boolean computeTangents, com.badlogic.gdx.graphics.VertexAttribute normalMapUVs) static void
computeTangentSpace
(IntMesh mesh, Material material, boolean computeNormals, boolean computeTangents)
-
Constructor Details
-
MeshTangentSpaceGenerator
public MeshTangentSpaceGenerator()
-
-
Method Details
-
computeTangentSpace
-
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)
-