adding brdf, but virtual is probably terrible for performance

This commit is contained in:
Dynamitos
2025-01-26 15:27:43 +01:00
parent 8fdaff1e4c
commit 98020d4455
9 changed files with 104 additions and 24 deletions
+6 -1
View File
@@ -1 +1,6 @@
#include "Material.h"
#include "Material.h"
std::unique_ptr<BRDF> Material::evaluate(HitInfo hitInfo)
{
return std::make_unique<BlinnPhong>();
}