{
	"name": "fill_to_random_grey2",
	"node_position": {
		"x": 0,
		"y": 0
	},
	"parameters": {
		"edgecolor": 1
	},
	"seed_int": 0,
	"shader_model": {
		"code": "vec4 $(name_uv)_bb = $in($uv);",
		"global": "",
		"inputs": [
			{
				"default": "vec4(0.0)",
				"label": "",
				"longdesc": "The input fill data, to be connected to the output of a Fill node",
				"name": "in",
				"shortdesc": "Input",
				"type": "fill"
			}
		],
		"instance": "",
		"longdesc": "A fill companion node that fills each area with a random grayscale value",
		"name": "Fill to Random Gray",
		"outputs": [
			{
				"f": "mix($edgecolor, rand(vec2(float($seed), rand(vec2(rand($(name_uv)_bb.xy), rand($(name_uv)_bb.zw))))), step(0.0000001, dot($(name_uv)_bb.zw, vec2(1.0))))",
				"longdesc": "The generated output image",
				"shortdesc": "Output",
				"type": "f"
			}
		],
		"parameters": [
			{
				"control": "None",
				"default": 1,
				"label": "Edge color",
				"longdesc": "The value used for the outlines",
				"max": 1,
				"min": 0,
				"name": "edgecolor",
				"shortdesc": "Outline color",
				"step": 0.01,
				"type": "float"
			}
		],
		"shortdesc": "Fill to random gray"
	},
	"type": "shader"
}