Texture Generation: Wine blotches

August 10, 2012 at 11:09 am (Computer Science, Graphics, Processing, Programming) (, , )


So I wrote up some code to generate textures for a game I’m working on. I wanted some parchment and leather textures. It works pretty great (although my screenshots are only 300×300 so they don’t look terribly good). In addition to this, I decided to write up a system to add wine spills and burn marks as well.It uses Perlin noise to generate the spots and then I do some processing on it.  You get different results each time you run it.

Here’s a screenshot (again, small image so it has some aliasing):

Procedurally generated parchment texture with random wine spills

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: