April 02, 2020, 11:06:35 AM

Author Topic: I question about light effects using render image library  (Read 289 times)

Offline takis76

  • Jr. Member
  • **
  • Posts: 96
Re: I question about light effects using render image library
« Reply #15 on: March 14, 2020, 08:11:55 PM »
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.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal