General discussion about Indigo Materials - material requests, material developement, feedback, etc..
-
arc en ciel
- Posts: 138
- Joined: Tue Apr 12, 2016 2:33 am
Post
by arc en ciel » Wed Dec 12, 2018 1:11 pm
in GPU mode
trying to blend two diffuse materials, a yellow and a blue, using ISL
Code: Select all
def eval() real :
let
c = clamp(meanCurvature(), 0, 1000)
z = normalWS().y * 3
z2 = z * z
in
clamp(if (z > 0, z, z2) *
noise01(normalWS())+c,0.0,1.0)
here is the result
- -
but if
I only change normalWS by posOS, there is no blend
- -
- -
link NormalWS material
link posOS material
-
OnoSendai
- Posts: 6243
- Joined: Sat May 20, 2006 6:16 pm
- Location: Wellington, NZ
-
Contact:
Post
by OnoSendai » Thu Dec 13, 2018 3:20 am
meanCurvature() is one of the few ISL features still not working on GPU!
-
pixie
- Posts: 2332
- Joined: Sat Dec 29, 2007 4:54 am
- Location: Away from paradise
- 3D Software: Cinema 4D
-
Contact:
Post
by pixie » Tue Sep 29, 2020 8:55 pm
arc en ciel wrote: ↑Wed Dec 12, 2018 1:11 pm
in GPU mode
trying to blend two diffuse materials, a yellow and a blue, using ISL
Code: Select all
def eval() real :
let
c = clamp(meanCurvature(), 0, 1000)
z = normalWS().y * 3
z2 = z * z
in
clamp(if (z > 0, z, z2) *
noise01(normalWS())+c,0.0,1.0)
here is the result
- -
but if
I only change normalWS by posOS, there is no blend
- -
- -
link NormalWS material
link posOS material
It now works!
Who is online
Users browsing this forum: No registered users and 98 guests