webatintel / aquarium

BSD 3-Clause "New" or "Revised" License
26 stars 7 forks source link

Implement alpha blending toggle for Aquarium #71

Closed JiangYizhou closed 4 years ago

JiangYizhou commented 4 years ago
  1. Add alpha blending toggle to Aquarium. By default, alpha blending is disabled. To enable alpha blending, you can pass "--enable-alpha-blending=[0, 1]" by cmd args.
  2. Replace alpha value of shaders by regex to specify the alpha value.
  3. Because imgui enabled alpha blending to show text, which renders text by an gray bitmap, the logic of imgui is revised to show text when alpha blending is disabled. In addition,imgui is compiled as source files of the project instead of third party.