Better variables
This commit is contained in:
@@ -73,7 +73,8 @@ partial ShaderResourceGroup ViewSrg
|
||||
float m_invAttenuationRadiusSquared; // For a radius at which this light no longer has an effect, 1 / radius^2.
|
||||
float3 m_rgbIntensityCandelas;
|
||||
float m_bulbRadius;
|
||||
uint4 m_shadowIndices;
|
||||
uint3 m_shadowIndices;
|
||||
uint m_padding;
|
||||
};
|
||||
|
||||
StructuredBuffer<PointLight> m_pointLights;
|
||||
|
||||
@@ -63,7 +63,8 @@ partial ShaderResourceGroup RayTracingSceneSrg
|
||||
float m_invAttenuationRadiusSquared;
|
||||
float3 m_rgbIntensity;
|
||||
float m_bulbRadius;
|
||||
uint4 m_shadowIndices;
|
||||
uint3 m_shadowIndices;
|
||||
uint m_padding;
|
||||
};
|
||||
|
||||
StructuredBuffer<PointLight> m_pointLights;
|
||||
|
||||
@@ -59,7 +59,8 @@ ShaderResourceGroup PassSrg : SRG_PerPass
|
||||
float m_invAttenuationRadiusSquared; // For a radius at which this light no longer has an effect, 1 / radius^2.
|
||||
float3 m_rgbIntensityCandelas;
|
||||
float m_bulbRadius;
|
||||
uint4 m_shadowIndices;
|
||||
uint3 m_shadowIndices;
|
||||
uint m_padding;
|
||||
};
|
||||
|
||||
struct DiskLight
|
||||
|
||||
Reference in New Issue
Block a user