WIP First attempt at a solution

This commit is contained in:
Malin E
2022-09-14 14:36:33 +02:00
parent 7946a93ee5
commit 77beb4c3af
7 changed files with 375 additions and 33 deletions
@@ -108,7 +108,7 @@ void ScreenSpaceFramebuffer::render() {
const glm::vec4& size = _size.value();
const float xratio = resolution.x / (size.z - size.x);
const float yratio = resolution.y / (size.w - size.y);;
const float yratio = resolution.y / (size.w - size.y);
if (!_renderFunctions.empty()) {
GLint viewport[4];