Use floats for weights to help prevent exploding since IDK why 8888_unorm breaks :(

This commit is contained in:
KillzXGaming 2019-03-28 21:13:15 -04:00
parent 8e176721ab
commit 088f9a00e2
4 changed files with 4 additions and 5 deletions

Binary file not shown.

View file

@ -534,6 +534,7 @@
//
// textBoxMaterialPath
//
this.textBoxMaterialPath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBoxMaterialPath.Location = new System.Drawing.Point(3, 241);
this.textBoxMaterialPath.Name = "textBoxMaterialPath";
this.textBoxMaterialPath.ReadOnly = true;
@ -759,7 +760,7 @@
this.tabPageAdvanced.Location = new System.Drawing.Point(4, 25);
this.tabPageAdvanced.Name = "tabPageAdvanced";
this.tabPageAdvanced.Padding = new System.Windows.Forms.Padding(3);
this.tabPageAdvanced.Size = new System.Drawing.Size(530, 330);
this.tabPageAdvanced.Size = new System.Drawing.Size(530, 333);
this.tabPageAdvanced.TabIndex = 0;
this.tabPageAdvanced.Text = "Advanced Settings";
//
@ -776,7 +777,7 @@
this.stPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.stPanel1.Location = new System.Drawing.Point(3, 3);
this.stPanel1.Name = "stPanel1";
this.stPanel1.Size = new System.Drawing.Size(524, 324);
this.stPanel1.Size = new System.Drawing.Size(524, 327);
this.stPanel1.TabIndex = 17;
//
// BfresModelImportSettings

View file

@ -215,15 +215,13 @@ namespace FirstPlugin
comboBoxFormatWeights.Items.Add(AttribFormat.Format_32_32_32_32_Single);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_16_16_16_16_UNorm);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_8_8_8_8_UNorm);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_32_32_32_Single);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_32_32_Single);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_16_16_Single);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_16_16_UNorm);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_8_8_UNorm);
comboBoxFormatWeights.Items.Add(AttribFormat.Format_8_UNorm);
comboBoxFormatWeights.SelectedIndex = 2;
comboBoxFormatWeights.SelectedIndex = 0;
comboBoxFormatTangents.Items.Add(AttribFormat.Format_32_32_32_32_Single);
comboBoxFormatTangents.Items.Add(AttribFormat.Format_16_16_16_16_Single);