Commit Graph

352 Commits (main)
 

Author SHA1 Message Date
Andrew Cassidy d52cf6725d Fix colors and localization 4 years ago
Andrew Cassidy 1bead566fa Add generic decals set 4 years ago
Andrew Cassidy 3ab1414a19 Better normal map handling for parts with no normals 4 years ago
Andrew Cassidy b24a2c1bbe Add SDF shaders 4 years ago
Andrew Cassidy 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
4 years ago
Andrew Cassidy 86f68b3bf8 Hopefully fix decals when used with certain parts 4 years ago
Andrew Cassidy 25ee8362c6 Disable physics for decals 4 years ago
Andrew Cassidy d3f59c34a5 Reduce decal mass 4 years ago
Andrew Cassidy 2cae31b20f Fix icon color when disabled in VAB menu 4 years ago
Andrew Cassidy ebaeaa2182 Remove unused assets 4 years ago
Andrew Cassidy 723efea492 Remove some more debug statements 4 years ago
Andrew Cassidy 22628dbf93 Localization update 4 years ago
Andrew Cassidy 45fe3d1039 Update symmetry counterparts when tweakables are adjusted 4 years ago
Andrew Cassidy f098e922cb Localize flag events 4 years ago
Andrew Cassidy a4c46b94d2 Add flag selection to flag decals
• Add flag selection code blatantly stolen from WBDecals
• Fix attachment of symmetrically attached decals
4 years ago
Andrew Cassidy e42ff52fb5 Rework decal parameters so they dont reset when changing variants 4 years ago
Andrew Cassidy b3d817e0c3 more things 4 years ago
Andrew Cassidy 7a92e51eca Fix things and remove test decal 4 years ago
Andrew Cassidy 43ac251ae4 Documentation pass
nobody will ever read these why am I doing this
4 years ago
Andrew Cassidy de2f42a09f Temporarily remove nonfunctional intersection code
Will probably fix at a later date, but its not needed for the plugin to work
4 years ago
Andrew Cassidy 1dddb97ca9 Fix tile indexing 4 years ago
Andrew Cassidy c4c5177908 Write semiotic decal config 4 years ago
Andrew Cassidy 5376611eae Decal shader changes, try to fix lighting additive pass 4 years ago
Andrew Cassidy a8313127e2 Debug statement cleanup and fix icon creation 4 years ago
Andrew Cassidy 79bdc03c4b Add tiling index and size values, for easier tiling
Also API changes made as I chased a bug
4 years ago
Andrew Cassidy f8d94ed681 Add semiotic decal atlas 4 years ago
Andrew Cassidy d2f81058f8 Refactor yet again and add autotiling 4 years ago
Andrew Cassidy a6fa2dd61c Some cleanup of debug statements 4 years ago
Andrew Cassidy 2174f2c07b Destroy materials and properties when MPC is destroyed 4 years ago
Andrew Cassidy daf80b7f0f Add agency and custom category (for use with WBTools) 4 years ago
Andrew Cassidy 4c10f0ecd7 Fix material creation 4 years ago
Andrew Cassidy d04d5120f4 thing 4 years ago
Andrew Cassidy 3637f84f5c Remove failed attempt at a culling fix 4 years ago
Andrew Cassidy 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
4 years ago
Andrew Cassidy 5560eee368 rename background color property to make KSP happy 4 years ago
Andrew Cassidy afcc19c843 Asset changes 4 years ago
Andrew Cassidy d797a94066 Rework back shader and textures, add flag 4 years ago
Andrew Cassidy 0ef46a3182 More work trying to fix part icons 4 years ago
Andrew Cassidy 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!)
4 years ago
Andrew Cassidy 6c20675a99 Get flag module working 4 years ago
Andrew Cassidy 6a5604911d Major refactor, splitting ModuleConformalDecal 4 years ago
Andrew Cassidy 5652f0dda1 small tweaks 4 years ago
Andrew Cassidy d1e4d2ac4f Small refactor to reload tweakables on load 4 years ago
Andrew Cassidy eda068cd66 Get decal switching working mostly 4 years ago
Andrew Cassidy c72e20bd2a Black Lives Matter 4 years ago
Andrew Cassidy 5ddf973a76 Run config parsing after MM is done running
MM is now a hard dependency
4 years ago
Andrew Cassidy fccf52ae6e Add manual material property constructors 4 years ago
Andrew Cassidy 53538a7b09 Add shader blacklist
Add a configurable blacklist of shaders that can be projected onto
4 years ago
Andrew Cassidy 7e520f97ca Refactor material parsing and loading
This should hopefully pave the way for usable module switching using B9PS
4 years ago
Andrew Cassidy 114fc745f0 Revert "Decrement instead of increment queue value"
This reverts commit 2f308c3ab6.
4 years ago