Open 3D Engine AtomTressFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AMD::ShadeParams Struct Reference

#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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: