CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::PBRMaterialModel Struct Referencefinal

A material model that represents a PBR surface. More...

#include <CeresEngine/Material/MaterialModel.hpp>

Public Attributes

ColorMaterialProperty baseColor = Color::zero
 A material channel that represents the base color (or albedo) of the material.
 
DoubleMaterialProperty roughness = 1.0
 A material channel that represents the roughness map of the material.
 
DoubleMaterialProperty metallic = 0.0
 A material channel that represents the metallic map of the material.
 
Vector3MaterialProperty normal = Vector3(0, 0, 0)
 A material channel that represents the normal map of the material.
 
ColorMaterialProperty emission = Color::zero
 The material emission property.
 
Vector3MaterialProperty displacement = Vector3(0.0)
 The material displacement property.
 
DoubleMaterialProperty ambientOcclusion = 1.0
 The material ambient occlusion property.
 
MaterialNormalMapSpace normalMapSpace = MaterialNormalMapSpace::Tangent
 Determines if the normals are stored in tangent space, object-space or world-space.
 

Detailed Description

A material model that represents a PBR surface.

Member Data Documentation

◆ ambientOcclusion

DoubleMaterialProperty CeresEngine::PBRMaterialModel::ambientOcclusion = 1.0

The material ambient occlusion property.

◆ baseColor

ColorMaterialProperty CeresEngine::PBRMaterialModel::baseColor = Color::zero

A material channel that represents the base color (or albedo) of the material.

◆ displacement

Vector3MaterialProperty CeresEngine::PBRMaterialModel::displacement = Vector3(0.0)

The material displacement property.

◆ emission

ColorMaterialProperty CeresEngine::PBRMaterialModel::emission = Color::zero

The material emission property.

◆ metallic

DoubleMaterialProperty CeresEngine::PBRMaterialModel::metallic = 0.0

A material channel that represents the metallic map of the material.

◆ normal

Vector3MaterialProperty CeresEngine::PBRMaterialModel::normal = Vector3(0, 0, 0)

A material channel that represents the normal map of the material.

◆ normalMapSpace

MaterialNormalMapSpace CeresEngine::PBRMaterialModel::normalMapSpace = MaterialNormalMapSpace::Tangent

Determines if the normals are stored in tangent space, object-space or world-space.

◆ roughness

DoubleMaterialProperty CeresEngine::PBRMaterialModel::roughness = 1.0

A material channel that represents the roughness map of the material.


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