增加AssimpLoader.cpp/.h到example/vulkan中

This commit is contained in:
2019-06-06 18:19:41 +08:00
parent 2f8398b05d
commit 14c531a203
5 changed files with 824 additions and 4 deletions

View File

@@ -22,11 +22,13 @@ namespace hgl
struct MaterialData
{
UTF8String name;
uint8 tex_count;
MaterialTextureData *tex_list;
Set<int> uv_use;
Set<uint> uv_use;
bool two_sided=false;
uint shading_model=0;
@@ -64,7 +66,7 @@ namespace hgl
{
diffuse.Set(1,1,1,1);
specular.Set(0,0,0,1);
ambient.Set(0.2,0.2,0.2,1.0f);
ambient.Set(0.2f,0.2f,0.2f,1.0f);
emission.Set(0,0,0,1);
shininess=0;