Commit Graph

5 Commits

Author SHA1 Message Date
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
fccf52ae6e Add manual material property constructors 2020-06-02 17:11:38 -07:00
a1745f6e3a Cleanup and check if material should inherit base normals 2020-05-27 15:43:23 -07:00
a90d24c141 Rename to reflect behavior instead of copying Blowfish 2020-05-27 15:31:56 -07:00