Add Deformable material domain
This commit is contained in:
@@ -211,6 +211,17 @@ struct DrawCall
|
||||
} Ribbon;
|
||||
} Particle;
|
||||
|
||||
struct
|
||||
{
|
||||
GPUBuffer* SplineDeformation;
|
||||
Matrix LocalMatrix; // Geometry transformation applied before deformation.
|
||||
Vector3 GeometrySize; // Object geometry size in the world (unscaled).
|
||||
float Segment;
|
||||
float ChunksPerSegment;
|
||||
float MeshMinZ;
|
||||
float MeshMaxZ;
|
||||
} Deformable;
|
||||
|
||||
struct
|
||||
{
|
||||
byte Raw[96];
|
||||
|
||||
Reference in New Issue
Block a user