Normal Map to make 2D sprite combined with its Normal Map to appear 3D lit, 3 colored light sources, includes hard spotlight parameters.
Example for C3 Runtime
Example for C2 Runtime
Also updated the examples for 1.4
Thank you Mikal for porting this effect to C3.
I've got a little problem, if I add a scrolling camera in the example NormalMapTestC3Runtime.c3p, the lights offset gradually on the Y axis if the scrolling goes vertical, works perfectly on the X axis though. (tested on Desktop/chrome and on Android)
Would it be possible to fix it ?
The moment I turn on unbounded scrolling, this stops being able to put the light in the right place. This a bug, or just a limitation?
You likely need to change the formulas that calculate the parameters based on the fact that the screen corner locations change with unbounded scrolling.
I think FoozleCC did this, check Construct Community Discord.
Do you still have the effect for construct 2?
I have it in my c2 package you can find on my profile.
Hello! Did you erase the effect? I need the effect!!
I don't, but you might be able to find it on the C2 forums.