init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-FileCopyrightText: 2023 MizunagiKB <mizukb@live.jp>
|
||||
// GDCubism shader: Mask
|
||||
shader_type canvas_item;
|
||||
render_mode blend_mix, unshaded;
|
||||
|
||||
uniform vec4 channel : source_color;
|
||||
uniform sampler2D tex_main : filter_linear_mipmap;
|
||||
|
||||
void fragment() {
|
||||
COLOR = channel * texture(tex_main, UV).a;
|
||||
}
|
||||
Reference in New Issue
Block a user