SFML community forums

General => SFML wiki => Topic started by: FRex on February 03, 2013, 12:11:39 am

Title: Shader Tile Map
Post by: FRex on February 03, 2013, 12:11:39 am
I've written and posted Shader Tile Map on the wiki, it has the glsl inlined within itself. It's idea is loosely based on Dbug's example from SFML Project forum, the vertex shader and idea of using too big textureRect is his, I've rewritten fragment shader from scratch. It wasn't tested very throughly. It's under MIT, I've sent Dbug message asking if he is ok with that, if he declines I'll change it and he said he is.

https://github.com/SFML/SFML/wiki/Sources
https://github.com/SFML/SFML/wiki/Source%3A-ShaderTileMap