Lugdunum  0.1.0
Public Attributes | List of all members
lug::Graphics::Render::Material::Constants Struct Reference

#include <Material.hpp>

Collaboration diagram for lug::Graphics::Render::Material::Constants:
[legend]

Public Attributes

Math::Vec4f baseColor {1.0f, 1.0f, 1.0f, 1.0f}
 Overall color of the material. More...
 
Math::Vec3f emissive {0.0f, 0.0f, 0.0f}
 Color of the emissive factor. More...
 
float metallic {1.0f}
 How metal-like the material is. 0 is non-metal (e.g. wood, plastic), 1 is metallic. More...
 
float roughness {1.0f}
 How rough the material is. 0 is smooth and 1 is rough (matte). More...
 
float normalTextureScale {1.0f}
 Scale of the normal texture. More...
 
float occlusionTextureStrength {1.0f}
 Strength of the occlusion texture. More...
 

Detailed Description

Definition at line 34 of file Material.hpp.

Member Data Documentation

◆ baseColor

Math::Vec4f lug::Graphics::Render::Material::Constants::baseColor {1.0f, 1.0f, 1.0f, 1.0f}

Overall color of the material.

Definition at line 35 of file Material.hpp.

◆ emissive

Math::Vec3f lug::Graphics::Render::Material::Constants::emissive {0.0f, 0.0f, 0.0f}

Color of the emissive factor.

Definition at line 36 of file Material.hpp.

◆ metallic

float lug::Graphics::Render::Material::Constants::metallic {1.0f}

How metal-like the material is. 0 is non-metal (e.g. wood, plastic), 1 is metallic.

Definition at line 37 of file Material.hpp.

◆ roughness

float lug::Graphics::Render::Material::Constants::roughness {1.0f}

How rough the material is. 0 is smooth and 1 is rough (matte).

Definition at line 38 of file Material.hpp.

◆ normalTextureScale

float lug::Graphics::Render::Material::Constants::normalTextureScale {1.0f}

Scale of the normal texture.

Definition at line 39 of file Material.hpp.

◆ occlusionTextureStrength

float lug::Graphics::Render::Material::Constants::occlusionTextureStrength {1.0f}

Strength of the occlusion texture.

Definition at line 40 of file Material.hpp.


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