Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Shader Tile Map  (Read 7010 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Shader Tile Map
« 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
« Last Edit: February 03, 2013, 11:56:51 am by FRex »
Back to C++ gamedev with SFML in May 2023