Skip to content

takazerker/EXRImporter

Repository files navigation

EXRImporter

EXR importer for Unity Editor.

Currently only Windows platform is supported.

This package contains following native libraries.

Example

using (var exr = new EXRImporter.EXRFile(PathToEXRFile))
{
    Texture2D temp = new Texture2D(exr.width, exr.height, TextureFormat.RGBAFloat, false);
    var pixels = temp.GetRawTextureData<Color>();
    exr.CopyRGBAData(pixels);
    File.WriteAllBytes("test.exr", temp.EncodeToEXR());
    DestroyImmediate(temp);
}

About

EXR importer for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages