#include <TressFXConstantBuffers.h>
Public Attributes | |
float | FiberRadius = 0.002f |
float | ShadowAlpha = 0.35f |
float | FiberSpacing = 0.4f |
float | HairEx2 = 11.80f |
float4 | MatKValue = {{{0.f, 0.07f, 0.0017f, 14.40f}}} |
float | HairKs2 = 0.072f |
float | Roughness |
float | CuticleTilt |
float | fPadding0 |
This structure is used as the per object material. It is filled per hair object and set in an array that represents the materials of all hair objects in the scene. The per draw raster pass will write per pixel data with index of the material so that the resolve pass can use it a lookup table to shade the pixel per the hair object it belongs to.