FBX shader does not recognize alpha channel

   2199   3   1
User Avatar
Member
10 posts
Joined: Sept. 2010
Offline
Hello
i have imported a fbx model with textures but i have an error on fbx surface shader node in OGL alpha .

OGL alpha parameters : clamp(ch('opacityr')*ch('opacity_mult'),.1,1)

and in the next node “suboutput” i get this error :

channel evaluation error
traceback (most recent call last)
file “<stdin>”, line 1, in <module>
name error : name ‘clamp’ is not defined

thank you.
User Avatar
Member
7773 posts
Joined: July 2005
Offline
It looks like the expression language on your parameter is set to Python instead of Hscript.
User Avatar
Member
10 posts
Joined: Sept. 2010
Offline
Yes ! exactly ! thank you very much
User Avatar
Member
10 posts
Joined: Sept. 2010
Offline
Now my error is fixed but still no clipping . i have a tga picture with alpha in the tab 1 as diffuse . have to add a b&w pic as opacity ?
  • Quick Links