ISL shader nodes
ISL shader nodes
hey, ive been working two Indigo Shader Language nodes(namely ISL nosie, for perlin and fbm, and ISL blend, for blending multiple ISL shaders) for c4d so you can use ISL without actually having to write a single line of code.
Here are a few shots:
Here are a few shots:
Re: ISL shader nodes
I love the displacement stuff. Good work fused!
take care
psor
take care
psor
"The sleeper must awaken"
Re: ISL shader nodes
gradient shader node
- Attachments
-
- 1710146017101461.jpg (23.33 KiB) Viewed 6745 times
- zeitmeister
- Posts: 2010
- Joined: Tue Apr 22, 2008 4:11 am
- Location: Limburg/Lahn, Germany
- Contact:
Re: ISL shader nodes
Geilgeilgeil... wie ich mich darauf freu!
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
Re: ISL shader nodes
well... dont get too excited.... currently you can only do 2 color gradients with linear interpolation, because multi colored with non linear (c4ds gradients can be non linear) are a bit tricky (espacialy if the number of color varies).
- zeitmeister
- Posts: 2010
- Joined: Tue Apr 22, 2008 4:11 am
- Location: Limburg/Lahn, Germany
- Contact:
Re: ISL shader nodes
Naja dann: MaGucknMaGucknMaGuckn.
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
Re: ISL shader nodes
Thanks Fused !
- juan_irender
- Posts: 251
- Joined: Tue Jun 23, 2009 12:37 pm
- Location: Spain
- 3D Software: Cinema 4D
Re: ISL shader nodes
Very promising, Fused! Well, for doing proper multi-color interpolation, an spline data-type added to ISL (a la Renderman) would be very useful.
C4D R18 Studio user
Blender user
Blender user
Re: ISL shader nodes
First try to get a ISL generated Mountain done. Controle via direct Shader is 10000 times more comfy then tweaking the ISL code
I hope for more advanced tests over the Weekend... now its time for "Weihnachtsmarkt" *prost*
I hope for more advanced tests over the Weekend... now its time for "Weihnachtsmarkt" *prost*
polygonmanufaktur.de
- zeitmeister
- Posts: 2010
- Joined: Tue Apr 22, 2008 4:11 am
- Location: Limburg/Lahn, Germany
- Contact:
Re: ISL shader nodes
Oh, da sachste was... gleich wirds ja ernst. *hicks*
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
Re: ISL shader nodes
hey ZomB, you will be able to create MUCH better mountains with the next version
circular gradient and fbm. note that ALL the shader code is generated by Cindigo and you dont have to write a single line
the shader code:
circular gradient and fbm. note that ALL the shader code is generated by Cindigo and you dont have to write a single line
the shader code:
Code: Select all
<material>
<name>Indigo Material_mid0</name>
<diffuse>
<albedo>
<constant>
<rgb>
<rgb>0.800000 0.800000 0.800000</rgb>
<gamma>2.200000</gamma>
</rgb>
</constant>
</albedo>
<displacement>
<shader>
<shader>
<![CDATA[def Vec3ToReal(vec3 v) real : ((doti(v) + dotj(v) + dotk(v)) / 3.0)
def noise01(vec3 v) real : ((noise(v) + 1.0) * 0.5)
def noise01(vec2 v) real : ((noise(v) + 1.0) * 0.5)
def noise01(real r) real : ((noise(r) + 1.0) * 0.5)
def fbm01(vec3 v, int oc) real : ((fbm(v,oc) + 1.0) * 0.5)
def fbm01(vec2 v, int oc) real : ((fbm(v,oc) + 1.0) * 0.5)
def fbm01(real r, int oc) real : ((fbm(r,oc) + 1.0) * 0.5)
def mulCompVec2(vec2 a, vec2 b) vec2 : vec2(doti(a) * doti(b), dotj(a) * dotj(b))
def mulCompVec3(vec3 a, vec3 b) vec3 : vec3(doti(a) * doti(b), dotj(a) * dotj(b), dotk(a) * dotk(b))
def eval() real: (Vec3ToReal(lerp(vec3(1.00000, 1.00000, 1.00000), vec3(0.00000, 0.00000, 0.00000), length(vec2(0.5,0.5) - getTexCoords(0)) * 2.0 )) * 1.00000 + 0.25000 * fbm01(mulCompVec2(getTexCoords(0) * 10.0, vec2(1.00000, 1.00000)),8)) * 1.50000]]>
</shader>
</shader>
</displacement>
</diffuse>
</material>
Re: ISL shader nodes
added some perlin to make it more random!
Code: Select all
<material>
<name>Indigo Material_mid0</name>
<diffuse>
<albedo>
<constant>
<rgb>
<rgb>0.800000 0.800000 0.800000</rgb>
<gamma>2.200000</gamma>
</rgb>
</constant>
</albedo>
<displacement>
<shader>
<shader>
<![CDATA[def Vec3ToReal(vec3 v) real : ((doti(v) + dotj(v) + dotk(v)) / 3.0)
def noise01(vec3 v) real : ((noise(v) + 1.0) * 0.5)
def noise01(vec2 v) real : ((noise(v) + 1.0) * 0.5)
def noise01(real r) real : ((noise(r) + 1.0) * 0.5)
def fbm01(vec3 v, int oc) real : ((fbm(v,oc) + 1.0) * 0.5)
def fbm01(vec2 v, int oc) real : ((fbm(v,oc) + 1.0) * 0.5)
def fbm01(real r, int oc) real : ((fbm(r,oc) + 1.0) * 0.5)
def mulCompVec2(vec2 a, vec2 b) vec2 : vec2(doti(a) * doti(b), dotj(a) * dotj(b))
def mulCompVec3(vec3 a, vec3 b) vec3 : vec3(doti(a) * doti(b), dotj(a) * dotj(b), dotk(a) * dotk(b))
def eval() real: ((Vec3ToReal(lerp(vec3(1.00000, 1.00000, 1.00000), vec3(0.00000, 0.00000, 0.00000), length(vec2(0.5,0.5) - getTexCoords(0)) * 2.0 )) * 1.00000 + 0.35000 * fbm01(mulCompVec2(getTexCoords(0) * 10.0, vec2(1.00000, 1.00000)),8)) * 1.50000 + 1.00000 * noise(mulCompVec2(getTexCoords(0) * 10.0, vec2(0.25000, 0.25000)))) * 1.00000]]>
</shader>
</shader>
</displacement>
</diffuse>
</material>
Re: ISL shader nodes
bigger, closer. 13.000.000 tris.
- Attachments
-
- bigger closer.jpg (202.36 KiB) Viewed 6600 times
Who is online
Users browsing this forum: No registered users and 29 guests