Per pixel lighting / shading systems...

They possible with Slick? I’ve been trying to fix mine for over an hour now…
Downloaded new lwjgl, can’t find a new Slick though.
Just can’t seem to get Image graphics from the players image (or any other image), which means I can’t alter my images for shading…
Is there any way around this? Cause every time I try get the image’s graphics with image.getGraphics(); it throws a null, I’ve also had this error;

I’ve tried making the images on the initialization too.

Opinions?

Use libgdx :slight_smile: Sorry, I don’t know enough about slick to help, but consider the switch.

why’d I bother getting used to Slick lol seems useless now lol, could you give me some information about it or links please?

You can only do image loading and rendering on the GL thread, i.e. through your game’s init() method.

I’d also suggest LibGDX as it will be more suitable for per-pixel lighting and shaders.

Shaders in LWJGL/LibGDX
Lesson 6 - Normal Map Lighting for 2D Games

I’ve started a new one with libGDX now so let’s see how it goes