Init commit

This commit is contained in:
2026-08-17 06:31:43 +09:00
commit 348d9275f6
428 changed files with 61806 additions and 0 deletions
@@ -0,0 +1,26 @@
#ifndef INCLUDE_SHADOW_COMMON
#define INCLUDE_SHADOW_COMMON
cbuffer CBScene : register(b0)
{
row_major float4x4 cbView;
row_major float4x4 cbProj;
float4 cbCameraPos;
float4 cbMainLightDirection;
float4 cbCameraColor;
}
cbuffer CBPerObj : register(b2) {
row_major float4x4 cbWorld;
};
cbuffer CBShadow : register(b3) {
row_major float4x4 cbLightViewProjection;
// xy:阴影贴图 texel UV 尺寸
// z :最小深度偏移 w :斜率深度偏移
float4 cbShadowParams;
};
#endif //INCLUDE_SHADOW_COMMON