Its easy, just search about the word "material" in 3DGS manual and you have there an example how to do it and how to include .fx in effects.