Material shader - when model collides intersects another, add an edge?

polycounter lvl 7
Offline / Send Message
PogoP polycounter lvl 7
Hey guys, sorry about the cryptic thread title. I'll explain a little more.

I'm re-making an old Zelda dungeon in 3D to test out modularity for my university degree, and I'm wondering if it's possible to get the following water effect, where the edges are darkened, using a material shader:


As you can see, where the water meets a wall, it gets darker around the edges. I was wondering if it's possible to re-create this sort of effect using shaders.

In fact, how would you guys go about making such a water effect? Would you make it using a model you can layer above the ground, or would you make a material shader and apply it to the BSP (I don't want the water to be see-through)?

Thanks guys, hopefully you can shed some insight.


Sign In or Register to comment.