BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
179 stars 16 forks source link

FO4 Nif exported from plugin causes crash in game #201

Open GRY4096 opened 9 months ago

GRY4096 commented 9 months ago

I have had game crashes with weapon nifs exported from this plugin. What fixed the crashes was removing the environment_mapping flag from BSlightingshaderproperty of the nifs

BadDogSkyrim commented 9 months ago

Did you try adding an environment map? Most metal parts want one. Also, you can remove the flag in Blender by going to the object's material, opening the Custom Properties panel, finding "Shader_Flags_1" and taking "ENVIRONMENT_MAPPING" and the trailing vertical bar out of the string.

I'll check and make sure it's not getting set incorrectly. The round trip should work.

ilego1 commented 8 months ago

Did you try adding an environment map? Most metal parts want one. Also, you can remove the flag in Blender by going to the object's material, opening the Custom Properties panel, finding "Shader_Flags_1" and taking "ENVIRONMENT_MAPPING" and the trailing vertical bar out of the string.

I'll check and make sure it's not getting set incorrectly. The round trip should work.

I keep getting a error for some models that are FBX are GLB when I try to export them I will admit it though it did work once but I didn’t have time to test out if the textures worked entirely