Added frustum culling;
Added geometry data; Changed name of VolumeObject to AoVolume; Removed the capsule type in VolumeType, all volumes are box volume now;
This commit is contained in:
@@ -4,17 +4,10 @@
|
||||
|
||||
#ifndef VOLUMEDATA_CS_HLSL
|
||||
#define VOLUMEDATA_CS_HLSL
|
||||
//
|
||||
// Misaki.AoVolume.VolumeType: static fields
|
||||
//
|
||||
#define VOLUMETYPE_CAPSULE (0)
|
||||
#define VOLUMETYPE_BOX (1)
|
||||
|
||||
// Generated from Misaki.AoVolume.VolumeData
|
||||
// PackingRules = Exact
|
||||
struct VolumeData
|
||||
{
|
||||
int volumeType;
|
||||
float4x4 worldMatrix;
|
||||
float4x4 inverseWorldMatrix;
|
||||
float3 size;
|
||||
|
||||
Reference in New Issue
Block a user