AiMicrofacetBSDF parameters. More...
#include <ai_shader_bsdf.h>
Data Fields | |
| AtRGB | weight = AI_RGB_WHITE |
| BSDF weight. | |
| int | distribution = AI_MICROFACET_GGX |
AI_MICROFACET_BECKMANN or AI_MICROFACET_GGX | |
| AtVector | N = AI_V3_Z |
| normal vector that defines the hemisphere of incoming radiance | |
| AtVector | U = AI_V3_ZERO |
| surface tangent vector along the U coordinate (the AI_V3_ZERO default auto-generates U from N). | |
| float | ior = 1.5f |
| refractive index for Fresnel, use 0 to disable Fresnel | |
| float | rx = 0.f |
| specular roughness along the U direction | |
| float | ry = 0.f |
| specular roughness along the V direction | |
| float | haze_weight = 0.f |
| haze lobe mix weight | |
| float | rx_haze = 0.f |
| specular roughness of haze lobe, along the U direction | |
| float | ry_haze = 0.f |
| specular roughness of haze lobe, along the V direction | |
| int32_t | dielectric_priority = 0 |
| user-specified signed-integer dielectric priority, for nested dielectrics | |
| float | thin_walled_transmission = 0.0f |
| fraction of the BRDF which represents a thin-walled dielectric (to be used in conjunction with AiMicrofacetThinWallRefractionBSDF) | |
| float | specular_weight = 1.0f |
| modulates dielectric Fresnel factor, without disturbing refraction (as described in the OpenPBR >= v1.2 spec) | |
| float | retro_reflectivity = 0.0f |
| retro-reflectivity weight | |
| uint8_t | exit_type = 0 |
zero, AI_BSDF_LOBE_EXIT_BACKGROUND or AI_BSDF_LOBE_EXIT_WHITE | |
| AtString | label = AtString() |
| string label | |
AiMicrofacetBSDF parameters.