Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Material properties related to physically-based transparency related effects. More...
#include <OxygenEngine/scene/material.h>
Public Attributes | |
float | transmission = 0.0f |
Percentage of light transmitted through the surface between 0.0f (opaque) and 1.0f (transparent) | |
float | thickness = 0.0f |
Thickness of the volume of the material between 0.0f (thin) and +Infinite (transparent) | |
float | attenuation_distance = 0.0f |
glm::vec3 | attenuation_color = glm::vec3(1.0f) |
Material properties related to physically-based transparency related effects.
Mainly used for refractive materials
float oe::scene::Material::TransmissiveProperties::thickness = 0.0f |
Thickness of the volume of the material between 0.0f
(thin) and +Infinite
(transparent)
Used for refractive materials to simulate refraction direction
float oe::scene::Material::TransmissiveProperties::transmission = 0.0f |
Percentage of light transmitted through the surface between 0.0f
(opaque) and 1.0f
(transparent)
Used for toggling physically-based transparency