Fake thickness / opacity material - Help

I need to make fake thickness on opacity masked material (some sort of fence)

I use Bump offset - but I have problems of stacking the bump offset-s+opacity - Very messy results :-/
Can someone show me how to stack them correctly?

Example picture of what I want to make: