Class ShadingLUT.AnisotropicLTCs

java.lang.Object
org.boxutil.util.lut.ShadingLUT.AnisotropicLTCs
Enclosing class:
ShadingLUT

public static final class ShadingLUT.AnisotropicLTCs extends Object
See Also:
  • 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, phi parameterization.

      Returns:
      int[] = {M0(m00, m01, m02), M1(m10, m11, m12), M2(m20, m21, m22)};