candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
candlewick::PbrMaterial Struct Reference

PBR material for metallic-roughness workflow. More...

#include <candlewick/core/MaterialUniform.h>

Public Attributes

GpuVec4 baseColor {1., 1., 1., 1.}
 
float metalness = 0.f
 
float roughness = 1.0f
 
float ao = 1.0f
 

Detailed Description

PBR material for metallic-roughness workflow.

Member Data Documentation

◆ ao

float candlewick::PbrMaterial::ao = 1.0f

◆ baseColor

GpuVec4 candlewick::PbrMaterial::baseColor {1., 1., 1., 1.}

◆ metalness

float candlewick::PbrMaterial::metalness = 0.f

◆ roughness

float candlewick::PbrMaterial::roughness = 1.0f

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