diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-10-05 10:27:43 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 12:03:49 +0100 |
commit | 6ee2f5e6b6663f5a4987954d43bb6df6d1f62d2a (patch) | |
tree | bef9b4f01f535c8736874199b2fbd928e1000d73 /servers/visual/rasterizer_rd/rasterizer_scene_rd.h | |
parent | 6075c5f9bf6cf3362c51e0915555361d34954215 (diff) |
More GIProbe work and fixes
Diffstat (limited to 'servers/visual/rasterizer_rd/rasterizer_scene_rd.h')
-rw-r--r-- | servers/visual/rasterizer_rd/rasterizer_scene_rd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/visual/rasterizer_rd/rasterizer_scene_rd.h b/servers/visual/rasterizer_rd/rasterizer_scene_rd.h index 7acb66c587..d05c9a9328 100644 --- a/servers/visual/rasterizer_rd/rasterizer_scene_rd.h +++ b/servers/visual/rasterizer_rd/rasterizer_scene_rd.h @@ -27,7 +27,7 @@ protected: virtual void _render_scene(RenderBufferData *p_buffer_data, const Transform &p_cam_transform, const CameraMatrix &p_cam_projection, bool p_cam_ortogonal, InstanceBase **p_cull_result, int p_cull_count, RID *p_light_cull_result, int p_light_cull_count, RID *p_reflection_probe_cull_result, int p_reflection_probe_cull_count, RID *p_gi_probe_cull_result, int p_gi_probe_cull_count, RID p_environment, RID p_shadow_atlas, RID p_reflection_atlas, RID p_reflection_probe, int p_reflection_probe_pass) = 0; virtual void _render_shadow(RID p_framebuffer, InstanceBase **p_cull_result, int p_cull_count, const CameraMatrix &p_projection, const Transform &p_transform, float p_zfar, float p_bias, float p_normal_bias, bool p_use_dp, bool use_dp_flip) = 0; - virtual void _debug_giprobe(RID p_gi_probe, RenderingDevice::DrawListID p_draw_list, RID p_framebuffer, const CameraMatrix &p_camera_with_transform, bool p_lighting, float p_alpha); + virtual void _debug_giprobe(RID p_gi_probe, RenderingDevice::DrawListID p_draw_list, RID p_framebuffer, const CameraMatrix &p_camera_with_transform, bool p_lighting, bool p_emission, float p_alpha); private: int roughness_layers; @@ -210,6 +210,7 @@ private: enum { GI_PROBE_DEBUG_COLOR, GI_PROBE_DEBUG_LIGHT, + GI_PROBE_DEBUG_EMISSION, GI_PROBE_DEBUG_MAX }; |