Added bloom post process

This commit is contained in:
antopilo
2021-09-15 21:18:44 -04:00
parent a047032f86
commit c02c3946b7
17 changed files with 653 additions and 133 deletions

View File

@@ -107,7 +107,8 @@ namespace Nuake {
wrenGetSlotDouble(vm, 2),
wrenGetSlotDouble(vm, 3));
wrenSetSlotDouble(vm, 0, v1.length());
float length = glm::length(v1);
wrenSetSlotDouble(vm, 0, glm::length(v1));
}
};
}