7e02cbdddb
Add license and readme
2020-06-11 22:32:25 -07:00
d80d5158f1
fix cutoff value on shaders
2020-06-11 22:02:13 -07:00
f0c5a112fe
Remove broken culling code and fix flag switching
2020-06-11 21:58:04 -07:00
4ed65bdf4a
Use bounds to choose projection targets
2020-06-11 21:01:01 -07:00
f195fc4c19
Add culling for offscreen decals
2020-06-11 20:49:13 -07:00
b247e9af4e
Add visible bounding boxes around projection area
2020-06-11 19:59:53 -07:00
da1b241677
Add glow shader for bounding cube
2020-06-11 18:57:43 -07:00
090277ecd9
Add size calculation modes
2020-06-11 17:30:31 -07:00
7cc59acb7b
Add slider for edge wear
2020-06-11 16:52:12 -07:00
65f8d9f380
Fix colors and localization
2020-06-11 15:20:50 -07:00
ce580f8a41
Add generic decals set
2020-06-11 14:19:31 -07:00
af72c28046
Better normal map handling for parts with no normals
2020-06-11 14:15:37 -07:00
f335aec8ba
Add SDF shaders
2020-06-11 14:14:59 -07:00
0d291da580
Fix tile parsing and decal rotation
...
• Decals now respond to rotation and offset tools again
• Fix tile value parsing
• Fix broken normals when projecting on parts with no normal maps
2020-06-10 12:20:47 -07:00
93196d5b65
Hopefully fix decals when used with certain parts
2020-06-09 21:13:36 -07:00
76b01e9d18
Disable physics for decals
2020-06-09 20:40:32 -07:00
704cc7d2fe
Reduce decal mass
2020-06-09 20:38:44 -07:00
2756617a3d
Fix icon color when disabled in VAB menu
2020-06-09 13:23:34 -07:00
714f23736d
Remove unused assets
2020-06-09 13:17:17 -07:00
26f44e7c15
Remove some more debug statements
2020-06-09 00:03:00 -07:00
8e676d31d5
Localization update
2020-06-08 21:53:23 -07:00
3ac20f0ddb
Update symmetry counterparts when tweakables are adjusted
2020-06-08 20:21:26 -07:00
c4679acd49
Localize flag events
2020-06-08 19:50:33 -07:00
492a7d0317
Add flag selection to flag decals
...
• Add flag selection code blatantly stolen from WBDecals
• Fix attachment of symmetrically attached decals
2020-06-08 19:38:35 -07:00
cbc3996a1f
Rework decal parameters so they dont reset when changing variants
2020-06-08 15:38:36 -07:00
00916575d0
more things
2020-06-08 13:14:25 -07:00
58bc5f00ea
Fix things and remove test decal
2020-06-08 13:14:11 -07:00
ec5d337b85
Documentation pass
...
nobody will ever read these why am I doing this
2020-06-08 12:17:25 -07:00
10300f7f80
Temporarily remove nonfunctional intersection code
...
Will probably fix at a later date, but its not needed for the plugin to work
2020-06-08 02:16:30 -07:00
0375d25105
Fix tile indexing
2020-06-08 01:56:24 -07:00
28764f1a0f
Write semiotic decal config
2020-06-08 00:03:49 -07:00
0393ab0263
Decal shader changes, try to fix lighting additive pass
2020-06-08 00:03:26 -07:00
a19e225c58
Debug statement cleanup and fix icon creation
2020-06-07 19:52:17 -07:00
17ab58dc17
Add tiling index and size values, for easier tiling
...
Also API changes made as I chased a bug
2020-06-07 19:39:09 -07:00
a9458eb3f2
Add semiotic decal atlas
2020-06-07 13:06:56 -07:00
a9f0892f46
Refactor yet again and add autotiling
2020-06-06 13:20:50 -07:00
d0d5f6c763
-
2020-06-06 12:33:59 -07:00
7105f08a3c
Some cleanup of debug statements
2020-06-06 12:33:51 -07:00
e6372b2703
Destroy materials and properties when MPC is destroyed
2020-06-06 11:28:28 -07:00
2592f15c4c
Add agency and custom category (for use with WBTools)
2020-06-06 01:06:32 -07:00
1da77a631e
Fix material creation
2020-06-06 01:03:55 -07:00
395a6a5ca9
thing
2020-06-05 22:54:55 -07:00
8a4f1b31a8
Remove failed attempt at a culling fix
2020-06-05 21:36:14 -07:00
6f8023b23d
Fix scaling issues when part is created
...
• KSP rescales the model object back to 1,1,1 on start, so don't use that for the model that gets scaled
• Some refactoring to consolidate property IDs
• rename some classes because I am indecisive
• Add and Get methods for MaterialPropertyCollection
• Make an attempt at a scale culling fix
2020-06-05 21:29:57 -07:00
b8b8e9bc24
rename background color property to make KSP happy
2020-06-05 21:26:57 -07:00
3774b9573e
Asset changes
2020-06-05 20:14:16 -07:00
b28e5ee7d1
Rework back shader and textures, add flag
2020-06-05 00:30:46 -07:00
628848cf7d
More work trying to fix part icons
2020-06-05 00:29:23 -07:00
22150574df
Big refactor to enable preview materials
...
• add shader variants for decal previewing
• start to add code for part icon
• refactor material properties to be serializable
todo:
• fix decal preview scale (need to call UpdateScale on detached state)
• fix texture preview in part icon
• adjust culling per-object when rendering (turns out cull and ztest values are used by unity at the render time, not by the shader itself, so they can be adjusted in material property blocks!)
2020-06-04 00:12:09 -07:00
00908c9e13
Get flag module working
2020-06-02 22:45:48 -07:00