private void pickTextureButton_Click(object sender, EventArgs e)
        {
            //get the parameter type
            String            text      = parameterComboBox1.Text;
            uint              paramName = GodzUtil.GetHashCode(text);
            MaterialParameter mp        = mMaterial.getParameter(paramName);

            if (mp != null)
            {
                MaterialParameterType ty = mp.getType();
                if (ty == MaterialParameterType.MaterialParameter_Texture)
                {
                    textureOpenFileDialog.ShowDialog();
                }
                else
                {
                    mp.clearValues();
                    String value = parameterTextBox.Text;

                    // Split string on comma - tokenize
                    string[] words = value.Split(',');
                    foreach (string word in words)
                    {
                        float v = float.Parse(word);
                        mp.addValue(v);
                    }

                    mp.submitValues();
                }
            }
        }