f9d9c228ae
Various dead-end attempts at font loading and rendering
2020-06-17 16:53:50 -07:00
0c07629951
add CI configuration and reorganize
2020-06-16 20:50:43 -07:00
742a8f0f30
Small refactor to remove bounds transform in favor of projector
...
idk just simplifies some things
2020-06-12 17:29:29 -07:00
9814685e67
Disable drag on decals
2020-06-12 13:23:20 -07:00
2af192966f
fix cutoff value on shaders
2020-06-11 22:02:13 -07:00
38ce1184ea
Remove broken culling code and fix flag switching
2020-06-11 21:58:04 -07:00
b09695d602
Use bounds to choose projection targets
2020-06-11 21:01:01 -07:00
23c309fa9a
Add culling for offscreen decals
2020-06-11 20:49:13 -07:00
3c5fcedca4
Add visible bounding boxes around projection area
2020-06-11 19:59:53 -07:00
a42084bf1c
Add glow shader for bounding cube
2020-06-11 18:57:43 -07:00
e27267c862
Add size calculation modes
2020-06-11 17:30:31 -07:00
a386281fb2
Add slider for edge wear
2020-06-11 16:52:12 -07:00
d52cf6725d
Fix colors and localization
2020-06-11 15:20:50 -07:00
1bead566fa
Add generic decals set
2020-06-11 14:19:31 -07:00
3ab1414a19
Better normal map handling for parts with no normals
2020-06-11 14:15:37 -07:00
b24a2c1bbe
Add SDF shaders
2020-06-11 14:14:59 -07:00
e2f54cb4f7
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
86f68b3bf8
Hopefully fix decals when used with certain parts
2020-06-09 21:13:36 -07:00
25ee8362c6
Disable physics for decals
2020-06-09 20:40:32 -07:00
d3f59c34a5
Reduce decal mass
2020-06-09 20:38:44 -07:00
2cae31b20f
Fix icon color when disabled in VAB menu
2020-06-09 13:23:34 -07:00
723efea492
Remove some more debug statements
2020-06-09 00:03:00 -07:00
22628dbf93
Localization update
2020-06-08 21:53:23 -07:00
45fe3d1039
Update symmetry counterparts when tweakables are adjusted
2020-06-08 20:21:26 -07:00
f098e922cb
Localize flag events
2020-06-08 19:50:33 -07:00
a4c46b94d2
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
e42ff52fb5
Rework decal parameters so they dont reset when changing variants
2020-06-08 15:38:36 -07:00
7a92e51eca
Fix things and remove test decal
2020-06-08 13:14:11 -07:00
de2f42a09f
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
1dddb97ca9
Fix tile indexing
2020-06-08 01:56:24 -07:00
c4c5177908
Write semiotic decal config
2020-06-08 00:03:49 -07:00
5376611eae
Decal shader changes, try to fix lighting additive pass
2020-06-08 00:03:26 -07:00
a8313127e2
Debug statement cleanup and fix icon creation
2020-06-07 19:52:17 -07:00
79bdc03c4b
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
f8d94ed681
Add semiotic decal atlas
2020-06-07 13:06:56 -07:00
d2f81058f8
Refactor yet again and add autotiling
2020-06-06 13:20:50 -07:00
daf80b7f0f
Add agency and custom category (for use with WBTools)
2020-06-06 01:06:32 -07:00
4c10f0ecd7
Fix material creation
2020-06-06 01:03:55 -07:00
da1fbf0f2a
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
5560eee368
rename background color property to make KSP happy
2020-06-05 21:26:57 -07:00
afcc19c843
Asset changes
2020-06-05 20:14:16 -07:00
d797a94066
Rework back shader and textures, add flag
2020-06-05 00:30:46 -07:00
e9c8f3dafb
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
6c20675a99
Get flag module working
2020-06-02 22:45:48 -07:00
6a5604911d
Major refactor, splitting ModuleConformalDecal
2020-06-02 20:36:45 -07:00
5652f0dda1
small tweaks
2020-06-02 19:11:05 -07:00
eda068cd66
Get decal switching working mostly
2020-06-02 18:07:05 -07:00
5ddf973a76
Run config parsing after MM is done running
...
MM is now a hard dependency
2020-06-02 17:14:52 -07:00
53538a7b09
Add shader blacklist
...
Add a configurable blacklist of shaders that can be projected onto
2020-06-02 13:46:16 -07:00
7e520f97ca
Refactor material parsing and loading
...
This should hopefully pave the way for usable module switching using B9PS
2020-06-02 00:53:17 -07:00