You can also program new functions. A template that you can complete with your code to implement a new feature for your effect: //-----// // Functions ...
float4 TLColour < string Description = "Top Left"; bool SupportsAlpha = true; > = { 1.0, 0.0, 0.0, 1.0 }; You can use either standard brackets in that parameter to give you ( 1.0, 0.0, 0.0, 1.0 ) or ...