summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_scene_gles3.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-12-22 10:00:15 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-12-22 10:00:15 -0300
commitf9603d82365823938129e68823a19739a3dd0b23 (patch)
treeea679907dd39ad85fe3171e73fb149c910dc4b16 /drivers/gles3/rasterizer_scene_gles3.h
parent37f558cd7b2308f6442f74c5265f12425d9887c8 (diff)
can bake for omni and spotlight
store normal when baking
Diffstat (limited to 'drivers/gles3/rasterizer_scene_gles3.h')
-rw-r--r--drivers/gles3/rasterizer_scene_gles3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.h b/drivers/gles3/rasterizer_scene_gles3.h
index ce869da131..31d9964ab0 100644
--- a/drivers/gles3/rasterizer_scene_gles3.h
+++ b/drivers/gles3/rasterizer_scene_gles3.h
@@ -531,6 +531,7 @@ public:
struct GIProbeInstance : public RID_Data {
RID data;
+ RasterizerStorageGLES3::GIProbe *probe;
GLuint tex_cache;
Vector3 cell_size_cache;
Vector3 bounds;
@@ -542,7 +543,7 @@ public:
mutable RID_Owner<GIProbeInstance> gi_probe_instance_owner;
virtual RID gi_probe_instance_create();
- virtual void gi_probe_instance_set_light_data(RID p_probe,RID p_data);
+ virtual void gi_probe_instance_set_light_data(RID p_probe,RID p_base,RID p_data);
virtual void gi_probe_instance_set_transform_to_data(RID p_probe,const Transform& p_xform);
virtual void gi_probe_instance_set_bounds(RID p_probe,const Vector3& p_bounds);