Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

API for 16-bit Cubemap generation

Discussion in 'Wish List' started by naxel, Apr 5, 2013.

  1. naxel


    Sep 12, 2012
    By the moment I use a pack of LUT cubemaps in my project. They have ARGB32 format, but don't use alpha channel at all. I want to convert them to RGB565 format to save some memory and bandwidth.
    But by the moment render-to-texture is only solution to achieve this. As I know dithering algorithm works different on different mobile devices, so we get nondetermined result. And we should write a ton of code to achieve it. Also memory layout of these textures can be optimized on rendering-to, but not read-from which can affect performance on sample operations.
    It could be better to provide API for such cubemap creation or use simple quantization algorithm for SetPixels or SetPixels32.