group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Asset::Material Struct Reference

#include <Asset.hpp>

Public Attributes

glm::vec3 kDiffuse_ = glm::vec3(0.8f)
glm::vec3 kAmbient_ = glm::vec3(0.08f)
glm::vec3 kSpecular_ = glm::vec3(0.0f)
glm::vec3 kEmission_ = glm::vec3(0.0f)
float nSpecular = 32.0f
float nIor = 1.0f
bool hasPhongData_ = false
TexIdInt diffuseTexture = 0
TexIdInt normalTexture = 0
TexIdInt metallicRoughnessTexture = 0

Member Data Documentation

◆ diffuseTexture

TexIdInt Asset::Material::diffuseTexture = 0

◆ hasPhongData_

bool Asset::Material::hasPhongData_ = false

◆ kAmbient_

glm::vec3 Asset::Material::kAmbient_ = glm::vec3(0.08f)

◆ kDiffuse_

glm::vec3 Asset::Material::kDiffuse_ = glm::vec3(0.8f)

◆ kEmission_

glm::vec3 Asset::Material::kEmission_ = glm::vec3(0.0f)

◆ kSpecular_

glm::vec3 Asset::Material::kSpecular_ = glm::vec3(0.0f)

◆ metallicRoughnessTexture

TexIdInt Asset::Material::metallicRoughnessTexture = 0

◆ nIor

float Asset::Material::nIor = 1.0f

◆ normalTexture

TexIdInt Asset::Material::normalTexture = 0

◆ nSpecular

float Asset::Material::nSpecular = 32.0f

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