mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
bcdac09cd7
Basic import plugin works. Added gradient parameter to custom node. hsv_adjust now supports alpha channel. Remove deprecated scenes.
35 lines
729 B
Plaintext
35 lines
729 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
|
|
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
|