Reply To: AR Sandbox mostly complete! Few questions left.

Home Forums AR Sandbox Forum AR Sandbox mostly complete! Few questions left. Reply To: AR Sandbox mostly complete! Few questions left.

#101389
INTPTT
Participant

So… I’ve been playing around with the shader and decided to tinker with the “Blue” line:

vec4 waterColor=vec4(0.0,0.0,1.0,1.0); // Blue

Can anyone help decode the numbers and how they correspond? I discovered changing the first 0 to a 4 gives me pink. =) I’m cool with the texture being smooth… different from the others and could work for snow. I’ll worry about physics later. Anyone have any insight on the numbers? Thank you.

::EDIT:: Well, I may have gotten lucky. This seems to make white (thought I’m remoted in and won’t be able to confirm until tomorrow…)

vec4 waterColor=vec4(2.0,2.0,1.0,1.0); // White

  • This reply was modified 4 years, 11 months ago by INTPTT.

Comments are closed.