Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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
eda068cd66 Get decal switching working mostly 2020-06-02 18:07:05 -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
91a6613707 Fix transform handling and projection culling
Now to figure out why my collider is disappearing...
2020-05-31 23:04:59 -07:00
184325f564 Rotate model and fix config 2020-05-30 22:47:23 -07:00
01e046a7f1 Add test config and get the mod almost working 2020-05-30 17:03:14 -07:00
3c8f102f5d Add game assets 2020-05-30 14:32:39 -07:00