Commit Graph

14 Commits

Author SHA1 Message Date
2af192966f fix cutoff value on shaders 2020-06-11 22:02:13 -07:00
3c5fcedca4 Add visible bounding boxes around projection area 2020-06-11 19:59:53 -07:00
a42084bf1c Add glow shader for bounding cube 2020-06-11 18:57:43 -07:00
b24a2c1bbe Add SDF shaders 2020-06-11 14:14:59 -07:00
86f68b3bf8 Hopefully fix decals when used with certain parts 2020-06-09 21:13:36 -07:00
2cae31b20f Fix icon color when disabled in VAB menu 2020-06-09 13:23:34 -07:00
5376611eae Decal shader changes, try to fix lighting additive pass 2020-06-08 00:03:26 -07:00
5560eee368 rename background color property to make KSP happy 2020-06-05 21:26:57 -07:00
d797a94066 Rework back shader and textures, add flag 2020-06-05 00:30:46 -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
1ee1b0d84f Dont zwrite decal shaders 2020-06-01 21:27:36 -07:00
cffc35d17a 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
051e1d3c7a Shader tweaks to work with negative meshes 2020-05-30 23:08:16 -07:00
3c8f102f5d Add game assets 2020-05-30 14:32:39 -07:00