Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::scene::PbrMaterial Struct Reference

Common properties/textures tied to a PBR material. More...

#include <OxygenEngine/scene/material.h>

Public Attributes

glm::vec4 albedoColor = glm::vec4(1.0)
 
glm::vec3 emissiveColor = glm::vec4(1.0)
 
glm::vec3 rouMetAoColor = glm::vec3(1.0)
 
std::shared_ptr< oe::render::TexturealbedoTexture
 
std::shared_ptr< oe::render::TextureemissiveTexture
 
std::shared_ptr< oe::render::TexturenormalTexture
 
std::shared_ptr< oe::render::TexturerouMetAoTexture
 

Detailed Description

Common properties/textures tied to a PBR material.

Note
if both color and texture are filled for a property, the per-pixel result will be a multiplication of both property

Member Data Documentation

◆ albedoColor

glm::vec4 oe::scene::PbrMaterial::albedoColor = glm::vec4(1.0)

Material's base material color

◆ albedoTexture

std::shared_ptr<oe::render::Texture> oe::scene::PbrMaterial::albedoTexture

Material's color texture

◆ emissiveColor

glm::vec3 oe::scene::PbrMaterial::emissiveColor = glm::vec4(1.0)

Material's emissive color

◆ emissiveTexture

std::shared_ptr<oe::render::Texture> oe::scene::PbrMaterial::emissiveTexture

Material's emissive texture

◆ normalTexture

std::shared_ptr<oe::render::Texture> oe::scene::PbrMaterial::normalTexture

Material's normal map

◆ rouMetAoColor

glm::vec3 oe::scene::PbrMaterial::rouMetAoColor = glm::vec3(1.0)

Material's PBR properties (Roughness, Metalness, Ambient Occlusion)

◆ rouMetAoTexture

std::shared_ptr<oe::render::Texture> oe::scene::PbrMaterial::rouMetAoTexture

Material's PBR properties textures


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