objectId in bump

Come here for help & support.
Post Reply
3 posts • Page 1 of 1
Musorgki
Posts: 17
Joined: Mon Oct 15, 2007 3:01 pm

objectId in bump

Post by Musorgki » Wed Oct 16, 2013 4:08 am

I'm using objectId and it works well in diffuse_albedo, but I'm having some trouble with it in bump.
objectId demo.jpg
Top row is noise driven by objectId in diffuse_albedo, and the pattern seems to change.
Bottom row is the same for bump, but doesn't seem to change.

diffuse_albedo

Code: Select all

def eval(vec3 pos) vec3 :
vec3( 
	noise(
		getTexCoords(0) +
		vec2(
			real(objectId())
		) 
	) ,0,0)
bump

Code: Select all

def eval() real :
	noise(
		getTexCoords(0) + 
		vec2(
			real(objectId())
		) 
	)
objectId demo.igs
(6.46 KiB) Downloaded 231 times
This is in Indigo 3.6.20.
I'm having the same problem with blend.

Thanks for any help!

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

Re: objectId in bump

Post by OnoSendai » Wed Oct 16, 2013 4:52 am

objectID() doesn't work with displace params currently (e.g. bump, displacement) sorry.
Maybe I'll change this in the future.

Musorgki
Posts: 17
Joined: Mon Oct 15, 2007 3:01 pm

Re: objectId in bump

Post by Musorgki » Wed Oct 16, 2013 4:59 am

Ok - thanks!

Post Reply
3 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 26 guests