Commit Graph

14 Commits

Author SHA1 Message Date
22150574df
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
ffff9d629c
small tweaks 2020-06-02 19:11:05 -07:00
41ea08e571
Get decal switching working mostly 2020-06-02 18:07:05 -07:00
d6f0a1f9a7
Black Lives Matter 2020-06-02 17:17:33 -07:00
012104e193
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
49433588a3
Fix part highlighting and the collider disappearing
Completes #2
2020-06-01 15:57:57 -07:00
bb625e768d
Fix transform handling and projection culling
Now to figure out why my collider is disappearing...
2020-05-31 23:04:59 -07:00
32cd873dec
Rework bounds culling and colliders 2020-05-30 22:44:44 -07:00
90adfbd80a
Add test config and get the mod almost working 2020-05-30 17:03:14 -07:00
36afcab63c
Documentation and cleanup 2020-05-30 13:46:03 -07:00
64ae41a377
Add projection and loading functionality
ModuleConformalDecal is now, theoretically, sorta working
2020-05-30 13:36:10 -07:00
b9e0c7fc1c
Add enable/disable logic to ModuleConformingDecal 2020-05-29 23:26:33 -07:00
d7cb233d0f
Use all cameras and rely on layers for culling
Also cleanup some stuff
2020-05-29 21:15:33 -07:00
c4d7373aa5
Add projection logic 2020-05-29 21:02:58 -07:00