How to obtain a light source for projecting images? (e.g. black and white stripes)

I can only get results like this


I hope to achieve such a light source effect

in unity
image