Added H-z culling;
Changed the name of enum FrustumGPU to GPUFrustum;
This commit is contained in:
@@ -4,7 +4,7 @@ using UnityEngine.Rendering;
|
||||
namespace Misaki.AoVolume
|
||||
{
|
||||
[GenerateHLSL(PackingRules.Exact, false)]
|
||||
internal struct FrustumGPU
|
||||
internal struct GPUFrustum
|
||||
{
|
||||
// The data of the 6 planes of the frustum
|
||||
public Vector3 normal0;
|
||||
|
||||
@@ -12,9 +12,9 @@ struct CullingData
|
||||
float fadeEnd;
|
||||
};
|
||||
|
||||
// Generated from Misaki.AoVolume.FrustumGPU
|
||||
// Generated from Misaki.AoVolume.GPUFrustum
|
||||
// PackingRules = Exact
|
||||
struct FrustumGPU
|
||||
struct GPUFrustum
|
||||
{
|
||||
float3 normal0;
|
||||
float dist0;
|
||||
|
||||
Reference in New Issue
Block a user