Water Questions

Hey all,

I am currently using the Unity demo and am very impressed so far about the workflow over Torque.

My questions are concerning water:

  1. Are there underwater lighting FX, not necessarily anything elaborate, just something to let the player know, “I’m underwater now”. And by this I mean, the player will be above water, walk into the water and become underwater. In other words: I’m not asking if I can make an entire under water level… I already know how to do that.

  2. In Torque, if I shoot a projectile underwater I can produce bubbles or some other effect. Is this sort of thing possible with Unity?

Thanks,
Nathan

  1. Nothing premade, but what would be the fun of that? :wink: You could set up different zones using trigger collider objects, and then change the lighting you’d want. You’d probably want to change things like ambient light, fog color, and fog density from the script in addition to some directional or point lights, but I think that was a little “oops” that will be fixed soon. On The Edge - Det bedste fra tech verdenen

  2. Yeah, there are lots of ways to do this. You could instantiate one shot particle emitters, or write a little script to put a clump of spherical objects using the glass shader. You could simulate the bubbles as particles pretty well by giving the particles some drag, upwards force, and randomized force side-to-side.

Good luck,
-Jon

Thanks Jon, I appreciate the reply.

Nathan