#ifndef DEFINES #define DEFINES struct PointLight { float3 Pos; float Radius; float3 Color; float Bright; }; struct DiffSpec { float3 Diffuse; float3 Specular; }; cbuffer LightConstants : register(b0) { float4x4 InvProj; float4x4 Proj; float FoV; int Lights; float SSAORadius; float pad; float4x4 View; } struct FrustrumPoints { float3 NUL; float3 NUR; float3 NDL; float3 NDR; float3 FUL; float3 FUR; float3 FDL; float3 FDR; }; Texture2D DiffuseGlow : register(t0); Texture2D NormalSpec : register(t1); Texture2D GUI : register(t2); Texture2D DepthTexture : register(t3); StructuredBuffer Points : register(t4); Texture1D SSAOKernel : register(t5); Texture2D SSAORand : register(t6); RWTexture2D Diffuse : register(u0); RWTexture2D Specular : register(u1); RWTexture2D Ambient : register(u2); #endif