• Advertisement
  • entries
  • comments
  • views

Some more procedural grayscale textures

Sign in to follow this  


Another round of randomly generated procedural grayscale textures for ya:


These are selections from a whole raft of new library modules that a script I left running last night put together, using the latest version of the Accidental Noise Library. Each was generated as a randomly constructed tree of modules and stowed in the library for future reference.

The generator works recursively. I have a table full of possible leaf nodes and a table full of possible regular nodes. The generateNode function is passed a level depth parameter and will generate either a leaf or a regular node depending on if the maximum specified level is reached. Non-leaf nodes typically will create themselves, then recursively create all of the sources they require.

I had to basically delete everything in the library after many of the changes I have made recently, but that's okay. Half the fun of this is running the script and seeing what turns up.

In particular, I find the one second from the left, third from the top a bit interesting and even a little creepy. It looks very much like a bump-map, and even with a little self-shadowing. No doubt it is a result of adding a FunctionGradient function, which takes the gradient of a function along a specified axis. Still, though, the way it worked out is pretty cool, considering nothing in the chain is specifically calculating a bump map for the textures.
Sign in to follow this  

1 Comment

Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement