mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
36 lines
751 B
Plaintext
36 lines
751 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/engine/renderer.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="Shader" id=1]
|
|
code = "shader_type canvas_item;
|
|
|
|
void fragment() {
|
|
COLOR = vec4(1.0);
|
|
}
|
|
"
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
shader = SubResource( 1 )
|
|
|
|
[node name="Renderer" type="Viewport"]
|
|
own_world = true
|
|
transparent_bg = true
|
|
hdr = false
|
|
keep_3d_linear = true
|
|
usage = 0
|
|
render_target_v_flip = true
|
|
render_target_update_mode = 1
|
|
gui_disable_input = true
|
|
script = ExtResource( 1 )
|
|
debug_path = null
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
material = SubResource( 2 )
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.1
|
|
one_shot = true
|