Reptile Shaders

Rep­tile was born out of the min­Shaders library and includes shaders that deal with pro­ce­du­rally gen­er­at­ing vari­a­tion and diversification.

In many shots an artist needs to cre­ate count­less vari­a­tions of a sin­gle shader so that every object looks slightly dif­fer­ent from the oth­ers. The Rep­tile shaders spare you the has­sle of man­u­ally cre­at­ing the ever so slight vari­a­tions by pro­ce­du­rally gen­er­at­ing any num­ber of per­mu­ta­tions of the object’s attrib­utes and by ran­dom­iz­ing tex­ture attributes.

  1. ReptileTextures

    ReptileTextures randomly applies textures and materials to any number of objects or instances.

  2. ReptileBlocks

    ReptileBlocks procedurally generates tiled textures with automatic variation for individual tiles as well as distinct objects.

  3. ReptileScatter

    ReptileScatter generates variation in textures by randomly translating, rotating, scaling, layering and skipping UV coordinates.

  4. ReptileVariation

    The ReptileVariation shader can be used to randomize attributes such as color, hue, saturation, brightness and tint of any other material or object.

ReptileTextures

Rep­tile­Tex­tures ran­domly applies tex­tures and mate­ri­als to objects.
Whereas Rep­til­e­Vari­a­tion cre­ates vari­ety and ran­dom­ness in a scene by chang­ing val­ues such as hue, sat­u­ra­tion and light­ness of objects, Rep­tile­Tex­tures lets you auto­mat­i­cally apply dif­fer­ent tex­tures, shaders and mate­ri­als to any num­ber of objects or instances.

reptileTextures

This shader will prove incred­i­bly use­ful when­ever you are deal­ing with more than a cou­ple of objects that require a broad range of vari­a­tion in look, but set­ting up an indi­vid­ual shader for each and every object would be tedious or even impos­si­ble.
Usage sce­nar­ios include plants and leafs, messy book­shelves, land­scapes, cars on a high­way, char­ac­ters’ cloth­ing, build­ings and more.

Usage

Apply the same instance of Rep­tile­Tex­ures to all your objects and plug your tex­tures or shaders into the appro­pri­ate slots in Rep­tile­Tex­tures… you’re done!

ReptileBlocks

Rep­tile­Blocks pro­ce­du­rally gen­er­ates tiled tex­tures with auto­matic vari­a­tion for indi­vid­ual tiles as well as dis­tinct objects.

ReptileBlocksReptileBlocksReptileBlocksReptileBlocks

Its main pur­pose is to gen­er­ate pro­ce­dural build­ings but it could be used for var­i­ous other effects due to its agnos­tic design.
As the shad­ing is accom­plished pro­ce­du­rally, no unsightly tiling or rep­e­ti­tion will be vis­i­ble whatsoever.

Usage

If you’ve ever ren­dered a large city in 3D you’ll know how much work it can be to man­u­ally build the myr­iad dif­fer­ent build­ings and facades needed to instill the illu­sion of a nat­u­rally evolved urban area.

Rep­tile­Blocks facil­i­tates this task by remov­ing the need to come up with all the vari­a­tions on your own: Feed it a hand­ful of win­dow tex­tures and the shader will pro­ce­du­rally gen­er­ate cities of any size with diverse build­ings and even street lights and illu­mi­nated advertising.

The shader is par­tic­u­larly well suited for night scenes where much detail can be omit­ted and we can trick the viewer into believ­ing there’s more to the scene than meets the eye.

ReptileScatter

Rep­tileScat­ter is a 2D tex­ture place­ment node that gen­er­ates vari­a­tion by ran­domly trans­lat­ing, rotat­ing, scal­ing, lay­er­ing and skip­ping UV coor­di­nates.

This shader is extremely use­ful when­ever you need to quickly apply tex­ture in a ran­domly scat­tered fash­ion, like autumn leaves on the ground, rocks and peb­bles in a land­scape scenery or beat-​​up areas on an oth­er­wise impec­ca­ble surface.

Usage

Using Rep­tileScat­ter is very sim­ple: Hook the node up to a tex­ture and you’re good to go! You can set how many times the tex­ture should be scat­tered across the sur­face area, whether it should be rotated or scaled and whether you’d like to use an alpha chan­nel for a stencil-​​like effect.

Rep­tileScat­ter works par­tic­u­larly well in com­bi­na­tion with min­Lay­ers for extra effect.

ReptileVariation

The Rep­til­e­Vari­a­tion shader can be used to ran­dom­ize attrib­utes such as color, hue, sat­u­ra­tion, bright­ness and tint of any other mate­r­ial or object.

ReptileVariationReptileVariation

Rep­til­e­Vari­a­tion ran­dom­izes spec­i­fied attrib­utes on a per object basis. This is very use­ful to intro­duce ran­dom­ness and vari­a­tion into a scene with­out cre­at­ing hun­dreds of dis­tinct shaders for each and every small variation.

Usage

Grassy fields, messy book­shelves or rocky land­scapes can eas­ily be improved with a lit­tle added diver­sity and ran­dom­ness from this shader.