From 9787175b1366d643e6d748b8ac2370c3889f73de Mon Sep 17 00:00:00 2001 From: omigamedev Date: Wed, 9 Jan 2019 23:32:10 +0100 Subject: [PATCH] Implement raytraced lightmap --- data/layout.xml | 3 +- src/app.cpp | 5 +- src/app_shaders.cpp | 60 +++++++++++++++++++ src/node_panel_grid.cpp | 129 +++++++++++++++++++++++++++++++++++++--- src/node_panel_grid.h | 9 ++- src/rtt.cpp | 33 ++++++++-- src/rtt.h | 4 +- src/shader.h | 3 + src/shape.cpp | 14 ++--- src/shape.h | 2 + src/texture.cpp | 2 +- src/texture.h | 4 +- 12 files changed, 240 insertions(+), 28 deletions(-) diff --git a/data/layout.xml b/data/layout.xml index 1a5c89a..36a8908 100644 --- a/data/layout.xml +++ b/data/layout.xml @@ -292,7 +292,7 @@ - + @@ -301,6 +301,7 @@