Class LTCAreaLight
Syntax
public class LTCAreaLight
Fields
k_LtcLUTMatrixDim
Declaration
public const int k_LtcLUTMatrixDim = 3
Field Value
k_LtcLUTResolution
Declaration
public const int k_LtcLUTResolution = 64
Field Value
s_LtcDisneyDiffuseMatrixData
Declaration
public static double[, ] s_LtcDisneyDiffuseMatrixData
Field Value
s_LtcGGXMatrixData
Declaration
public static double[, ] s_LtcGGXMatrixData
Field Value
s_LtcMatrixData_GGX
Declaration
public static double[, ] s_LtcMatrixData_GGX
Field Value
Properties
instance
Declaration
public static LTCAreaLight instance { get; }
Property Value
Methods
Bind(CommandBuffer)
Declaration
public void Bind(CommandBuffer cmd)
Parameters
| Type |
Name |
Description |
| CommandBuffer |
cmd |
|
Build()
Declaration
Cleanup()
Declaration
LoadLUT(Texture2DArray, Int32, TextureFormat, Double[,])
Declaration
public static void LoadLUT(Texture2DArray tex, int arrayElement, TextureFormat format, double[, ] LUTTransformInv)
Parameters
| Type |
Name |
Description |
| Texture2DArray |
tex |
|
| Int32 |
arrayElement |
|
| TextureFormat |
format |
|
| Double[,] |
LUTTransformInv |
|
LoadLUT(Texture2DArray, Int32, TextureFormat, Single[])
Declaration
public static void LoadLUT(Texture2DArray tex, int arrayElement, TextureFormat format, float[] LUTScalar)
Parameters
| Type |
Name |
Description |
| Texture2DArray |
tex |
|
| Int32 |
arrayElement |
|
| TextureFormat |
format |
|
| Single[] |
LUTScalar |
|