$darkmode
Surface properties for the physically-based rendering pipeline. More...
#include <material.h>
Data Fields | |
| char | name [64] |
| vec3 | albedo |
| float | metallic |
| float | roughness |
Surface properties for the physically-based rendering pipeline.
This struct is aligned to SIMD boundaries for efficient library management.
| vec3 PBRMaterial::albedo |
Base color (linear RGB).
| float PBRMaterial::metallic |
Metalness factor (0.0 = dielectric, 1.0 = metal).
| char PBRMaterial::name[64] |
Unique identifier.
| float PBRMaterial::roughness |
Surface roughness (0.0 = smooth, 1.0 = rough).