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
Andrew Cassidy
1ee1b0d84f
Dont zwrite decal shaders
4 years ago
Andrew Cassidy
dfd4224ae0
Decrement instead of increment queue value
...
This is a bit more intuitive since newer decals render over older ones
4 years ago
Andrew Cassidy
6ae598d9f5
Make material handling more intelligent and add incrementing queue
4 years ago
Andrew Cassidy
3e23d8696a
Make range and adjustability of tweakables configurable
4 years ago
Andrew Cassidy
e4e099618d
Fix decal projection being scaled twice
4 years ago
Andrew Cassidy
d54887414f
Fix part highlighting and the collider disappearing
...
Completes #2
4 years ago
Andrew Cassidy
91a6613707
Fix transform handling and projection culling
...
Now to figure out why my collider is disappearing...
4 years ago
Andrew Cassidy
a12b11a339
Add localization
4 years ago
Andrew Cassidy
cffc35d17a
Fix ForwardAdd overlap in shader
...
This requires some code change to actually work (the material Queue also needs to be updated dynamically)
4 years ago
Andrew Cassidy
824e48620a
update shader to disable culling
4 years ago
Andrew Cassidy
051e1d3c7a
Shader tweaks to work with negative meshes
4 years ago
Andrew Cassidy
184325f564
Rotate model and fix config
4 years ago
Andrew Cassidy
8a056f5c72
Rework bounds culling and colliders
4 years ago
Andrew Cassidy
01e046a7f1
Add test config and get the mod almost working
4 years ago
Andrew Cassidy
3c8f102f5d
Add game assets
4 years ago
Andrew Cassidy
561b3778ad
First compile
4 years ago
Andrew Cassidy
8cd456f16e
Documentation and cleanup
4 years ago
Andrew Cassidy
e504936896
Add projection and loading functionality
...
ModuleConformalDecal is now, theoretically, sorta working
4 years ago
Andrew Cassidy
0b34991f34
Print parsing errors as exceptions
4 years ago
Andrew Cassidy
995c9120e5
Add enable/disable logic to ModuleConformingDecal
4 years ago
Andrew Cassidy
d5038e19bc
Use all cameras and rely on layers for culling
...
Also cleanup some stuff
4 years ago
Andrew Cassidy
1287e729eb
Add projection logic
4 years ago
Andrew Cassidy
bd1a588ff7
Update project file with OrientedBounds
4 years ago
Andrew Cassidy
1f92797072
OrientedBounds cleanup
4 years ago
Andrew Cassidy
b72fcb07f0
Add struct for OrientedBounds
...
Add OrientedBounds struct with functions for testing intersection with other OrientedBounds
4 years ago