shadowmage45 / TexturesUnlimited

KSP Shader, Texture, and Modeling Utilities
GNU General Public License v3.0
29 stars 17 forks source link

KSP 1.6 - The 'UX Rework' update #59

Open shadowmage45 opened 6 years ago

shadowmage45 commented 6 years ago

Goals:

Clean up the user interface and fill in some of the missing features to allow for 'recoloring' to become more of a 'choose your material'. This will be accomplished through a new GUI, a new method for specifying parts to recolor, and supporting of user choice of additional per-region 'detail' textures that will be blended onto the outputs.

New Features (finished features...)

UI Details

Regional Detail Map Details

Presets System Details

UI Info

https://assetstore.unity.com/packages/tools/gui/noesisgui-1-2-9282

shadowmage45 commented 6 years ago

Tinting Mode

Diffuse Lum Diff-Norm Detail % User Value Tint GUI Correction Factor % %D
0.549 0.471 0.078 0.143 0.500 0.583 2.125 0.134 -0.008
0.800 0.900 -0.100 -0.125 0.500 0.500 1.250 -0.200 -0.075
0.200 0.100 0.100 0.500 0.500 0.500 5.000 0.200 -0.300
0.500 0.600 -0.100 -0.200 0.700 0.700 2.000 -0.143 0.057
0.500 0.400 0.100 0.200 0.300 0.300 2.000 0.333 0.133

Linear Add Mode

Diffuse Lum Diff-Norm Detail % User Value Linear Add % %D
0.549 0.471 0.078 0.143 0.500 0.578 0.136 -0.007
0.800 0.900 -0.100 -0.125 0.500 0.400 -0.250 -0.125
0.200 0.100 0.100 0.500 0.500 0.600 0.167 -0.333
0.500 0.600 -0.100 -0.200 0.700 0.600 -0.167 0.033
0.500 0.400 0.100 0.200 0.300 0.400 0.250 0.050

Extract then Multiply (Current functionality)

Diffuse Lum Diff-Norm Detail % User Value Mult Add % %D
0.549 0.471 0.078 0.143 0.500 0.539 0.145 0.003
0.800 0.900 -0.100 -0.125 0.500 0.450 -0.222 -0.097
0.200 0.100 0.100 0.500 0.500 0.550 0.182 -0.318
0.500 0.600 -0.100 -0.200 0.700 0.630 -0.159 0.041
0.500 0.400 0.100 0.200 0.300 0.330 0.303 0.103

Prenormalized (proposed new functionality)

Diffuse Lum Diff-Norm Detail % User Value Prenormalize Detail Total % %D
0.549 0.471 0.078 0.143 0.500 0.167 0.083 0.583 0.143 0.000
0.800 0.900 -0.100 -0.125 0.500 -0.111 -0.056 0.444 -0.125 0.000
0.200 0.100 0.100 0.500 0.500 1.000 0.500 1.000 0.500 0.000
0.500 0.600 -0.100 -0.200 0.700 -0.167 -0.117 0.583 -0.200 0.000
0.500 0.400 0.100 0.200 0.300 0.250 0.075 0.375 0.200 0.000

Original: base

Old Recolored old

Prenormalized Recolored new

Old Recolored Red oldred

Prenormalized Recolored Red newred

Gordon-Dry commented 6 years ago

Where to store data? Per-save, or game-wide?

I suggest game-wide, in a config file inside PluginData.