I question about light effects using render image library

Started by takis76, March 11, 2020, 20:01:29

Previous topic - Next topic

takis76

I did extended experiments and I discovered if I will use white shapes with transparent background and use SetBlend(MASKBLEND) to draw them it seems they are erasing the light effect in pixel perfectly not just rectangular but any kind of shape. Hmmm
I think this may solve the whole problem.
I will need to do many changes and extra experiments. I will report again to tell you what I did. I think I am very close to the complete solution.

UPDATE:
According to my first test, it worked perfectly. Now I have the way to control light effects, to lit them, place behind other sprites.
When I will fix all my code I will post one new video.