Hie once more ...

The shader variable can be accessed through the iMaterial interface

The text doesn't explicitly states that materials are the only container
for shader vars; but it doesn't say the opposite either :) Perhaps
mention at some point that other places for SVs exists. (Such as mesh
wrappers ... which would be useful for your highlighting case: use the
same material for all meshes, and just set/unset the highlight color *on
the mesh*.)
I am modifying the tutorial to use a mesh shader variable. Much more logical. But then, contrary to what happend with materials, the mesh shader variable is never used if my shader include a shader variable.
Is it the expected behavior ? (Crystal 1.0)

Best regards,

Sebastien.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to