Various debug to check lighting
This commit is contained in:
1 parent
581656568b
commit
446670bd29
13 files changed
+222
-70
No files matched your search
@@ -27,10 +27,10 @@ cbuffer RootConstants : register(b0, space0)
|
||||
float2 Translate; // 2D translation
|
||||
float2 _Padding2; // Explicit padding to align LightDirection to 16 bytes
|
||||
|
||||
float3 LightDirection; // Normalized, world-space
|
||||
float LightPad;
|
||||
float3 LightColor;
|
||||
float AmbientIntensity;
|
||||
float3 GlobalLightDirection; // Normalized, world-space
|
||||
float GlobalLightPad;
|
||||
float3 GlobalLightColor;
|
||||
float GlobalAmbientIntensity;
|
||||
|
||||
uint LightBufferIndex;
|
||||
uint ActiveLightCount;
|
||||
|
||||
Reference in new issue
Block a user