heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
69 stars 3 forks source link

Compressed texture formats #54

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago
  1. Implement GL.set_tex_compressed()
  2. Implement GL.get_tex_compressed()
  3. Incorporate a library that can do basic texture compression (DXT1, DXT5, BC6, BC7)
  4. Add functionality to provide compressed texture pixels on construction

Note that you can technically provide non-compressed data and let the GPU driver compress it, but their compression is notoriously low-quality so we explicitly forbid it in B+.