Open Xyotic opened 9 months ago
For me it crashes Skyrim itself (LE). The problematic line is here: https://github.com/niftools/blender_niftools_addon/blob/master/io_scene_niftools/modules/nif_export/property/shader/__init__.py#L97
bsshader.skyrim_shader_type
should be changed to just bsshader.shader_type
.
@niftools/blender-niftools-addon-reviewer -
Issue Overview
Exporting an object for Skyrim SE as nif with material settings Shader Type: BS Lighting Shader Property BS Lighting Shader Object Type: ENVIRONMENT_MAP does not work.
When checking the exported .nif inside Nifskope the shader type is set to "Default"
This will cause the CreationKit to crash with a fatal error when using the related shader flag "Environment_Mapping"
Version Information
Blender Niftools Addon Version Info
0.1.1
Blender Version Info
3.6.1
Platform information
Windows 10 i9-9900k RTX-2080
Steps to Reproduce
Blend File
TestCube.zip
Nif File
untitled.zip