not sure if it s really what you need. but you can add your own HLSL code and call it in the material editor :
there is a how to here :
not sure if it s really what you need. but you can add your own HLSL code and call it in the material editor :
there is a how to here :