Pixel-Composer/scripts/node_rim/node_rim.gml

9 lines
311 B
Plaintext
Raw Normal View History

2024-03-28 14:18:02 +01:00
function Node_Rim(_x, _y, _group = noone) : Node_Shader_Processor(_x, _y, _group) constructor {
name = "Rim";
shader = sh_rim;
2024-03-31 05:36:11 +02:00
inputs[| 1] = nodeValue("Angle", self, JUNCTION_CONNECT.input, VALUE_TYPE.float, 0 )
2024-03-28 14:18:02 +01:00
.setDisplay(VALUE_DISPLAY.rotation);
addShaderProp(SHADER_UNIFORM.float, "rotation");
}