8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 148: | Line 148: | ||
local args = process_args.merge(true) | local args = process_args.merge(true) | ||
if args[1] and args[2] then -- shader template | if args[1] and args[2] then -- shader template | ||
output = p.applytemplate(args[ | output = p.applytemplate(args[1], args[2]) | ||
else | else | ||
output = p.shader(args['text'], args['colors'], args['type']) | output = p.shader(args['text'], args['colors'], args['type']) |