The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2 Effects
xgibbousx


Joined: 23 Nov 2016
Posts: 1
What is the best way to achieve 2D effects, similar to what is seen in Tower Climb, in SDL2?

Here's a video of Tower Climb for reference:

https://www.youtube.com/watch?v=MpG-Yca7z5Y

Some of the effects seen:

1. Dynamic lighting on normal maps.
2. Glow effects.
3. Particle/Smoke effects.
4. Post-processing.

I am pretty certain that we would need to use sdl-gpu along with OpenGL/shaders to achieve all the above.

Has anyone done anything like this in SDL2 with sdl-gpu? Any examples?