added BlinnPhong.h

This commit is contained in:
2024-03-04 13:13:33 +08:00
parent b9e70426a1
commit ff6a644e8f
7 changed files with 83 additions and 18 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include<hgl/graph/mtl/StdMaterial.h>
#include<hgl/math/Vector.h>
namespace hgl
{
namespace graph
{
namespace mtl
{
namespace blinnphong
{
struct SunLight
{
Vector3f direction;
Vector3f color;
};//struct SunLight
}//namespace blinnphong
}//namespace mtl
}//namespace graph
}//namespace hgl