Jump to content

Is it possible to call a user defined function from a material parameter expression


photo

Recommended Posts

Hi all,

 

I have multiple Players rendering the scene. I need to set a value of  a post material parameter depending on the player. I tried callig a user defined function from post material parameter expression and select the correct parameter depending on the engine.game.getPlayer(). Howerver follwing error appears,

 

memory:1: Interpreter::parse_expression(): unknown token "setXXXParameter" in "setXXXParameter()" expression

 

Is it possible to call a user defined function from material parameter expression or is there another way tho achieve this.

 

Thanks

Link to comment
×
×
  • Create New...