Commit Graph

59 Commits

Author SHA1 Message Date
3cd229bc23 Fix decals not projecting when loading prefabs
• Add support for regex shader blacklisting
• Re-allow projecting onto transparentFX
2022-03-13 14:02:39 -07:00
ecc60751f7 Don't project onto TransparentFX layer 2021-12-25 23:15:15 -08:00
5f6712f476 Revert changes to ModuleConformalDecal.cs 2020-12-19 16:58:15 -08:00
6b7996fdd7 Text render simplification and small optimizations 2020-12-19 16:11:56 -08:00
dda988db17 Quick bugfix 2020-11-29 16:31:41 -08:00
a6de537e4a ScaleRange change 2020-11-16 15:44:40 -08:00
98f774b2ae More font fixes and UI changes
- Lowered step size for decal size and depth to 1cm.
 - Changed default max size to 10m.
 - Text decals now show as a circle if they contain only whitespace.
 - Fixed font name in config and defaulted to Calibri if its missing
2020-11-16 15:05:55 -08:00
4a6d019227 More minor tweaks 2020-09-26 19:33:12 -07:00
7ec4c85e8c Handle bold text and several events, wondering whats up with Actions[] 2020-08-06 22:54:51 -07:00
86548a1037 Non-async text rendering integration 2020-07-27 16:16:15 -07:00
be641272ad Shader fixes and legacy shader code 2020-07-02 19:40:00 -07:00
1ab8d0f6bc Merge branch 'master' into develop 2020-06-29 22:19:31 -07:00
261da9194b Fix projecting onto parts using B9PS 2020-06-29 18:41:46 -07:00
ab254595ab Fix inverted scale modes and remove unused logs 2020-06-22 14:47:47 -07:00
4cdfac8ccd Global override for selectability and kill part on detach 2020-06-19 23:54:32 -07:00
5db788ed37 Allow selectability in flight to be disabled 2020-06-19 23:24:01 -07:00
5fc9394908 Enable selection for decal colliders in flight, change layer 2020-06-19 22:45:29 -07:00
d8087cce3a Disable collision in flight scene 2020-06-19 22:09:25 -07:00
7980ef4791 Fix infinitely scaled decals with zero scale and depth 2020-06-19 17:03:17 -07:00
35381fae65 Rename MaterialModifiers namespace 2020-06-19 16:35:10 -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
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
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
3ab1414a19 Better normal map handling for parts with no normals 2020-06-11 14:15:37 -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
723efea492 Remove some more debug statements 2020-06-09 00:03:00 -07:00
45fe3d1039 Update symmetry counterparts when tweakables are adjusted 2020-06-08 20:21:26 -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
b3d817e0c3 more things 2020-06-08 13:14:25 -07:00
43ac251ae4 Documentation pass
nobody will ever read these why am I doing this
2020-06-08 12:17:25 -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
d2f81058f8 Refactor yet again and add autotiling 2020-06-06 13:20:50 -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
d1e4d2ac4f Small refactor to reload tweakables on load 2020-06-02 18:26:40 -07:00
eda068cd66 Get decal switching working mostly 2020-06-02 18:07:05 -07:00
c72e20bd2a Black Lives Matter 2020-06-02 17:17:33 -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
114fc745f0 Revert "Decrement instead of increment queue value"
This reverts commit 2f308c3ab6.
2020-06-01 21:28:01 -07:00
dfd4224ae0 Decrement instead of increment queue value
This is a bit more intuitive since newer decals render over older ones
2020-06-01 21:14:41 -07:00
6ae598d9f5 Make material handling more intelligent and add incrementing queue 2020-06-01 21:09:14 -07:00
3e23d8696a Make range and adjustability of tweakables configurable 2020-06-01 17:48:53 -07:00
e4e099618d Fix decal projection being scaled twice 2020-06-01 16:54:07 -07:00