Reply To: Water to Lava

Home Forums AR Sandbox Forum Water to Lava Reply To: Water to Lava

#101702
billberet
Participant

i have about 6 different shaders I switch on the fly, from water to toxic waste.
INTPTT and Jensen have been very helpful in this matter

if you have Linux mint, you can use keyboard shortcuts.
create 2 scripts, one that has the new values of the shader (lava,snow,ice),
for this example mine is called SurfaceAddWaterColor-Lava.fs = shader file to make lava

and one that renames it to the default water shader file. cp SurfaceAddWaterColor-Lava.fs SurfaceAddWaterColor.fs
then by executing this file you take the lava shader and rename it to the default water shader file name.
the change script will say cp SurfaceAddWaterColor-Lava.fs SurfaceAddWaterColor.fs
you can test it by opening a console while your box is running, and you can see the shaders change.

the sandbox always uses the water shader, so if you have a shader that makes lava but save it as the water shader name, then when you make it rain, it will be lava and not water.

then repeat that for every type of shader you are making.

I hope I did not confuse you more, there are other links I had with the guys but I can’t find where. they helped me out when creating my shaders.
I did find this one helpful link where I started the process
http://lakeviz.org/forums/topic/ar-sandbox-mostly-complete-few-questions-left/

  • This reply was modified 4 years, 10 months ago by billberet.
  • This reply was modified 4 years, 10 months ago by billberet.
  • This reply was modified 4 years, 10 months ago by billberet.
  • This reply was modified 4 years, 10 months ago by billberet.
  • This reply was modified 4 years, 10 months ago by billberet.
  • This reply was modified 4 years, 10 months ago by billberet.

Comments are closed.