The 2D Game: Tilemap shader tutorial video
This video shows the result generated by the Tilemap Shader described in the Tilemap Tutorial series of articles (http://www.the2dgame.com/index?page=articles&ref=ART4).
The effect shown on this video is a simple Tilemap drawn using one single rectangle primitive on the screen: The entire tilemap decoding, tile texture selection, drawing, is performed by the pixel shader.
This particular example just uses a small set of ugly 16x16 textures, but it would work as well for large detailed textures.
The same effect could be achieved in software (example: using SDL) at a serious CPU and memory bandwidth cost, or in traditional GPU way using batches of triangles but that would still not be as efficient: Assuming your graphic card has a basic shader support you can basically render a full tilemap on screen at virtually no CPU or GPU cost at all, leaving you with plenty of resources for the actual game play and effects.
The full source code is available on the last article of the series :)
You can learn more about The 2D Game at http://www.the2dgame.com
Other Videos By Dbug's stuff
2013-06-09 | SoundTracker on the Oric |
2013-05-19 | Loki - A 1983 Oric 3D shooter |
2013-03-24 | Volvo FeltVogn L3314N - First test |
2013-03-06 | Wizball intro by Tetra Knight Squad 348 on the Oric Atmos |
2013-02-03 | Le Diamant de l'île maudite |
2013-01-29 | Welcome to Oric Atmos 48k |
2013-01-24 | Defence Force on the Oric Atmos |
2013-01-23 | Pulsoids, a break-out clone on Oric Atmos |
2013-01-17 | Oric Delighte |
2013-01-06 | Murder on the Atlantic - Demo |
2012-12-09 | The 2D Game: Tilemap shader tutorial video |
2011-07-17 | NyAtmos (a Nyan Cat alternative version on the Oric 8 bit computer) |
2011-06-05 | 256 bytes zooming circles Oric demo |
2010-07-26 | STNICCC2000 - C64 revisited Oric intro |
2010-07-18 | Space: 1999 - The Oric Trailer |
2010-06-30 | Le Manoir du Dr Genius - Oric Game - Loriciel 1983 |
2010-03-03 | Cyclotron - a 4KB Oric game |
2010-02-13 | Oric Giga Demo by Defence Force (VIP3 party in 2001) |
2010-02-13 | 4K Kong - Oric game by Defence Force |
2010-02-12 | Quintessential Oric demo by Defence Force (aka VIP4 demo) |
2009-11-22 | Save The Earth (Atari STe demo) |