Forum: Freestuff


Subject: Simple Dual Material Shader for DAZ Studio [Beta]

3dcheapskate opened this issue on Oct 08, 2012 · 4 posts


3dcheapskate posted Mon, 08 October 2012 at 12:38 AM

In Renderosity Freestuff [ here](http://www.renderosity.com/mod/freestuff/details.php?item_id=69607)- still in beta, but it works in DS3 Free, DS3 Advanced, and DS4 Pro (and probablyy DS4 Free if anybody has that). Check the readme for more info. Feel free to play around with the shader network if you use Shader Mixer - use it, modify it, dump it, whatever.

Most things work, except refraction and normal maps (see readme).

This is basically for situations where you have a single surface but want to use two separate materials (e.g. a shiny reflective gold paint design on a stone surface). Yes, you can already do this by creating separate images to plug into the diffuse, bump, and specular channels (and that’s not uncommon). But when you have two REALLY different materials that require separate values for glossiness, specular strength, reflection strength, etc, as well…

Seemed to me that specifying the two materials separately, and using a simple greyscale image to define which material is used where, was a simple solution. You can already do this in Poser’s Material Room (since Poser 6 at least), and now DAZ Studio has Shader Mixer, which can do this too. But many people don’t use Shader Mixer. So I’ve created a simple (but quite big!) shader network, and made all the important stuff accessible from the normal Surfaces tab.

Attached image shows the shader out-of-the-box applied to a sphere primitive. Not too impressive, eh? Just a very simplistic goldleaf on smooth stone effect - the only differences between the Base Texture and Overlay Texture are diffuse/specular colours, glossiness, and specular strength.


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.

*also available in ShareCG, DAZ, and HiveWire3D flavours (the DeviantArt and CGBytes flavour have been discontinued).