I am wondering, how to properly create a texture for a PointLight2D when I want to use shadows and occluders?
I have a circular texture from the tutorial which works just fine, however if I create my own in inkscape in a cone shape, it does not work the same.
(I assume it is a problem with the transparency gradient in the texture?)
To visualise what I mean I have 4 images here:
The first image is with the texture from the tutorial. The others are done by me. The second is my cone shaped texture without an occluder in the way, third is approaching the occluder, and as soon as I get close enough the light disappears completely. Even if the occluder is in the way I would expect there to be light between the player and the occluder.
I suspect that the shape or the opaqueness of the texture is not correct, but I couldn't find any info on that.