diffuseMap == bitmapTexture?

diffuseMap == bitmapTexture?

Anonymous
Not applicable
371 Views
3 Replies
Message 1 of 4

diffuseMap == bitmapTexture?

Anonymous
Not applicable
is there a way of checking if a diffuseMap is a bitmapTexture? or checker? or whatever?

TiA
0 Likes
372 Views
3 Replies
Replies (3)
Message 2 of 4

joegunn3d
Enthusiast
Enthusiast
Should be able to check the class something like this:


if (classof a.material.bumpmap == Bitmaptexture)

the Bitmaptexture map could be anything like checker, bricks, ect... and bumpmap could be diffuse.

Maybe this is helpful.

Thanks
max2008-11
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thank you this worked!!
0 Likes
Message 4 of 4

joegunn3d
Enthusiast
Enthusiast
Sweet!
max2008-11
0 Likes