Im incompetent with shaders, and need someone to do one rather simple for me, if possible.
What i want is a shader that gets more transparent on its lighter parts, white part are fully transparent, grey are semi transparent and black is fully opaque. I managed to do that once when light isnt compiled, but once light is applied it makes it invisible.
I know it has to do with blendFunc, but i dont understand much how it works or how to make sure lightmap wont influence it.

