Add Volumetric Fog support for particles to modify local fog

This commit is contained in:
Wojtek Figat
2021-03-05 13:56:07 +01:00
parent dfb502621d
commit 1dee615d6e
22 changed files with 726 additions and 84 deletions

View File

@@ -218,6 +218,13 @@ struct DrawCall
uint32 SegmentCount;
GPUBuffer* SegmentDistances;
} Ribbon;
struct
{
Vector3 Position;
float Radius;
int32 ParticleIndex;
} VolumetricFog;
} Particle;
struct