first step OK that it's to resumed to use L2W in VertexInputStream.

This commit is contained in:
2024-03-26 01:20:20 +08:00
parent b48ef1ac30
commit a60ffbb7da
24 changed files with 171 additions and 122 deletions

View File

@@ -45,15 +45,6 @@ constexpr const ShaderBufferSource SBS_CameraInfo=
// UBO必须严格指定数组的大小
// SSBO则不需要使用[]方式指定为动态大小数组
constexpr const ShaderBufferSource SBS_LocalToWorld=
{
"LocalToWorldData",
"l2w",
R"(
mat4 mats[L2W_MAX_COUNT];)"
};
constexpr const char MaterialInstanceStruct[]="MaterialInstance";
constexpr const ShaderBufferSource SBS_MaterialInstance=