Shaddy is a collection of shaders made for Kerbal Space Program, not to be confused with Shabby, a shader asset bundle loader that you most likely also need to use to load Shaddy shaders
Visit GitHub Repository to see the newest and complete description, demo, and changelogs.
If you are a player...
Shaddy does not do anything by itself, it is designed to be used by other mods. If you run into any problem with the shader please feel free to report it as an issue here or on Github.
Despite that, Shaddy does come with a set of Textures Unlimited config for Stock, ReStock, and Near Future Solar parts. They will only activate if you installed both Textures Unlimited and Module Manager at the same time.
Goto Demo section to see the effect preview.
If you are a modder...
You may want to use Shabby to load Shaddy shaders to your parts. Alternatively, you can also use your own shader loader orTextures Unlimited.
To start making mods using Shaddy and Shabby:
First download the SDK in GitHub Release.
Then, import the downloaded unitypackage to your unity project.
You should now see a folder named `Shaders` appear under your Assets folder.
Create a material that uses these new shaders and apply it to your part.
Export the part as if it is using stock KSP shaders, and ignore the Part Tool warning on using a stock shader.
Install Shaddy from CKAN or SpaceDock to GameData.
If you are using Shabby to load Shaddy shaders, make sure it is installed, too.
Open the game and make sure the shader is loaded correctly on the part.
In this case, Shaddy, Shabby, and Module Manager will need to be added to your mod's dependency.
Use Textures Unlimited:
If you want the translucent shader to be optional or if you want to add translucent effect to a existing mod, you can use Textures Unlimited's shader replacement feature.
Starting from version 2.0, Shaddy comes with Textures Unlimited shader bundle and shader data definition, it is located at GameData/Shaddy/Patches/ShaddyTU.cfg.
Textures Unlimited config documentation can be found at Textures Unlimited wiki page. Shaddy's stock config (found under GameData/Shaddy/Patches/) can also be used as a reference.
In this case, Shaddy, Textures Unlimited, and Module Manager will need to be added to your mod's dependency, Shabby will not be a required dependency as Textures Unlimited uses its own shader loader.
Notes on HDR color properties when configuring Textures Unlimited:
Some color property has their range marked as *HDR*, which means it supports Unity HDR color that can have a value greater than (255, 255, 255). To find what number you need to use in Textures Unlimited config, multiply each of the R, G, and B channels of your desired color value by the intensity, and round to the nearest integer.
For example: if a color in the Unity editor has an RGB value of (102, 204, 255) and intensity of 4.2, in Textures Unlimited config, write:
name = _SomePropertyName
color = 428, 857, 1071
// rgb (102, 204, 255) intensity 4.2
// 102 * 4.2 = 428.4, rounded to 428
// 204 * 4.2 = 856.8, rounded to 857
// 255 * 4.2 = 1071
All Shaddy/Translucent shaders are double-sided (No back face or front face culling). This means if you are making a parachute or a leaf model that has the same texture on both sides, you don't have to duplicate the mesh and then flip the faces, one-sided mesh will work just as fine as a double-sided one.
If you are replacing shaders on an old part, consider using Shaddy/BackCull/Translucent shaders (With back face culling).
Textures Unlimited for enabling translucent effect on Stock and ReStock solar panels, parachutes, and antennae.
If you installed the Shabby v0.2.0 "unofficial build" and Textures Unlimited at the same time, there will be a conflict, resulting in failed shader replacement from Textures Unlimited (Pink parts). This has been solved by the newest change in Shabby (>= v0.3.0). It is available on CKAN, or you can get it here: http://taniwha.org/~bill/Shabby_v0.3.0.zip
For players: SpaceDock, also available on CKAN.
For modders: SDK.
Note that not all versions of the mod will have a corresponding version of SDK since shaders might not change between mod releases. Download the latest SDK available if no SDK matches the latest mod version. E.g.: If the latest mod version is v2.4, but the latest SDK version is v2.3, use SDK v2.3.
For players: Delete everything previously installed under GameData/Shaddy/ before extracting the zip file. Or use CKAN.
For modders: Delete all previously installed Shaddy shader under Assets/Shaders/, then install `Shaddy_vx.x.unitypackage` to your Unity project.
Visit GitHub Repository to see the most up-to-date demo and their explanations.
Visit GitHub Repository to see the list of shaders available.
Shaders are made by @Icecovery using Shader Forge.
Textures Unlimited config by @JonnyOThan.
Restock and Near Future Technologies configs by @Rodger.
This mod is released under the MIT License.
You are free to bundle this mod in your mod releases. You are also free or include the shaders in your own asset bundle, but be sure to change their namespace to avoid naming collision.