Add color, roughness and metallic properities to spaceship

This commit is contained in:
s473577 2024-01-05 00:08:17 +01:00
parent 60a5c80adc
commit c0f6329de7

View File

@ -20,6 +20,10 @@ public:
return instance;
}
glm::vec3 color = glm::vec3(0.3, 0.3, 0.5);
float roughness = 0.2;
float metallic = 1.0;
glm::vec3 spaceshipPos = glm::vec3(0.065808f, 1.250000f, -2.189549f);
glm::vec3 spaceshipDir = glm::vec3(-0.490263f, 0.000000f, 0.871578f);