ISL : GPU mode (Indigo 4.2.23)

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
Post Reply
3 posts • Page 1 of 1
User avatar
arc en ciel
Posts: 138
Joined: Tue Apr 12, 2016 2:33 am

ISL : GPU mode (Indigo 4.2.23)

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
Image

- -

but if I only change normalWS by posOS, there is no blend :shock:
Image
- -
- -
link NormalWS material
link posOS material

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

Re: ISL : GPU mode (Indigo 4.2.23)

Post by OnoSendai » Thu Dec 13, 2018 3:20 am

meanCurvature() is one of the few ISL features still not working on GPU!

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

Re: ISL : GPU mode (Indigo 4.2.23)

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
Image

- -

but if I only change normalWS by posOS, there is no blend :shock:
Image
- -
- -
link NormalWS material
link posOS material
It now works! :)

Post Reply
3 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests