最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

godot - Trying to add a 3D hotbar by using 2nd ortho camera, but it displays sky and obscures the world - Stack Overflow

programmeradmin1浏览0评论

I am trying to add a 3D hotbar to my Minecraft clone at GitHub

So I have added a 2nd camera as SubViewportContainer → SubViewPort → hotbar.tscn → HotbarCamera and put the cubes in a line and at layer 2:

When I hide that 2nd camera, everything works well:

But when I activate (unhide) it, then its sky is obscuring everything:

I am trying to add a 3D hotbar to my Minecraft clone at GitHub

So I have added a 2nd camera as SubViewportContainer → SubViewPort → hotbar.tscn → HotbarCamera and put the cubes in a line and at layer 2:

When I hide that 2nd camera, everything works well:

But when I activate (unhide) it, then its sky is obscuring everything:

Share Improve this question asked Mar 28 at 13:09 Alexander FarberAlexander Farber 23.1k78 gold badges258 silver badges442 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Great answer by pennyloafers at Godot forum - with "Own World 3D" and "Transparent BG" (and a directional light to shine at the hotbar cubes) it works now:

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论