AiMicrofacetRefractionBSDF 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 | |
| float | dispersion = 0.f |
| Cauchy "C" coefficient for dispersion. Zero for no dispersion, higher values give more dispersion. | |
| AtClosureList | interior_volume = AtClosureList() |
| bool | use_fresnel = true |
| set to true to include Fresnel term | |
| int32_t | dielectric_priority = 0 |
| user-specified signed-integer dielectric priority, for nested dielectrics | |
| float | specular_weight = 1.0f |
| modulates dielectric Fresnel factor, without disturbing refraction (as described in the OpenPBR >= v1.2 spec) | |
| uint8_t | exit_type = 0 |
zero, AI_BSDF_LOBE_EXIT_BACKGROUND or AI_BSDF_LOBE_EXIT_WHITE | |
| AtString | label = AtString() |
| label string | |
AiMicrofacetRefractionBSDF parameters.