fix overlays not being transparent

This commit is contained in:
Crispy 2021-05-17 23:28:00 +02:00
parent b54df3f689
commit e5a8086983

View file

@ -1,8 +1,10 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/openvr_overlay/overlay_instance.gd" type="Script" id=1] [ext_resource path="res://addons/openvr_overlay/overlay_instance.gd" type="Script" id=1]
[ext_resource path="res://addons/godot-openvr/OpenVROverlay.gdns" type="Script" id=3] [ext_resource path="res://addons/godot-openvr/OpenVROverlay.gdns" type="Script" id=3]
[sub_resource type="StyleBoxEmpty" id=1]
[node name="OverlayInstance" type="Node"] [node name="OverlayInstance" type="Node"]
script = ExtResource( 1 ) script = ExtResource( 1 )
@ -19,5 +21,6 @@ overlay_width_in_meters = 0.4
[node name="PanelContainer" type="PanelContainer" parent="OverlayViewport"] [node name="PanelContainer" type="PanelContainer" parent="OverlayViewport"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
custom_styles/panel = SubResource( 1 )
[node name="Offset" type="Spatial" parent="."] [node name="Offset" type="Spatial" parent="."]