Commit Graph

5 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
5fef800f21
Dont zwrite decal shaders 2020-06-01 21:27:36 -07:00
6e07433eed
Fix ForwardAdd overlap in shader
This requires some code change to actually work (the material Queue also needs to be updated dynamically)
2020-05-31 18:25:29 -07:00
adadec9591
Shader tweaks to work with negative meshes 2020-05-30 23:08:16 -07:00
d644943cce
Add game assets 2020-05-30 14:32:39 -07:00