Author Topic: *Mega* Wood Flooring Shader - by dandelO - UPDATED 24/10/10  (Read 11479 times)

Offline dandelO

  • Member
  • *
  • Posts: 2401
*Mega* Wood Flooring Shader - by dandelO - UPDATED 24/10/10
« on: August 19, 2010, 02:29:28 PM »
I'm going to be away for some time after today so, here's a farewell gift. :)

You can lay this layer straight onto the ground to get complete coverage of the surface shown here:


It contains 'wood 1', from the first post here.
I have lots more wood shaders made but 'wood 1' is all I'm posting, for now(wood 2 here is just a different variation of wood 1).

Here's the simplest way to connect the flooring to the main scene's node network(the 'base colours' node isn't required):

26280-0

The actual wood shaders(in their own groups inside) are nothing special but, when used with my 'planks' function there are many possibilities for editing pattern, combinations etc.
For the wood shaders, the direction the grain will run on is decided by one(or more) of the 'grain XYZ' nodes. Both wood groups defaults are 'X'.
The 'grain X,Y or Z' nodes can also be simply applied to anything for a plain, bare wood surface, if you wanted that instead.
Here, though, the 'wood' groups are stashed inside the main shader because, if you plan on playing with my cracks, that's where you'll need them, to edit them easily.

The cracks are a collection of functions that create masks for displacement, colour distribution and reflectivity:

26280-1

Surface layers W1 and W2 can feed either of the add/mix nodes beneath them or, you can bypass the 'add colour'/'mix colour' and 'combined colour' nodes completely, if you want to only have 1 flavour of wood on your final surface.
Default settings are for 'wood 2' to be added to wood 1 alternately.

Someone might be able to simplify the internal network a little more, it makes sense to me but, I'm not always the sharpest box in the tool! :D

Have at it! : 26280-2

Cheers and, enjoy! :)

* Edit: Replaced clipfile. I forgot the reflectivity masking.

** Edit: Mega update downstairs... Old files removed.
« Last Edit: September 24, 2010, 12:33:14 AM by dandelO »

Offline Zairyn Arsyn

  • Member
  • *
  • Posts: 2877
  • I am the naked Coal.
    • facebook
Re: Wood Flooring Shader - Part 1
« Reply #1 on: August 19, 2010, 02:43:03 PM »
looks pretty good martin, thanks for sharing.

WARNING! WIZARDS! DO NOT PREDICT THE BEHAVIOR OF OTTERS UNLESS YOU OBEY BIG HAPPY TOES.

i7 2600k 3.4GHZ|G.skill 16GB 1600MHZ|Asus P8P67 EVO|Evga 770GTX 4GB|SB X-FI|Antec 750W
http://zlain81.deviantart.com/

Offline Henry Blewer

  • Member
  • *
  • Posts: 6333
  • The cooler weather is great!
    • flickr.com/photos/njeneb/
Re: Wood Flooring Shader - Part 1
« Reply #2 on: August 19, 2010, 02:50:53 PM »
Bookmarked this. I am not sure where to use this, yet. But it will be handy for objects.
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

Offline Ogre

  • Member
  • *
  • Posts: 190
Re: Wood Flooring Shader - Part 1
« Reply #3 on: August 19, 2010, 06:27:33 PM »
Dandelo,

Thanks. You also provided the insight that I needed to fix my Brick Shader.  One thing I would look at is the displacement. If you want to have it work with objects you should reverse what you are doing and displace the board up. If you displace the edges down you may get the internal shadowing issue on objects. At least I was having the issue withthe bricks.

A quick question. Why do you use the component mix vector to mix the masks instead of an add color?  (Vectors in TG2 elude me for some reason)
"If you find me feeding daisies
please turn my face up to the sky and leave me be watching the moon roll by.
What ever I was it was all because I've been on the town washing the BS down."

-Gordon Lightfoot

Offline A4size

  • Member
  • *
  • Posts: 173
    • http://www.pixiv.net/member.php?id=327721
Re: Wood Flooring Shader - Part 1
« Reply #4 on: August 20, 2010, 05:15:57 AM »
Thank you for sharing
From Japan.  / a4size.3dcg@gmail.com
I am afraid I am not good at English.  | Twitter - http://twitter.com/A4sizeCG
CGHUB  | http://a4size.cghub.com/

Offline Dune

  • Member
  • *
  • Posts: 15196
    • www.ulco-art.nl
