Voronoi ISL Shader

General questions about Indigo, the scene format, rendering etc...
User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Re: Voronoi ISL Shader

Post by PureSpider » Sun Apr 01, 2012 9:44 am

Congratulations on being a father now! :!:

User avatar
dakiru
Indigo 100
Posts: 747
Joined: Mon Jun 22, 2009 6:51 am

Re: Voronoi ISL Shader

Post by dakiru » Sun Apr 01, 2012 11:38 am

galinette wrote:I am the father of a little girl named Augustine since yesterday evening!
Welcome to this world, Augustine and congratulations, Etienne!

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Voronoi ISL Shader

Post by CTZn » Sun Apr 01, 2012 1:37 pm

Félicitations, et meilleurs voeux à votre petite famille !
obsolete asset

User avatar
Headroom
Indigo 100
Posts: 1058
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Re: Voronoi ISL Shader

Post by Headroom » Sun Apr 01, 2012 1:58 pm

Herzlichen Glückwunsch!

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Re: Voronoi ISL Shader

Post by StompinTom » Sun Apr 01, 2012 9:30 pm

Congratulations!

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: Voronoi ISL Shader

Post by Pibuz » Thu Apr 05, 2012 8:42 pm

Tanti auguri e congratulazioni Galinette!

User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Voronoi ISL Shader

Post by pixie » Mon Apr 09, 2012 12:59 pm

Congratulations! :)

User avatar
zeitmeister
2nd Place 100
Posts: 2010
Joined: Tue Apr 22, 2008 4:11 am
Location: Limburg/Lahn, Germany
Contact:

Voronoi ISL Shader

Post by zeitmeister » Tue Apr 10, 2012 6:00 am

Herzlichen Glückwunsch auch von mir!
Cheers, David



DAVIDGUDELIUS // 3D.PORTFOLIO
·
Indigo 4.4.15 | Indigo for C4D 4.4.13.1 | C4D R23 | Mac OS X 10.13.6 | Windows 10 Professional x64

User avatar
Polinalkrimizei
Posts: 647
Joined: Sat May 02, 2009 6:59 am

Re: Voronoi ISL Shader

Post by Polinalkrimizei » Thu Apr 12, 2012 6:57 am

Alles Gute und viel Spaß mit Deiner Kleinen!

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Voronoi ISL Shader

Post by CTZn » Tue Jan 15, 2013 3:21 am

OnoSendai wrote:You will be able to define shader 'parameters' like so, which will then be available in your shader as pre-defined functions:

We're still working on the code, we'll make a fuss about it when it's done, because it should be pretty cool, and should finally make shaders easily tweakable by artists :)

Code: Select all

	<albedo>
				<shader>
          <param>
            <colour3>
              <name>BrickBaseColour</name>
              <description>Base colour for the brick.</description>
              <value>0.6 0.2 0.2</value>
            </colour3>
          </param>

          <param>
            <colour3>
              <name>GroutBaseColour</name>
              <description>Base colour for the grouting.</description>
              <value>0.5 0.5 0.5</value>
            </colour3>
          </param>
          
          <param>
            <real>
              <name>BrickColourVariation</name>
              <description></description>
              <min>0</min>
              <max>1.0</max>
              <value>0.3</value>
            </real>
          </param>

					<shader>
						<![CDATA[	
						   
def brickColour() vec3 : 
  paramBrickBaseColour() + 
  vec3(
    noise(vec2(0.5 + brickXNum() * 10.0, 0.5 + brickYNum() * 10.0)) * paramBrickColourVariation(), 
    0.0, 
    0.0
  )
  
def groutColour() vec3 : 
  paramGroutBaseColour()

def eval(vec3 pos) vec3 :
  if(
    (brickX() < grout()) || 
    (brickY() < grout()) ||
    (brickX() > (paramBrickWidth() - grout())) || 
    (brickY() > (paramBrickHeight() - grout()))
    ,
    groutColour(),
    brickColour()
  )
						]]>
					</shader>
				</shader>
			</albedo>
Could I get the full material ? Do you have other cool materials or material bases to share ?

I came to something similar though less elegant, when I remembered about this post. Bricks and parquet.
obsolete asset

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: Voronoi ISL Shader

Post by OnoSendai » Tue Jan 15, 2013 9:27 am

Here it is:
Attachments
brick_shader_test.igs
(7.62 KiB) Downloaded 255 times

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Voronoi ISL Shader

Post by CTZn » Tue Jan 15, 2013 10:43 am

Thank you !
obsolete asset

Post Reply
87 posts

Who is online

Users browsing this forum: No registered users and 26 guests