Skip to content
This is a series about the SDL2 Renderer in C.
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/gfx
src
Makefile
README.md
screenshot.jpg
shot_2.jpg

README.md

This is a series about the SDL2-Renderer

1 - sets up a Renderer and renders a png
      1a, 1b, 1c using SDL_RenderCopyEx
      1d how to take a screenshot
2 - uses SDL_RenderDrawPoint to render a gradient.
3 - resizes the gradient to the window dimensions
4 - animates the gradient like a new shadertoy gradient.
Shows a bit how glsl works and why we want shaders.

Useful links:
SDL2 SDL-Discourse More Example Code

Screenshots:
Screenshot
Screenshot2
Get in touch on SDL-Discourse

You can’t perform that action at this time.