|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Struct of shader fields representing an on-screen decal. More...
#include <GREM/graphics_3d/Renderer3D.hpp>
Public Attributes | |
| mat4 | decalMatrix |
| Combined view-projection matrix of the decal. | |
| vec4 | decalDirectionAndRange |
| Direction vector (XYZ) and range (W) of the decal. | |
| vec4 | decalBaseColorTextureOffsetAndScale |
| Texture offset (XY) and scale (ZW) of the base color map in the decal atlas texture. | |
| vec4 | decalNormalTextureOffsetAndScale |
| Texture offset (XY) and scale (ZW) of the normal map in the decal atlas texture. | |
| vec4 | decalOcclusionRoughnessMetallicTextureOffsetAndScale |
| Texture offset (XY) and scale (ZW) of the occlusion-roughness-metallic map in the decal atlas texture. | |
| vec4 | decalEmissiveTextureOffsetAndScale |
| Texture offset (XY) and scale (ZW) of the emissive map in the decal atlas texture. | |
| vec4 | decalBaseColorFactor |
| Base color factor. | |
| vec4 | decalOcclusionRoughnessMetallicFactorAndNormalScale |
| Occlusion strength (X), roughness factor (Y), metallic factor (Z) and normal scale (W). | |
| vec3 | decalEmissiveFactor |
| Emissive factor. | |
| uint32_t | decalModelInstanceIdentifier |
| Model identifier that the decal applies to, or the maximum value to apply to all models. | |
Struct of shader fields representing an on-screen decal.
| mat4 grem::graphics::Renderer3D::ScreenDecalFields::decalMatrix |
Combined view-projection matrix of the decal.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalDirectionAndRange |
Direction vector (XYZ) and range (W) of the decal.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalBaseColorTextureOffsetAndScale |
Texture offset (XY) and scale (ZW) of the base color map in the decal atlas texture.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalNormalTextureOffsetAndScale |
Texture offset (XY) and scale (ZW) of the normal map in the decal atlas texture.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalOcclusionRoughnessMetallicTextureOffsetAndScale |
Texture offset (XY) and scale (ZW) of the occlusion-roughness-metallic map in the decal atlas texture.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalEmissiveTextureOffsetAndScale |
Texture offset (XY) and scale (ZW) of the emissive map in the decal atlas texture.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalBaseColorFactor |
Base color factor.
| vec4 grem::graphics::Renderer3D::ScreenDecalFields::decalOcclusionRoughnessMetallicFactorAndNormalScale |
Occlusion strength (X), roughness factor (Y), metallic factor (Z) and normal scale (W).
| vec3 grem::graphics::Renderer3D::ScreenDecalFields::decalEmissiveFactor |
Emissive factor.
| uint32_t grem::graphics::Renderer3D::ScreenDecalFields::decalModelInstanceIdentifier |
Model identifier that the decal applies to, or the maximum value to apply to all models.