aboutsummaryrefslogtreecommitdiff
path: root/scripts/shader-dev-mode.sh
blob: f0de1a4297e45f3c694462ade7bb640b5640ebf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

rm -f /usr/local/share/thrust3d/shaders/lighting.vert
ln -s $(pwd)/data/shaders/lighting.vert /usr/local/share/thrust3d/shaders/lighting.vert

rm -f /usr/local/share/thrust3d/shaders/lighting.frag
ln -s $(pwd)/data/shaders/lighting.frag /usr/local/share/thrust3d/shaders/lighting.frag

rm -f /usr/local/share/thrust3d/shaders/fill-light.vert
ln -s $(pwd)/data/shaders/fill-light.vert /usr/local/share/thrust3d/shaders/fill-light.vert

rm -f /usr/local/share/thrust3d/shaders/fill-light.frag
ln -s $(pwd)/data/shaders/fill-light.frag /usr/local/share/thrust3d/shaders/fill-light.frag

rm -f /usr/local/share/thrust3d/shaders/swirlytron.vert
ln -s $(pwd)/data/shaders/swirlytron.vert /usr/local/share/thrust3d/shaders/swirlytron.vert

rm -f /usr/local/share/thrust3d/shaders/swirlytron.frag
ln -s $(pwd)/data/shaders/swirlytron.frag /usr/local/share/thrust3d/shaders/swirlytron.frag