vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::DecalData Struct Reference

Flattened projected decal for the frame: the material lands on surfaces inside the box. More...

#include <decal_data.h>

Public Attributes

glm::mat4 model
 World transform of a unit cube centred on the entity.
glm::mat4 invModel
 World -> decal local, for the box test + UVs.
float angleFade
 Fade width as the surface turns away from the projector.

Detailed Description

Flattened projected decal for the frame: the material lands on surfaces inside the box.


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