summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r--servers/visual_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index 4bb1c1a080..dfe5e7feed 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -160,6 +160,7 @@ public:
SHADER_SPATIAL,
SHADER_CANVAS_ITEM,
SHADER_PARTICLES,
+ SHADER_SKY,
SHADER_MAX
};
@@ -681,7 +682,7 @@ public:
virtual RID sky_create() = 0;
virtual void sky_set_radiance_size(RID p_sky, int p_radiance_size) = 0;
virtual void sky_set_mode(RID p_sky, SkyMode p_mode) = 0;
- virtual void sky_set_texture(RID p_sky, RID p_panorama) = 0;
+ virtual void sky_set_material(RID p_sky, RID p_material) = 0;
/* ENVIRONMENT API */