Re: Wood Flooring Shader - Part 1
« Reply #5 on: August 20, 2010, 06:47:59 AM »
Thanks a lot Dandel0, you sure are a hell of a provider of goodies! I hope you won't go away for too long.

---Dune

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Wood Flooring Shader - Part 1
« Reply #6 on: August 29, 2010, 08:02:04 PM »
Cheers, folks! :)

Offline Gannaingh

  • Member
  • *
  • Posts: 835
Re: Wood Flooring Shader - Part 1
« Reply #7 on: August 30, 2010, 05:28:51 AM »
This is fabulous work! Thank you for all the work that you have contributed!

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: MEGA Wood Flooring Shader - by dandelO
« Reply #8 on: September 23, 2010, 10:29:56 PM »
So, after a little time away from this project and some newly-infused inspiration and perseverance recently, I've come up with this multi-purpose shader. This is quite a biggie for me and I'm very happy with the way things have worked out with this. It's a very logical and free flowing network, you won't have any trouble navigating it or, editing outputs. I hope! :D

Never fear, though! I have written a very concise usage note on every function that requires user input to create multiple combination outputs easily.

It's a highly customizable wood flooring shader, with near endless possibilities. I'm attaching a few examples, by no means are these all of the variations that could be achieved with this shader, just a few tasters, I'll let you folks work out your own combinations from here on. ;)

I'll take a couple of posts to attach the previews then I'll be back with the works, I think you'll like this one, folks...

Demo 1:
26866-0

Demo 2:
26868-1

Demo 3:
26870-2
« Last Edit: September 23, 2010, 11:31:09 PM by dandelO »

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Wood Flooring Shader - Part 1
« Reply #9 on: September 23, 2010, 10:30:55 PM »
Demo 4:
26872-0

Demo 5:
26874-1

Your Controls:
26876-2
« Last Edit: September 23, 2010, 11:32:26 PM by dandelO »

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Wood Flooring Shader - Part 1
« Reply #10 on: September 23, 2010, 10:32:10 PM »
EDIT: Compressed images to fit into 2 posts, rather than 3.

Download file below this post. vv
« Last Edit: September 23, 2010, 11:33:56 PM by dandelO »

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: Mega Wood Flooring Shader - by dandelO - UPDATED 24/10/10
« Reply #11 on: September 23, 2010, 11:24:58 PM »
And here is the fully procedural Mega Wood Flooring Shader and also a .tgd which shows the general method of connecting it at default settings. The shader is a single layer that will simply slot into any network and plug into any surface.
Example images, as above, and a detailed usage note are included in the pack.
Compressed with WinRAR.

Cheers! :)
« Last Edit: June 25, 2012, 01:21:05 PM by dandelO »

Offline FrankB

  • Member
  • *
  • Posts: 3603
Re: *Mega* Wood Flooring Shader - by dandelO - UPDATED 24/10/10
« Reply #12 on: September 24, 2010, 06:26:33 PM »
this is so freaking amazing, Martin! Very good, excellent stuff. Are you going to put this up on the community store, too, please?

Thank you,
Frank

Offline TheBlackHole

  • Member
  • *
  • Posts: 1068
  • I never finish anything I st
    • Maps and Such
Re: *Mega* Wood Flooring Shader - by dandelO - UPDATED 24/10/10
« Reply #13 on: September 24, 2010, 07:20:15 PM »
Very nice. My only problem with it is that the wood needs some grainy detail. Like this:
They just issued a tornado warning and said to stay away from windows. Does that mean I can't use my computer?

Offline dandelO

  • Member
  • *
  • Posts: 2401
Re: *Mega* Wood Flooring Shader - by dandelO - UPDATED 24/10/10
« Reply #14 on: September 24, 2010, 07:33:14 PM »
Sorry, my wood looks better than that photo! ;)

Seriously, though, that's where you come into it, Landon! Pop some more colour detail inside the wood nodes, they're all quite basic shaders. Adding some warp factor after the 'wood surface A/B' nodes could also be an idea. And giving the surfaces some tiny displacements, between 'planks' and the 'final surface' displacement function is also a good idea. Like I said, I'll let you guys figure it out from here.
You shouldn't really grumble, it's free! ;) :D

Frank: Will do, after dinner... EDIT: Does the CS uploader accept animated .gif preview images?

Thanks, guys! :)
« Last Edit: September 24, 2010, 08:41:57 PM by dandelO »