diff options
author | clayjohn <claynjohn@gmail.com> | 2023-01-19 19:44:20 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2023-01-20 09:58:17 -0800 |
commit | 49bebf2bfb490d9e2e9ae8ce7fd81fb8c1d967ae (patch) | |
tree | 936fc5aecf8ef1e02a233871f2e7c3080bac8dc0 /servers/rendering/dummy/storage/texture_storage.h | |
parent | 360b61084a4a5bc0f9577212a3079430601b3408 (diff) |
Sort decals and lights based on camera origin
Also implement sort_offset for decals
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Diffstat (limited to 'servers/rendering/dummy/storage/texture_storage.h')
-rw-r--r-- | servers/rendering/dummy/storage/texture_storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/dummy/storage/texture_storage.h b/servers/rendering/dummy/storage/texture_storage.h index 62e1eb326d..fd36e7ac10 100644 --- a/servers/rendering/dummy/storage/texture_storage.h +++ b/servers/rendering/dummy/storage/texture_storage.h @@ -154,6 +154,7 @@ public: virtual RID decal_instance_create(RID p_decal) override { return RID(); } virtual void decal_instance_free(RID p_decal_instance) override {} virtual void decal_instance_set_transform(RID p_decal, const Transform3D &p_transform) override {} + virtual void decal_instance_set_sorting_offset(RID p_decal_instance, float p_sorting_offset) override {} /* RENDER TARGET */ |