/** * Read source from text file. * */ private string ReadShaderSource(string filename) { return(System.IO.File.ReadAllText(AssetPath.GetPathToAsset(filename))); }