8000 GitHub - Dhebug/SFML-Tilemap-Shader: An old tilemap shader written in 2012 to accompany a series of articles
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dhebug/SFML-Tilemap-Shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML-Tilemap-Shader

An old tilemap shader written in 2012 to accompany a series of articles published on my blog from November to December 2012.

  • Part 1 - What's a Tilemap exactly?
  • Part 2 - Conceptual description using pseudo code
  • Part 3 - Drawing tilemaps using quads and strips
  • Part 4 - From Vertex and index buffers to shading
  • Part 5 - A complete working rotating and scaling tilemap using a single sf::sprite

Disclaimer #1: I have no idea if this code still works with the current version of SFML

Disclaimer #2: This was my first ever shader, last time I had done graphic rendering was years before when I wrote the engine for VRally 2 on Dreamcast, so don't take the content of the code as an example of how things should be done, it's probably full of horrible things

About

An old tilemap shader written in 2012 to accompany a series of articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0