R
Rosieu
Guest
Hi again everyone!
I'm not entirely sure this is the correct spot to be asking this, but it seems like my best bet, so apologies if I missed the appropriate spot for this thread!
I was wondering if there is a way using blend modes and the draw function to create a 'lighting' effect? It's something I have seen done before (and done myself) on Photoshop, and something I have done in Scirra's Construct 2, but I haven't been able to pull it off in gamemaker as yet?
Basically, I'm looking for a way that allows a sprite to be drawn in such a way, using a blend mode, so that it kind of 'negates' black wherever it overlaps it. Anywhere / any items not in the corona of light would thus be black, while anything within the light would be 'illuminated' and thus show their proper colours, etc.
Sorry about how brief my question is, I don't exactly have any more info to add, I'm kinda fuzzy on how to approach the entire issue, so any help is greatly appreciated!
I hope you all have a great day!
I'm not entirely sure this is the correct spot to be asking this, but it seems like my best bet, so apologies if I missed the appropriate spot for this thread!
I was wondering if there is a way using blend modes and the draw function to create a 'lighting' effect? It's something I have seen done before (and done myself) on Photoshop, and something I have done in Scirra's Construct 2, but I haven't been able to pull it off in gamemaker as yet?
Basically, I'm looking for a way that allows a sprite to be drawn in such a way, using a blend mode, so that it kind of 'negates' black wherever it overlaps it. Anywhere / any items not in the corona of light would thus be black, while anything within the light would be 'illuminated' and thus show their proper colours, etc.
Sorry about how brief my question is, I don't exactly have any more info to add, I'm kinda fuzzy on how to approach the entire issue, so any help is greatly appreciated!
I hope you all have a great day!