Skip to content

Adding Textures

Chris Adderley edited this page Mar 16, 2021 · 2 revisions

Adding new effect textures is quite simple.

Create Texture

Author your texture in your 2D software of choice.

Export

Export the texture to a KSP-relevant format such as DDS. Place it in GameData where it's easy to reference, I like GameData/MyModName/FX as a path.

Use the Texture

Use the texture in an effect by specifying the path when authoring the TEXTURE block inside an Effect Model's MATERIAL block.

(Optional) Make the Texture available for use in the UI

Create an empty configuration file anywhere in GameData, say GameData/MyModName/WaterfallTextures.cfg.

Add entries for each texture you want to use in the UI. path is the GameData relative path of your texture . name is the UI name of the texture , description is a short bit of text to show.

WATERFALL_TEXTURE
{
  name = Cloud Noise
  path = Waterfall/FX/fx-noise-4
  description = fx-noise-4
}