KK-Blender-Porter-Pack icon indicating copy to clipboard operation
KK-Blender-Porter-Pack copied to clipboard

Trouble with imported map colors

Open BugMonkey42335 opened this issue 3 years ago • 6 comments

When attempting to import a map the colors are faded, despite my attempts to adjust the settings.

Koikatsu KK in-game map

Blender Blender imported map

Also attempting to use the convert textures option results in this error.

Python: Traceback (most recent call last): File "C:\Users\Standard\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\KK-Blender-Porter-Pack-5-merger\extras\importstudio.py", line 375, in execute runIt() File "C:\Users\Standard\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\KK-Blender-Porter-Pack-5-merger\extras\importstudio.py", line 352, in runIt load_luts() TypeError: load_luts() missing 2 required positional arguments: 'lut_light' and 'lut_dark'

location: :-1

BugMonkey42335 avatar Jan 05 '22 22:01 BugMonkey42335

I'm afraid that the color import system is made only for importing (especially female) characters, so unfortunately the system can't do this now.

MediaMoots avatar Jan 21 '22 12:01 MediaMoots

Not sure why that's happening... This is what I'm getting for everything:

image

Even if you don't use the convert textures option, it shouldn't be that light. And even if you do convert the textures, I think koikatsu uses a different shader for maps, so using the options on the panel won't get you completely accurate results (stuff like the lights are completely absent)

FlailingFog avatar Feb 26 '22 16:02 FlailingFog

Are you using the KK Shader or Principled BSDF? Here is the blend file if you want to take a look. Faded Color Map.zip

Testing out the new fix results in the following error, as well as the map defaulting to the Principled BSDF shader.

Python: Traceback (most recent call last): File "C:\Users\Standard\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\KK-Blender-Porter-Pack-master\extras\importstudio.py", line 380, in execute runIt() File "C:\Users\Standard\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\KK-Blender-Porter-Pack-master\extras\importstudio.py", line 140, in runIt nodes['Principled BSDF'].inputs[19].default_value = (0, 0, 0, 1) TypeError: bpy_struct: item.attr = val: NodeSocketFloatFactor.default_value expected a float type, not tuple

location: :-1

BugMonkey42335 avatar Feb 27 '22 07:02 BugMonkey42335

It looks like the images from my export and your export are different. I set the view transform to standard and set the images to sRGB, but they're still not the same. I guess check if there's a setting in SB3U that could make make it export slightly faded images image

This is the KK shader with the world set to white

FlailingFog avatar Feb 27 '22 13:02 FlailingFog

Could you upload some of your textures so I can compare and contrast?

BugMonkey42335 avatar Feb 27 '22 18:02 BugMonkey42335

This is what I got from using SB3UGS_v20.6.6: https://files.catbox.moe/t5ptoa.7z

FlailingFog avatar Mar 05 '22 18:03 FlailingFog