admin 管理员组文章数量: 1086019
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 badges1 Answer
Reset to default 1Great 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:
本文标签:
版权声明:本文标题:godot - Trying to add a 3D hotbar by using 2nd ortho camera, but it displays sky and obscures the world - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1744035784a2522337.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论