objectId in bump
Posted: 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.
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
bump
This is in Indigo 3.6.20.
I'm having the same problem with blend.
Thanks for any help!
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)
Code: Select all
def eval() real :
noise(
getTexCoords(0) +
vec2(
real(objectId())
)
)I'm having the same problem with blend.
Thanks for any help!