A scriptable material is a base material with expressions (code) executed at certain stages of the rendering sequence. This is an ideal instrument for fast prototyping of any custom effects.
More on creating scriptable materials in UNIGINE 2: https://l.unigine.com/3iLYGw7h6
Download UNIGINE 2 SDK: https://l.unigine.com/7HrLk-ThD