Hide trees and grass in the path of the car

This commit is contained in:
2019-03-29 10:12:31 +01:00
parent 213ef68757
commit 0f702ea259
3 changed files with 11 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ struct SceneNode {
bool isInverted = false;
// rendering
bool isHidden = false;
Gloom::Shader* shader = nullptr;
mat4 MVP; // MVP
mat4 MV; // MV