formatting

main
Andrew Cassidy 3 years ago
parent 8fcbca9582
commit 61422063c8

@ -12,7 +12,7 @@ Place the "Editor" folder anywhere in your project Assets folder.
Used to perform various operations to models on import to unity Used to perform various operations to models on import to unity
###### Add Colliders #### Add Colliders
To convert objects to colliders on import, add the following strings to the object's name: To convert objects to colliders on import, add the following strings to the object's name:
@ -24,15 +24,15 @@ To convert objects to colliders on import, add the following strings to the obje
* `_BOXCOLLIDER`: Converts to a box collider. The box will be aligned to the object's local coordinates * `_BOXCOLLIDER`: Converts to a box collider. The box will be aligned to the object's local coordinates
###### Merge Meshes #### Merge Meshes
Add `_MERGE` to an object's name, and all its child objects meshes will be automatically merged into one. Does not work for skinned meshes Add `_MERGE` to an object's name, and all its child objects meshes will be automatically merged into one. Does not work for skinned meshes
###### Delete Objects #### Delete Objects
Add `_DEL` to an object's name to delete it on import Add `_DEL` to an object's name to delete it on import
###### Trim animations #### Trim animations
Automatically removes any animations with only 2 keyframes to make them easier to edit manually Automatically removes any animations with only 2 keyframes to make them easier to edit manually
@ -43,10 +43,10 @@ Used to perform various operations on textures on import to Unity. Configured wi
Only works on files with the extension `EXTENSION` (default ".png"). Only works on files with the extension `EXTENSION` (default ".png").
###### Specular maps #### Specular maps
If `SPEC_ENABLE` is enabled (default true), textures with the suffix `SPEC_TAG` (default "-spec") will be copied into the alpha channel of the texture without that suffix. For example, the file `foo-spec.png` will be copied into the alpha channel of the imported texture `foo.png`. If `SPEC_ENABLE` is enabled (default true), textures with the suffix `SPEC_TAG` (default "-spec") will be copied into the alpha channel of the texture without that suffix. For example, the file `foo-spec.png` will be copied into the alpha channel of the imported texture `foo.png`.
###### Normal maps #### Normal maps
If `NORMAL_ENABLE` is enabled (default true), textures with the suffix `NORMAL_TAG` (default "-spec") will be marked as normal maps on import and when KSP PartTools exports the texture. if `NORMAL_GENERATE` is enabled (default true), then the texture will automatically be converted from a hightmap using Unity's normal map generation tool. If `NORMAL_ENABLE` is enabled (default true), textures with the suffix `NORMAL_TAG` (default "-spec") will be marked as normal maps on import and when KSP PartTools exports the texture. if `NORMAL_GENERATE` is enabled (default true), then the texture will automatically be converted from a hightmap using Unity's normal map generation tool.

Loading…
Cancel
Save