used 3 colors in BlinnPhongDirectionLight.cpp

This commit is contained in:
2024-03-16 00:20:27 +08:00
parent 89b9735f99
commit 35b7c9651f
3 changed files with 20 additions and 16 deletions

View File

@@ -104,7 +104,7 @@ private:
{
Add(material_instance,scale(PLANE_SIZE,PLANE_SIZE,1));
camera->pos=Vector3f(PLANE_SIZE/2,PLANE_SIZE/2,PLANE_SIZE/4);
camera->pos=Vector3f(PLANE_SIZE/4,PLANE_SIZE/2,PLANE_SIZE/4);
camera_control->SetTarget(Vector3f(0,0,0));
camera_control->Refresh();