Commit Graph

63 Commits

Author SHA1 Message Date
bf8e98caf0 Fix text rendering for some non-ascii strings 2020-12-17 16:14:33 -08:00
8f22856064 Use enter/return for newline in text entry 2020-10-04 16:05:24 -07:00
0b15a3125c Fix bounds antialiasing on text
Previously the gradient was being calculated before taking the boundaries into account, resulting in the edges being too hard or too soft
2020-09-26 19:39:44 -07:00
7495a6f509 Fix blit shader 2020-09-24 23:31:42 -07:00
f3aea02da7 Better UI and shaders 2020-08-21 23:45:10 -07:00
93c3ff8a49 Fix text rendering more 2020-08-21 23:44:58 -07:00
53f8e74836 Fix repeating on text shader and add outline-only support 2020-08-15 23:24:39 -07:00
f367a30dec Prefab updates 2020-07-26 19:21:36 -07:00
30870b263a Add text decal shader 2020-07-25 00:54:21 -07:00
2994da628b Fix fitting algorithm for text rendering 2020-07-25 00:47:36 -07:00
dbb3281e95 First working text rendering 2020-07-24 14:39:35 -07:00
f3698fc108 More text rendering tests 2020-07-24 01:53:10 -07:00
10da3dd402 Working color picker UI 2020-07-22 22:37:16 -07:00
e57bed6ed9 Add rounded rectangle shaders and remove masks 2020-07-21 16:41:26 -07:00
d5702ee0e7 Color picker UI integration 2020-07-21 00:52:23 -07:00
dfef071175 Box slider script 2020-07-20 00:46:44 -07:00
af05ed43c2 Add start of color picker and reorganize 2020-07-19 23:56:38 -07:00
1316dbb553 Add basic ui controller 2020-07-15 18:12:50 -07:00
4a3569a7be UI experiments 2020-07-12 20:27:19 -07:00
a9b05a677e Merge branch 'develop' into feature-text 2020-07-02 20:13:46 -07:00
be641272ad Shader fixes and legacy shader code 2020-07-02 19:40:00 -07:00
0aaf0088d8 Tweak and compile shaders 2020-07-01 22:54:30 -07:00
0b83155c42 idk 2020-07-01 01:30:46 -07:00
f78093bbb6 Major shader overhaul
• All shaders merged into one using shader variants
• new SDF-based antialiasing engine
• Smoothness on SDFs is now disabled
2020-07-01 01:28:45 -07:00
1ab8d0f6bc Merge branch 'master' into develop 2020-06-29 22:19:31 -07:00
1ad6a1fa50 Disable projection onto decal shaders 2020-06-29 19:13:51 -07:00
adf6f7171a Add Munar decals 2020-06-22 01:41:51 -07:00
0a77ef57b7 Play around more with text rendering 2020-06-19 01:01:46 -07:00
00acb45e18 Fix zbuffer writing in bounds shader 2020-06-18 14:15:59 -07:00
8acf17f189 Shader formatting 2020-06-17 16:43:14 -07:00
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
ebaeaa2182 Remove unused assets 2020-06-09 13:17:17 -07:00
5376611eae Decal shader changes, try to fix lighting additive pass 2020-06-08 00:03:26 -07:00
f8d94ed681 Add semiotic decal atlas 2020-06-07 13:06:56 -07:00
daf80b7f0f Add agency and custom category (for use with WBTools) 2020-06-06 01:06:32 -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
824e48620a update shader to disable culling 2020-05-30 23:09:53 -07:00
353dc61ebd Rename wrinke texture 2020-05-25 20:34:55 -07:00
dc25576911 Add specular paint shader 2020-05-25 10:35:32 -07:00
8ca3925e04 Move projection code into shared library 2020-05-24 18:16:23 -07:00
f630fb2215 Revert world-space normal change and write paint shader
• Revert previous change to compute world normal in the surf function, was unnecessary for edge wear effect
• Rewrite paint shader with new library
• Allow for texture scaling and tiling in decals
2020-05-24 18:09:03 -07:00