From 6ee2f5e6b6663f5a4987954d43bb6df6d1f62d2a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 5 Oct 2019 10:27:43 -0300 Subject: More GIProbe work and fixes --- servers/visual/rasterizer_rd/rasterizer_scene_rd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'servers/visual/rasterizer_rd/rasterizer_scene_rd.h') 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 }; -- cgit v1.2.3