Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Attributes | List of all members
GPUShaders::Common::Materials::Material Struct Reference

Public Attributes

uint id
 Material ID.
 
vec3 normal
 Surface normal.
 
vec3 reflectance
 Surface reflectance (base color).
 
float metalness
 Dieletric/metal transition.
 
float roughness
 Surface roughness.
 
float ao
 Precomputed ambient occlusion.
 
float clearCoat
 Clear coat intensity.
 
float clearCoatRoughness
 Clear coat roughness.
 
float anisotropy
 Anisotropy intensity, from 1 (max in the tangent direction) to -1 (max in the bitangent direction), and 0 (none).
 
vec3 tangent
 Tangent used for anisotropy, in view space.
 
vec3 bitangent
 Bitangent used for anisotropy, in view space.
 
float sheeness
 Sheen mixing factor.
 
vec3 sheenColor
 Sheen tint color.
 
float sheenRoughness
 Roughness of the sheen lobe.
 
float filmIndex
 The thin film index of refraction.
 
float filmThickness
 The thin film thickness in nanometers.
 
vec3 subsurfaceTint
 The tint of the subsurface.
 
float subsurfaceThickness
 The thickness to use for the subsurface.
 
float subsurfaceRoughness
 The roughness used for the lobe emulating the subsurface.
 

Detailed Description

Store a surface point material parameters.


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