summaryrefslogtreecommitdiff
path: root/drivers/dummy/rasterizer_dummy.h
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2020-03-19 17:32:19 -0700
committerclayjohn <claynjohn@gmail.com>2020-03-21 20:43:44 -0700
commit61a74739ca2d201e7e057d85aa99ae68f0500c33 (patch)
tree73f170a76bb138f01d2df825798d6c4109b81cc8 /drivers/dummy/rasterizer_dummy.h
parentc3fee7ba6cdefd285255b9e1198bc1fdf585b1ac (diff)
Working sky shader implementation
Diffstat (limited to 'drivers/dummy/rasterizer_dummy.h')
-rw-r--r--drivers/dummy/rasterizer_dummy.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h
index c78b82792b..b446828128 100644
--- a/drivers/dummy/rasterizer_dummy.h
+++ b/drivers/dummy/rasterizer_dummy.h
@@ -58,6 +58,7 @@ public:
void sky_set_mode(RID p_sky, VS::SkyMode p_samples) {}
void sky_set_texture(RID p_sky, RID p_panorama) {}
void sky_set_texture(RID p_sky, RID p_cube_map, int p_radiance_size) {}
+ void sky_set_material(RID p_sky, RID p_material) {}
/* ENVIRONMENT API */
@@ -67,7 +68,6 @@ public:
void environment_set_sky(RID p_env, RID p_sky) {}
void environment_set_sky_custom_fov(RID p_env, float p_scale) {}
void environment_set_sky_orientation(RID p_env, const Basis &p_orientation) {}
- void environment_set_bg_material(RID p_env, RID p_material) {}
void environment_set_bg_color(RID p_env, const Color &p_color) {}
void environment_set_bg_energy(RID p_env, float p_energy) {}
void environment_set_canvas_max_layer(RID p_env, int p_max_layer) {}
@@ -314,6 +314,11 @@ public:
void texture_set_force_redraw_if_visible(RID p_texture, bool p_enable) {}
#endif
+ /* SKY API */
+
+ RID sky_create() { return RID(); }
+ void sky_set_texture(RID p_sky, RID p_cube_map, int p_radiance_size) {}
+
/* SHADER API */
RID shader_create() { return RID(); }