summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_scene_gles3.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-09-21 15:20:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-09-21 15:20:28 -0300
commitbf371dcb3294027c209cc40a42fdbf438d4261af (patch)
treef05f9ca237ceb86333776f56e84bfc8a3abcec70 /drivers/gles3/rasterizer_scene_gles3.h
parentd7468fea5b68e4da9f5daa3a16b450d3da72f27c (diff)
Added proximity and distance fade to SpatialMaterial
Diffstat (limited to 'drivers/gles3/rasterizer_scene_gles3.h')
-rw-r--r--drivers/gles3/rasterizer_scene_gles3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h
index 8669c42a7a..04cb3597da 100644
--- a/drivers/gles3/rasterizer_scene_gles3.h
+++ b/drivers/gles3/rasterizer_scene_gles3.h
@@ -110,6 +110,7 @@ public:
struct SceneDataUBO {
//this is a std140 compatible struct. Please read the OpenGL 3.3 Specificaiton spec before doing any changes
float projection_matrix[16];
+ float inv_projection_matrix[16];
float camera_inverse_matrix[16];
float camera_matrix[16];
float ambient_light_color[4];