Shaders Are Awesome

If you read this blog regularly then you should know that my next game will involve procedurally generated levels.

Well I’ve been working on that a fair bit recently with a specific focus on finding easy ways to add variation to the level art without adding to the generation algorithm.

This means I’ve spent the last week messing about with shaders. Hurrah!

Shaders are awesome because they are really good at procedural content – adding things like dirt, blood, damage etc over the entire level can be done in the shader without it accentuating the square tiles or seeing a repeat in the textures.

It also generates some pretty awesome wallpapers.

Here is a basic floor shader (Click for bigger):

Now here is that same shader but with some procedurally generated dirt:

Some areas of the dungeon are dirtier than others. This is the dirtiest spot I could find but in other areas you just get some scuffing or the cracks between the tiles have just a small amount of dirt accumulated.

So there we go. Shaders are awesome.

 

One thought on “Shaders Are Awesome

  1. Hello!I’m very intested in your fantistic game,and I play a lot!

    I’m a college student,and I’m learning game develop.I think the light effect and exploxing effect in your game is awesome.I really want to konw how you done this.Could you give me some drections or some tips?

    Thank you very much!

Leave a Reply

Your email address will not be published. Required fields are marked *