- Drag and drop
Tools/Setup.lua
from your working copy on your DaFusions working area - Check the 'Integrate the repository Tools into Script menu' to - guess what - integrate the repository Tools into the Script menu
- Do this at your very own risk!
- Have fun and ignore the other 'Install Manually' sections in this readme file
In particular if you are on Windows: don't forget to uncheck all options and to the save the configuration before moving or deleting your Shadertoys working copy!
- Copy the folder
Shadertoys
fromShadertoys/Tools/Scripts/Comp/
to yourScripts/Comp/
folder. - Copy the folder
Shadertoys
fromShadertoys/Tools/Modules/Lua/
to yourModules/Lua
folder. - Create a file
Shadertoys/~user_config.lua
in yourModules/Lua/
folder. - Edit that
~user_config.lua
file to contain the following text with<PATHTOYOURREPO>
the path to your working copy of the repositoy:
local user_config = { pathToRepository = '<PATHTOYOURREPO>/' }
return user_config
cd into your working copy ... in my case I cloned the repository into ‘~/Projects/':
cd ~/Projects/Shadertoys/
Persist the information on where to find the repository ...
REPO=`pwd`
echo "local user_config = { pathToRepository = '$REPO/' }\nreturn user_config" \
> $REPO/Tools/Modules/Lua/Shadertoys/\~user_config.lua
BMD=~/Library/Application\ Support/Blackmagic\ Design
... and in the same shell set symbolic links for Fusion to point into your working copy:
cd "$BMD/Fusion/Modules/Lua"
ln -s "$REPO/Tools/Modules/Lua/Shadertoys" Shadertoys
cd "$BMD/Fusion/Scripts/Comp"
ln -s "$REPO/Tools/Scripts/Comp/Shadertoys" Shadertoys
... resp. do so for Resolve:
cd "$BMD/DaVinci Resolve/Fusion/Modules/Lua"
ln -s "$REPO/Tools/Modules/Lua/Shadertoys" Shadertoys
cd "$BMD/DaVinci Resolve/Fusion/Scripts/Comp"
ln -s "$REPO/Tools/Scripts/Comp/Shadertoys" Shadertoys