Package org.boxutil.util.lut
Class ShadingLUT.AnisotropicLTCs
java.lang.Object
org.boxutil.util.lut.ShadingLUT.AnisotropicLTCs
- Enclosing class:
- ShadingLUT
- See Also:
-
- github.com/AakashKT/LTC-Anisotropic, MIT license.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int[]genLTCMatrix(boolean useTextureStorage) OpenGL 3.0+
-
Method Details
-
genLTCMatrix
public static int[] genLTCMatrix(boolean useTextureStorage) OpenGL 3.0+The anisotropic LTC matrix 3D texture, 8*8*64 vec3 layout, total three texture(M0, M1, M2).
Build for the
alphaX, alphaY, theta, phiparameterization.- Returns:
- int[] = {M0(m00, m01, m02), M1(m10, m11, m12), M2(m20, m21, m22)};
-