Skip to content

material.h

Ludus Wiki · API overview · Browse API

File

Declared in modules/content/scene_format/include/ludus/content/scene_format/material.h

Enumerations

MaterialModel

enum MaterialModel : MaterialModelTag
Slang spelling of MaterialModel, the type of MaterialSample.Model and of the scattering helpers' model parameters. A raw tag converts only explicitly: MaterialModel(tag).

MetallicRoughness

MetallicRoughness =
        LUDUS_MATERIAL_MODEL_METALLIC_ROUGHNESS
Legacy RGB GGX/Schlick and Fresnel-weighted diffuse.

Diffuse

Diffuse = LUDUS_MATERIAL_MODEL_DIFFUSE
Ideal Lambertian reflection.

Conductor

Conductor = LUDUS_MATERIAL_MODEL_CONDUCTOR
Isotropic GGX with complex-IOR Fresnel.

CoatedDiffuse

CoatedDiffuse = LUDUS_MATERIAL_MODEL_COATED_DIFFUSE
Rough dielectric coating over a diffuse base.

Dielectric

Dielectric = LUDUS_MATERIAL_MODEL_DIELECTRIC
Smooth nonabsorbing dielectric interface.

ThinDielectric

ThinDielectric = LUDUS_MATERIAL_MODEL_THIN_DIELECTRIC
Thin dielectric slab.

DiffuseConductorMix

DiffuseConductorMix = LUDUS_MATERIAL_MODEL_DIFFUSE_CONDUCTOR_MIX
Weighted Lambertian and conductor.

ProjectBrdf

ProjectBrdf = LUDUS_MATERIAL_MODEL_PROJECT_BRDF
Bounded project-authored reflection program.

Declared in modules/content/scene_format/include/ludus/content/scene_format/material.h