Added Billboard2DWay.cpp and test OK! next step is fixed billboard pixel size.

This commit is contained in:
2024-06-16 22:58:45 +08:00
parent 23197e147c
commit c61e4dfdb8
12 changed files with 161 additions and 34 deletions

View File

@@ -69,7 +69,7 @@ private:
sampler=db->CreateSampler();
if(!material->BindImageSampler( DescriptorSetType::PerMaterial, ///<描述符合集
mtl::SamplerName::BaseColor, ///<采样器名称
mtl::SamplerName::BaseColor, ///<采样器名称
texture, ///<纹理
sampler)) ///<采样器
return(false);