Blender lego brick connection

can some one help me with my blender lego animation, as i cant seem to figure out how to make the lego bricks edges stand out.

Here is a image
https://scontent-lht6-1.xx.fbcdn.net/v/t34.0-12/17204253_10206727499506316_1907890023_n.png?oh=e1fcd5d913db8bd3431de8e9d23e8d80&oe=58C1FB47

im in the cycles render and i have tried using a geometry pointiness with a colorramp and that doesn’t work

How complex are your lego brick meshes i.e. do they have perfectly sharp edges?.

To accurately model a lego brick - you should probably chamfer/bevel the edges ever so slightly to round them off. That will help them to show up in your model.

i guess the only way i could use a bevel is using it brick by brick what would take forever

You can use the bevel modifier.

Yep this - use modifiers to get the desired result on one brick - then copy that modifier stack to all of your other bricks: