Seems like I was able to remove all memory leaks (at least no leaks in acklog when I run all examples from the latest github version). They mainly were caused by 'sc_skill_', sc_viewEvent_init, sc_materials_init and setupMaterial in example05. If only we could get pointlights to have shadows, this could be some good alternative to boost graphics, yet outdated, but much better than default shaders...

Edit: this is how I'm trying to create a pointlight
Code
sc_light_create(vector(-86, -82, 322), 1000, vector(1024, 512, 0), SC_LIGHT_POINT | SC_LIGHT_SHADOW);
And yet, there are no shadows at all...
[Linked Image]

Last edited by 3run; 06/03/20 10:46.

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung