StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

Problem with vehicleShader (StaticLight) #55

Closed crisan211 closed 4 years ago

crisan211 commented 4 years ago

Describe the bug The plugin gives an error when exporting. According to the log it is a material error. The material has the specular texture and the normal map and also a shader with the VehicleShader which has StaticLight on it. From what I have been looking at, the problem is with the StaticLight, because if I change it to Colormask it exports well.

Log file 1_export_log.txt

Screenshots image image

StjerneIdioten commented 4 years ago

Judging from the error log it is an error related to the shader export code. I am not at my pc right now, but I will fix it later.

StjerneIdioten commented 4 years ago

The issue was a minor oversight in the code, that only presented itself when a shader uses a single float value for one of its parameters (which doesn't happen that often).

crisan211 commented 4 years ago

Now is working, thank you for the fix :)