Commit Graph

6 Commits

Author SHA1 Message Date
d04d5120f4 thing 2020-06-05 22:54:55 -07:00
0ef46a3182 More work trying to fix part icons 2020-06-05 00:29:23 -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
6a5604911d Major refactor, splitting ModuleConformalDecal 2020-06-02 20:36:45 -07:00
fccf52ae6e Add manual material property constructors 2020-06-02 17:11:38 -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