shadowmage45 / TexturesUnlimited

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

Dark R&D icons #61

Closed Gordon-Dry closed 4 years ago

Gordon-Dry commented 6 years ago

Using -force-glcore

See https://forum.kerbalspaceprogram.com/index.php?/topic/167450-14x-15x-textures-unlimited-pbr-shader-texture-set-and-model-loading-api/&do=findComment&comment=3477687

This time with a minimum install:

000_AltCustomConfigs\
000_ClickThroughBlocker\
000_FilterExtensions\
000_FilterExtensions_Configs\
000_TexturesUnlimited\
001_ToolbarControl\
B9_InfoDrive\
CommunityCategoryKit\
CommunityResourcePack\
Firespitter\
InterstellarFuelSwitch\
Kerbalism\
NSS\
PatchManager\
Squad\
TURD\

The NSS OctoSats parts default to be shiny and reflective with the following patch: (is it outdated?)

KSP_MODEL_SHADER
{
    name = NSS_Parts

    model = NSS/Parts/OctoSat_Com_Core
    model = NSS/Parts/OctoSat_Com_HalfTop
    model = NSS/Parts/OctoSat_Com_Side
        model = NSS/Parts/OctoSat_Com_Core
        model = NSS/Parts/OctoSat_St_HalfTop
        model = NSS/Parts/OctoSat_Con_RCS
        model = NSS/Parts/OctoSat_Con_RCS2
        model = NSS/Parts/OctoSat_Con_RCS3
        model = NSS/Parts/OctoSat_Con_RW
        model = NSS/Parts/OctoSat_Pr_Ion
        model = NSS/Parts/OctoSat_Pr_LfOx
        model = NSS/Parts/OctoSat_Pr_Mp
        model = NSS/Parts/OctoSat_Pr_Nuclear
        model = NSS/Parts/OctoSat_Sc_Goo
        model = NSS/Parts/OctoSat_Sc_M900
        model = NSS/Parts/OctoSat_Sc_MaterialBay
        model = NSS/Parts/OctoSat_Sc_Science
        model = NSS/Parts/OctoSat_Sc_SideDish
        model = NSS/Parts/OctoSat_Sc_TopDish
        model = NSS/Parts/OctoSat_St_Adapter
        model = NSS/Parts/OctoSat_St_Cargo
        model = NSS/Parts/OctoSat_St_CargoModule
        model = NSS/Parts/OctoSat_St_Decoupler
        model = NSS/Parts/OctoSat_St_HalfBottom
        model = NSS/Parts/OctoSat_St_HalfTop
        model = NSS/Parts/OctoSat_St_Plate
        model = NSS/Parts/OctoSat_St_Separator
        model = NSS/Parts/OctoSat_St_Side
        model = NSS/Parts/OctoSat_Ta_Side
        model = NSS/Parts/OctoSat_Ut_Battery
        model = NSS/Parts/OctoSat_Ut_FuelCell
        model = NSS/Parts/OctoSat_Ut_RTG
        model = NSS/Parts/OctoSat_Ut_SolarPanels

    TEXTURE // Metal
    {
        shader = SSTU/PBR/Metallic

        texture = _MetallicGlossMap,TexturesUnlimited_NSS/Textures/silver

    }
}

REFLECTION_CONFIG[default]
{
    %enabled = true
    %interval = 1
}

KSP_MODEL_SHADER
{
    model = NSS/Parts/OctoSat_Ut_SolarPanels

    TEXTURE
    {
        shader = SSTU/PBR/StockMetallicBumped

        mesh = panel1
                mesh = panel1a
                mesh = panel1a001
                mesh = panel1a002
                mesh = panel1a003
                mesh = panel1a004
                mesh = panel1a005
                mesh = panel1a006
                mesh = panel1a007
                mesh = panel1a008
                mesh = panel1a009
                mesh = panel1a010
                mesh = panel1a011
                mesh = panel1a012
                mesh = panel1a013
                mesh = panel002
                mesh = panel003
                mesh = panel004
                mesh = panel005
                mesh = panel006
                mesh = panel007
        PROPERTY
        {
            name = _Metal
            float = 0.0
        }
    }
} 

The VAB part icons are also relatively dark, but not as dark as in R&D.

Logs and stuff: https://www.dropbox.com/s/owij37pl4zb4b1i/2018-10-30_1%20KSP.log%20and%20stuff.7z?dl=1

shadowmage45 commented 5 years ago

If the issue is only with the icons, it likely means that whatever shaders those parts are using need to have their icon-shader patched appropriately.

TU maintains a list of source and icon shaders that it updates/replaces when incompatible icon shaders are found on a part. Likely something like this -- https://github.com/shadowmage45/TexturesUnlimited/blob/master/GameData/000_TexturesUnlimited/Shaders/TUShaders.cfg#L138-L143 needs to be specified for the shaders in question (if it has not already been fixed).