Jump to content

correct source texture for occluder terrain?


photo

Recommended Posts

Posted

Import of downscaled heightmap texture for occluder terrain causes editor crash:

unsupported 16 bits compression.

Heightmap was exported from Unigine editor to psd.

Exported image was only downscaled in Photoshop, no other changes applied.

If I change image to 8 bits per channel crash on import does not occur, but I have a suspicion that the image significantly loses its accuracy.

Posted

unsupported 16 bits compression.

 

UNIGINE psd import currently only supports compression for 8 bits file formats. Also all input image formats will be internally converted by WorldOccluderTerrain to RGB8 image format, so providing 16 bit image input will not give a higher occlusion precision.

 

Simply provide an R8 or RGB8 grayscale heightmap input image

 

If I change image to 8 bits per channel crash on import does not occur, but I have a suspicion that the image significantly loses its accuracy.

 

As occlusion testing always has to be conservative, reduced 8 bit height precision should be no problem (especially as occluder heightmap is also downscaled in x/y direction).

×
×
  • Create New...