
Voronoi ISL Shader
- PureSpider
- Posts: 1459
- Joined: Tue Apr 08, 2008 9:37 am
- Location: Karlsruhe, BW, Germany
- Contact:
Re: Voronoi ISL Shader
Welcome to this world, Augustine and congratulations, Etienne!galinette wrote:I am the father of a little girl named Augustine since yesterday evening!
Re: Voronoi ISL Shader
Herzlichen Glückwunsch!
Re: Voronoi ISL Shader
Tanti auguri e congratulazioni Galinette!
- zeitmeister
- Posts: 2010
- Joined: Tue Apr 22, 2008 4:11 am
- Location: Limburg/Lahn, Germany
- Contact:
Voronoi ISL Shader
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
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
- Polinalkrimizei
- Posts: 648
- Joined: Sat May 02, 2009 6:59 am
Re: Voronoi ISL Shader
Alles Gute und viel Spaß mit Deiner Kleinen!
Re: Voronoi ISL Shader
Could I get the full material ? Do you have other cool materials or material bases to share ?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>
I came to something similar though less elegant, when I remembered about this post. Bricks and parquet.
obsolete asset
Re: Voronoi ISL Shader
Here it is:
- Attachments
-
- brick_shader_test.igs
- (7.62 KiB) Downloaded 267 times
Who is online
Users browsing this forum: No registered users and 12 guests