~npisanti/grimorio

49aa7452e23602b597fa1b9c1da4b99ae448986f — Nicola Pisanti a month ago 79e3e36
tweaks to shader
4 files changed, 6 insertions(+), 6 deletions(-)

M bin/glsl
M bin/glsl_cam
M bin/glsl_drop
M bin/glsl_gif
M bin/glsl => bin/glsl +2 -2
@@ 1,7 1,7 @@
#!/usr/bin/fish

if test -z "$argv[1]"
    echo "USAGE: shadername.frag [width height] [downsample]"
    echo "USAGE: shaderfile.frag [width height] [downsample] [x y]"
else
	set first (string sub -l 1 "$argv[1]") 
	switch "$first"


@@ 13,7 13,7 @@ else
		set ABSOLUTE "$PWD/$argv[1]"
	end

	exec /home/$USER/tools/raylyeh/raylyeh /home/$USER/tools/rl_tools/shader/main.lua "$ABSOLUTE" $argv[1] $argv[2] $argv[3] $argv[4] 
	exec /home/$USER/tools/raylyeh/raylyeh /home/$USER/tools/rl_tools/shader/main.lua "$ABSOLUTE" $argv[1] $argv[2] $argv[3] $argv[4] $argv[5] $argv[6] 
end

exit

M bin/glsl_cam => bin/glsl_cam +2 -2
@@ 1,7 1,7 @@
#!/usr/bin/fish

if test -z "$argv[1]"
    echo "USAGE: shadername.frag [ /dev/yourvideodevice ] [width height] [downsample]"
    echo "USAGE: shaderfile.frag [ /dev/yourvideodevice ] [width height] [downsample] [x y]"
else
	set first (string sub -l 1 "$argv[1]") 
	switch "$first"


@@ 19,7 19,7 @@ else
		set device "$argv[2]"
	end

	exec /home/$USER/tools/raylyeh/raylyeh /home/$USER/tools/rl_tools/shadercam/main.lua "$ABSOLUTE" $argv[1] "$device" $argv[2] $argv[3] $argv[4] 
	exec /home/$USER/tools/raylyeh/raylyeh /home/$USER/tools/rl_tools/shadercam/main.lua "$ABSOLUTE" $argv[1] "$device" $argv[3] $argv[4] $argv[5] $argv[6] $argv[7] 
end

exit

M bin/glsl_drop => bin/glsl_drop +1 -1
@@ 1,7 1,7 @@
#!/usr/bin/fish

if test -z "$argv[1]"
    echo "USAGE: shadername.frag [width height] [downsample]"
    echo "USAGE: shaderfile.frag [width height] [downsample]"
else
	set first (string sub -l 1 "$argv[1]") 
	switch "$first"

M bin/glsl_gif => bin/glsl_gif +1 -1
@@ 1,7 1,7 @@
#!/usr/bin/fish

if test -z "$argv[1]"
    echo "USAGE: shadername.frag [w h fps seconds]"
    echo "USAGE: shaderfile.frag [w h fps seconds]"
else
	set first (string sub -l 1 "$argv[1]") 
	switch "$first"