Reply To: Snow shader (and a cool tool) here!

Home Forums AR Sandbox Forum Snow shader (and a cool tool) here! Reply To: Snow shader (and a cool tool) here!

#102878
Oliver Kreylos
Keymaster

If you followed the installation instructions, then shader programs (.vs / .fs extension) go into the share/SARndbox-<version>/Shaders subdirectory underneath the SARndbox package’s source directory, i.e., src/SARndbox-<version> inside your home directory.

The SARndbox uses one specific shader file, namely SurfaceAddWaterColor.fs, to calculate how water affects the appearance of the sand surface. To use different effects such as snow, you need to copy the desired shader file over that file (not forgetting to back up the original file beforehand). That’s what the scripts mentioned earlier in this thread are for. Those scripts can be saved anywhere, but you need to tell the system where they are when binding keyboard shortcuts, such as Ctrl-Alt-L to switch to lava.

Comments are closed.