|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a decal material. More...
#include <GREM/graphics_3d/Decals3D.hpp>
Public Attributes | |
| resource::ImageView | baseColorMapImage {} |
| Base color map image of the decal material, or an empty image view to use a fully white texture. | |
| resource::ImageView | normalMapImage {} |
| Normal map image of the decal material, or an empty image view to use a flat normal texture. | |
| resource::ImageView | occlusionRoughnessMetallicMapImage {} |
| Occlusion-roughness-metallic map image of the decal material, or an empty image view to use a fully white texture. | |
| resource::ImageView | emissiveMapImage {} |
| Emissive map image of the decal material, or an empty image view to use a fully white texture. | |
| vec4 | baseColorFactor {1.0f, 1.0f, 1.0f, 1.0f} |
| Base color factor of the decal material. | |
| float | occlusionStrength = 1.0f |
| Occlusion strength of the decal material. | |
| float | roughnessFactor = 1.0f |
| Roughness factor of the decal material. | |
| float | metallicFactor = 1.0f |
| Metallic factor of the decal material. | |
| float | normalScale = 1.0f |
| Normal scale of the decal material. | |
| vec3 | emissiveFactor {0.0f, 0.0f, 0.0f} |
| Emissive factor of the decal material. | |
| bool | convertToPremultipliedAlpha = true |
| Convert the decal base color map image from straight to pre-multiplied alpha. | |
Configuration options for a decal material.
| resource::ImageView grem::graphics::DecalMaterialOptions::baseColorMapImage {} |
Base color map image of the decal material, or an empty image view to use a fully white texture.
Must reference a valid sRGB-encoded image whose format can be used as a source image format for TextureFormat::R8G8B8A8_SRGB if non-empty.
| resource::ImageView grem::graphics::DecalMaterialOptions::normalMapImage {} |
Normal map image of the decal material, or an empty image view to use a flat normal texture.
Must reference a valid linearly encoded image whose format can be used as a source image format for TextureFormat::R8G8B8A8_UNORM if non-empty.
| resource::ImageView grem::graphics::DecalMaterialOptions::occlusionRoughnessMetallicMapImage {} |
Occlusion-roughness-metallic map image of the decal material, or an empty image view to use a fully white texture.
Must reference a valid linearly encoded image whose format can be used as a source image format for TextureFormat::R8G8B8A8_UNORM if non-empty.
| resource::ImageView grem::graphics::DecalMaterialOptions::emissiveMapImage {} |
Emissive map image of the decal material, or an empty image view to use a fully white texture.
Must reference a valid sRGB-encoded image whose format can be used as a source image format for TextureFormat::R8G8B8A8_SRGB if non-empty.
| vec4 grem::graphics::DecalMaterialOptions::baseColorFactor {1.0f, 1.0f, 1.0f, 1.0f} |
Base color factor of the decal material.
| float grem::graphics::DecalMaterialOptions::occlusionStrength = 1.0f |
Occlusion strength of the decal material.
| float grem::graphics::DecalMaterialOptions::roughnessFactor = 1.0f |
Roughness factor of the decal material.
| float grem::graphics::DecalMaterialOptions::metallicFactor = 1.0f |
Metallic factor of the decal material.
| float grem::graphics::DecalMaterialOptions::normalScale = 1.0f |
Normal scale of the decal material.
| vec3 grem::graphics::DecalMaterialOptions::emissiveFactor {0.0f, 0.0f, 0.0f} |
Emissive factor of the decal material.
| bool grem::graphics::DecalMaterialOptions::convertToPremultipliedAlpha = true |
Convert the decal base color map image from straight to pre-multiplied alpha.