Add support for rim backlights

This commit is contained in:
2019-03-28 09:35:22 +01:00
parent 86118a34f4
commit 74ffe23551
7 changed files with 43 additions and 11 deletions
+1
View File
@@ -114,6 +114,7 @@ void init_scene(CommandLineOptions options) {
//{12, Material().diffuse({1.0, 1.0, 1.0})},// License_Plate_Frame
//{13, Material().diffuse({1.0, 1.0, 1.0})},//
});
carNode->setMaterial(Material().backlight(vec3(0.3), 0.3).backlight_only().no_texture_reset(), true);
carNode->position = {500, 500, 100};
carNode->scale *= 100;
rootNode->children.push_back(carNode);