Jump to content

[SOLVED] libpng warning: Interlace handling should be turned on when using png_read_image


photo

Recommended Posts

Posted
ImagePtr image = Image::create();

image->load("heights.png");

terrain->setHeights(0, 0, image);

 

Image loaded successfully, but heights did not set in object terrain.

What that Interlace handling and with what it eat?

Posted

Hi Sergey,

 

Check your image format, it should be one of these: R8, RG8, R16.

×
×
  • Create New...